/*
 * Tiyak Marketplace Core — TYK-UI5 v0.22.0
 * Canonical runtime owner for the public marketplace shell and customer-facing primitives.
 * This file intentionally flattens the previously loaded styles.css -> design-system.css ->
 * approved-marketplace.css cascade into one runtime stylesheet so legacy layers can no longer
 * override one another across files. Historical source files remain in the repository only for
 * release archaeology and are not linked by index.html.
 */
:root {
  --ink: #0f1110;
  --ivory: #f7f4ec;
  --surface: #ffffff;
  --teal: #075b57;
  --teal-2: #0d7a72;
  --mint: #dcece8;
  --gold: #c39a4a;
  --stone: #d9d3c7;
  --muted: #686b68;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: auto; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -50px; background: var(--ink); color: white; padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 76px; padding: 0 clamp(20px, 5vw, 84px); display: grid; grid-template-columns: minmax(132px, 180px) minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 2vw, 32px); background: rgba(247,244,236,.94); border-bottom: 1px solid var(--stone); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.brand img { width: 128px; display: block; }
nav { min-width: 0; display: flex; justify-content: center; gap: clamp(12px, 1.35vw, 28px); font-size: 14px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.account-button { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
nav a { text-decoration: none; }
button, .primary-button { border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; }
.secondary-button { border: 1px solid var(--stone); background: transparent; color: var(--muted); }
.hero { min-height: 650px; padding: clamp(70px, 9vw, 140px) clamp(24px, 8vw, 150px); display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(45px, 8vw, 120px); background: radial-gradient(circle at 75% 20%, #d9eeea 0, transparent 30%), linear-gradient(150deg, var(--ivory) 55%, #e9f3f0); }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .15em; font-weight: 800; font-size: 12px; }
h1 { font-size: clamp(56px, 7vw, 108px); line-height: .92; letter-spacing: -.06em; max-width: 850px; margin: 22px 0 28px; }
.hero > div > p { max-width: 700px; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 38px; flex-wrap: wrap; }
.primary-button { background: var(--teal); color: white; text-decoration: none; }
.text-link { color: var(--teal); font-weight: 800; }
.section { padding: 100px clamp(24px, 7vw, 130px); }
.section-heading { max-width: 850px; margin-bottom: 50px; }
h2 { font-size: clamp(38px, 5vw, 70px); letter-spacing: -.045em; line-height: 1.04; margin: 15px 0; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-grid article { background: white; padding: 30px; border: 1px solid #e4dfd5; border-radius: var(--radius); min-height: 250px; }
.category-grid article span { color: var(--teal); font-weight: 800; }
.category-grid h3 { font-size: 22px; margin-top: 70px; }
.category-grid p { color: var(--muted); line-height: 1.6; }
.status-grid { max-width: 900px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); background: white; border-radius: 22px; overflow: hidden; border: 1px solid #d2e0dc; }
.status-grid div { padding: 28px; border-right: 1px solid #d2e0dc; }
.status-grid div:last-child { border: 0; }
.status-grid strong { display: block; font-size: 24px; color: var(--teal); }
.status-grid span { color: var(--muted); font-size: 13px; }
footer { padding: 42px clamp(24px, 7vw, 130px); background: var(--teal); color: white; display: flex; justify-content: space-between; align-items: center; }
footer img { width: 120px; }
@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .site-header { min-height: 68px; padding: 0 18px; gap: 10px; }
  .header-actions { gap: 6px; }
  .header-actions .secondary-button { display: inline-flex; max-width: 128px; padding: 10px 13px; }
  .secondary-button:not(.account-button) { display: none; }
  .hero { padding: 70px 20px; }
  h1 { font-size: 56px; }
  .category-grid, .status-grid { grid-template-columns: 1fr; }
  .status-grid div { border-right: 0; border-bottom: 1px solid #d2e0dc; }
  footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
.account-section { background: #eef5f2; }
.account-section > .section-heading p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.account-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.account-card { background: white; border: 1px solid #dbe4e0; border-radius: 24px; padding: clamp(24px, 4vw, 38px); box-shadow: 0 20px 48px rgba(7,91,87,.08); }
.card-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.card-heading h3 { font-size: 28px; margin: 8px 0 0; }
.account-card label, .auth-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 750; color: #363a37; margin-bottom: 18px; }
.account-card input, .account-card textarea, .auth-form input, .auth-form textarea { width: 100%; border: 1px solid #cfcfc7; border-radius: 12px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; }
.account-card input:focus, .account-card textarea:focus, .auth-form input:focus { outline: 3px solid rgba(13,122,114,.18); border-color: var(--teal-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 11px; background: #fff4dc; color: #7a5614; font-size: 12px; font-weight: 800; white-space: nowrap; }
.badge[data-state="verified"] { background: #dff2eb; color: var(--teal); }
.account-facts { margin: 0 0 26px; }
.account-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid #eceae4; }
.account-facts dt { color: var(--muted); }
.account-facts dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.inline-form { border-top: 1px solid #eceae4; padding-top: 20px; margin-top: 18px; }
.text-button { border: 0; background: transparent; color: var(--teal); padding: 10px 0; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.text-button.danger { color: #9d3535; display: block; }
.form-message { min-height: 20px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.form-message[data-state="error"] { color: #a12d2d; }
.form-message[data-state="success"] { color: var(--teal); }
.auth-dialog { width: min(560px, calc(100vw - 30px)); max-height: min(860px, calc(100vh - 30px)); border: 0; border-radius: 26px; padding: clamp(24px, 5vw, 42px); color: var(--ink); box-shadow: 0 35px 100px rgba(15,17,16,.32); }
.auth-dialog::backdrop { background: rgba(10,20,18,.66); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: 18px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f0eee8; font-size: 27px; line-height: 1; }
.dialog-logo { width: 128px; display: block; margin-bottom: 25px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #efeee9; border-radius: 999px; padding: 4px; margin-bottom: 30px; }
.auth-tabs button { border: 0; background: transparent; padding: 10px; border-radius: 999px; font: inherit; font-weight: 800; color: var(--muted); }
.auth-tabs button[aria-selected="true"] { background: white; color: var(--teal); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.auth-form h2 { font-size: 38px; margin: 0 0 8px; }
.auth-form > p { color: var(--muted); line-height: 1.55; margin: 0 0 24px; }
.auth-form small { color: var(--muted); font-weight: 500; }
.auth-form fieldset { border: 0; padding: 0; margin: 4px 0 18px; }
.auth-form legend { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.radio-card { grid-template-columns: auto 1fr !important; align-items: start; border: 1px solid #d9d6ce; border-radius: 14px; padding: 13px; margin-bottom: 9px !important; }
.radio-card input { width: auto; margin-top: 3px; }
.radio-card strong, .radio-card small { display: block; }
.checkbox-row { grid-template-columns: auto 1fr !important; align-items: start; }
.checkbox-row input { width: auto; margin-top: 2px; }
.auth-form .primary-button { width: 100%; }
.toast { position: fixed; right: 24px; bottom: 24px; max-width: 420px; padding: 16px 20px; border-radius: 14px; background: var(--ink); color: white; box-shadow: 0 18px 55px rgba(0,0,0,.28); z-index: 100; }
@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .account-card { padding: 22px; }
  .card-heading { display: block; }
  .badge { margin-top: 14px; }
  .auth-dialog { border-radius: 20px; padding: 25px 20px; }
  .auth-form h2 { font-size: 32px; }
  .toast { left: 16px; right: 16px; bottom: 16px; }
}

.marketplace-section { background: linear-gradient(180deg, rgba(7,91,87,.04), transparent); }
.marketplace-heading { display:flex; align-items:end; justify-content:space-between; gap:2rem; }
.marketplace-filters { display:flex; align-items:end; gap:.75rem; min-width:min(100%, 340px); }
.marketplace-filters label { flex:1; }
.listing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; margin-top:2rem; }
.listing-card { overflow:hidden; border:1px solid var(--line, #d9e5e3); border-radius:22px; background:#fff; box-shadow:0 14px 40px rgba(11,45,43,.07); }
.listing-card__media { position:relative; aspect-ratio:4/3; background:#eef5f3; overflow:hidden; }
.listing-card__media img { width:100%; height:100%; object-fit:cover; }
.listing-image-placeholder { height:100%; display:grid; place-items:center; padding:2rem; text-align:center; color:#5f7472; font-size:.9rem; }
.risk-pill { position:absolute; top:.8rem; right:.8rem; border-radius:999px; padding:.35rem .6rem; background:#fff; color:#075b57; font-size:.75rem; font-weight:800; box-shadow:0 5px 18px rgba(0,0,0,.12); }
.listing-card__body { padding:1.15rem; }
.listing-card__body h3 { margin:.35rem 0 .55rem; font-size:1.15rem; }
.listing-card__body p { color:#5b6f6d; margin:.55rem 0; }
.listing-card__meta { display:flex; justify-content:space-between; gap:.5rem; color:#52706d; font-size:.76rem; text-transform:uppercase; letter-spacing:.06em; }
.listing-price { display:block; color:#083f3c; font-size:1.25rem; }
.trust-chips { display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.8rem; }
.trust-chips span { border-radius:999px; padding:.3rem .55rem; background:#eff7f5; color:#075b57; font-size:.72rem; font-weight:700; }
.rejection-note { padding:.65rem; border-radius:12px; background:#fff0ed; color:#9b2c1f !important; }
.listing-actions { display:flex; flex-wrap:wrap; gap:.25rem; border-top:1px solid #e4ecea; margin-top:1rem; padding-top:.7rem; }
.empty-state { grid-column:1/-1; padding:2rem; border:1px dashed #b9cfcb; border-radius:18px; text-align:center; color:#5f7472; background:rgba(255,255,255,.6); }
.seller-studio { background:#f6f1e7; }
.seller-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:1.25rem; align-items:start; }
.listing-form fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
.listing-form code { font-size:.76rem; }
.form-actions { display:flex; gap:.75rem; flex-wrap:wrap; }
.seller-listing-list { display:grid; gap:1rem; max-height:900px; overflow:auto; padding-right:.25rem; }
.seller-listing-list .listing-card { display:grid; grid-template-columns:140px 1fr; border-radius:16px; box-shadow:none; }
.seller-listing-list .listing-card__media { aspect-ratio:auto; min-height:150px; }
.media-dialog { max-width:520px; }

@media (max-width: 960px) {
  .listing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .seller-layout { grid-template-columns:1fr; }
}
@media (max-width: 680px) {
  .marketplace-heading { align-items:stretch; flex-direction:column; }
  .marketplace-filters { width:100%; min-width:0; }
  .listing-grid { grid-template-columns:1fr; }
  .seller-listing-list .listing-card { grid-template-columns:1fr; }
  .listing-form fieldset { grid-template-columns:1fr; }
}

.listing-view-button { width:100%; margin-top:1rem; }
.listing-detail-dialog { max-width:760px; }
.detail-media { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin-bottom:1rem; }
.detail-media img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:14px; background:#eef5f3; }
@media (max-width: 560px) { .detail-media { grid-template-columns:1fr; } }

.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; }
.detail-actions { display:flex; gap:.75rem; margin-top:1.25rem; align-items:center; }
.messaging-section { background:#edf5f3; }
.messaging-heading { display:flex; align-items:end; justify-content:space-between; gap:2rem; }
.messaging-layout { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.5fr); gap:1.25rem; align-items:start; }
.conversation-inbox { padding:1.15rem; max-height:760px; overflow:auto; }
.conversation-list { display:grid; gap:.55rem; }
.conversation-item { display:grid; grid-template-columns:54px 1fr auto; align-items:center; gap:.75rem; width:100%; padding:.75rem; border:1px solid transparent; border-radius:15px; background:transparent; color:inherit; text-align:left; }
.conversation-item:hover, .conversation-item--active { background:#eef7f5; border-color:#bcd7d2; }
.conversation-item > span:nth-child(2) { min-width:0; display:grid; gap:.15rem; }
.conversation-item strong, .conversation-item small, .conversation-item em { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.conversation-item small { color:#426b67; font-weight:700; }
.conversation-item em { color:#738481; font-size:.76rem; font-style:normal; }
.conversation-item b { display:grid; place-items:center; min-width:24px; height:24px; border-radius:999px; background:#075b57; color:#fff; font-size:.72rem; }
.conversation-thumb { width:54px; height:54px; display:grid; place-items:center; overflow:hidden; border-radius:13px; background:#dcebe8; color:#075b57; font-weight:900; }
.conversation-thumb img { width:100%; height:100%; object-fit:cover; }
.conversation-thread { padding:0; overflow:hidden; }
.conversation-header { display:flex; justify-content:space-between; align-items:start; gap:1rem; padding:1.35rem 1.5rem; border-bottom:1px solid #dce8e5; }
.conversation-header h3 { margin:.35rem 0; font-size:1.4rem; }
.conversation-header p { margin:0; color:#627672; }
.conversation-header-actions { display:flex; gap:.75rem; }
.safety-banner { margin:1rem 1.5rem 0; padding:.8rem 1rem; border-radius:13px; background:#fff5dc; color:#674d18; font-size:.82rem; line-height:1.5; }
.message-list { display:flex; flex-direction:column; gap:.65rem; min-height:300px; max-height:520px; overflow:auto; padding:1.25rem 1.5rem; background:linear-gradient(180deg,#f8fbfa,#f1f7f5); }
.message-bubble { max-width:min(76%,540px); padding:.72rem .9rem; border-radius:16px; background:#fff; border:1px solid #dbe6e3; box-shadow:0 5px 16px rgba(12,55,52,.05); }
.message-bubble--mine { align-self:flex-end; background:#0b6f69; color:#fff; border-color:#0b6f69; border-bottom-right-radius:5px; }
.message-bubble--other { align-self:flex-start; border-bottom-left-radius:5px; }
.message-bubble--system, .message-bubble--safety_notice { align-self:center; max-width:92%; text-align:center; background:#f7eed7; color:#65501e; border:0; box-shadow:none; font-size:.8rem; }
.message-bubble small, .message-bubble time { display:block; font-size:.68rem; opacity:.72; }
.message-bubble p { margin:.25rem 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.message-bubble time { margin-top:.35rem; text-align:right; }
.message-bubble img { display:block; max-width:320px; width:100%; max-height:340px; object-fit:cover; border-radius:11px; margin:.35rem 0; }
.message-bubble--offer, .message-bubble--offer_update { display:grid; gap:.35rem; min-width:230px; }
.offer-amount { font-size:1.25rem; font-weight:900; }
.offer-status { text-transform:uppercase; font-size:.68rem; font-weight:900; letter-spacing:.07em; opacity:.75; }
.offer-actions { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.35rem; }
.offer-actions button { border:1px solid currentColor; background:transparent; color:inherit; border-radius:999px; padding:.32rem .62rem; font:inherit; font-size:.72rem; font-weight:800; }
.message-composer { display:grid; grid-template-columns:1fr auto; gap:.65rem; align-items:end; padding:1rem 1.5rem; border-top:1px solid #dce8e5; }
.message-composer textarea { resize:vertical; min-height:48px; border:1px solid #bfd0cd; border-radius:13px; padding:.75rem; font:inherit; }
.message-image-button { grid-column:1/-1; display:inline-flex; width:max-content; align-items:center; gap:.5rem; color:#075b57; font-size:.78rem; font-weight:800; cursor:pointer; }
.message-image-button input { width:1px; height:1px; opacity:0; position:absolute; }
.message-composer .form-message { grid-column:1/-1; }
.offer-composer { display:grid; grid-template-columns:1fr minmax(150px,.35fr) auto; gap:.7rem; align-items:end; padding:1rem 1.5rem; border-top:1px solid #dce8e5; background:#fbf7ec; }
.offer-composer p { margin:.25rem 0 0; color:#6c736f; font-size:.8rem; }
.offer-composer label { margin:0; }
.offer-composer input { width:100%; border:1px solid #cfcfc7; border-radius:11px; padding:.65rem; font:inherit; }
.offer-composer .form-message { grid-column:1/-1; }

@media (max-width: 900px) {
  .messaging-layout { grid-template-columns:1fr; }
  .conversation-inbox { max-height:360px; }
  .messaging-heading { align-items:stretch; flex-direction:column; }
  .messaging-section .secondary-button { display:inline-flex; }
}
@media (max-width: 620px) {
  .conversation-header { flex-direction:column; }
  .message-list { padding:1rem; }
  .message-bubble { max-width:90%; }
  .message-composer { grid-template-columns:1fr; padding:1rem; }
  .message-composer .primary-button { width:100%; }
  .offer-composer { grid-template-columns:1fr; padding:1rem; }
  .offer-composer .secondary-button { display:inline-flex; justify-content:center; }
}

.transaction-section { background: linear-gradient(180deg, #fbf7ec, #f4f8f7); }
.transaction-heading { display:flex; align-items:end; justify-content:space-between; gap:2rem; }
.transaction-layout { display:grid; grid-template-columns:minmax(300px,.72fr) minmax(0,1.45fr); gap:1.25rem; align-items:start; }
.transaction-inbox { padding:1.15rem; max-height:850px; overflow:auto; }
.transaction-list { display:grid; gap:.55rem; }
.transaction-item { display:grid; grid-template-columns:56px 1fr auto; gap:.8rem; align-items:center; width:100%; padding:.8rem; border:1px solid transparent; border-radius:15px; background:transparent; color:inherit; text-align:left; }
.transaction-item:hover, .transaction-item--active { background:#eef7f5; border-color:#b9d3cf; }
.transaction-item > span:nth-child(2) { display:grid; min-width:0; gap:.14rem; }
.transaction-item strong, .transaction-item small, .transaction-item em { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.transaction-item small { color:#456d68; font-weight:700; }
.transaction-item em { color:#748480; font-size:.76rem; font-style:normal; text-transform:capitalize; }
.transaction-item b { font-size:.8rem; color:#075b57; }
.transaction-thumb { display:grid; place-items:center; width:56px; height:56px; overflow:hidden; border-radius:13px; background:#dcebe8; color:#075b57; font-weight:900; }
.transaction-thumb img { width:100%; height:100%; object-fit:cover; }
.transaction-detail { padding:1.35rem; }
.transaction-detail-header { display:flex; justify-content:space-between; align-items:start; gap:1rem; }
.transaction-detail-header h3 { margin:.3rem 0; font-size:1.55rem; }
.transaction-detail-header p { margin:0; color:#617570; }
.transaction-status { padding:.4rem .7rem; border-radius:999px; background:#e8f3f1; color:#075b57; font-size:.72rem; font-weight:900; text-transform:uppercase; letter-spacing:.05em; }
.transaction-price-row { display:flex; justify-content:space-between; align-items:baseline; gap:1rem; margin:1.25rem 0; padding:1rem 0; border-top:1px solid #dce7e4; border-bottom:1px solid #dce7e4; }
.transaction-price-row strong { font-size:1.65rem; color:#083f3c; }
.transaction-price-row span { color:#647773; }
.payment-warning { margin:1rem 0; padding:.9rem 1rem; border-radius:14px; background:#fff4d7; color:#674d18; line-height:1.45; }
.transaction-facts { margin-top:1rem; }
.transaction-actions { display:flex; flex-wrap:wrap; gap:.65rem; margin:1.25rem 0; }
.transaction-panel { margin-top:1.35rem; padding-top:1.1rem; border-top:1px solid #dce7e4; }
.transaction-panel h4 { margin:.25rem 0; font-size:1.15rem; }
.transaction-evidence-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; }
.transaction-evidence-grid a { display:grid; gap:.35rem; color:#075b57; font-size:.74rem; font-weight:800; text-transform:capitalize; }
.transaction-evidence-grid img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; background:#edf4f2; }
.transaction-timeline { list-style:none; display:grid; gap:.85rem; padding:0; margin:0; }
.transaction-timeline li { display:grid; grid-template-columns:14px 1fr; gap:.7rem; align-items:start; }
.transaction-timeline li > span { width:10px; height:10px; margin-top:.35rem; border-radius:999px; background:#0b6f69; box-shadow:0 0 0 4px #dcebe8; }
.transaction-timeline li div { display:grid; gap:.12rem; }
.transaction-timeline strong { text-transform:capitalize; }
.transaction-timeline small { color:#6a7b78; }
.transaction-dialog { max-width:680px; }
#transaction-delivery-fields { display:grid; gap:.6rem; }

@media (max-width: 900px) {
  .transaction-layout { grid-template-columns:1fr; }
  .transaction-heading { align-items:stretch; flex-direction:column; }
  .transaction-inbox { max-height:380px; }
}
@media (max-width: 620px) {
  .transaction-detail-header, .transaction-price-row { align-items:flex-start; flex-direction:column; }
  .transaction-evidence-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .transaction-item { grid-template-columns:52px 1fr; }
  .transaction-item b { grid-column:2; }
}

.dispute-section { background:linear-gradient(180deg,#f4f8f7,#fff); }
.dispute-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; }
.dispute-statements { display:grid; gap:.75rem; }
.dispute-statement { padding:.9rem 1rem; border:1px solid #dce7e4; border-radius:14px; background:#fff; }
.dispute-statement--staff { background:#eef7f5; border-color:#b9d3cf; }
.dispute-statement p { margin:.4rem 0; line-height:1.55; white-space:pre-wrap; }
.dispute-statement small, .decision-card small { color:#647773; }
.decision-card { padding:1rem; border-radius:14px; background:#e8f3f1; border:1px solid #b9d3cf; }
.decision-card p { line-height:1.55; }
@media (max-width:900px){.dispute-heading{align-items:stretch;flex-direction:column;}}

.review-section { background:linear-gradient(180deg,#fff,#f4f8f7); }
.review-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; }
.review-layout { display:grid; grid-template-columns:minmax(260px,.62fr) minmax(0,1.38fr); gap:1.25rem; align-items:start; }
.review-summary-card, .review-feed-card, .review-moderation-card { padding:1.25rem; }
.review-summary-card { position:sticky; top:1rem; }
.review-list { display:grid; gap:.8rem; }
.review-card { padding:1rem; border:1px solid #dce7e4; border-radius:15px; background:#fff; box-shadow:0 8px 24px rgba(8,63,60,.04); }
.review-card--moderation { border-color:#e4c98a; background:#fffbf1; }
.review-card__head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
.review-card__head > div { display:grid; gap:.18rem; min-width:0; }
.review-card__head strong { color:#083f3c; }
.review-card__head small, .review-meta { color:#647773; }
.review-card p { margin:.65rem 0; line-height:1.55; white-space:pre-wrap; }
.review-stars { margin-top:.6rem; color:#8a6508; font-size:1.15rem; letter-spacing:.08em; }
.reputation-score { display:grid; gap:.25rem; margin:.8rem 0 1.1rem; }
.reputation-score strong { color:#083f3c; font-size:2.35rem; line-height:1; }
.reputation-score span { color:#8a6508; font-size:1.2rem; letter-spacing:.08em; }
.reputation-score small { color:#647773; }
.review-report-details { display:grid; gap:.35rem; margin:.8rem 0; padding:.75rem; border-radius:12px; background:#fff4d7; color:#674d18; }
.review-report-details:empty { display:none; }
.review-dialog { max-width:680px; }
.review-dialog .rating-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; }
.review-dialog .rating-grid label { display:grid; gap:.35rem; }
.review-dialog select { width:100%; border:1px solid #cfcfc7; border-radius:11px; padding:.65rem; background:#fff; font:inherit; }

@media (max-width:900px) {
  .review-heading { align-items:stretch; flex-direction:column; }
  .review-layout { grid-template-columns:1fr; }
  .review-summary-card { position:static; }
}
@media (max-width:620px) {
  .review-card__head { flex-direction:column; }
  .review-dialog .rating-grid { grid-template-columns:1fr; }
}

.listing-attributes { margin: 0 0 18px; padding: 18px; border: 1px solid #d8dedb; border-radius: 14px; background: #fbfcfb; }
.listing-attributes legend { padding: 0 7px; font-size: 13px; font-weight: 800; color: #363a37; }
.field-help { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.attribute-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.attribute-grid:empty { display: none; }
.attribute-field { margin: 0 !important; }
.attribute-field__label { display: flex; align-items: center; gap: 7px; }
.required-marker { border-radius: 999px; padding: 2px 7px; background: #fff0d1; color: #7a5614; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.optional-marker { color: var(--muted); font-size: 11px; font-weight: 600; }
.attribute-field--boolean { grid-template-columns: auto 1fr !important; align-items: center; border: 1px solid #d8dedb; border-radius: 12px; padding: 12px; }
.attribute-field--boolean input { width: auto; margin: 0; }
@media (max-width: 680px) { .attribute-grid { grid-template-columns: 1fr; } }

.notification-button{border:1px solid #b8c7c2;background:#fff;color:#075b57;border-radius:999px;padding:.68rem .9rem;font-weight:700;cursor:pointer;white-space:nowrap}.notification-button span[hidden]{display:none!important}.notification-button span{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;margin-left:.35rem;padding:0 .3rem;border-radius:999px;background:#b42318;color:#fff;font-size:.72rem}.notification-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:1.25rem}.notification-list{display:grid;gap:.7rem}.notification-item{display:grid;grid-template-columns:1fr auto;gap:.75rem;padding:1rem;border:1px solid #dfe6e2;border-radius:14px;background:#fff}.notification-item[data-unread="true"]{border-color:#4c8d7d;background:#f1f8f5}.notification-item h4{margin:0 0 .35rem;font-size:1rem}.notification-item p{margin:0;color:#46534c;line-height:1.5}.notification-item small{display:block;margin-top:.45rem;color:#6b746e}.notification-actions{display:flex;align-items:flex-start;gap:.35rem}.notification-actions button{border:0;background:transparent;color:#075b57;font-weight:700;cursor:pointer}.privacy-note{font-size:.86rem;line-height:1.5;color:#5b665f;background:#f5f3ee;padding:.8rem;border-radius:10px}@media(max-width:900px){.notification-layout{grid-template-columns:1fr}.notification-button{font-size:0}.notification-button::before{content:'🔔';font-size:1rem}.notification-button span{font-size:.72rem}}

.trust-operations-section .account-card { margin-top: 1rem; }
.operations-summary { margin: 1rem 0; }
.trust-operations-section .review-card { border: 1px solid var(--line, #dedbd2); border-radius: 14px; padding: 1rem; background: #fff; }
.trust-operations-section .review-card + .review-card { margin-top: .75rem; }

.verification-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:20px;margin-bottom:20px}
.trust-marker-list{display:grid;gap:12px}
.trust-marker-card{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #cbded8;border-radius:14px;background:#f1faf6}
.trust-marker-card p{margin:4px 0 6px;color:#48554d}
.trust-marker-card small{color:#68746d}
.trust-marker-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#075b57;color:#fff;font-weight:800;flex:0 0 auto}
.verification-case-card{margin-top:12px}
.verification-artifacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin:12px 0}
.verification-artifacts a{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid #d9d7cf;border-radius:10px;background:#fff;color:#075b57;text-decoration:none}
.verification-artifacts a:hover{border-color:#075b57}
.verification-artifacts small{color:#68746d}
.verification-missing{padding:10px 12px;border-radius:10px;background:#fff4dc;color:#714b00}
.decision-note{padding:10px 12px;border-left:3px solid #075b57;background:#f5f7f4}
.badge[data-state="approved"]{background:#dff5e8;color:#075b57}
.badge[data-state="rejected"],.badge[data-state="revoked"]{background:#fde5e2;color:#9a241c}
.badge[data-state="submitted"],.badge[data-state="under_review"]{background:#fff1cf;color:#714b00}
@media (max-width:900px){.verification-layout{grid-template-columns:1fr}.verification-artifacts{grid-template-columns:1fr}}

html { scroll-padding-top: 132px; }
body {
  background:
    radial-gradient(circle at 90% 5%, rgba(111,167,160,.12), transparent 30rem),
    var(--tyk-ivory);
  color: var(--tyk-ink);
  font-family: var(--tyk-font-body);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  line-height: 1.5;
}
body::selection { background: var(--tyk-teal-100); color: var(--tyk-teal-950); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(198,147,69,.7); outline-offset: 3px; }

.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 34px;
  padding: .45rem 1rem;
  background: var(--tyk-teal-950);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .01em;
  text-align: center;
}
.announcement-bar svg { width: 16px; height: 16px; color: #e7c37b; flex: 0 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(132px, 180px) minmax(0, 1fr) auto;
  grid-template-areas:
    "brand search actions"
    "nav nav nav";
  gap: .75rem 1.5rem;
  min-height: auto;
  padding: .9rem clamp(1rem, 4vw, 3.5rem) .7rem;
  background: rgba(247,244,236,.94);
  border-bottom: 1px solid rgba(201,192,178,.8);
  box-shadow: 0 8px 24px rgba(15,17,16,.04);
  backdrop-filter: blur(18px) saturate(130%);
}
.brand { grid-area: brand; display: inline-flex; align-items: center; min-height: 48px; }
.brand img { width: min(154px, 100%); height: auto; }
.header-search { grid-area: search; align-self: center; position: relative; width: min(680px, 100%); justify-self: center; }
.header-search svg { position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--tyk-text-soft); pointer-events: none; }
.header-search input {
  width: 100%;
  min-height: 48px;
  padding: .72rem 7.3rem .72rem 2.8rem;
  border: 1px solid var(--tyk-border-strong);
  border-radius: var(--tyk-radius-pill);
  background: rgba(255,255,255,.92);
  color: var(--tyk-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: border-color .2s var(--tyk-ease), box-shadow .2s var(--tyk-ease), background .2s var(--tyk-ease);
}
.header-search input:focus { border-color: var(--tyk-teal-700); background: white; box-shadow: 0 0 0 4px rgba(23,107,99,.1); outline: 0; }
.header-search button {
  position: absolute;
  right: .32rem;
  top: .32rem;
  bottom: .32rem;
  min-width: 104px;
  border: 0;
  border-radius: var(--tyk-radius-pill);
  background: var(--tyk-teal-900);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.header-search button:hover { background: var(--tyk-teal-700); }
.header-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: .55rem; }
.account-menu { position: relative; flex: 0 1 auto; min-width: 0; }
.account-menu__popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + .55rem);
  right: 0;
  width: min(224px, calc(100vw - 1rem));
  padding: .42rem;
  border: 1px solid var(--tyk-border-strong);
  border-radius: var(--tyk-radius-md);
  background: white;
  box-shadow: 0 18px 42px rgba(7,84,79,.16);
}
.account-menu__popover[hidden] { display: none !important; }
.account-menu__popover button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  padding: .65rem .72rem;
  border: 0;
  border-radius: var(--tyk-radius-sm);
  background: transparent;
  color: var(--tyk-ink);
  font: inherit;
  font-size: .78rem;
  font-weight: 760;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.account-menu__popover button:hover { background: var(--tyk-teal-050); color: var(--tyk-teal-900); }
.account-menu__popover button:focus-visible { outline: 2px solid var(--tyk-teal-700); outline-offset: -2px; }
.account-menu__popover button:active { transform: translateY(1px); }
.account-menu__divider { display: block; height: 1px; margin: .35rem .55rem; background: var(--tyk-border); }
.account-menu__popover .account-menu__signout { color: #9c2f27; }
.account-menu__popover .account-menu__signout:hover { background: #fff1ef; color: #7f211b; }
.site-header > nav { grid-area: nav; display: flex; align-items: center; justify-content: center; gap: .25rem; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.site-header > nav::-webkit-scrollbar { display: none; }
.site-header > nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: .5rem .76rem;
  border-radius: var(--tyk-radius-pill);
  color: #383c38;
  font-size: .82rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s var(--tyk-ease), color .2s var(--tyk-ease);
}
.site-header > nav a:hover { background: white; color: var(--tyk-teal-900); }
.site-header > nav .nav-accent { color: var(--tyk-teal-800); }
.header-actions .secondary-button,
.notification-button {
  min-height: 44px;
  padding: .68rem .95rem;
  border: 1px solid var(--tyk-border-strong);
  border-radius: var(--tyk-radius-pill);
  background: white;
  color: var(--tyk-teal-900);
  font-weight: 780;
  box-shadow: 0 4px 14px rgba(15,17,16,.05);
}
.notification-button { font-size: 0; position: relative; width: 44px; padding: 0; }
.notification-button::before { content: ""; display: block; width: 19px; height: 19px; margin: auto; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M14.857 17.082A23.848 23.848 0 0 0 18 16.111V11a6 6 0 1 0-12 0v5.111c.986.37 2.037.696 3.143.971m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.notification-button span { position: absolute; right: -4px; top: -5px; margin: 0; }

main { overflow: clip; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  width: min(var(--tyk-content-max), calc(100% - 2rem));
  min-height: 610px;
  margin: 0 auto;
  padding: clamp(4.2rem, 7vw, 7rem) 0 clamp(3.2rem, 6vw, 5.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18vw;
  top: 2rem;
  width: min(66vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,237,232,.9), rgba(220,237,232,0) 67%);
}
.hero-copy { max-width: 700px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .8rem;
  color: var(--tyk-teal-700);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.hero h1 {
  max-width: 730px;
  margin: 0;
  color: var(--tyk-ink);
  font-family: var(--tyk-font-display);
  font-size: clamp(3.2rem, 6.4vw, 6.15rem);
  font-weight: 720;
  letter-spacing: -.065em;
  line-height: .95;
}
.hero h1 em { color: var(--tyk-teal-800); font-style: normal; }
.hero-lead { max-width: 630px; margin: 1.55rem 0 0; color: #4f514d; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.primary-button,
.hero .primary-button {
  min-height: 48px;
  padding: .76rem 1.2rem;
  border: 1px solid var(--tyk-teal-900);
  border-radius: var(--tyk-radius-pill);
  background: var(--tyk-teal-900);
  color: white;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(7,61,58,.18);
  cursor: pointer;
  transition: transform .18s var(--tyk-ease), box-shadow .18s var(--tyk-ease), background .18s var(--tyk-ease);
}
.primary-button:hover { transform: translateY(-1px); background: var(--tyk-teal-700); box-shadow: 0 14px 32px rgba(7,61,58,.22); }
.secondary-button {
  min-height: 44px;
  padding: .66rem 1rem;
  border: 1px solid var(--tyk-border-strong);
  border-radius: var(--tyk-radius-pill);
  background: var(--tyk-surface);
  color: var(--tyk-teal-900);
  font-weight: 760;
  cursor: pointer;
  transition: border-color .18s var(--tyk-ease), background .18s var(--tyk-ease), transform .18s var(--tyk-ease);
}
.secondary-button:hover { border-color: var(--tyk-teal-700); background: var(--tyk-teal-050); transform: translateY(-1px); }
.hero-secondary { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .72rem 1rem; border-radius: var(--tyk-radius-pill); color: var(--tyk-teal-900); font-weight: 780; text-decoration: none; }
.hero-secondary:hover { background: rgba(255,255,255,.65); }
.hero-secondary svg { width: 18px; height: 18px; }
.hero-proof-row { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin-top: 2rem; color: #4d5651; font-size: .86rem; font-weight: 680; }
.hero-proof-row span { display: inline-flex; align-items: center; gap: .42rem; }
.hero-proof-row svg { width: 17px; height: 17px; color: var(--tyk-teal-700); }

.hero-showcase {
  position: relative;
  min-height: 470px;
  padding: 1.15rem;
  border: 1px solid rgba(201,192,178,.85);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(251,249,245,.83));
  box-shadow: var(--tyk-shadow-floating);
}
.showcase-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem .3rem 1rem; }
.showcase-topline strong { color: var(--tyk-teal-950); font-size: .92rem; }
.showcase-topline span { color: var(--tyk-text-muted); font-size: .76rem; }
.showcase-item {
  overflow: hidden;
  border: 1px solid var(--tyk-border);
  border-radius: 1.45rem;
  background: var(--tyk-surface);
  box-shadow: var(--tyk-shadow-card);
}
.showcase-visual {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(7,61,58,.06), rgba(198,147,69,.12)),
    var(--tyk-surface-warm);
}
.showcase-visual::before,
.showcase-visual::after { content: ""; position: absolute; border-radius: 50%; }
.showcase-visual::before { width: 154px; height: 154px; background: var(--tyk-teal-900); box-shadow: 0 26px 40px rgba(7,61,58,.22); }
.showcase-visual::after { width: 78px; height: 78px; border: 16px solid #dfb86e; background: var(--tyk-ivory); }
.showcase-badge { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .42rem .66rem; border-radius: var(--tyk-radius-pill); background: white; color: var(--tyk-teal-900); font-size: .7rem; font-weight: 850; box-shadow: 0 8px 18px rgba(15,17,16,.09); }
.showcase-content { padding: 1.2rem; }
.showcase-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--tyk-text-muted); font-size: .75rem; }
.showcase-content h2 { margin: .6rem 0 .2rem; font-family: var(--tyk-font-display); font-size: 1.3rem; letter-spacing: -.02em; }
.showcase-price { display: block; color: var(--tyk-teal-900); font-size: 1.4rem; }
.showcase-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-top: 1rem; }
.showcase-trust span { display: grid; gap: .18rem; padding: .65rem; border-radius: .9rem; background: var(--tyk-teal-050); color: #46534d; font-size: .64rem; line-height: 1.35; }
.showcase-trust strong { color: var(--tyk-teal-800); font-size: .72rem; }
.showcase-note { position: absolute; right: -1.3rem; bottom: 2rem; width: 185px; padding: .85rem 1rem; border-radius: 1rem; background: var(--tyk-teal-950); color: white; box-shadow: 0 18px 42px rgba(7,61,58,.24); }
.showcase-note strong { display: block; font-size: .78rem; }
.showcase-note small { display: block; margin-top: .25rem; color: rgba(255,255,255,.72); line-height: 1.4; }

.category-rail {
  width: min(var(--tyk-content-max), calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: 1rem;
  border: 1px solid var(--tyk-border);
  border-radius: var(--tyk-radius-xl);
  background: rgba(255,255,255,.72);
  box-shadow: 0 9px 28px rgba(15,17,16,.04);
}
.category-rail__label { margin: 0 .4rem .8rem; color: var(--tyk-text-muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.category-rail__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.category-chip {
  display: flex;
  align-items: center;
  gap: .72rem;
  min-height: 62px;
  padding: .7rem .85rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: var(--tyk-surface-warm);
  color: var(--tyk-ink);
  text-align: left;
  cursor: pointer;
  transition: transform .18s var(--tyk-ease), border-color .18s var(--tyk-ease), background .18s var(--tyk-ease);
}
.category-chip:hover, .category-chip[aria-pressed="true"] { transform: translateY(-2px); border-color: var(--tyk-soft-teal); background: var(--tyk-teal-050); }
.category-chip__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: .85rem; background: white; color: var(--tyk-teal-800); box-shadow: 0 6px 16px rgba(15,17,16,.06); flex: 0 0 auto; }
.category-chip__icon svg { width: 21px; height: 21px; }
.category-chip strong { display: block; font-size: .82rem; }
.category-chip small { display: block; margin-top: .1rem; color: var(--tyk-text-muted); font-size: .68rem; }

.section {
  width: min(var(--tyk-content-max), calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}
.section-heading { margin-bottom: 2rem; }
.section-heading h2 {
  margin: 0;
  font-family: var(--tyk-font-display);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.section-heading p { max-width: 710px; color: var(--tyk-text-muted); line-height: 1.65; }
.marketplace-section { width: 100%; max-width: none; padding-inline: max(1rem, calc((100% - var(--tyk-content-max))/2)); background: var(--tyk-surface); border-block: 1px solid var(--tyk-border); }
.marketplace-heading { align-items: end; gap: 2rem; }
.marketplace-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.marketplace-result-copy { color: var(--tyk-text-muted); font-size: .86rem; }
.marketplace-filters { align-items: end; }
.marketplace-filters label { gap: .36rem; color: var(--tyk-text-muted); font-size: .72rem; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }
.marketplace-filters select { min-width: 210px; min-height: 46px; border: 1px solid var(--tyk-border-strong); border-radius: var(--tyk-radius-pill); background: white; padding: .65rem 2.2rem .65rem .95rem; color: var(--tyk-ink); }

.listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.listing-card {
  overflow: hidden;
  border: 1px solid var(--tyk-border);
  border-radius: var(--tyk-radius-xl);
  background: var(--tyk-surface);
  box-shadow: 0 8px 26px rgba(15,17,16,.045);
  transition: transform .22s var(--tyk-ease), box-shadow .22s var(--tyk-ease), border-color .22s var(--tyk-ease);
}
.listing-card:hover { transform: translateY(-5px); border-color: rgba(111,167,160,.75); box-shadow: var(--tyk-shadow-hover); }
.listing-card__media { aspect-ratio: 1 / .82; overflow: hidden; background: linear-gradient(145deg, var(--tyk-teal-050), var(--tyk-surface-warm)); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--tyk-ease); }
.listing-card:hover .listing-card__media img { transform: scale(1.025); }
.listing-image-placeholder { height: 100%; min-height: 180px; display: grid; place-items: center; padding: 1rem; color: var(--tyk-text-muted); font-size: .76rem; font-weight: 700; text-align: center; }
.listing-image-placeholder::before { content: ""; display: block; width: 54px; height: 54px; margin: 0 auto .7rem; border-radius: 50%; background: rgba(23,107,99,.12); box-shadow: inset 0 0 0 15px rgba(23,107,99,.08); }
.risk-pill { top: .8rem; left: .8rem; right: auto; padding: .38rem .58rem; background: rgba(255,255,255,.94); color: var(--tyk-teal-900); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 6px 18px rgba(15,17,16,.12); font-size: .64rem; letter-spacing: .01em; text-transform: none; }
.listing-card__body { padding: 1rem 1rem 1.05rem; }
.listing-card__meta { color: var(--tyk-text-muted); font-size: .68rem; font-weight: 650; }
.listing-card__meta span:last-child { text-transform: capitalize; }
.listing-card h3 { min-height: 2.6em; margin: .55rem 0 .35rem; font-family: var(--tyk-font-display); font-size: 1rem; line-height: 1.3; letter-spacing: -.015em; }
.listing-price { color: var(--tyk-teal-900); font-family: var(--tyk-font-display); font-size: 1.25rem; letter-spacing: -.02em; }
.listing-card__location { display: flex; align-items: center; gap: .35rem; margin: .45rem 0 0; color: var(--tyk-text-muted); font-size: .72rem; }
.listing-card__location svg { width: 14px; height: 14px; }
.trust-chips { gap: .35rem; margin: .75rem 0; }
.trust-chips span { padding: .34rem .5rem; border: 1px solid #cce0da; border-radius: var(--tyk-radius-pill); background: var(--tyk-teal-050); color: var(--tyk-teal-900); font-size: .61rem; font-weight: 720; }
.listing-card .listing-view-button { width: 100%; min-height: 40px; margin-top: .2rem; }
.listing-actions { gap: .45rem; }

.category-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.category-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  border: 1px solid var(--tyk-border);
  border-radius: var(--tyk-radius-xl);
  background: linear-gradient(155deg, white, var(--tyk-surface-warm));
  box-shadow: 0 10px 30px rgba(15,17,16,.045);
  transition: transform .2s var(--tyk-ease), box-shadow .2s var(--tyk-ease);
}
.category-grid article:hover { transform: translateY(-4px); box-shadow: var(--tyk-shadow-card); }
.category-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: auto; border-radius: 1rem; background: var(--tyk-teal-050); color: var(--tyk-teal-800); font-size: .78rem; font-weight: 850; }
.category-grid h3 { margin: 1.4rem 0 .45rem; font-family: var(--tyk-font-display); font-size: 1.25rem; }
.category-grid p { margin: 0; color: var(--tyk-text-muted); font-size: .86rem; line-height: 1.55; }


.account-card,
.message-card,
.transaction-detail,
.conversation-panel,
.review-summary-card,
.review-feed-card,
.review-moderation-card {
  border: 1px solid var(--tyk-border);
  border-radius: var(--tyk-radius-xl);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 32px rgba(15,17,16,.055);
}
.account-card { padding: clamp(1rem, 2vw, 1.4rem); }
.card-heading { border-bottom: 1px solid var(--tyk-border); padding-bottom: .9rem; margin-bottom: 1rem; }
.card-heading h3 { font-family: var(--tyk-font-display); letter-spacing: -.02em; }
label { color: #333632; font-size: .8rem; font-weight: 710; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  border: 1px solid var(--tyk-border-strong);
  border-radius: .85rem;
  background: #fff;
  color: var(--tyk-ink);
  transition: border-color .18s var(--tyk-ease), box-shadow .18s var(--tyk-ease);
}
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus { border-color: var(--tyk-teal-700); box-shadow: 0 0 0 4px rgba(23,107,99,.09); outline: 0; }
fieldset { border-color: var(--tyk-border); border-radius: 1rem; }
.badge { border-radius: var(--tyk-radius-pill); }

.auth-dialog {
  border: 0;
  border-radius: var(--tyk-radius-2xl);
  box-shadow: 0 28px 90px rgba(5,47,45,.24);
}
.auth-dialog::backdrop { background: rgba(5,47,45,.56); backdrop-filter: blur(6px); }
.dialog-close { border-radius: 50%; background: var(--tyk-surface-warm); }
.listing-detail-dialog { width: min(980px, calc(100% - 1.5rem)); }
.detail-media { border-radius: var(--tyk-radius-xl); overflow: hidden; }

.status-grid > div { border-color: var(--tyk-border); background: rgba(255,255,255,.72); }

.site-footer {
  padding: 3.5rem max(1rem, calc((100% - var(--tyk-content-max))/2)) calc(5.5rem + env(safe-area-inset-bottom));
  background: var(--tyk-ink);
  color: white;
}
.site-footer__grid { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(130px, .6fr)); gap: 2rem; }
.site-footer img { width: 146px; }
.site-footer__brand p { max-width: 380px; color: rgba(255,255,255,.62); line-height: 1.65; }
.site-footer h3 { margin: 0 0 .85rem; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #d8b46d; }
.site-footer a { display: block; margin: .5rem 0; color: rgba(255,255,255,.72); font-size: .82rem; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .72rem; }

.mobile-nav { display: none; }
.empty-state { grid-column: 1 / -1; border: 1px dashed var(--tyk-border-strong); border-radius: var(--tyk-radius-xl); background: var(--tyk-surface-warm); padding: 2rem; color: var(--tyk-text-muted); text-align: center; }
.toast { bottom: calc(1.25rem + env(safe-area-inset-bottom)); border-radius: var(--tyk-radius-pill); background: var(--tyk-teal-950); box-shadow: var(--tyk-shadow-floating); }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 150px minmax(0,1fr) auto; gap: .7rem 1rem; }
  .site-header > nav a:nth-last-child(-n+4) { display: none; }
  .listing-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero { grid-template-columns: minmax(0,1fr) minmax(330px,.75fr); }
  .showcase-note { right: -.5rem; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 82px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .announcement-bar { display: none; }
  .site-header {
    grid-template-columns: 128px minmax(0,1fr) auto;
    grid-template-areas: "brand search actions";
    padding: .7rem .9rem;
  }
  .site-header > nav { display: none; }
  .brand img { width: 124px; }
  .header-search input { padding-right: 2.8rem; }
  .header-search button { width: 40px; min-width: 40px; font-size: 0; }
  .header-search button::before { content: "↗"; font-size: 1rem; }
  .account-button { font-size: 0; width: 44px; padding: 0 !important; }
  .account-button::before { content: ""; display: block; width: 19px; height: 19px; margin: auto; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.5 20.118a7.5 7.5 0 0 1 15 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.5-1.632Z'/%3E%3C/svg%3E") center / contain no-repeat; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 3.5rem; }
  .hero-copy { max-width: 760px; }
  .hero-showcase { width: min(580px, 100%); min-height: 430px; justify-self: center; }
  .category-rail__items { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .mobile-nav {
    position: fixed;
    left: .65rem;
    right: .65rem;
    bottom: max(.55rem, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    min-height: 62px;
    padding: .35rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 1.25rem;
    background: rgba(5,47,45,.96);
    box-shadow: 0 18px 48px rgba(5,47,45,.32);
    backdrop-filter: blur(18px);
  }
  .mobile-nav a, .mobile-nav button { display: grid; place-items: center; align-content: center; gap: .18rem; min-width: 0; border: 0; border-radius: .9rem; background: transparent; color: rgba(255,255,255,.72); font-size: .6rem; font-weight: 700; text-decoration: none; }
  .mobile-nav a:hover, .mobile-nav button:hover { background: rgba(255,255,255,.1); color: white; }
  .mobile-nav svg { width: 19px; height: 19px; }
  .toast { bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .site-header { grid-template-columns: 112px 1fr auto; }
  .header-actions .notification-button { display: none; }
  .hero { width: min(100% - 1.25rem, var(--tyk-content-max)); gap: 2rem; padding-top: 2.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.35rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions > * { width: 100%; justify-content: center; }
  .hero-proof-row { display: grid; grid-template-columns: 1fr; }
  .hero-showcase { min-height: 395px; padding: .8rem; border-radius: 1.4rem; }
  .showcase-visual { min-height: 180px; }
  .showcase-trust { grid-template-columns: 1fr; }
  .showcase-note { position: static; width: auto; margin-top: .75rem; }
  .category-rail { width: calc(100% - 1.25rem); padding: .75rem; }
  .category-rail__items { display: flex; overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x mandatory; }
  .category-chip { min-width: 185px; scroll-snap-align: start; }
  .section { width: calc(100% - 1.25rem); padding-block: 3.5rem; }
  .marketplace-section { width: 100%; padding-inline: .625rem; }
  .marketplace-heading, .marketplace-toolbar { align-items: stretch; flex-direction: column; }
  .marketplace-filters { width: 100%; display: grid; grid-template-columns: 1fr auto; }
  .marketplace-filters label { width: 100%; }
  .marketplace-filters select { width: 100%; min-width: 0; }
  .listing-grid { grid-template-columns: 1fr; gap: .85rem; }
  .listing-card { display: grid; grid-template-columns: 128px minmax(0,1fr); border-radius: 1rem; }
  .listing-card__media { aspect-ratio: auto; min-height: 100%; }
  .listing-image-placeholder { min-height: 175px; }
  .listing-card__body { padding: .85rem; }
  .listing-card h3 { min-height: 0; font-size: .94rem; }
  .listing-price { font-size: 1.08rem; }
  .listing-card .trust-chips { max-height: 52px; overflow: hidden; }
  .category-grid { grid-template-columns: 1fr; }
  .category-grid article { min-height: 205px; }
  .site-footer { padding-inline: 1.2rem; }
  .site-footer__grid { grid-template-columns: repeat(2,1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

html { background: var(--tyk-ivory); }
body {
  color: var(--tyk-ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(219,236,232,.48), transparent 24rem),
    linear-gradient(180deg, #faf8f2 0, var(--tyk-ivory) 100%);
}
body::before { display: none; }

.announcement-bar {
  min-height: 26px;
  padding: .3rem 1rem;
  background: var(--tyk-teal-950);
  color: rgba(255,255,255,.88);
  font-size: .67rem;
  font-weight: 650;
  letter-spacing: .02em;
}
.announcement-bar svg { width: 14px; height: 14px; }

.site-header {
  min-height: var(--tyk-header-height);
  padding: .55rem max(1rem, calc((100% - var(--tyk-content-max))/2));
  grid-template-columns: 130px minmax(260px, 1fr) auto auto;
  gap: .75rem 1.15rem;
  background: rgba(255,254,250,.97);
  border-color: var(--tyk-border);
  box-shadow: 0 4px 18px rgba(18,24,23,.035);
}
.brand img { width: 112px; }
.header-search { max-width: 460px; justify-self: stretch; }
.header-search input {
  min-height: 38px;
  padding: .55rem 5.4rem .55rem 2.25rem;
  border-radius: .55rem;
  background: #fff;
  font-size: .76rem;
}
.header-search svg { left: .78rem; width: 16px; height: 16px; }
.header-search button {
  right: .3rem;
  min-height: 30px;
  padding: .35rem .85rem;
  border-radius: .45rem;
  font-size: .7rem;
}
.site-header > nav { justify-content: flex-start; gap: .95rem; font-size: .72rem; font-weight: 720; }
.site-header > nav a { padding-block: .5rem; }
.site-header > nav .nav-accent { color: var(--tyk-teal-800); }
.header-actions button { min-height: 36px; padding: .5rem .78rem; font-size: .71rem; }

main { display: block; }
.hero,
.category-rail,
.section:not(.marketplace-section):not(.split-section) {
  width: min(calc(100% - 2rem), var(--tyk-content-max));
}
.hero {
  min-height: 390px;
  margin: 1rem auto .75rem;
  padding: 0;
  grid-template-columns: minmax(300px,.9fr) minmax(420px,1.2fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--tyk-border);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: var(--tyk-shadow-card);
}
.hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem,4vw,4rem);
  background:
    radial-gradient(circle at 80% 22%, rgba(44,141,132,.24), transparent 13rem),
    linear-gradient(145deg, #064b47, #023c39 65%, #032e2c);
  color: #fff;
}
.hero .eyebrow { color: #b8ddd7; font-size: .67rem; }
.hero h1 {
  max-width: 560px;
  margin: .75rem 0 .8rem;
  color: #fff;
  font-size: clamp(2.25rem,4.4vw,4.5rem);
  line-height: .97;
  letter-spacing: -.055em;
}
.hero h1 em { display: block; color: #f3cf88; font-style: normal; }
.hero-lead { max-width: 560px; margin: 0; color: rgba(255,255,255,.76) !important; font-size: .92rem !important; line-height: 1.6 !important; }
.hero-actions { margin-top: 1.3rem; gap: .75rem; }
.hero-actions .primary-button { background: #fff; color: var(--tyk-teal-950); }
.hero-secondary { color: #fff; font-size: .78rem; }
.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .55rem;
  margin-top: 1.35rem;
}
.hero-proof-row span {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .65rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: .55rem;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.055);
  font-size: .62rem;
  line-height: 1.3;
}
.hero-proof-row svg { width: 14px; height: 14px; flex: 0 0 auto; color: #f3cf88; }
.hero-showcase {
  position: relative;
  align-self: stretch;
  min-height: 390px;
  padding: 1rem;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.03), transparent 34%),
    linear-gradient(135deg, #e9e5dc 0, #f7f4ed 52%, #d9e9e5 100%);
  box-shadow: none;
}
.hero-showcase::before,
.hero-showcase::after {
  content: "";
  position: absolute;
  border-radius: 1rem;
  box-shadow: 0 18px 48px rgba(18,24,23,.14);
}
.hero-showcase::before {
  inset: 2.2rem 4rem 3.2rem 3.1rem;
  background:
    radial-gradient(circle at 68% 28%, #d5a971 0 8%, transparent 8.5%),
    linear-gradient(145deg, transparent 0 52%, rgba(3,60,57,.14) 52% 54%, transparent 54%),
    linear-gradient(135deg, #f1ede4, #dce7e3 45%, #c8d8d3);
}
.hero-showcase::after {
  width: 42%; height: 50%; right: 2rem; bottom: 2rem;
  background:
    linear-gradient(150deg, rgba(255,255,255,.2), transparent),
    #0a5d57;
}
.showcase-topline,
.showcase-item,
.showcase-note { position: relative; z-index: 2; }
.showcase-topline {
  width: fit-content;
  margin-left: auto;
  padding: .5rem .7rem;
  border-radius: .55rem;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 24px rgba(18,24,23,.08);
  font-size: .64rem;
}
.showcase-topline span { display: block; margin-top: .12rem; color: var(--tyk-text-muted); }
.showcase-item {
  position: absolute;
  left: 1.6rem;
  bottom: 1.55rem;
  width: min(70%, 430px);
  grid-template-columns: 108px minmax(0,1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: .9rem;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 48px rgba(18,24,23,.16);
}
.showcase-visual { min-height: 155px; background: linear-gradient(145deg,#d7e3df,#f0ece2); }
.showcase-badge { top: .55rem; left: .55rem; font-size: .55rem; }
.showcase-content { padding: .85rem; }
.showcase-meta { font-size: .55rem; }
.showcase-content h2 { margin: .45rem 0; font-size: 1rem; }
.showcase-price { font-size: 1.15rem; }
.showcase-trust { grid-template-columns: 1fr; gap: .25rem; margin-top: .55rem; }
.showcase-trust span { padding: .35rem .45rem; font-size: .54rem; }
.showcase-trust span:nth-child(n+3) { display: none; }
.showcase-note {
  position: absolute;
  right: 1.25rem;
  top: 6.2rem;
  width: 190px;
  padding: .75rem;
  border-radius: .65rem;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 38px rgba(18,24,23,.12);
}
.showcase-note strong { color: var(--tyk-teal-900); font-size: .67rem; }
.showcase-note small { margin-top: .25rem; font-size: .56rem; line-height: 1.45; }

.category-rail {
  margin: .75rem auto 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--tyk-border);
  border-radius: .85rem;
  background: rgba(255,254,250,.94);
  box-shadow: 0 5px 16px rgba(18,24,23,.035);
}
.category-rail__label { margin-bottom: .6rem; color: var(--tyk-ink); font-size: .72rem; }
.category-rail__items { grid-template-columns: repeat(4,1fr); gap: .55rem; }
.category-chip {
  min-height: 68px;
  padding: .65rem .75rem;
  border-radius: .7rem;
  background: #fff;
}
.category-chip__icon { width: 34px; height: 34px; border-radius: .55rem; }
.category-chip strong { font-size: .68rem; }
.category-chip small { font-size: .56rem; }

.section { padding: 2.4rem clamp(1rem,2.6vw,2.25rem); }
.section-heading { max-width: 740px; margin-bottom: 1.5rem; }
.section-heading h2,
.marketplace-heading h2 { margin: .35rem 0 .5rem; font-size: clamp(1.8rem,3vw,3rem); line-height: 1.05; }
.section-heading p { max-width: 700px; margin: 0; font-size: .82rem; line-height: 1.55; }
.eyebrow { font-size: .65rem; }

.marketplace-section {
  width: min(calc(100% - 2rem), var(--tyk-content-max));
  margin: 0 auto 1rem;
  padding: 1.25rem;
  border: 1px solid var(--tyk-border);
  border-radius: 1rem;
  background: rgba(255,254,250,.94);
  box-shadow: var(--tyk-shadow-card);
}
.marketplace-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--tyk-border);
}
.marketplace-heading > div:first-child { max-width: 650px; }
.marketplace-heading h2 { font-size: 1.65rem; }
.marketplace-heading p { max-width: 600px; font-size: .72rem; }
.marketplace-filters { display: flex; gap: .55rem; align-items: end; }
.marketplace-filters label { gap: .3rem; font-size: .62rem; }
.marketplace-filters select,
.marketplace-filters button { min-height: 36px; padding: .45rem .7rem; border-radius: .55rem; font-size: .68rem; }
.marketplace-browser { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 1rem; }
.marketplace-filter-panel {
  align-self: start;
  position: sticky;
  top: calc(var(--tyk-header-height) + 1rem);
  padding: .8rem;
  border: 1px solid var(--tyk-border);
  border-radius: .75rem;
  background: var(--tyk-surface-warm);
}
.marketplace-filter-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.marketplace-filter-panel__head strong { font-size: .78rem; }
.marketplace-filter-panel__head button { min-height: auto; padding: .25rem; color: var(--tyk-teal-800); background: transparent; font-size: .58rem; }
.marketplace-filter-group { padding: .7rem 0; border-top: 1px solid var(--tyk-border); }
.marketplace-filter-group:first-of-type { border-top: 0; }
.marketplace-filter-group > strong { display: block; margin-bottom: .45rem; font-size: .62rem; }
.marketplace-filter-group label { display: flex; align-items: center; gap: .4rem; margin: .32rem 0; color: var(--tyk-text-muted); font-size: .6rem; font-weight: 600; }
.marketplace-filter-group input[type="checkbox"] { width: 14px; height: 14px; }
.marketplace-filter-group select,
.marketplace-filter-group input[type="number"] { width: 100%; min-height: 32px; padding: .35rem .5rem; border-radius: .45rem; font-size: .62rem; }
.marketplace-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.marketplace-results { min-width: 0; }
.marketplace-toolbar {
  min-height: 35px;
  margin-bottom: .65rem;
  padding: .15rem .1rem .55rem;
  border-bottom: 1px solid var(--tyk-border);
  font-size: .66rem;
}
.marketplace-sort { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.marketplace-sort select { min-height: 32px; padding: .35rem .55rem; border-radius: .45rem; font-size: .62rem; }
.listing-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: .7rem; }
.listing-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tyk-border);
  border-radius: .7rem;
  background: #fff;
  box-shadow: none;
  transition: transform .18s var(--tyk-ease), box-shadow .18s var(--tyk-ease), border-color .18s var(--tyk-ease);
}
.listing-card:hover { transform: translateY(-3px); border-color: #b9cbc6; box-shadow: var(--tyk-shadow-hover); }
.listing-card__media { aspect-ratio: 1.05/1; background: #f0eee8; }
.listing-card__media img { object-fit: cover; }
.risk-pill { top: .5rem; left: .5rem; padding: .3rem .45rem; border-radius: .4rem; font-size: .52rem; }
.listing-card__body { padding: .65rem .7rem .72rem; }
.listing-card__meta { min-height: 18px; font-size: .52rem; }
.listing-card h3 { min-height: 2.45em; margin: .32rem 0 .35rem; font-size: .77rem; line-height: 1.25; }
.listing-price { font-size: .95rem; }
.listing-card__location { margin: .3rem 0; font-size: .56rem; }
.listing-card__location svg { width: 12px; height: 12px; }
.trust-chips { gap: .25rem; margin-top: .45rem; }
.trust-chips span { padding: .25rem .35rem; border-radius: .35rem; font-size: .5rem; }
.listing-view-button { width: 100%; min-height: 31px; margin-top: .55rem; padding: .35rem .5rem; border-radius: .45rem; font-size: .58rem; }

.listing-detail-dialog,
.seller-storefront-dialog { width: min(1180px, calc(100% - 1.5rem)); max-height: calc(100vh - 1.5rem); padding: 1rem; }
.listing-detail-layout { grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 1rem; }
.listing-gallery { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: .65rem; }
.listing-gallery__rail { display: grid; align-content: start; gap: .4rem; }
.listing-gallery__rail button { width: 58px; height: 58px; padding: 0; overflow: hidden; border: 1px solid var(--tyk-border); border-radius: .5rem; background: #fff; }
.listing-gallery__rail img { width: 100%; height: 100%; object-fit: cover; }
.detail-media { min-height: 430px; display: grid; place-items: center; border-radius: .75rem; background: #f0eee8; }
.detail-media img { display: none; width: 100%; height: 100%; max-height: 560px; object-fit: contain; }
.detail-media img:first-child { display: block; }
.listing-detail-main > .eyebrow { display: block; margin-top: 1rem; }
.listing-detail-main > h2 { margin: .35rem 0 .55rem; font-size: clamp(1.65rem,3vw,2.5rem); }
.listing-description { font-size: .75rem; line-height: 1.6; }
.listing-purchase-panel { position: sticky; top: .4rem; padding: 1rem; border-radius: .8rem; }
.listing-purchase-panel > .listing-price { display: block; margin: .45rem 0 .7rem; font-size: 1.6rem; }
.listing-seller-card,
.listing-trust-card { padding: .75rem; border-radius: .65rem; }
.listing-seller-card { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: .55rem; }
.listing-seller-card::before { content: attr(data-initials); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tyk-teal-950); color: #fff; font-size: .7rem; font-weight: 800; }
.listing-seller-card strong { font-size: .76rem; }
.listing-seller-card p { margin: .15rem 0 0; font-size: .58rem; }
.listing-storefront-button { grid-column: 1 / -1; justify-self: start; min-height: auto; padding: .25rem 0; color: var(--tyk-teal-800); background: transparent; font-size: .58rem; text-decoration: underline; }
.listing-trust-card > strong { font-size: .7rem; }
.listing-trust-card > p { margin: .25rem 0 .6rem; font-size: .57rem; }
.listing-trust-list > div { padding: .45rem 0; }
.listing-trust-list strong { font-size: .62rem; }
.listing-trust-list small { font-size: .54rem; }
.detail-actions { display: grid; gap: .45rem; }
.detail-actions button { width: 100%; min-height: 38px; border-radius: .5rem; font-size: .65rem; }
.listing-safety-note { padding: .65rem; border-radius: .55rem; font-size: .55rem; }
.storefront-cover {
  min-height: 170px;
  padding: 1.3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-radius: .8rem;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.16), transparent 11rem),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px),
    linear-gradient(120deg, #033c39, #087069);
}
.storefront-identity { display: flex; align-items: center; gap: .8rem; }
.storefront-avatar { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(255,255,255,.12); font-weight: 850; }
.storefront-identity h2 { margin: 0; color: #fff; font-size: 1.5rem; }
.storefront-identity p { margin: .2rem 0 0; color: rgba(255,255,255,.7); font-size: .65rem; }
.storefront-actions { display: flex; gap: .45rem; }
.storefront-actions button { min-height: 34px; padding: .45rem .75rem; border-radius: .45rem; font-size: .62rem; }
.storefront-actions .secondary-button { border-color: rgba(255,255,255,.45); color: #fff; }
.storefront-stats { display: grid; grid-template-columns: repeat(4,1fr); margin: .7rem 0; border: 1px solid var(--tyk-border); border-radius: .7rem; background: #fff; }
.storefront-stats div { padding: .7rem; text-align: center; border-right: 1px solid var(--tyk-border); }
.storefront-stats div:last-child { border-right: 0; }
.storefront-stats strong { display: block; font-size: .9rem; color: var(--tyk-teal-900); }
.storefront-stats span { font-size: .52rem; color: var(--tyk-text-muted); }
.storefront-tabs { display: flex; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--tyk-border); font-size: .62rem; font-weight: 750; }
.storefront-listings { margin-top: .8rem; }

.trust-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; padding: .8rem 1rem; border-radius: .65rem; background: var(--tyk-teal-950); color: #fff; }
.trust-cta p { margin: 0; color: rgba(255,255,255,.75); font-size: .64rem; }
.trust-cta a { flex: 0 0 auto; padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.35); border-radius: .45rem; font-size: .6rem; text-decoration: none; }

.seller-studio { background: transparent; }
.seller-layout { grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); gap: .8rem; }
.seller-layout > .account-card,
.listing-form { border-radius: .85rem; box-shadow: var(--tyk-shadow-card); }
.listing-form .card-heading { margin-bottom: .75rem; }
.listing-stepper { display: grid; grid-template-columns: repeat(4,1fr); gap: .35rem; margin: 0 0 1rem; }
.account-card label { margin-bottom: .75rem; font-size: .65rem; }
.account-card input,
.account-card textarea,
.account-card select { padding: .55rem .65rem; border-radius: .55rem; font-size: .7rem; }
.account-card textarea { min-height: 92px; }
.form-row { gap: .65rem; }
fieldset { padding: .75rem; border-radius: .65rem; }
fieldset legend { font-size: .62rem; }
.inventory-summary { gap: .35rem; }
.inventory-summary > div { padding: .55rem .35rem; border-radius: .55rem; }
.inventory-summary strong { font-size: .9rem; }
.inventory-summary span { font-size: .52rem; }
.inventory-toolbar { gap: .45rem; }
.inventory-toolbar input,
.inventory-toolbar select { min-height: 34px; font-size: .65rem; }
.inventory-card { grid-template-columns: 120px minmax(0,1fr); border-radius: .65rem; }
.inventory-card__media { min-height: 130px; }
.inventory-card__body { padding: .7rem; }
.inventory-card h4 { font-size: .78rem; }
.inventory-card p { font-size: .58rem; }
.inventory-card .listing-actions button { min-height: 30px; padding: .35rem .55rem; font-size: .57rem; }

.messaging-section,
.transaction-section,
.dispute-section,
.review-section,
.verification-section,
.trust-operations-section,
.account-section,
.notification-layout { background: transparent; }
.messaging-layout,
.transaction-layout,
.dispute-layout { grid-template-columns: 280px minmax(0,1fr); gap: .8rem; }
.conversation-inbox,
.conversation-thread,
.transaction-list-panel,
.transaction-detail { border-radius: .8rem; }
.conversation-item,
.transaction-item { padding: .65rem; border-radius: .55rem; }
.conversation-thumb,
.transaction-thumb { width: 44px; height: 44px; border-radius: .5rem; }
.conversation-item strong,
.transaction-item strong { font-size: .68rem; }
.conversation-item small,
.conversation-item em,
.transaction-item small,
.transaction-item em { font-size: .52rem; }
.conversation-header,
.transaction-detail-header { padding-bottom: .7rem; }
.conversation-header h3,
.transaction-detail-header h3 { font-size: 1rem; }
.conversation-context { grid-template-columns: 1fr auto; padding: .65rem; border-radius: .55rem; }
.message-bubble { max-width: 72%; padding: .55rem .7rem; border-radius: .65rem; font-size: .64rem; }
.message-form textarea { min-height: 42px; }
.transaction-progress { gap: .25rem; }
.transaction-progress__step { min-height: 30px; padding: .35rem; border-radius: .45rem; font-size: .5rem; }
.transaction-next-action,
.payment-warning { padding: .65rem .75rem; border-radius: .55rem; }
.transaction-panel { border-radius: .65rem; }

.site-footer { padding-top: 2.2rem; padding-bottom: calc(2.2rem + env(safe-area-inset-bottom)); }
.site-footer__grid { gap: 1.2rem; }
.site-footer__brand p,
.site-footer a { font-size: .7rem; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 120px minmax(220px,1fr) auto; }
  .site-header > nav { display: none; }
  .listing-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 112px minmax(0,1fr) auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-showcase { min-height: 360px; }
  .marketplace-browser { grid-template-columns: 1fr; }
  .marketplace-filter-panel { position: static; display: grid; grid-template-columns: repeat(4,1fr); gap: .55rem; }
  .marketplace-filter-panel__head { grid-column: 1 / -1; }
  .marketplace-filter-group { border-top: 0; padding: .3rem; }
  .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .seller-layout { grid-template-columns: 1fr; }
  .messaging-layout,
  .transaction-layout,
  .dispute-layout { grid-template-columns: 1fr; }
  .listing-detail-layout { grid-template-columns: 1fr; }
  .listing-purchase-panel { position: static; }
}

@media (max-width: 640px) {
  .announcement-bar { display: none; }
  .site-header { grid-template-columns: 95px 1fr auto; padding: .55rem .65rem; }
  .brand img { width: 92px; }
  .header-search { max-width: none; }
  .header-search input { min-height: 35px; font-size: .65rem; }
  .hero,
  .category-rail,
  .section:not(.marketplace-section):not(.split-section) { width: calc(100% - 1rem); }
  .hero { margin-top: .5rem; border-radius: .8rem; }
  .hero-copy { padding: 1.5rem 1.2rem; }
  .hero h1 { font-size: 2.65rem; }
  .hero-proof-row { grid-template-columns: 1fr; }
  .hero-showcase { min-height: 330px; }
  .hero-showcase::before { inset: 1.6rem 1.5rem 3rem; }
  .showcase-item { left: .75rem; bottom: .75rem; width: calc(100% - 1.5rem); }
  .showcase-note { display: none; }
  .category-rail__items { display: flex; }
  .marketplace-section { width: calc(100% - 1rem); margin-inline: auto; padding: .75rem; }
  .marketplace-heading { align-items: stretch; flex-direction: column; }
  .marketplace-filter-panel { display: block; }
  .marketplace-filter-panel[aria-expanded="false"] .marketplace-filter-group { display: none; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-card { grid-template-columns: 122px minmax(0,1fr); }
  .listing-card__media { min-height: 170px; }
  .trust-cta { align-items: flex-start; flex-direction: column; }
  .listing-stepper { grid-template-columns: repeat(2,1fr); }
  .storefront-cover { align-items: flex-start; flex-direction: column; }
  .storefront-stats { grid-template-columns: repeat(2,1fr); }
  .storefront-stats div:nth-child(2) { border-right: 0; }
  .storefront-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--tyk-border); }
  .listing-gallery { grid-template-columns: 1fr; }
  .listing-gallery__rail { display: flex; order: 2; overflow-x: auto; }
  .detail-media { min-height: 300px; }
  .message-bubble { max-width: 90%; }
}

.header-actions {
  min-width: 0;
  flex-wrap: nowrap;
}
.header-actions .notification-button {
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  padding: 0;
  overflow: visible;
  font-size: 0;
}
.header-actions .notification-button::before {
  width: 17px;
  height: 17px;
}
.header-actions .account-button {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-actions .account-button[aria-haspopup="menu"]::after {
  content: "▾";
  margin-left: .4rem;
  font-size: .68rem;
  line-height: 1;
}
.showcase-note {
  color: var(--tyk-ink);
}
.showcase-note small {
  color: var(--tyk-text-muted);
}
#profile-form .profile-save-button {
  width: auto;
  min-width: 124px;
  min-height: 40px;
  padding: .58rem 1rem;
  font-size: .74rem;
  line-height: 1.1;
}
.manual-refresh[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .header-actions .account-button { max-width: 118px; }
}

@media (max-width: 640px) {
  .header-actions .notification-button {
    flex-basis: 34px;
    width: 34px;
    min-width: 34px;
    max-width: 34px;
  }
  .header-actions .account-button { max-width: 92px; }
  .header-actions .account-button[aria-haspopup="menu"]::after { display: none; }
  #profile-form .profile-save-button { min-width: 112px; }
}

:root {
  --tyk-page-gutter: clamp(1rem, 3vw, 2rem);
  --tyk-control-height: 40px;
  --tyk-card-radius: var(--tyk-radius-md);
  --tyk-page-radius: var(--tyk-radius-lg);
}

[data-route-link][aria-current="page"] {
  color: var(--tyk-teal-900);
  background: var(--tyk-teal-050);
}
.site-header > nav [data-route-link][aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--tyk-teal-700);
}

.operations-only { display: none !important; }

.primary-button,
.secondary-button,
.header-actions button,
.header-search input,
.header-search button,
.marketplace-filter-panel,
.marketplace-toolbar,
.listing-card,
.category-chip {
  font-family: var(--tyk-font-body);
}

@media (prefers-reduced-motion: reduce) {
  [data-route-target] { scroll-behavior: auto; }
}

body:not([data-route="home"]) [data-route-surface="home"],
body:not([data-route="terms"]) [data-route-surface="terms"],
body:not([data-route="privacy"]) [data-route-surface="privacy"],
body:not([data-route="browse"]) [data-route-surface="browse"],
body:not([data-route="categories"]) [data-route-surface="categories"],
body:not([data-route="trust"]) [data-route-surface="trust"],
body:not([data-route="purchase"]) [data-route-surface="purchase"],
body:not([data-route="listing"]) [data-route-surface="listing"],
body:not([data-route="storefront"]) [data-route-surface="storefront"],
body:not([data-route="account"]) [data-route-surface="account"],
body:not([data-route="profile"]) [data-route-surface="profile"],
body:not([data-route="sell"]) [data-route-surface="sell"],
body:not([data-route="messages"]) [data-route-surface="messages"],
body:not([data-route="transactions"]) [data-route-surface="transactions"],
body:not([data-route="disputes"]) [data-route-surface="disputes"],
body:not([data-route="reviews"]) [data-route-surface="reviews"],
body:not([data-route="verification"]) [data-route-surface="verification"],
body:not([data-route="trust-operations"]) [data-route-surface="trust-operations"],
body:not([data-route="notifications"]) [data-route-surface="notifications"] {
  display: none !important;
}

.home-experience {
  width: 100%;
  min-height: calc(100dvh - 92px);
  display: grid;
  align-items: center;
}

.home-experience .home-hero { margin: 0 auto; }
body[data-route="home"] .site-footer { display: none; }

@media (min-width: 1181px) {
  .site-header {
    grid-template-columns: 124px minmax(300px, 1fr) auto auto;
    grid-template-areas: "brand search nav actions";
    gap: 1rem;
    min-height: 66px;
    padding: .58rem clamp(1rem, 2.8vw, 2.6rem);
  }
  .brand { min-height: 42px; }
  .brand img { width: 112px; }
  .header-search { width: 100%; max-width: 520px; justify-self: stretch; }
  .header-search input { min-height: 40px; padding: .58rem 5.8rem .58rem 2.45rem; font-size: .75rem; }
  .header-search svg { left: .82rem; width: 16px; height: 16px; }
  .header-search button { min-width: 78px; font-size: .66rem; }
  .site-header > nav { justify-content: flex-end; gap: .1rem; overflow: visible; }
  .site-header > nav a { min-height: 36px; padding: .45rem .58rem; font-size: .7rem; }
  .header-actions .secondary-button,
  .notification-button { min-height: 38px; }
}

.home-hero {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 2rem), var(--tyk-content-max));
  min-height: 460px;
  margin: 1rem auto 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 0;
  border: 1px solid rgba(3,60,57,.24);
  border-radius: 1rem;
  background: var(--tyk-teal-950);
  box-shadow: 0 20px 55px rgba(3,60,57,.12);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 58%;
  border-radius: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(111,167,160,.22), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 55%);
}
.home-hero .hero-copy {
  align-self: center;
  max-width: none;
  padding: clamp(2.5rem, 4.8vw, 4.5rem);
  color: white;
}
.home-hero .eyebrow { margin-bottom: .8rem; color: #b8ddd7; }
.home-hero h1 {
  max-width: 630px;
  color: white;
  font-size: clamp(2.65rem, 4.2vw, 4.5rem);
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.055em;
}
.home-hero h1 em { display: block; margin-top: .18em; color: #f1cf8d; }
.home-hero .hero-lead {
  max-width: 585px;
  margin-top: 1.15rem;
  color: rgba(255,255,255,.76);
  font-size: clamp(.9rem, 1.15vw, 1.05rem);
  line-height: 1.68;
}
.home-hero .hero-actions { margin-top: 1.55rem; gap: .65rem; }
.home-hero .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .65rem 1rem;
  border-color: #f8f5ed;
  background: #f8f5ed;
  color: var(--tyk-teal-950);
  box-shadow: none;
  font-size: .72rem;
}
.home-hero .primary-button:hover { background: white; color: var(--tyk-teal-900); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.home-hero .hero-secondary {
  min-height: 42px;
  padding: .6rem .9rem;
  color: white;
  border: 1px solid rgba(255,255,255,.34);
  font-size: .7rem;
}
.home-hero .hero-secondary:hover { background: rgba(255,255,255,.1); }
.home-hero .hero-proof-row {
  display: grid;
  gap: .42rem;
  margin-top: 1.4rem;
  color: rgba(255,255,255,.7);
  font-size: .65rem;
  font-weight: 630;
}
.home-hero .hero-proof-row svg { width: 14px; height: 14px; color: #f1cf8d; }

.hero-marketplace-preview {
  position: relative;
  min-width: 0;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3,60,57,.07), transparent 22%),
    linear-gradient(145deg, #e9e5db, #d5e1dd 54%, #c1d1cc);
}
.hero-marketplace-preview::before {
  content: "";
  position: absolute;
  inset: auto -8% -19% auto;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(7,84,79,.13);
  filter: blur(1px);
}
.hero-preview__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--tyk-teal-950);
  background: linear-gradient(120deg, rgba(3, 60, 57, .08), rgba(255, 254, 250, .02)), url("/assets/marketplace-editorial-hero-v1.png") center / cover no-repeat;
}
.hero-preview__fallback-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: min(330px, calc(100% - 2rem));
  padding: .85rem 1rem;
  border-radius: .7rem;
  background: rgba(255,254,250,.94);
  box-shadow: 0 16px 42px rgba(18,24,23,.14);
}

/* Canonical responsive marketplace shell: final source of truth. */
.header-search button { white-space: nowrap; overflow: hidden; }
@media (max-width: 900px) {
  .header-search button {
    width: 40px;
    min-width: 40px;
    padding: 0;
    font-size: 0;
    line-height: 1;
    overflow: hidden;
  }
  .header-search button::before { content: "↗"; font-size: 1rem; }
  .header-actions .account-button { width: 44px; max-width: 44px; padding: 0 !important; font-size: 0 !important; }
}
@media (max-width: 390px) {
  .header-search button { width: 35px; min-width: 35px; }
  .header-actions .account-button { width: 40px; max-width: 40px; }
}
.hero-preview__fallback-card span,
.hero-preview__fallback-card small { display: block; color: var(--tyk-text-muted); font-size: .55rem; }
.hero-preview__fallback-card strong { display: block; margin: .18rem 0; font-size: .8rem; }

.home-trust-assurance {
  width: min(calc(100% - 2rem), var(--tyk-content-max));
  margin: .65rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--tyk-border);
  border-radius: .8rem;
  background: rgba(255,254,250,.97);
  box-shadow: 0 5px 18px rgba(18,24,23,.04);
}
.home-trust-assurance article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem .9rem;
  border-right: 1px solid var(--tyk-border);
}
.home-trust-assurance article:last-child { border-right: 0; }
.home-trust-assurance__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tyk-teal-050);
  color: var(--tyk-teal-800);
}
.home-trust-assurance__icon svg { width: 18px; height: 18px; }
.home-trust-assurance strong { display: block; color: var(--tyk-teal-950); font-size: .66rem; }
.home-trust-assurance small { display: block; margin-top: .08rem; color: var(--tyk-text-muted); font-size: .52rem; line-height: 1.35; }

.home-section {
  width: min(calc(100% - 2rem), var(--tyk-content-max));
  margin: 2rem auto 0;
}
.home-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.home-section__heading .eyebrow { margin-bottom: .2rem; }
.home-section__heading h2 {
  margin: .18rem 0 0;
  color: var(--tyk-ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: -.035em;
}
.home-section__heading p { margin: .25rem 0 0; color: var(--tyk-text-muted); font-size: .65rem; }
.home-section__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--tyk-teal-800);
  font-size: .66rem;
  font-weight: 800;
  text-decoration: none;
}
.home-section__link:hover { text-decoration: underline; }

.home-categories.category-rail {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-categories .category-rail__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.home-categories .category-chip {
  min-width: 0;
  min-height: 132px;
  display: grid;
  grid-template-columns: 104px minmax(0,1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tyk-border);
  border-radius: .75rem;
  background: white;
  text-align: left;
  box-shadow: none;
}
.home-categories .category-chip:hover,
.home-categories .category-chip[aria-pressed="true"] { transform: translateY(-2px); border-color: #abc8c2; background: white; box-shadow: 0 12px 28px rgba(3,60,57,.08); }
.category-chip__visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #dbe7e3, #f2eee6);
}
.category-chip__visual::before,
.category-chip__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.48);
}
.category-chip__visual::before { width: 84px; height: 84px; right: -26px; top: -25px; }
.category-chip__visual::after { width: 62px; height: 62px; left: -24px; bottom: -24px; }
.category-chip--fashion .category-chip__visual { background: linear-gradient(145deg, #eaded4, #f4ece3); }
.category-chip--home .category-chip__visual { background: linear-gradient(145deg, #d9e4da, #eee6d7); }
.category-chip--collectibles .category-chip__visual { background: linear-gradient(145deg, #e4ddcd, #dbe7e4); }
.home-categories .category-chip__icon {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--tyk-teal-900);
  background: rgba(255,254,250,.88);
  box-shadow: 0 10px 24px rgba(18,24,23,.09);
}
.home-categories .category-chip__icon svg { width: 25px; height: 25px; }
.category-chip__copy { align-self: center; display: block; padding: .8rem .85rem; }
.home-categories .category-chip strong { font-size: .75rem; line-height: 1.25; }
.home-categories .category-chip small { margin-top: .24rem; font-size: .56rem; line-height: 1.45; }

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .75rem;
}
.home-listing-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tyk-border);
  border-radius: .75rem;
  background: white;
  transition: transform .18s var(--tyk-ease), box-shadow .18s var(--tyk-ease), border-color .18s var(--tyk-ease);
}
.home-listing-card:hover { transform: translateY(-3px); border-color: #b6ccc7; box-shadow: 0 15px 34px rgba(3,60,57,.09); }
.home-listing-card__media { position: relative; aspect-ratio: 1.08 / 1; overflow: hidden; background: #efede7; }
.home-listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--tyk-ease); }
.home-listing-card:hover .home-listing-card__media img { transform: scale(1.025); }
.home-listing-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--tyk-soft-teal); background: linear-gradient(145deg, #edf3f0, #f2eee6); }
.home-listing-card__placeholder svg { width: 58px; height: 58px; }
.home-listing-card__badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  max-width: calc(100% - 1rem);
  padding: .28rem .4rem;
  overflow: hidden;
  border-radius: .35rem;
  background: rgba(255,254,250,.95);
  color: var(--tyk-teal-900);
  box-shadow: 0 6px 16px rgba(18,24,23,.1);
  font-size: .5rem;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-listing-card__body { padding: .7rem .75rem .75rem; }
.home-listing-card__meta { display: flex; justify-content: space-between; gap: .5rem; color: var(--tyk-text-muted); font-size: .5rem; }
.home-listing-card h3 { min-height: 2.45em; margin: .3rem 0 .35rem; font-size: .79rem; line-height: 1.25; }
.home-listing-card__body > strong { display: block; color: var(--tyk-teal-950); font-size: .95rem; }
.home-listing-card p { margin: .28rem 0 .45rem; color: var(--tyk-text-muted); font-size: .53rem; line-height: 1.4; }
.home-listing-card__link { min-height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--tyk-teal-800); font-size: .55rem; font-weight: 800; }
.home-listing-card__link:hover { text-decoration: underline; }
.home-listing-skeleton {
  aspect-ratio: .82;
  border: 1px solid var(--tyk-border);
  border-radius: .75rem;
  background: linear-gradient(110deg, #ece9e1 25%, #f6f3ec 40%, #ece9e1 55%);
  background-size: 220% 100%;
  animation: tyk-home-skeleton 1.6s linear infinite;
}
@keyframes tyk-home-skeleton { to { background-position-x: -220%; } }
.home-featured-empty { grid-column: 1 / -1; margin: 0; padding: 1.5rem; border: 1px dashed var(--tyk-border-strong); border-radius: .75rem; color: var(--tyk-text-muted); background: rgba(255,254,250,.72); text-align: center; font-size: .7rem; }

.home-confidence-banner {
  width: min(calc(100% - 2rem), var(--tyk-content-max));
  margin: 2rem auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: .85rem;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.12), transparent 10rem),
    var(--tyk-teal-950);
  color: white;
}
.home-confidence-banner .eyebrow { margin-bottom: .15rem; color: #b8ddd7; }
.home-confidence-banner h2 { margin: .2rem 0 .3rem; color: white; font-size: clamp(1.2rem, 2vw, 1.65rem); }
.home-confidence-banner p { max-width: 820px; margin: 0; color: rgba(255,255,255,.7); font-size: .62rem; line-height: 1.55; }
.home-confidence-banner > a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 38px;
  padding: .55rem .75rem;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: .5rem;
  color: white;
  font-size: .62rem;
  font-weight: 780;
  text-decoration: none;
}
.home-confidence-banner > a:hover { background: rgba(255,255,255,.1); }

body[data-route="browse"] .marketplace-section {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.legal-page { max-width: 900px; margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem); }
.legal-page__header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--tyk-border); }
.legal-page__header h1 { margin: .45rem 0 .75rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; }
.legal-page__header p { max-width: 720px; color: var(--tyk-text-muted); line-height: 1.65; }
.legal-page__content { display: grid; gap: 1.6rem; padding-top: 1.8rem; }
.legal-page__content section { padding-bottom: 1.4rem; border-bottom: 1px solid var(--tyk-border); }
.legal-page__content h2 { margin: 0 0 .55rem; font-size: 1.2rem; }
.legal-page__content p, .legal-page__content li { color: var(--tyk-text-muted); line-height: 1.7; }
.legal-page__content ul { margin: .6rem 0 0; padding-left: 1.25rem; }
.account-security-panel { display: grid; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--tyk-border); }
.account-security-panel p { margin: 0; color: var(--tyk-text-muted); font-size: .78rem; line-height: 1.55; }
.mfa-setup-details { display: grid; gap: .45rem; padding: .8rem; border-radius: var(--tyk-radius-md); background: var(--tyk-surface-warm); }
.mfa-setup-details output { padding: .6rem; overflow-wrap: anywhere; border: 1px solid var(--tyk-border); border-radius: var(--tyk-radius-sm); background: var(--tyk-surface); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 750; letter-spacing: .08em; }
.mfa-setup-details small { overflow-wrap: anywhere; color: var(--tyk-text-muted); }
.compact-form { display: grid; gap: .7rem; }
.compact-form label { display: grid; gap: .35rem; font-size: .78rem; font-weight: 750; }
.compact-form input { min-height: 44px; padding: .7rem .75rem; border: 1px solid var(--tyk-border-strong); border-radius: var(--tyk-radius-sm); font: inherit; }
.account-session-list { display: grid; gap: .55rem; }
.account-session-list article { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--tyk-border); }
.account-session-list article > div { display: grid; gap: .2rem; }
.account-session-list small { color: var(--tyk-text-muted); line-height: 1.4; }

.inline-workflow-form { margin-top: 1rem; padding: 1rem; border: 1px solid color-mix(in srgb, var(--tyk-teal-700) 22%, var(--tyk-border)); border-radius: var(--tyk-radius-md); background: color-mix(in srgb, var(--tyk-teal-050) 68%, white); display: grid; gap: .85rem; }
.inline-workflow-form__heading, .inline-filter-form { display: flex; align-items: end; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.inline-workflow-form label, .inline-filter-form label { display: grid; gap: .35rem; flex: 1 1 13rem; }
.inline-workflow-form input, .inline-workflow-form select, .inline-workflow-form textarea, .inline-filter-form input, .inline-filter-form select { width: 100%; }
.inline-filter-form { margin: .5rem 0 1rem; padding: .85rem; border: 1px solid var(--tyk-border); border-radius: var(--tyk-radius-md); background: var(--tyk-surface-warm); }
body[data-route="categories"] #categories,
body[data-route="trust"] #trust {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1180px) {
  .home-hero { grid-template-columns: minmax(0,.95fr) minmax(380px,1.05fr); }
  .home-categories .category-chip { grid-template-columns: 82px minmax(0,1fr); }
  .home-trust-assurance { grid-template-columns: repeat(2,1fr); }
  .home-trust-assurance article:nth-child(2) { border-right: 0; }
  .home-trust-assurance article:nth-child(-n+2) { border-bottom: 1px solid var(--tyk-border); }
}

@media (max-width: 900px) {
  .home-hero { min-height: 0; grid-template-columns: 1fr; }
  .home-hero .hero-copy { padding: 2.25rem 2rem; }
  .hero-marketplace-preview { min-height: 390px; }
  .home-categories .category-rail__items { grid-template-columns: repeat(2,1fr); }
  .home-featured-grid { grid-template-columns: repeat(2,1fr); }
  .home-confidence-banner { align-items: flex-start; flex-direction: column; gap: 1rem; }
}

@media (max-width: 640px) {
  body[data-route="home"] { padding-bottom: 0; }
  body[data-route="home"] .home-experience {
    min-height: calc(100dvh - 64px);
    align-items: start;
  }
  body[data-route="home"] .home-hero {
    min-height: calc(100dvh - 64px);
    margin: 0 auto;
  }
  body[data-route="home"] .hero-marketplace-preview,
  body[data-route="home"] .hero-proof-row { display: none; }
  .home-hero,
  .home-trust-assurance,
  .home-section,
  .home-confidence-banner { width: calc(100% - 1rem); }
  .home-hero { margin-top: .5rem; border-radius: .75rem; }
  .home-hero .hero-copy { padding: 1.7rem 1.25rem; }
  .home-hero h1 { font-size: 2.45rem; }
  .home-hero .hero-lead { font-size: .82rem; }
  .home-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .home-hero .primary-button,
  .home-hero .hero-secondary { width: 100%; justify-content: center; }
  .hero-marketplace-preview { min-height: 330px; }
  .home-trust-assurance { grid-template-columns: 1fr 1fr; }
  .home-trust-assurance article { align-items: flex-start; padding: .65rem; }
  .home-trust-assurance article:nth-child(odd) { border-right: 1px solid var(--tyk-border); }
  .home-trust-assurance article:nth-child(even) { border-right: 0; }
  .home-categories .category-rail__items {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding-bottom: .25rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-categories .category-rail__items::-webkit-scrollbar { display: none; }
  .home-categories .category-chip { flex: 0 0 245px; min-height: 112px; grid-template-columns: 78px minmax(0,1fr); scroll-snap-align: start; }
  .home-section__heading { align-items: flex-start; }
  .home-section__heading h2 { font-size: 1.3rem; }
  .home-featured-grid {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    padding-bottom: .25rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-featured-grid::-webkit-scrollbar { display: none; }
  .home-listing-card,
  .home-listing-skeleton { flex: 0 0 min(76vw, 270px); scroll-snap-align: start; }
  .home-listing-card__media { aspect-ratio: 1.15 / 1; }
  .home-confidence-banner { margin-bottom: 5.4rem; padding: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-listing-skeleton { animation: none; }
  .home-listing-card,
  .home-categories .category-chip,
  .home-listing-card__media img { transition: none; }
}

/* TYK-UI3 — complete, server-backed marketplace discovery */
.marketplace-browser { grid-template-columns: 215px minmax(0, 1fr); gap: 1.15rem; }
.marketplace-filter-panel { padding: .9rem; }
.marketplace-filter-panel__head > div { display: flex; align-items: center; gap: .25rem; }
.marketplace-filter-close,
.marketplace-filter-toggle,
.marketplace-filter-mobile-actions,
.marketplace-filter-backdrop { display: none; }
.marketplace-filter-group select,
.marketplace-filter-group input[type="search"],
.marketplace-filter-group input[type="number"] {
  width: 100%;
  min-height: 34px;
  padding: .38rem .5rem;
  border: 1px solid var(--tyk-border-strong);
  border-radius: .45rem;
  background: #fff;
  color: var(--tyk-text);
  font-size: .62rem;
}
.marketplace-filter-group select + .marketplace-select-label { margin-top: .6rem; }
.marketplace-select-label { margin: 0 0 .25rem !important; color: var(--tyk-text-muted); font-size: .54rem !important; font-weight: 750 !important; }
.marketplace-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.marketplace-toolbar__results { display: flex; min-width: 0; align-items: center; gap: .55rem; }
.marketplace-result-copy { color: var(--tyk-text-muted); font-size: .64rem; font-weight: 650; }
.marketplace-active-filters { display: flex; flex-wrap: wrap; gap: .35rem; margin: -.1rem 0 .75rem; }
.marketplace-active-filters[hidden] { display: none; }
.marketplace-active-filters button {
  min-height: 27px;
  padding: .26rem .45rem;
  border: 1px solid #bfd2cd;
  border-radius: 999px;
  background: var(--tyk-teal-050);
  color: var(--tyk-teal-900);
  font-size: .54rem;
  font-weight: 720;
}
.marketplace-active-filters button:hover { border-color: var(--tyk-teal-500); background: #e5f0ed; }
.marketplace-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.15rem;
  padding: .8rem;
  border-top: 1px solid var(--tyk-border);
}
.marketplace-pagination[hidden] { display: none; }
.marketplace-pagination p { margin: 0; color: var(--tyk-text-muted); font-size: .6rem; }
.marketplace-pagination button { min-width: 150px; }
.marketplace-empty-state {
  grid-column: 1 / -1;
  padding: 2.4rem 1.25rem;
  border: 1px dashed var(--tyk-border-strong);
  border-radius: .75rem;
  background: rgba(255, 254, 250, .72);
  text-align: center;
}
.marketplace-empty-state strong { display: block; color: var(--tyk-teal-950); font-size: .9rem; }
.marketplace-empty-state p { max-width: 460px; margin: .4rem auto .85rem; color: var(--tyk-text-muted); font-size: .65rem; }
.marketplace-listing-skeleton {
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--tyk-border);
  border-radius: .7rem;
  background: #fff;
}
.marketplace-listing-skeleton::before {
  content: "";
  display: block;
  aspect-ratio: 1.05 / 1;
  background: linear-gradient(105deg, #eceae4 25%, #f7f5ef 42%, #eceae4 58%);
  background-size: 220% 100%;
  animation: tyk-marketplace-skeleton 1.35s linear infinite;
}
.marketplace-listing-skeleton span { display: block; height: 8px; margin: .55rem .65rem 0; border-radius: 999px; background: #efede8; }
.marketplace-listing-skeleton span:nth-child(2) { width: 78%; height: 12px; }
.marketplace-listing-skeleton span:nth-child(3) { width: 45%; }
.marketplace-listing-skeleton span:nth-child(4) { width: 62%; }
@keyframes tyk-marketplace-skeleton { to { background-position-x: -220%; } }

@media (max-width: 900px) {
  .marketplace-browser { grid-template-columns: 1fr; }
  .marketplace-filter-toggle { display: inline-flex; align-items: center; gap: .35rem; min-height: 32px; padding: .35rem .55rem; font-size: .6rem; }
  .marketplace-filter-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 .22rem; border-radius: 999px; background: var(--tyk-teal-900); color: white; font-size: .48rem; }
  .marketplace-filter-count[hidden] { display: none; }
  .marketplace-filter-panel {
    position: fixed;
    z-index: 82;
    inset: 0 auto 0 0;
    width: min(355px, calc(100vw - 44px));
    max-height: 100dvh;
    overflow-y: auto;
    display: block;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0 .9rem .9rem 0;
    background: #fffefa;
    box-shadow: 20px 0 60px rgba(12, 43, 40, .22);
    transform: translateX(-105%);
    transition: transform .2s var(--tyk-ease);
  }
  .marketplace-filter-panel[aria-expanded="true"] { transform: translateX(0); }
  .marketplace-filter-panel__head { position: sticky; top: -1rem; z-index: 2; margin: -1rem -1rem .35rem; padding: 1rem; border-bottom: 1px solid var(--tyk-border); background: rgba(255, 254, 250, .97); backdrop-filter: blur(12px); }
  .marketplace-filter-close { display: inline-grid; place-items: center; min-width: 30px; min-height: 30px !important; font-size: 1.1rem !important; }
  .marketplace-filter-group { padding: .8rem 0; border-top: 1px solid var(--tyk-border); }
  .marketplace-filter-mobile-actions { position: sticky; bottom: -.95rem; display: block; margin: .6rem -1rem -.95rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--tyk-border); background: rgba(255, 254, 250, .98); }
  .marketplace-filter-mobile-actions button { width: 100%; }
  .marketplace-filter-backdrop { position: fixed; z-index: 81; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: rgba(5, 28, 26, .38); }
  .marketplace-filter-backdrop[hidden] { display: none; }
  .marketplace-filters-open { overflow: hidden; }
  .marketplace-toolbar { align-items: center; flex-direction: row; }
  .marketplace-sort { margin-left: 0; }
}

@media (max-width: 640px) {
  .marketplace-toolbar { align-items: stretch; flex-direction: column; }
  .marketplace-toolbar__results { justify-content: space-between; }
  .marketplace-sort { justify-content: space-between; width: 100%; }
  .marketplace-sort select { flex: 1; max-width: 220px; }
  .marketplace-pagination { align-items: stretch; flex-direction: column; text-align: center; }
  .marketplace-pagination button { width: 100%; }
  .marketplace-active-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
  .marketplace-active-filters::-webkit-scrollbar { display: none; }
  .marketplace-active-filters button { flex: 0 0 auto; }
  .marketplace-listing-skeleton { min-height: 170px; display: grid; grid-template-columns: 122px 1fr; }
  .marketplace-listing-skeleton::before { height: 100%; aspect-ratio: auto; grid-row: 1 / span 4; }
}

@media (prefers-reduced-motion: reduce) {
  .marketplace-filter-panel { transition: none; }
  .marketplace-listing-skeleton::before { animation: none; }
}

/* TYK-UI3 buyer-first marketplace result cards */
.listing-card__trust-badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  max-width: calc(100% - 1rem);
  overflow: hidden;
  padding: .28rem .42rem;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: .38rem;
  background: rgba(4, 83, 78, .94);
  box-shadow: 0 5px 15px rgba(7, 54, 51, .14);
  color: #fff;
  font-size: .49rem;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.listing-card__seller {
  margin: .32rem 0 .08rem !important;
  overflow: hidden;
  color: var(--tyk-text) !important;
  font-size: .57rem !important;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.listing-card__trust-evidence { min-height: 25px; margin: .42rem 0 0; }
.listing-card__trust-evidence span { white-space: nowrap; }
@media (max-width: 640px) {
  .listing-card__trust-badge { top: .45rem; left: .45rem; max-width: calc(100% - .9rem); }
  .listing-card__seller { font-size: .62rem !important; }
  .listing-card__trust-evidence { min-height: 0; margin-top: .35rem; }
}

/* TYK-UI5 — trust-first experience and explicit tracked direct-payment model */
.trust-experience{width:min(calc(100% - 2rem),var(--tyk-content-max));margin:1rem auto 2.5rem;padding:0;overflow:hidden;border:1px solid var(--tyk-border);border-radius:1rem;background:var(--tyk-surface);box-shadow:var(--tyk-shadow-card)}.trust-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:2rem;align-items:center;padding:clamp(2rem,4vw,4rem);background:radial-gradient(circle at 84% 16%,rgba(208,166,93,.13),transparent 16rem),linear-gradient(135deg,var(--tyk-teal-950),#064e49 64%,#075d56);color:white}.trust-hero .eyebrow{color:#b9ddd7}.trust-hero h1{max-width:790px;margin:.55rem 0 .8rem;color:white;font:800 clamp(2rem,4vw,3.65rem)/1.02 var(--tyk-font-display);letter-spacing:-.045em}.trust-hero__copy > p{max-width:760px;margin:0;color:rgba(255,255,255,.76);font-size:clamp(.75rem,1vw,.9rem);line-height:1.7}.trust-hero__actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.25rem}.trust-hero__actions .secondary-button{border-color:rgba(255,255,255,.34);color:white;background:rgba(255,255,255,.05);text-decoration:none}.trust-hero__card{padding:1.35rem;border:1px solid rgba(255,255,255,.18);border-radius:.9rem;background:rgba(255,255,255,.08);box-shadow:0 18px 50px rgba(0,0,0,.12);backdrop-filter:blur(12px)}.trust-model-badge{display:inline-flex;padding:.28rem .48rem;border-radius:var(--tyk-radius-pill);background:rgba(208,166,93,.16);color:#f0cf91;font-size:.54rem;font-weight:820;letter-spacing:.06em;text-transform:uppercase}.trust-hero__card > strong{display:block;margin:.7rem 0 .4rem;color:white;font-size:1.1rem}.trust-hero__card > p{margin:0;color:rgba(255,255,255,.7);font-size:.66rem;line-height:1.55}.trust-hero__card dl{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin:1rem 0 0}.trust-hero__card dl div{padding:.65rem;border-radius:.55rem;background:rgba(255,255,255,.075)}.trust-hero__card dt{color:rgba(255,255,255,.58);font-size:.5rem}.trust-hero__card dd{margin:.15rem 0 0;color:white;font-size:.64rem;font-weight:800}.trust-proof-strip{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid var(--tyk-border);background:#fff}.trust-proof-strip span{position:relative;padding:.75rem .6rem .75rem 1.8rem;border-right:1px solid var(--tyk-border);color:var(--tyk-teal-900);font-size:.57rem;font-weight:780}.trust-proof-strip span:last-child{border-right:0}.trust-proof-strip span::before{content:"✓";position:absolute;left:.68rem;top:50%;display:grid;place-items:center;width:18px;height:18px;transform:translateY(-50%);border-radius:50%;background:var(--tyk-teal-100);color:var(--tyk-teal-900);font-size:.48rem;font-weight:900}.trust-layers,.trust-transaction-model,.trust-safety-guide{padding:clamp(1.4rem,3vw,2.6rem)}.trust-section-heading{max-width:760px;margin:0 auto 1.25rem;text-align:center}.trust-section-heading--left{margin-left:0;text-align:left}.trust-section-heading .eyebrow{color:var(--tyk-teal-800)}.trust-section-heading h2{margin:.35rem 0 .35rem;color:var(--tyk-ink);font-size:clamp(1.4rem,2.5vw,2.15rem);letter-spacing:-.025em}.trust-section-heading p{margin:0;color:var(--tyk-text-muted);font-size:.68rem;line-height:1.6}.trust-layer-grid.principles{grid-template-columns:repeat(5,1fr);gap:.65rem}.trust-layer-grid.principles article{min-height:230px;padding:.95rem;border:1px solid var(--tyk-border);border-radius:.75rem;background:var(--tyk-surface-warm)}.trust-layer-grid.principles article > strong{width:34px;height:34px;background:var(--tyk-teal-100);color:var(--tyk-teal-900)}.trust-layer-grid.principles h3{margin:.7rem 0 .35rem;color:var(--tyk-ink);font-size:.76rem}.trust-layer-grid.principles p{margin:0;color:var(--tyk-text-muted);font-size:.58rem;line-height:1.55}.trust-layer-grid.principles small{display:block;margin-top:.65rem;padding-top:.6rem;border-top:1px solid var(--tyk-border);color:var(--tyk-text-soft);font-size:.52rem;line-height:1.48}.trust-transaction-model{border-top:1px solid var(--tyk-border);background:#f7f4eb;scroll-margin-top:calc(var(--tyk-header-height) + 1rem)}.trust-transaction-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:.65rem;margin:0;padding:0;list-style:none}.trust-transaction-steps li{position:relative;display:grid;grid-template-columns:30px 1fr;gap:.55rem;padding:.8rem;border:1px solid var(--tyk-border);border-radius:.7rem;background:white}.trust-transaction-steps li > span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--tyk-teal-900);color:white;font-size:.58rem;font-weight:850}.trust-transaction-steps strong{display:block;color:var(--tyk-ink);font-size:.66rem}.trust-transaction-steps p{margin:.22rem 0 0;color:var(--tyk-text-muted);font-size:.54rem;line-height:1.5}.trust-boundary-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:.9rem}.trust-boundary-card{padding:1.1rem;border:1px solid var(--tyk-border);border-radius:.75rem;background:white}.trust-boundary-card--yes{border-color:#b9d5cf;background:#f5fbf9}.trust-boundary-card .eyebrow{color:var(--tyk-teal-800)}.trust-boundary-card h3{margin:.35rem 0 .65rem;color:var(--tyk-ink);font-size:.82rem}.trust-boundary-card ul{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}.trust-boundary-card li{position:relative;padding-left:1rem;color:var(--tyk-text-muted);font-size:.59rem;line-height:1.45}.trust-boundary-card li::before{content:"•";position:absolute;left:.15rem;color:var(--tyk-teal-700);font-weight:900}.trust-safety-guide{display:grid;grid-template-columns:minmax(0,.85fr) minmax(340px,1.15fr);gap:1.3rem;align-items:start;border-top:1px solid var(--tyk-border)}.trust-safety-guide .eyebrow{color:var(--tyk-teal-800)}.trust-safety-guide h2{margin:.35rem 0 .45rem;color:var(--tyk-ink);font-size:clamp(1.15rem,2vw,1.65rem)}.trust-safety-guide p{margin:0;color:var(--tyk-text-muted);font-size:.64rem;line-height:1.6}.trust-safety-guide ul{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}.trust-safety-guide li{position:relative;padding:.65rem .75rem .65rem 2rem;border:1px solid var(--tyk-border);border-radius:.6rem;background:var(--tyk-surface-warm);color:var(--tyk-text-muted);font-size:.58rem;line-height:1.45}.trust-safety-guide li::before{content:"✓";position:absolute;left:.7rem;top:.7rem;color:var(--tyk-teal-800);font-weight:900}.trust-experience .trust-cta{margin:0;border-radius:0;padding:1rem clamp(1.4rem,3vw,2.6rem)}.trust-experience .trust-cta p{max-width:800px}@media (max-width:1100px){.trust-hero{grid-template-columns:minmax(0,1fr) minmax(300px,.75fr)}.trust-layer-grid.principles{grid-template-columns:repeat(3,1fr)}.trust-transaction-steps{grid-template-columns:repeat(2,1fr)}}@media (max-width:800px){.trust-experience{width:calc(100% - 1rem);margin-top:.5rem}.trust-hero{grid-template-columns:1fr;gap:1.25rem}.trust-proof-strip{grid-template-columns:repeat(2,1fr)}.trust-proof-strip span{border-bottom:1px solid var(--tyk-border)}.trust-proof-strip span:nth-child(even){border-right:0}.trust-proof-strip span:last-child{grid-column:1 / -1;border-bottom:0}.trust-layer-grid.principles{grid-template-columns:repeat(2,1fr)}.trust-boundary-grid,.trust-safety-guide{grid-template-columns:1fr}}@media (max-width:520px){.trust-hero{padding:1.45rem 1.15rem}.trust-hero h1{font-size:clamp(1.7rem,10vw,2.35rem)}.trust-hero__actions{align-items:stretch;flex-direction:column}.trust-hero__actions a{justify-content:center;width:100%}.trust-hero__card dl{grid-template-columns:1fr 1fr}.trust-layer-grid.principles,.trust-transaction-steps{grid-template-columns:1fr}.trust-layer-grid.principles article{min-height:0}.trust-layers,.trust-transaction-model,.trust-safety-guide{padding:1.15rem}.trust-experience .trust-cta{align-items:stretch;flex-direction:column;padding:1rem 1.15rem}.trust-experience .trust-cta a{text-align:center}}


/* TYK-UI9 — responsive, accessibility, and visual QA convergence */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 320px; }
main[tabindex="-1"]:focus { outline: none; }
:is(h1,h2,h3,h4,p,li,dd,dt,label,button,a,.listing-card,.workspace-card) { overflow-wrap: anywhere; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
[aria-busy="true"] { cursor: progress; }
.entity-page-error[role="alert"],
.workspace-empty,
.storefront-empty,
.deal-context-empty,
.home-featured-empty { max-width: 760px; margin-inline: auto; }
.entity-page-error[role="alert"] { border: 1px solid #e1c2bc; background: #fff8f6; }
.mobile-nav [aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
.mobile-nav [aria-current="page"] svg { filter: drop-shadow(0 0 8px rgba(255,255,255,.2)); }

@media (pointer: coarse) {
  :is(button,a.primary-button,a.secondary-button,.text-button,input:not([type="hidden"]),select,textarea) { min-height: 44px; }
  .mobile-nav a, .mobile-nav button { min-height: 50px; }
}

/* 1280px QA target: preserve commerce density without clipping the global shell. */
@media (max-width: 1280px) {
  .site-header { grid-template-columns: 138px minmax(260px,1fr) auto; padding-inline: 1.35rem; }
  .site-header > nav a { padding-inline: .62rem; font-size: .74rem; }
  .home-hero, .home-section, .home-trust-assurance, .section, .entity-page, .trust-experience { max-width: calc(100% - 1.5rem); }
  .home-hero { grid-template-columns: minmax(0,.94fr) minmax(380px,1.06fr); }
  .marketplace-browser { grid-template-columns: 205px minmax(0,1fr); }
}

/* 768px QA target: intentional tablet/small-screen composition. */
@media (max-width: 768px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .site-header { grid-template-columns: 108px minmax(0,1fr) auto; padding: .58rem .7rem; }
  .brand { min-height: 42px; }
  .brand img { width: 104px; }
  .header-search input { min-height: 42px; padding-left: 2.25rem; }
  .header-search svg { left: .72rem; }
  .header-actions { gap: .32rem; }
  :is(input:not([type="hidden"]),select,textarea) { font-size: 16px; }
  .home-hero, .home-section, .home-trust-assurance, .section, .entity-page, .trust-experience { width: calc(100% - 1rem); max-width: none; }
  .section { padding-inline: .85rem; }
  .section-heading { gap: .7rem; }
  .home-section__heading { gap: .7rem; }
  .listing-grid { gap: .65rem; }
  .mobile-nav { left: .45rem; right: .45rem; bottom: max(.4rem, env(safe-area-inset-bottom)); min-height: 64px; }
  .site-footer { padding-bottom: calc(5.8rem + env(safe-area-inset-bottom)); }
}

/* 390px QA target: no horizontal clipping and tap-safe primary actions. */
@media (max-width: 390px) {
  .site-header { grid-template-columns: 86px minmax(0,1fr) 40px; gap: .35rem; padding-inline: .5rem; }
  .brand img { width: 84px; }
  .header-search input { min-height: 40px; padding: .5rem 2.5rem .5rem 2rem; font-size: 16px; }
  .header-search svg { left: .62rem; width: 15px; height: 15px; }
  .header-search button { top: .22rem; right: .22rem; bottom: .22rem; width: 35px; min-width: 35px; }
  .account-button { width: 40px; min-width: 40px; min-height: 40px; }
  .home-hero, .home-section, .home-trust-assurance, .section, .entity-page, .trust-experience { width: calc(100% - .75rem); }
  .section { padding-inline: .65rem; }
  .section-heading h1, .section-heading h2 { line-height: 1.08; }
  .home-trust-assurance { grid-template-columns: 1fr; }
  .home-trust-assurance article { border-right: 0 !important; border-bottom: 1px solid var(--tyk-border); }
  .home-trust-assurance article:last-child { border-bottom: 0; }
  .mobile-nav { left: .3rem; right: .3rem; padding-inline: .22rem; border-radius: 1rem; }
  .mobile-nav a, .mobile-nav button { font-size: .68rem; }
  .mobile-nav svg { width: 18px; height: 18px; }
  .site-footer__legal { align-items: flex-start; flex-direction: column; }
}

@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight !important; outline-offset: 3px; }
  .listing-card__trust-badge, .badge, .mobile-nav [aria-current="page"] { border: 1px solid currentColor; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
