.order-fulfillment-info{display:grid;gap:8px;margin:14px 0;padding:12px 14px;border:1px solid #cbd8e5;border-radius:10px;background:#f4f8fc;color:#40566b;font-size:12px;line-height:1.5}
.order-fulfillment-info div{display:grid;gap:2px}
.order-fulfillment-info strong{color:#173b5b;font-size:12px}
.order-form .destination-field{display:grid;gap:7px;color:#53657c;font-size:13px;font-weight:800}
.order-form .destination-field select{width:100%;box-sizing:border-box;min-height:42px;border:1px solid #cbd8e5;border-radius:8px;padding:9px 10px;background:#fff;color:#172b3f;font:inherit}
.product-checkout-box{margin-top:20px;padding:20px;border:2px solid #1769e8;border-radius:16px;background:linear-gradient(135deg,#f1f6ff,#fff);box-shadow:0 8px 22px rgba(23,105,232,.1)}
.product-checkout-box h3{margin:5px 0;color:#173b5b;font-size:21px}
.product-checkout-box p{margin:0 0 14px;color:#60758a;font-size:13px;line-height:1.5}
.checkout-kicker{color:#1769e8;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.checkout-fulfillment-info{display:grid;gap:8px;margin:14px 0;padding:12px 14px;border:1px solid #cbd8e5;border-radius:10px;background:#f4f8fc;color:#40566b;font-size:12px;line-height:1.5}
.checkout-fulfillment-info div{display:grid;gap:2px}
.checkout-fulfillment-info strong{color:#173b5b;font-size:12px}
.checkout-form{display:grid;gap:12px}
.checkout-form label{display:grid;gap:6px;color:#53657c;font-size:13px;font-weight:800}
.checkout-form input,.checkout-form select,.checkout-form textarea{width:100%;box-sizing:border-box;min-height:42px;border:1px solid #cbd8e5;border-radius:8px;padding:9px 10px;background:#fff;color:#172b3f;font:inherit}
.checkout-form textarea{min-height:76px;resize:vertical}
.checkout-address-fields{display:grid;gap:12px;padding:14px;border:1px solid #cbd8e5;border-radius:11px;background:#f8fbff}
.checkout-address-fields[hidden]{display:none}
.checkout-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.checkout-optional{font-weight:500;color:#7a8b9b}
@media(max-width:640px){.checkout-address-grid{grid-template-columns:1fr}}
.checkout-form button{min-height:42px}
.checkout-message{min-height:20px;color:#40566b;font-size:13px}
.checkout-message.success{color:#087443}
.checkout-message.error{color:#b42318}
:root{--bg:#fff;--bg2:#f0f2f5;--bg3:#e4e6eb;--surface:#fff;--border:#e4e6eb;--border-strong:#cdd0d4;--text:#1c1e21;--text2:#65676b;--text3:#8a8d91;--blue:#1877f2;--blue-hover:#1468d8;--purple:#6366f1;--green:#16a34a;--red:#ef4444;--orange:#f97316;--shadow-xs:0 1px 2px rgba(0,0,0,.08);--shadow-sm:0 1px 4px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.04);--shadow:0 2px 12px rgba(0,0,0,.08),0 0 0 1px rgba(0,0,0,.04);--shadow-lg:0 6px 28px rgba(0,0,0,.11),0 0 0 1px rgba(0,0,0,.04);--font:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;--r:12px;--rlg:16px}*,*::before,*::after{box-sizing:border-box}html{font-family:var(--font);-webkit-font-smoothing:antialiased;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);min-height:100vh;overflow-x:hidden}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.shell{width:min(1240px,100%);margin:0 auto;padding:0 36px}.topbar{position:sticky;top:0;z-index:100;display:flex;align-items:center;height:58px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border);box-shadow:0 1px 4px rgba(0,0,0,.06);backdrop-filter:blur(8px)}.topbar .shell{display:flex;align-items:center;gap:22px}.brand{font-size:16px;font-weight:800;letter-spacing:-.03em;white-space:nowrap}.brand span{color:var(--purple)}.nav{display:flex;align-items:center;gap:3px;color:var(--text2);font-size:13px;font-weight:600}.nav a{padding:7px 10px;border-radius:8px;transition:background .12s,color .12s}.nav a:hover,.nav a.active{background:rgba(99,102,241,.1);color:var(--purple)}.top-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.primary,.ghost{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer;transition:background .12s,color .12s,border-color .12s,box-shadow .12s,transform .12s}.primary{background:var(--blue);color:#fff;box-shadow:var(--shadow-xs)}.primary:hover{background:var(--blue-hover);transform:translateY(-1px);box-shadow:0 4px 14px rgba(24,119,242,.25)}.ghost{background:var(--bg2);border:1px solid var(--border);color:var(--text)}.ghost:hover{background:var(--bg3)}.hero{padding:54px 0 38px;background:linear-gradient(180deg,#f6f7f9 0,#fff 100%);border-bottom:1px solid var(--border)}.hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:36px;align-items:end}.eyebrow,.kicker{color:var(--purple);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.hero h1{max-width:720px;margin:12px 0 16px;font-size:clamp(34px,5vw,60px);line-height:1.02;letter-spacing:-.065em}.hero h1 em{color:var(--blue);font-style:normal}.hero p{max-width:650px;margin:0;color:var(--text2);font-size:15px;line-height:1.65}.hero-note{padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--rlg);box-shadow:var(--shadow)}.hero-note strong,.hero-note span{display:block}.hero-note strong{font-size:14px}.hero-note span{margin-top:7px;color:var(--text2);font-size:13px;line-height:1.55}.content{padding-top:28px;padding-bottom:64px}.workspace{margin-bottom:22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--rlg);box-shadow:var(--shadow-sm);overflow:hidden}.workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px;border-bottom:1px solid var(--border)}.workspace-head h2{margin:5px 0 4px;font-size:21px;letter-spacing:-.04em}.workspace-head p{margin:0;color:var(--text2);font-size:13px}.session{color:var(--text3);font-size:12px}.toolbar{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:9px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--rlg);box-shadow:var(--shadow-sm)}.field{width:100%;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);font-size:13px}.field::placeholder{color:var(--text3)}.field:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,119,242,.12)}.categories{display:flex;gap:7px;overflow:auto;padding:15px 0 7px;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.category{padding:8px 13px;background:var(--surface);border:1px solid var(--border);border-radius:999px;color:var(--text2);font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .12s,border-color .12s,color .12s}.category:hover,.category.active{background:rgba(24,119,242,.08);border-color:rgba(24,119,242,.28);color:var(--blue)}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:22px 0 12px}.section-head h2{margin:0 0 4px;font-size:22px;letter-spacing:-.04em}.section-head p,.count{margin:0;color:var(--text2);font-size:13px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--rlg);box-shadow:var(--shadow-sm);cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}.card:hover{border-color:#b8c8e8;box-shadow:var(--shadow);transform:translateY(-2px)}.thumb{display:grid;place-items:center;height:178px;background:var(--bg2);color:var(--text3);font-size:11px;font-weight:800;letter-spacing:.08em}.thumb img{width:100%;height:100%;object-fit:cover}.card-body{padding:14px}.meta{display:flex;justify-content:space-between;gap:6px;color:var(--text3);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.card h3{margin:8px 0 10px;font-size:14px;line-height:1.3}.price{color:var(--blue);font-size:17px;font-weight:800}.location{margin-top:6px;color:var(--text2);font-size:12px}.state,.loading{grid-column:1/-1;padding:52px 20px;background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--rlg);color:var(--text2);font-size:13px;text-align:center}.muted{padding:18px;color:var(--text2);font-size:13px}.error{padding:14px;background:#fff4f4;border:1px solid #fecaca;border-radius:8px;color:#b91c1c;font-size:13px}.guest{display:flex;align-items:center;gap:16px;padding:18px;background:var(--bg2);border-radius:var(--r)}.guest-copy{flex:1}.guest h3{margin:0 0 4px;font-size:15px}.guest p{margin:0;color:var(--text2);font-size:13px;line-height:1.5}.summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px}.summary{padding:14px;border:1px solid var(--border);border-radius:var(--r)}.summary b,.summary span{display:block}.summary span{margin-top:4px;color:var(--text2);font-size:12px}.inbox{overflow:hidden;border:1px solid var(--border);border-radius:var(--r)}.inbox-head,.seller-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:15px;border-bottom:1px solid var(--border)}.inbox-head h3,.seller-head h3{margin:0 0 4px;font-size:15px}.inbox-head p,.seller-head p{margin:0;color:var(--text2);font-size:12px}.threads{padding:6px}.thread{display:flex;align-items:center;gap:10px;width:100%;padding:11px;background:transparent;border:0;border-radius:8px;text-align:left;cursor:pointer}.thread:hover,.thread.active{background:rgba(99,102,241,.08)}.thread-dot{width:8px;height:8px;border-radius:50%;background:var(--green)}.thread-dot.closed{background:var(--border-strong)}.thread-copy{flex:1}.thread b,.thread small{display:block}.thread small{margin-top:3px;color:var(--text2);font-size:11px}.messages{background:#fafafa;border-top:1px solid var(--border)}.message-head{display:flex;justify-content:space-between;padding:13px 15px;font-size:13px}.message-head span{color:var(--text2);font-size:11px}.message-list{max-height:240px;overflow:auto;padding:0 15px 10px}.message{margin:7px 0;padding:9px 11px;background:var(--surface);border:1px solid var(--border);border-radius:9px}.message small{color:var(--text3);font-size:10px}.message p{margin:4px 0 0;font-size:13px;line-height:1.45}.message-form{display:flex;gap:8px;padding:12px 15px;border-top:1px solid var(--border)}.message-form input{flex:1;min-width:0;padding:10px;border:1px solid var(--border);border-radius:8px}.seller-start,.seller-layout{padding:18px;background:var(--bg2);border-radius:var(--r)}.seller-start{display:grid;grid-template-columns:1fr 1.15fr;gap:22px}.seller-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form{display:flex;flex-direction:column;gap:9px}.form h3{margin:0 0 3px;font-size:15px}.form input,.form select,.form textarea{width:100%;padding:10px 11px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text)}.form textarea{min-height:76px;resize:vertical}.row{display:flex;gap:8px}.row>*{flex:1}.checks{display:flex;gap:14px;color:var(--text2);font-size:12px}.form-message{min-height:17px;color:var(--green);font-size:12px}.owned{padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r)}.owned h3{margin:0;font-size:14px}.owned-item{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--border);font-size:13px}.owned-item:last-child{border:0}.owned-item small{display:block;margin-top:3px;color:var(--text2);font-size:11px}.status-draft{color:#b45309}.status-pending_review{color:#7c3aed}.status-published{color:var(--green)}.product-page{padding-top:28px;padding-bottom:64px}.product-back{display:inline-flex;margin-bottom:14px;color:var(--text2);font-size:13px;font-weight:700}.product-back:hover{color:var(--blue)}.product-card{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--rlg);box-shadow:var(--shadow)}.product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}.product-media{display:grid;place-items:center;min-height:470px;background:var(--bg2);color:var(--text3);font-size:14px;font-weight:800;letter-spacing:.08em}.product-media img{width:100%;height:100%;min-height:470px;object-fit:cover}.product-info{padding:34px}.product-info h1{margin:9px 0 14px;font-size:clamp(28px,4vw,46px);line-height:1.05;letter-spacing:-.055em}.product-price{margin-bottom:18px;color:var(--blue);font-size:24px;font-weight:800}.product-description{color:var(--text2);font-size:14px;line-height:1.7;white-space:pre-line}.product-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0}.product-fact{padding:12px;background:var(--bg2);border-radius:9px}.product-fact small,.product-fact strong{display:block}.product-fact small{margin-bottom:4px;color:var(--text3);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.product-fact strong{font-size:13px}.seller-box{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}.seller-box h3{margin:0 0 5px;font-size:15px}.seller-box p{margin:0;color:var(--text2);font-size:13px}.product-message{min-height:18px;margin-top:10px;color:var(--green);font-size:12px}@media(max-width:1200px){.shell{padding-left:24px;padding-right:24px}}@media(max-width:1000px){.topbar .shell{gap:12px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.toolbar{grid-template-columns:1fr 1fr}.toolbar input:first-child{grid-column:1/-1}.toolbar .primary{grid-column:1/-1}}@media(max-width:700px){.shell{padding-left:12px;padding-right:12px}.topbar{height:52px}.topbar .shell{gap:8px}.nav{display:none}.top-actions .ghost{display:none}.brand{font-size:14px}.top-actions{gap:6px}.primary,.ghost{padding:7px 10px;font-size:12px}.hero{padding:36px 0 28px}.hero-grid,.seller-start,.seller-layout{grid-template-columns:1fr}.hero h1{font-size:38px}.hero p{font-size:14px}.content{padding-top:20px;padding-bottom:44px}.toolbar{grid-template-columns:1fr;padding:10px;border-radius:var(--r)}.toolbar input:first-child,.toolbar .primary{grid-column:auto}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.thumb{height:135px}.card-body{padding:10px}.card h3{font-size:13px}.section-head{align-items:flex-start;flex-direction:column;gap:4px}.workspace-head,.guest{display:block}.session{display:inline-block;margin-top:10px}.guest .primary{margin-top:14px}.summary-grid{grid-template-columns:1fr}.message-form{flex-wrap:wrap}.message-form input{flex-basis:100%}.row{flex-direction:column}.product-page{padding-top:20px}.product-layout{grid-template-columns:1fr}.product-media,.product-media img{min-height:280px}.product-info{padding:22px}.product-info h1{font-size:32px}.product-facts{grid-template-columns:1fr}}
.seller-page{padding-top:42px}.seller-page-title{margin:10px 0 0;font-size:clamp(34px,5vw,48px);line-height:1.05;letter-spacing:-.055em}.seller-page-lead{max-width:620px;margin:0;color:var(--text2);font-size:14px;line-height:1.6}.seller-panel{margin-top:26px}@media(max-width:700px){.seller-page{padding-top:24px}.seller-page-title{font-size:34px}.seller-panel{margin-top:18px}}.load-more{display:flex;justify-content:center;margin-top:25px}.listing-row{align-items:flex-start;flex-wrap:wrap}.listing-copy{min-width:180px;flex:1}.listing-copy b,.listing-copy small{display:block}.listing-copy small{margin-top:4px;color:var(--text2);font-size:11px}.listing-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.listing-actions .ghost{padding:6px 9px;font-size:11px}.text-danger{padding:5px 3px;background:transparent;border:0;color:var(--red);font-size:11px;cursor:pointer}.owned-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.owned-help{color:var(--text3);font-size:10px}.seller-workspace{align-items:start}.form-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:700px){.owned-heading{display:block}.owned-help{display:block;margin-top:4px}.listing-actions{justify-content:flex-start;width:100%}}
.moderation-page{padding-top:42px}.moderation-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.moderation-header h1{margin:10px 0 10px;font-size:clamp(34px,5vw,52px);line-height:1.04;letter-spacing:-.06em}.moderation-header p{max-width:680px;margin:0;color:var(--text2);font-size:14px;line-height:1.6}.moderation-toolbar{display:flex;align-items:flex-end;gap:16px;margin-bottom:16px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow-sm)}.moderation-toolbar label{display:flex;flex-direction:column;gap:6px;color:var(--text2);font-size:12px;font-weight:700}.moderation-toolbar select{min-width:210px;padding:9px 11px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text)}.moderation-queue{display:grid;gap:12px}.moderation-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--rlg);box-shadow:var(--shadow-sm);overflow:hidden}.moderation-card-head{display:flex;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border)}.moderation-card h2{margin:6px 0 4px;font-size:19px;letter-spacing:-.03em}.moderation-seller{margin:0;color:var(--text2);font-size:12px}.moderation-id{color:var(--text3);font-size:11px}.moderation-body{padding:18px 20px}.moderation-body>p{margin:0;color:var(--text2);font-size:14px;line-height:1.6;white-space:pre-line}.moderation-facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.moderation-facts span{padding:6px 9px;background:var(--bg2);border-radius:7px;color:var(--text2);font-size:11px}.moderation-note{margin-top:14px;padding:11px;background:#fff8ed;border:1px solid #fed7aa;border-radius:8px;color:#9a3412;font-size:12px;line-height:1.5}.moderation-actions{display:flex;gap:8px;flex-wrap:wrap;padding:13px 20px;border-top:1px solid var(--border);background:#fafafa}.moderation-actions .primary,.moderation-actions .ghost{font-size:12px}.muted-inline{color:var(--text3);font-size:12px}@media(max-width:700px){.moderation-page{padding-top:24px}.moderation-header{align-items:flex-start;flex-direction:column;gap:14px}.moderation-header h1{font-size:36px}.moderation-toolbar{align-items:flex-start;flex-direction:column}.moderation-toolbar select{min-width:100%;}.moderation-card-head{padding:15px}.moderation-body{padding:15px}.moderation-actions{padding:12px 15px}}

/* Marketplace conversations — buyer/seller workspace */
.inbox{margin-top:22px;border-top:1px solid var(--border);background:#fbfcfe}.inbox-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border-bottom:1px solid var(--border)}.inbox-head h3{margin:0 0 5px;font-size:16px;letter-spacing:-.025em}.inbox-head p{margin:0;color:var(--text2);font-size:12px;line-height:1.5}.threads{display:grid;gap:1px;background:var(--border);border-bottom:1px solid var(--border)}.thread{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;padding:14px 20px;background:var(--surface);border:0;text-align:left;color:var(--text);cursor:pointer;transition:background .14s ease}.thread:hover,.thread.active{background:#f4f7ff}.thread.active{box-shadow:inset 3px 0 0 var(--blue)}.thread-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(22,163,74,.11)}.thread-dot.closed{background:var(--text3);box-shadow:0 0 0 3px rgba(138,141,145,.11)}.thread-copy{display:grid;gap:4px;min-width:0}.thread-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.thread-copy small{color:var(--text2);font-size:11px}.thread-arrow{color:var(--text3);font-size:22px;line-height:1}.messages{border-top:1px solid var(--border);background:var(--surface)}.message-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}.message-head div{display:grid;gap:4px;min-width:0}.message-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.message-head small{color:var(--text3);font-size:11px}.thread-status{padding:5px 8px;border-radius:999px;background:#ecfdf3;color:#15803d;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.thread-status.closed{background:#f0f2f5;color:var(--text2)}.message-list{display:grid;gap:9px;max-height:420px;overflow:auto;padding:16px 20px;background:#f8fafc}.message{max-width:min(78%,620px);padding:10px 12px;background:#fff;border:1px solid var(--border);border-radius:4px 12px 12px 12px;box-shadow:var(--shadow-xs)}.message small{display:block;margin-bottom:5px;color:var(--text3);font-size:10px}.message p{margin:0;color:var(--text);font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.message-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 20px;border-top:1px solid var(--border);background:var(--surface)}.message-form input{flex:1;min-width:180px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;outline:0;color:var(--text);background:#fff;font-size:13px}.message-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,119,242,.12)}.message-form .form-message{flex-basis:100%;margin:0;color:var(--red);font-size:12px}.closed-note{padding:14px 20px;border-top:1px solid var(--border);color:var(--text2);font-size:12px}@media(max-width:700px){.inbox-head{align-items:flex-start;flex-direction:column;padding:16px}.thread{padding:13px 16px}.message-head{align-items:flex-start;flex-direction:column;padding:14px 16px}.message-list{padding:14px 16px}.message{max-width:90%}.message-form{padding:12px 16px}.message-form input{flex-basis:100%}.message-form .primary,.message-form .ghost{flex:1}}

.danger-action{color:#b42318!important;border-color:#f3c4c0!important}.danger-action:hover{background:#fff1f0!important}

.moderation-section{margin:0 0 28px}.moderation-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 14px}.moderation-section-head h2{margin:0 0 5px;font-size:24px;letter-spacing:-.04em}.moderation-section-head p{margin:0;color:var(--text2);font-size:13px}.moderation-section-head label{display:flex;flex-direction:column;gap:6px;color:var(--text2);font-size:12px;font-weight:700}.moderation-section-head select{min-width:190px;padding:9px 11px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text)}.report-card .moderation-body>p{white-space:pre-line}@media(max-width:700px){.moderation-section-head{align-items:flex-start;flex-direction:column}.moderation-section-head select{min-width:100%;}.moderation-section{margin:0 0 28px}.moderation-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 14px}.moderation-section-head h2{margin:0 0 5px;font-size:24px;letter-spacing:-.04em}.moderation-section-head p{margin:0;color:var(--text2);font-size:13px}.moderation-section-head label{display:flex;flex-direction:column;gap:6px;color:var(--text2);font-size:12px;font-weight:700}.moderation-section-head select{min-width:190px;padding:9px 11px;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text)}.report-card .moderation-body>p{white-space:pre-line}@media(max-width:700px){.moderation-section-head{align-items:flex-start;flex-direction:column}.moderation-section-head select{min-width:100%}}}

.thread-unread{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:4px 7px;border-radius:999px;background:rgba(99,102,241,.1);color:var(--purple);font-size:10px;font-weight:800;line-height:1.2;text-align:center}

/* RFQ workspace: buyer request creation and status list. */
.rfq-workspace[hidden] { display: none; }
.rfq-layout { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr); gap: 24px; }
.rfq-layout .form, .rfq-layout .owned { min-width: 0; }
.rfq-card { border: 1px solid var(--line, #e5e7eb); border-radius: 16px; padding: 16px; background: var(--surface, #fff); margin-bottom: 12px; }
.rfq-card h4 { margin: 0 0 8px; }
.rfq-card p { margin: 6px 0; color: var(--muted, #667085); }
.rfq-card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted, #667085); font-size: .88rem; }
.rfq-status { display: inline-flex; border-radius: 999px; padding: 4px 9px; background: #eef2ff; color: #3730a3; font-size: .8rem; font-weight: 700; }
@media (max-width: 760px) { .rfq-layout { grid-template-columns: 1fr; } }

/* Seller RFQ workspace. */
.seller-rfq-list { display: grid; gap: 14px; }
.seller-rfq-card { border: 1px solid var(--line, #e5e7eb); border-radius: 16px; padding: 18px; background: var(--surface, #fff); }
.seller-rfq-card h3 { margin: 0 0 8px; }
.seller-rfq-card p { margin: 8px 0; color: var(--muted, #667085); white-space: pre-wrap; }
.seller-rfq-details { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted, #667085); font-size: .9rem; margin: 12px 0; }
.seller-rfq-offer { display: grid; grid-template-columns: minmax(120px, 180px) 1fr auto; gap: 10px; align-items: start; margin-top: 16px; }
.seller-rfq-offer textarea { min-height: 44px; resize: vertical; }
.seller-rfq-offer-message { grid-column: 1 / -1; }
@media (max-width: 760px) { .seller-rfq-offer { grid-template-columns: 1fr; } .seller-rfq-offer-message { grid-column: auto; } }

.rfq-details-button { margin-top: 12px; }
.rfq-detail { border-top: 1px solid var(--line, #e5e7eb); margin-top: 14px; padding-top: 14px; }
.rfq-offers h5 { margin: 0 0 10px; }
.rfq-offer { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; border-top: 1px solid var(--line, #e5e7eb); padding: 12px 0; }
.rfq-offer p { margin: 5px 0 0; }
.rfq-offer-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
@media (max-width: 560px) { .rfq-offer { grid-template-columns: 1fr; } }

.marketplace-notification-panel[hidden] { display: none; }
.notification-list { display: grid; gap: 10px; }
.marketplace-notification { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 16px; border: 1px solid var(--line, #e5e7eb); border-radius: 14px; background: var(--surface, #fff); }
.marketplace-notification.unread { border-color: #818cf8; background: #f8faff; }
.marketplace-notification p { margin: 0; color: var(--muted, #667085); }
.marketplace-notification time { color: var(--muted, #667085); font-size: .82rem; }
.marketplace-notification-action { display: inline-flex; margin-top: 8px; color: var(--blue, #1769e0); font-size: 12px; font-weight: 800; text-decoration: none; }
.marketplace-notification-action:hover { text-decoration: underline; }
@media (max-width: 560px) { .marketplace-notification { grid-template-columns: 1fr; } }

.product-offer-box { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line, #e5e7eb); }
.product-offer-form { display: grid; gap: 10px; }
.product-offer-form .row { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.product-offer-form textarea { min-height: 78px; resize: vertical; }
@media (max-width: 560px) { .product-offer-form .row { grid-template-columns: 1fr; } }
.offer-settings{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr);gap:14px;margin:16px 0;padding:16px;border:1px solid #dfe3ff;border-radius:14px;background:linear-gradient(135deg,#f7f7ff,#fff)}
.offer-toggle{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.offer-toggle input{width:18px;height:18px;margin-top:2px;accent-color:var(--purple)}
.offer-toggle span,.offer-minimum{display:grid;gap:4px}.offer-toggle b{font-size:13px}.offer-toggle small,.offer-minimum small{color:var(--text2);font-size:11px;line-height:1.45}
.offer-minimum{color:var(--text2);font-size:11px;font-weight:700}.offer-minimum input{width:100%;margin-top:3px}
.offers-inbox{margin-top:22px;padding-top:20px;border-top:1px solid var(--border)}.offers-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.offer-card{padding:16px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(145deg,#fff,#fafaff);box-shadow:var(--shadow-xs)}
.offer-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.offer-card-head b,.offer-card-head small{display:block}.offer-card-head small{margin-top:4px;color:var(--text2);font-size:11px}.offer-status{font-size:11px;font-weight:800;white-space:nowrap}.status-pending{color:var(--orange)}.status-accepted{color:var(--green)}.status-declined{color:var(--red)}
.offer-card-price{margin:14px 0 7px;color:var(--blue);font-size:22px;font-weight:800;letter-spacing:-.03em}.offer-card p{margin:0;color:var(--text2);font-size:12px;line-height:1.55;white-space:pre-line}.offer-card-actions{display:flex;gap:8px;margin-top:14px}.offer-card-actions .primary,.offer-card-actions .ghost{font-size:11px;padding:8px 10px}
.offer-kicker{margin-bottom:5px;color:var(--purple);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.offer-disabled{opacity:.82}
@media(max-width:700px){.offer-settings,.offers-list{grid-template-columns:1fr}.offer-card-head{display:block}.offer-status{display:inline-block;margin-top:9px}.offer-card-actions{flex-direction:column}.offer-card-actions button{width:100%}}
.field-label{display:grid;gap:6px;color:var(--text2);font-size:11px;font-weight:700}.onboarding-steps{display:grid;gap:8px;margin:20px 0 0;padding:0;list-style:none;color:var(--text3);font-size:12px}.onboarding-steps li{padding-left:18px;position:relative}.onboarding-steps li::before{content:"";position:absolute;left:0;top:5px;width:7px;height:7px;border-radius:50%;background:var(--border-strong)}.onboarding-steps li.active{color:var(--purple);font-weight:800}.onboarding-steps li.active::before{background:var(--purple)}

/* Seller onboarding: direct product workflow styles. */
.onboarding-card{margin:18px 0 24px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--rlg);box-shadow:var(--shadow)}
.onboarding-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.onboarding-card h3{margin:4px 0 6px;font-size:18px}
.onboarding-card p{margin:0;color:var(--text2);font-size:13px;line-height:1.55}
.onboarding-count{display:grid;place-items:center;min-width:46px;height:46px;border-radius:50%;background:var(--bg2);color:var(--purple);font-size:14px;font-weight:800}
.onboarding-checklist{display:grid;gap:9px;margin:18px 0;padding:0;list-style:none}
.onboarding-checklist li{display:flex;align-items:center;gap:10px;color:var(--text2);font-size:13px}
.onboarding-checklist li.complete{color:var(--green);font-weight:700}
.checkmark{display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--border-strong);border-radius:50%;color:var(--green);font-size:12px;font-weight:900}
.onboarding-checklist li.complete .checkmark{border-color:var(--green);background:color-mix(in srgb,var(--green) 12%,transparent)}
.onboarding-stats{display:flex;flex-wrap:wrap;gap:8px;color:var(--text3);font-size:11px;font-weight:700}
.onboarding-stats span{padding:6px 9px;background:var(--bg2);border-radius:999px}

/* Marketplace responsive foundation — shared mobile layout rules. */
@media (max-width: 760px) {
  .shell { padding-left: 16px; padding-right: 16px; }
  .topbar { height: auto; min-height: 58px; }
  .topbar .shell { flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .brand { margin-right: auto; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; white-space: nowrap; }
  .top-actions { margin-left: 0; gap: 6px; }
  .top-actions > * { white-space: nowrap; }
  .hero { padding: 32px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
  .hero h1 { font-size: clamp(32px, 10vw, 46px); }
  .content { padding-top: 18px; padding-bottom: 40px; }
  .workspace { margin-bottom: 16px; border-radius: 14px; }
  .workspace-head { flex-direction: column; gap: 8px; padding: 16px; }
  .workspace-head .session,
  .workspace-head .count { align-self: flex-start; }
  .toolbar { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .grid,
  .seller-layout,
  .seller-start,
  .product-layout,
  .summary-grid { grid-template-columns: 1fr; }
  .grid { gap: 12px; }
  .card { min-width: 0; }
  .card .thumb { aspect-ratio: 4 / 3; }
  .row { flex-direction: column; gap: 9px; }
  .form { min-width: 0; }
  .field,
  .form input,
  .form select,
  .form textarea { max-width: 100%; }
  .checks { flex-direction: column; gap: 8px; }
  .form-actions,
  .listing-actions,
  .offer-card-actions,
  .moderation-actions { flex-direction: column; align-items: stretch; }
  .form-actions > *,
  .listing-actions > *,
  .offer-card-actions > *,
  .moderation-actions > * { width: 100%; }
  .owned-item { flex-direction: column; align-items: stretch; gap: 8px; }
  .owned-heading,
  .moderation-header,
  .moderation-section-head,
  .inbox-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .moderation-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .moderation-card-head { flex-direction: column; gap: 8px; padding: 16px; }
  .moderation-actions { padding: 12px 16px; }
  .message-head { align-items: flex-start; flex-direction: column; padding: 14px 16px; }
  .message-form { align-items: stretch; flex-direction: column; padding: 12px 16px; }
  .message-form > * { width: 100%; }
  .thread { grid-template-columns: 10px minmax(0, 1fr); padding: 12px 16px; }
  .product-facts { grid-template-columns: 1fr; }
  .product-media img { width: 100%; height: auto; }
  .offer-settings,
  .offers-list { grid-template-columns: 1fr; }
  .offer-settings { padding: 13px; }
  .offer-card-head { display: block; }
  .offer-status { display: inline-block; margin-top: 8px; }
}

@media (max-width: 420px) {
  .shell { padding-left: 12px; padding-right: 12px; }
  .top-actions .ghost { display: none; }
  .workspace-head { padding: 14px; }
  .hero h1 { letter-spacing: -0.055em; }
  .card-body { padding: 13px; }
  .onboarding-card { padding: 16px; }
  .onboarding-card-head { flex-direction: column; gap: 12px; }
  .onboarding-count { align-self: flex-start; }
}

/* Seller panel visual system — clear hierarchy and contained controls. */
.seller-panel { background: var(--bg2); }
.seller-head { padding: 22px 24px; background: linear-gradient(135deg, #fff 0%, #f7f7ff 100%); }
.seller-head h3 { margin: 4px 0 7px; font-size: clamp(20px, 3vw, 26px); letter-spacing: -.045em; }
.seller-head p { margin: 0; color: var(--text2); font-size: 13px; line-height: 1.55; }
.seller-type { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; background: #eef0ff; color: var(--purple); font-size: 11px; font-weight: 800; }
.seller-head .ghost { flex: 0 0 auto; }
.seller-workspace { align-items: start; padding: 20px; gap: 20px; background: #f6f7f9; }
.seller-workspace > .form,
.seller-workspace > .owned { min-width: 0; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--rlg); box-shadow: var(--shadow-sm); }
.seller-workspace > .form h3,
.seller-workspace > .owned h3 { margin: 0; font-size: 18px; letter-spacing: -.035em; }
.seller-workspace > .form h3 { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.seller-workspace > .form input,
.seller-workspace > .form select,
.seller-workspace > .form textarea { background: #fbfcfe; border-color: #d9dde5; }
.seller-workspace > .form input:focus,
.seller-workspace > .form select:focus,
.seller-workspace > .form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.seller-workspace > .form textarea[name="description"] { min-height: 132px; }
.seller-workspace > .form textarea[name="mediaUrls"],
.seller-workspace > .form textarea[name="attributesText"],
.seller-workspace > .form textarea[name="deliveryZones"] { min-height: 82px; }
.seller-workspace .row { align-items: stretch; }
.seller-workspace .checks { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fbfcfe; }
.seller-workspace .form-actions { padding-top: 4px; }
.seller-workspace .form-actions .primary { min-height: 42px; }
.seller-workspace .owned { min-height: 220px; }
.owned-heading h3 { color: var(--text); }
.owned-help { line-height: 1.45; }
.owned-item:last-child { border-bottom: 0; }
.onboarding-card { border-color: #dfe3ff; background: linear-gradient(135deg, #fff, #fafaff); }
.seller-start { padding: 24px; background: linear-gradient(135deg, #fff, #f7f7ff); border-radius: var(--rlg); }
.seller-start > div:first-child { padding: 8px 0; }
.seller-start h3 { margin: 6px 0 8px; font-size: 22px; letter-spacing: -.04em; }
.seller-start > div:first-child > p { max-width: 440px; color: var(--text2); font-size: 13px; line-height: 1.6; }
.seller-start .form { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--rlg); box-shadow: var(--shadow-sm); }
.guest { padding: 22px; background: linear-gradient(135deg, #f7f7ff, #f4f7fb); border: 1px solid #e0e3f6; }
.guest h3 { margin: 0 0 5px; font-size: 18px; }
.guest p { margin: 0; color: var(--text2); font-size: 13px; line-height: 1.5; }

@media (max-width: 760px) {
  .seller-head { padding: 18px 16px; }
  .seller-head .ghost { width: 100%; }
  .seller-workspace { padding: 12px; gap: 12px; }
  .seller-workspace > .form,
  .seller-workspace > .owned { padding: 16px; }
  .seller-start { padding: 16px; }
  .seller-start .form { padding: 16px; }
  .guest { padding: 18px; }
  .guest .primary { width: 100%; margin-top: 14px; }
}

.review-waiting{display:inline-flex;align-items:center;padding:8px 10px;border-radius:8px;background:#fff7ed;color:#c2410c;font-size:11px;font-weight:800}
.marketplace-footer{margin-top:28px;background:#171827;color:#fff;border-top:1px solid #2c2d40}.marketplace-footer__inner{width:min(1240px,100%);margin:0 auto;padding:42px 36px 34px;display:grid;grid-template-columns:minmax(260px,1.45fr) repeat(2,minmax(150px,.7fr));gap:48px}.marketplace-footer__logo{display:inline-block;color:#fff;font-size:21px;font-weight:800;letter-spacing:-.05em}.marketplace-footer__logo span{color:#fff}.marketplace-footer p{max-width:330px;margin:14px 0 12px;color:#fff;font-size:13px;line-height:1.6}.marketplace-footer small{color:#fff;font-size:11px}.marketplace-footer__group{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.marketplace-footer__group h2{margin:2px 0 7px;color:#fff;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.marketplace-footer__group a{color:#fff;font-size:13px;line-height:1.35;transition:color .15s}.marketplace-footer__group a:hover{color:#fff}.marketplace-footer__bottom{width:min(1240px,100%);margin:0 auto;padding:15px 36px 20px;border-top:1px solid #2c2d40;display:flex;justify-content:space-between;gap:18px;color:#fff;font-size:11px}.legal-main{padding:44px 0 70px}.legal-card{max-width:860px;margin:0 auto;padding:34px 38px;background:#fff;border:1px solid var(--border);border-radius:var(--rlg);box-shadow:var(--shadow-sm)}.legal-card h1{margin:8px 0 13px;font-size:clamp(30px,5vw,48px);line-height:1.04;letter-spacing:-.06em}.legal-card .lead{max-width:690px;color:var(--text2);font-size:15px;line-height:1.65}.legal-card h2{margin:30px 0 9px;font-size:19px;letter-spacing:-.035em}.legal-card p,.legal-card li{color:var(--text2);font-size:14px;line-height:1.7}.legal-card ul{padding-left:21px}.legal-card .info-callout{margin:24px 0;padding:16px 18px;background:#f6f7ff;border:1px solid #e1e3ff;border-radius:12px;color:var(--text2);font-size:13px;line-height:1.6}.legal-updated{color:var(--text3);font-size:12px}.legal-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.legal-nav a{padding:8px 11px;border:1px solid var(--border);border-radius:8px;color:var(--text2);font-size:12px;font-weight:700}.legal-nav a:hover,.legal-nav a[aria-current="page"]{border-color:#c9c5ff;background:#f6f5ff;color:var(--purple)}
@media (max-width:760px){.marketplace-footer__inner{grid-template-columns:1fr 1fr;gap:30px 20px;padding:30px 18px 26px}.marketplace-footer__brand{grid-column:1/-1}.marketplace-footer__bottom{padding:14px 18px 18px;flex-direction:column;gap:6px}.legal-main{padding:22px 0 46px}.legal-card{padding:24px 18px;border-radius:14px}.legal-card h1{font-size:34px}.legal-card h2{margin-top:25px}.legal-card p,.legal-card li{font-size:13px}}

.media-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:-7px;padding:10px;border:1px solid var(--border);border-radius:10px;background:#f8f9fc}.media-preview-item{margin:0;min-width:0}.media-preview-item img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#eef0f5}.media-preview-item figcaption{margin-top:5px;color:var(--text3);font-size:10px;text-align:center}.media-preview-empty,.media-preview-invalid{grid-column:1/-1;color:var(--text3);font-size:11px;line-height:1.45}.media-preview-invalid{color:var(--red)}
@media(max-width:560px){.media-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Marketplace visual system — editorial catalog / product detail */
:root{--ink:#15151b;--muted:#6d6d78;--line:#e7e5e1;--paper:#fff;--canvas:#f7f6f3;--accent:#5b4be7;--accent-dark:#4335b8;--warm:#f1ede6;--radius:18px;--shadow-card:0 12px 35px rgba(25,22,43,.08)}
body{background:var(--canvas);color:var(--ink)}
.topbar{height:72px;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(21,21,27,.08);box-shadow:0 2px 18px rgba(21,21,27,.04)}
.topbar .shell{gap:28px}.brand{font-size:20px}.nav{gap:5px}.nav a{padding:10px 13px;border-radius:10px}.top-actions{gap:10px}.primary,.ghost{min-height:42px;padding:10px 16px;border-radius:10px;font-size:12px;letter-spacing:.01em}.primary{background:var(--accent);box-shadow:0 8px 18px rgba(91,75,231,.2)}.primary:hover{background:var(--accent-dark)}.ghost{background:#fff;border-color:#dddbe0}.ghost:hover{background:#f2f0ff;border-color:#cfc9ff;color:var(--accent)}
.hero{padding:78px 0 62px;background:radial-gradient(circle at 85% 10%,rgba(91,75,231,.14),transparent 32%),linear-gradient(135deg,#f5f2ff 0%,#fff 58%,#f8f1e8 100%);border-bottom:0}.hero-grid{gap:54px}.hero h1{font-size:clamp(42px,6vw,72px);max-width:780px}.hero p{font-size:16px;max-width:610px}.hero-note{padding:24px;border:1px solid rgba(91,75,231,.16);border-radius:20px;box-shadow:var(--shadow-card)}
.content{padding-top:38px}.workspace{border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-card)}.workspace-head{padding:25px 26px;border-bottom:1px solid var(--line)}.workspace-head h2{font-size:24px}.toolbar{padding:14px;background:#fff;border-color:var(--line);border-radius:16px;box-shadow:none}.field{min-height:44px;border-color:#dedce2;border-radius:10px}.categories{display:flex;gap:8px;overflow-x:auto;padding:4px 0 17px;scrollbar-width:none}.category{flex:0 0 auto;border:1px solid #dedce2;border-radius:999px;background:#fff;padding:10px 15px;color:#65636d;font-size:12px;font-weight:700}.category:hover,.category.active{border-color:#bdb5ff;background:#eeecff;color:var(--accent)}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 18px rgba(20,18,30,.05);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.card:hover{transform:translateY(-4px);border-color:#cbc5ff;box-shadow:0 16px 35px rgba(48,38,112,.13)}.thumb{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#eeece8;color:#aaa5a0;font-size:10px;font-weight:800;letter-spacing:.12em;overflow:hidden}.thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.card:hover .thumb img{transform:scale(1.04)}.card-body{display:flex;flex:1;flex-direction:column;padding:17px 17px 18px;background:#fff}.card .meta{display:flex;justify-content:space-between;gap:8px;margin:0 0 9px;color:#817d8d;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.card h3{margin:0 0 12px;color:#1d1b24;font-size:16px;line-height:1.25;letter-spacing:-.025em}.card .price{margin-top:auto;color:var(--accent);font-size:17px;font-weight:800}.card .location{margin-top:8px;color:#77737e;font-size:12px}.state,.error{grid-column:1/-1;border:1px dashed #d8d4df;border-radius:16px;background:#fff;padding:32px;color:var(--muted);line-height:1.6}.guest{display:flex;align-items:center;gap:18px;padding:24px 26px;background:linear-gradient(90deg,#faf9ff,#fff)}.guest-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#eeecff;color:var(--accent);font-size:25px}.guest-copy{flex:1}.guest-copy h3{margin:0 0 4px;font-size:16px}.guest-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.product-page{padding-top:28px;padding-bottom:70px}.product-back{display:inline-flex;margin-bottom:18px;color:#716e79;font-size:13px;font-weight:700}.product-back:hover{color:var(--accent)}.product-card{border:0;background:transparent}.product-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:34px;align-items:start}.product-media{min-width:0}.product-main-image{display:flex;align-items:center;justify-content:center;min-height:500px;overflow:hidden;border-radius:24px;background:#e9e6e1;box-shadow:var(--shadow-card)}.product-main-image img{display:block;width:100%;height:100%;max-height:650px;object-fit:contain}.product-gallery{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-top:12px}.product-gallery-thumb{padding:0;aspect-ratio:1;border:2px solid transparent;border-radius:11px;background:#ebe8e3;overflow:hidden;cursor:pointer}.product-gallery-thumb.active{border-color:var(--accent)}.product-gallery-thumb img{width:100%;height:100%;object-fit:cover}.product-info{padding:31px 31px 34px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-card)}.product-info h1{margin:8px 0 10px;font-size:clamp(30px,4vw,48px);line-height:1.02;letter-spacing:-.055em}.product-price{margin:0 0 24px;color:var(--accent);font-size:28px;font-weight:800}.product-description{padding:20px 0;border-top:1px solid var(--line);color:#5f5d67;font-size:14px;line-height:1.75;white-space:pre-line}.product-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 24px}.product-fact{padding:14px;border-radius:13px;background:#f7f6f3}.product-fact small{display:block;margin-bottom:5px;color:#96919a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.product-fact strong{font-size:13px;line-height:1.35}.location-map{display:inline-flex;margin-top:8px;color:var(--accent);font-size:11px;font-weight:800}.seller-box{padding-top:22px;border-top:1px solid var(--line)}.seller-box h3{margin:0 0 4px;font-size:17px}.seller-box p{margin:0 0 16px;color:var(--muted);font-size:12px}.product-message{margin-top:10px;color:var(--muted);font-size:12px;line-height:1.5}.product-offer-box{margin-top:24px;padding:20px;border-radius:16px;background:#f5f2ff;border:1px solid #e0dbff}.product-offer-box h3{margin:5px 0;font-size:16px}.product-offer-box p{color:#6f6b7b;font-size:12px;line-height:1.5}.offer-kicker{color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.product-offer-form{display:grid;gap:9px}.product-offer-form textarea{min-height:82px;resize:vertical}.offer-disabled{background:#f7f6f3;border-color:var(--line)}
.buyer-guide{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;margin:18px 0 36px;padding:30px;border:1px solid #e2dff7;border-radius:22px;background:linear-gradient(120deg,#f4f1ff,#fff)}.buyer-guide h2{margin:6px 0 9px;font-size:25px;letter-spacing:-.045em}.buyer-guide p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}.buyer-guide__steps{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.buyer-guide__step{padding:15px;border-radius:14px;background:rgba(255,255,255,.8);border:1px solid rgba(91,75,231,.12)}.buyer-guide__step b{display:block;margin-bottom:5px;color:var(--accent);font-size:12px}.buyer-guide__step span{color:#696572;font-size:12px;line-height:1.45}
.marketplace-footer{margin-top:55px;background:#171622;border-top:0}.marketplace-footer__inner{padding:52px 36px 42px;grid-template-columns:1.5fr repeat(2,1fr);gap:64px}.marketplace-footer__group{gap:12px}.marketplace-footer__group a{padding:2px 0}.marketplace-footer__bottom{padding-top:18px}.marketplace-footer__bottom span:last-child{color:#fff}
@media(max-width:980px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-layout{grid-template-columns:1fr}.product-info{padding:25px}.product-main-image{min-height:420px}}
@media(max-width:700px){.shell{padding:0 18px}.topbar{height:auto;min-height:64px}.topbar .shell{flex-wrap:wrap;gap:8px 14px;padding-top:12px;padding-bottom:12px}.nav{order:3;width:100%;overflow:auto}.top-actions{margin-left:auto}.top-actions .ghost{display:none}.hero{padding:48px 0 42px}.hero-grid{grid-template-columns:1fr;gap:25px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-body{padding:13px}.card h3{font-size:14px}.product-main-image{min-height:300px;border-radius:18px}.product-info{padding:21px;border-radius:18px}.product-info h1{font-size:34px}.buyer-guide{grid-template-columns:1fr;padding:22px}.marketplace-footer__inner{grid-template-columns:1fr 1fr;gap:28px 18px;padding:36px 18px}.marketplace-footer__brand{grid-column:1/-1}}
@media(max-width:430px){.grid{grid-template-columns:1fr}.toolbar{grid-template-columns:1fr}.product-facts{grid-template-columns:1fr}.buyer-guide__steps{grid-template-columns:1fr}}

/* Action controls v2 — clear, colorful, touch-friendly */
.tabs{display:grid;grid-template-columns:repeat(2,minmax(150px,220px));gap:10px;padding:18px 20px 0;background:#fff}.tab{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 20px;border:1px solid #d8d4e5;border-radius:12px 12px 0 0;background:#f4f2fa;color:#716d7d;font-size:13px;font-weight:800;cursor:pointer;transition:all .18s ease}.tab::before{content:'◌';font-size:17px;line-height:1}.tab[data-tab=seller]::before{content:'✦'}.tab:hover{border-color:#b5adf5;background:#eeecff;color:var(--accent)}.tab.active{border-color:var(--accent);background:linear-gradient(135deg,#6c59f0,#5140d1);color:#fff;box-shadow:0 8px 18px rgba(81,64,209,.25);transform:translateY(-2px)}.tab.active::after{content:'';position:absolute;right:14px;bottom:-1px;left:14px;height:3px;border-radius:3px 3px 0 0;background:#fff}.tabs+#panel{border-top:1px solid #ebe8f3}
.workspace .primary,.guest .primary,.buyer-guide .ghost{background:linear-gradient(135deg,#6c59f0,#5140d1);border-color:transparent;color:#fff;box-shadow:0 8px 18px rgba(81,64,209,.23)}.workspace .primary:hover,.guest .primary:hover,.buyer-guide .ghost:hover{background:linear-gradient(135deg,#7a68ff,#4935c5);color:#fff;transform:translateY(-2px)}.guest .primary{min-width:150px}.buyer-guide .ghost{display:inline-flex;border-radius:11px;padding:12px 17px}
.marketplace-footer__group a{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:220px;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.055);color:#fff;font-size:12px;font-weight:700;transition:all .16s ease}.marketplace-footer__group a::after{content:none;display:none}.marketplace-footer__group a:hover{background:#6250df;border-color:#8173f4;color:#fff;transform:translateX(3px)}.marketplace-footer__group h2{margin-bottom:4px}.marketplace-footer__brand .marketplace-footer__logo{width:auto;border:0;padding:0;background:none}.marketplace-footer__brand .marketplace-footer__logo::after{display:none}
@media(max-width:700px){.tabs{grid-template-columns:1fr 1fr;padding:14px 14px 0}.tab{min-height:46px;padding:10px 8px;font-size:12px}.guest{align-items:flex-start;flex-wrap:wrap;padding:20px}.guest .guest-copy{min-width:calc(100% - 64px)}.guest .primary{width:100%}.marketplace-footer__group a{max-width:none}}

/* UI refresh: unified blue controls, framed surfaces, responsive layout */
:root{--bg:#f5f8fc;--bg2:#eef4fb;--bg3:#e3edf8;--surface:#fff;--border:#d8e2ee;--border-strong:#b9c9da;--text:#162033;--text2:#5b6b80;--text3:#8290a2;--blue:#1769e8;--blue-hover:#0f56c9;--purple:#1769e8;--accent:#1769e8;--r:12px;--rlg:16px;--shadow-sm:0 2px 8px rgba(23,55,93,.08),0 0 0 1px rgba(23,55,93,.03);--shadow:0 5px 18px rgba(23,55,93,.09),0 0 0 1px rgba(23,55,93,.04)}
body{background:var(--bg);color:var(--text)}
.shell{width:min(1280px,100%);padding-left:32px;padding-right:32px}
.topbar{background:rgba(255,255,255,.98);border-bottom:1px solid #d8e2ee;box-shadow:0 2px 10px rgba(23,55,93,.08)}
.brand span,.eyebrow,.kicker{color:var(--blue)}
.nav a:hover,.nav a.active{background:#eaf2ff;color:var(--blue)}
.primary{background:var(--blue);border:1px solid var(--blue);color:#fff;box-shadow:0 3px 8px rgba(23,105,232,.2)}
.primary:hover{background:var(--blue-hover);border-color:var(--blue-hover)}
.ghost{background:#fff;border:1px solid #9eb8d5;color:#145bc7;box-shadow:0 1px 3px rgba(23,55,93,.06)}
.ghost:hover{background:#edf5ff;border-color:var(--blue);color:var(--blue)}
.hero{background:linear-gradient(180deg,#edf5ff 0,#f8fbff 68%,var(--bg) 100%);border-bottom:1px solid var(--border)}
.hero-note,.workspace,.toolbar,.field,.card,.product-card,.buyer-guide,.guest,.seller-start{border-color:var(--border);box-shadow:var(--shadow-sm)}
.workspace-head{background:#fff;border-bottom-color:var(--border)}
.toolbar{background:#fff;padding:14px}
.field:focus,input:focus,select:focus,textarea:focus{border-color:var(--blue)!important;box-shadow:0 0 0 3px rgba(23,105,232,.14)!important}
.categories .category.active,.chip.active{background:var(--blue);border-color:var(--blue);color:#fff}
.card{background:#fff;overflow:hidden}.card:hover{border-color:#a8c4e4;box-shadow:0 8px 24px rgba(23,55,93,.13)}
.card-image,.product-main-image{background:#edf3fa}
.product-page{padding-top:30px;padding-bottom:58px}.product-back{display:inline-flex;align-items:center;min-height:40px;padding:8px 13px;border:1px solid #b7cbe1;border-radius:10px;background:#fff;color:#145bc7;font-weight:700;box-shadow:var(--shadow-sm)}
.product-back:hover{background:#edf5ff;border-color:var(--blue)}
.product-info,.product-layout{background:#fff}
.tabs{background:#fff}.tab:hover{border-color:#8bb1df;background:#edf5ff;color:var(--blue)}.tab.active{border-color:var(--blue);background:linear-gradient(135deg,#2478ed,#1256c8);box-shadow:0 8px 18px rgba(23,105,232,.25)}
.workspace .primary,.guest .primary,.buyer-guide .ghost,.seller-panel .primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 5px 13px rgba(23,105,232,.2)}
.workspace .primary:hover,.guest .primary:hover,.buyer-guide .ghost:hover,.seller-panel .primary:hover{background:var(--blue-hover);border-color:var(--blue-hover);transform:translateY(-1px)}
.seller-page{padding-top:30px}.seller-page>.workspace-head{padding:25px 0 28px;background:transparent;border:0}.seller-page-title{font-size:clamp(30px,5vw,48px);letter-spacing:-.055em;margin:10px 0}.seller-page-lead{max-width:680px;color:var(--text2);line-height:1.65}
.marketplace-footer{margin-top:48px;background:#102b4d;border-top:4px solid var(--blue)}.marketplace-footer__inner{width:min(1280px,100%);padding:48px 32px 38px;gap:48px}.marketplace-footer__logo span{color:#fff}.marketplace-footer p{color:#fff}.marketplace-footer__group a{max-width:260px;padding:10px 12px;border:1px solid #416284;border-radius:10px;background:#17385f;color:#fff}.marketplace-footer__group a::after{color:#fff}.marketplace-footer__group a:hover{background:#1769e8;border-color:#69a6f4;color:#fff;transform:translateX(2px)}.marketplace-footer__bottom{border-top-color:#315171;color:#fff}
button:not(.tab):not(.ic-btn),a.primary,.buyer-guide a.ghost{min-height:40px}
@media(max-width:700px){.shell{padding-left:16px;padding-right:16px}.topbar .shell{padding-top:11px;padding-bottom:11px}.hero{padding-top:38px;padding-bottom:34px}.hero h1{font-size:clamp(32px,11vw,46px)}.content{padding-top:18px}.workspace-head{padding:18px 16px}.toolbar{grid-template-columns:1fr;padding:12px}.grid{grid-template-columns:1fr 1fr;gap:12px}.card-body{padding:14px 12px}.section-head{align-items:flex-start;gap:10px}.seller-page{padding-top:18px}.seller-page>.workspace-head{padding:12px 0 20px}.seller-page-title{font-size:34px}.marketplace-footer{margin-top:30px}.marketplace-footer__inner{padding:34px 16px 28px;gap:25px 14px}.marketplace-footer__group a{max-width:none}.marketplace-footer__bottom{padding:16px}.product-page{padding-top:18px}}
@media(max-width:430px){.grid{grid-template-columns:1fr}.top-actions .primary{padding-left:11px;padding-right:11px}.nav{font-size:12px}.marketplace-footer__inner{grid-template-columns:1fr}.marketplace-footer__brand{grid-column:auto}}

/* Critical mobile repair */
.tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:16px!important;background:#fff!important;border:1px solid #d8e2ee!important;border-radius:14px 14px 0 0!important}
.tab{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:46px!important;padding:11px 8px!important;border:1px solid #9eb8d5!important;border-radius:10px!important;background:#f3f7fc!important;color:#145bc7!important;font-size:13px!important;font-weight:800!important}
.tab.active{background:#1769e8!important;border-color:#1769e8!important;color:#fff!important}
.summary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:16px!important}.summary,.inbox{border:1px solid #d8e2ee!important;border-radius:14px!important;background:#fff!important;padding:16px!important}.summary{min-height:82px!important}.summary b{display:block!important;margin-bottom:7px!important}.summary span{display:block!important;color:#5b6b80!important;font-size:13px!important;line-height:1.45!important}.inbox{margin:16px!important}.inbox-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}.inbox-head button{flex:0 0 auto!important}
.buyer-guide__steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.buyer-guide__step{display:flex!important;flex-direction:column!important;gap:6px!important;padding:14px!important;border:1px solid #d8e2ee!important;border-radius:12px!important;background:#f8fbff!important;line-height:1.45!important}.buyer-guide__step b{color:#162033!important}.buyer-guide__step span{color:#5b6b80!important;font-size:13px!important}
.marketplace-footer{display:block!important;background:#102b4d!important;color:#fff!important;border-top:4px solid #1769e8!important}.marketplace-footer__inner{display:grid!important;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr))!important;max-width:1280px!important;margin:0 auto!important}.marketplace-footer__group{display:flex!important;flex-direction:column!important;gap:8px!important}.marketplace-footer__group h2{color:#fff!important;font-size:16px!important}.marketplace-footer__group a{display:flex!important;align-items:center!important;justify-content:space-between!important}.marketplace-footer__bottom{display:flex!important;justify-content:space-between!important;gap:16px!important;max-width:1216px!important;margin:0 auto!important}
@media(max-width:700px){.summary-grid{grid-template-columns:1fr!important;padding:12px!important}.inbox{margin:12px!important}.inbox-head{display:block!important}.inbox-head button{margin-top:12px!important}.buyer-guide__steps{grid-template-columns:1fr!important;gap:10px!important}.marketplace-footer__inner{grid-template-columns:1fr 1fr!important}.marketplace-footer__brand{grid-column:1/-1!important}.marketplace-footer__bottom{display:block!important;padding:16px!important}.marketplace-footer__bottom span{display:block!important;margin-top:6px!important}}
@media(max-width:430px){.marketplace-footer__inner{grid-template-columns:1fr!important}.marketplace-footer__brand{grid-column:auto!important}}

/* Auth header: separate avatar initial from display name */
.auth-user-link{display:inline-flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important}
.auth-avatar{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#e7f0ff;color:#145bc7;font-size:11px;font-weight:900;line-height:1;flex:0 0 26px}
@media(max-width:430px){.auth-user-link{gap:6px!important}.auth-avatar{width:24px;height:24px;flex-basis:24px}}

.workspace-actions{display:flex;gap:10px;flex-wrap:wrap;padding:16px 16px 0}.workspace-actions .primary{min-height:42px}@media(max-width:430px){.workspace-actions{display:grid;grid-template-columns:1fr 1fr}.workspace-actions .primary{width:100%;padding-left:8px;padding-right:8px}}

/* Mobile alignment refinement */
@media(max-width:700px){
  .workspace-actions{justify-content:center!important;text-align:center!important}
  .workspace-actions .primary{min-width:150px!important}
}
@media(max-width:430px){
  .workspace-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .workspace-actions .primary{min-width:0!important;width:100%!important}
}

/* mobile seller layout fix 20260821 */
@media (max-width:700px){
  .seller-head{flex-wrap:wrap!important;align-items:stretch!important}
  .seller-head>div:first-child{min-width:0;flex:1 1 100%}
  .seller-head .ghost{width:100%!important;flex:1 1 100%!important;margin-top:4px}
}

/* auth header pending state 20260821 */
.auth-pending{visibility:hidden}

/* Marketplace header refresh — compact, mobile-first controls */
.topbar{height:68px;background:#fff;border-top:4px solid #f2a45d;border-bottom:1px solid #d7e1ec;box-shadow:0 2px 12px rgba(20,48,78,.09)}
.topbar .shell{height:100%;gap:24px}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:17px;color:#162033}
.brand::before{content:'›';display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#f3a45d;color:#102b4d;font-size:27px;font-weight:900;line-height:1;transform:rotate(180deg)}
.brand span{color:#1769e8}
.nav{gap:4px}
.nav a{padding:9px 11px}
.top-actions{gap:8px}
.top-actions>a{min-height:40px}
.header-action{gap:8px!important;border-radius:11px!important;padding:8px 13px!important;white-space:nowrap!important}
.header-action .action-icon{display:grid;place-items:center;width:22px;height:22px;font-size:18px;line-height:1}
.header-action .action-label{font-size:12px;font-weight:800;letter-spacing:.01em}
.header-vendor{background:#1769e8!important;border-color:#1769e8!important;color:#fff!important;box-shadow:0 5px 12px rgba(23,105,232,.22)!important}
.header-vendor:hover{background:#0f56c9!important;color:#fff!important}
.header-user{background:#f5f8fc!important;border:1px solid #b9cfe5!important;color:#174f91!important}
.header-user:hover{background:#eaf3ff!important}
.header-messages{background:#fff!important;border:1px solid #b9cfe5!important;color:#17334f!important}
.header-messages .action-icon{font-size:19px}
.header-user .auth-avatar{width:23px;height:23px;flex-basis:23px;background:#d9eaff;color:#145bc7}
@media(max-width:760px){
  .topbar{height:auto;min-height:66px}
  .topbar .shell{padding:10px 16px;gap:10px;flex-wrap:nowrap}
  .nav{display:none}
  .top-actions{margin-left:auto;gap:6px;min-width:0}
  .top-actions>a{min-height:40px}
  .header-action{padding:8px 10px!important}
  .header-action .action-label{font-size:11px}
  .brand{font-size:15px;gap:7px;flex:0 0 auto}
  .brand::before{width:29px;height:29px}
}
@media(max-width:430px){
  .topbar .shell{padding-left:12px;padding-right:12px}
  .top-actions{gap:5px}
  .header-messages{padding:8px!important;width:40px}
  .header-messages .action-label{display:none}
  .header-action .action-icon{width:20px}
  .header-user,.header-vendor{padding:8px 9px!important}
  .header-user .action-label,.header-vendor .action-label{font-size:10px}
  .header-user .auth-avatar{display:none}
}
.header-action .action-icon svg{width:21px;height:21px;display:block}.header-vendor .action-icon svg{width:22px;height:22px}@media(max-width:430px){.header-action .action-icon svg{width:20px;height:20px}}

/* Compact expandable personal marketplace workspace */
.brand img{width:39px;height:39px;object-fit:contain;border-radius:50%;display:block}
.brand::before{display:none!important}
.brand-name{display:inline-flex;align-items:center}
.workspace-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer;color:inherit;background:#fff;border:0;border-bottom:1px solid var(--border);padding:16px 20px;transition:background .15s ease}
.workspace-toggle:hover{background:#f8fbff}
.workspace-toggle>span:first-child{display:grid;gap:4px;min-width:0}
.workspace-toggle strong{font-size:18px;letter-spacing:-.035em}
.workspace-toggle small{color:var(--text2);font-size:12px;font-weight:500}
.workspace-head-right{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.workspace-chevron{display:grid;place-items:center;width:32px;height:32px;border:1px solid #b9cfe5;border-radius:50%;color:#1769e8;font-size:22px;line-height:1;transition:transform .2s ease,background .2s ease}
.workspace-toggle[aria-expanded="true"] .workspace-chevron{transform:rotate(180deg);background:#eaf3ff}
.workspace-toggle[aria-expanded="true"]{background:#f8fbff}
#workspace-content[hidden]{display:none}
#workspace-content{animation:workspace-reveal .2s ease-out}
@keyframes workspace-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:700px){
  .brand img{width:34px;height:34px}
  .brand-name{display:none}
  .workspace-toggle{padding:14px 15px}
  .workspace-toggle strong{font-size:16px}
  .workspace-toggle small{font-size:11px}
  .workspace-head-right{gap:8px}
  .workspace-head-right .session{max-width:120px;text-align:right;line-height:1.3}
}
@media(max-width:430px){.workspace-head-right .session{display:none}.workspace-chevron{width:30px;height:30px}}

/* Final compact identity and workspace polish */
.brand-back{display:grid;place-items:center;width:30px;height:30px;border:1px solid #b9cfe5;border-radius:50%;color:#1769e8;font-size:25px;line-height:1;transition:.15s ease}
.brand-back:hover{background:#eaf3ff;transform:translateX(-2px)}
.brand-name{font-size:16px;font-weight:800}
.workspace-title-wrap{display:flex!important;align-items:center;gap:11px;min-width:0}
.workspace-logo{width:37px;height:37px;object-fit:contain;border-radius:10px;flex:0 0 37px}
.workspace-title-text{display:grid;gap:3px;min-width:0}
.workspace-toggle strong{font-size:17px}
.hero{padding-top:38px;padding-bottom:28px}
.hero h1{font-size:clamp(32px,4.5vw,52px);margin-top:9px;margin-bottom:12px}
.hero p{font-size:14px;line-height:1.5}
@media(max-width:760px){
  .topbar .shell{gap:8px}
  .brand-name{display:inline-flex;font-size:14px}
  .brand img{width:32px;height:32px}
  .brand{gap:6px}
  .brand-back{width:28px;height:28px;font-size:23px;flex:0 0 28px}
  .hero{padding-top:24px;padding-bottom:20px}
  .hero h1{font-size:clamp(29px,9vw,40px);line-height:1.05;margin-bottom:9px}
  .hero p{font-size:13px;line-height:1.45}
  .hero-note{padding:13px}
  .workspace-title-wrap{gap:8px}
  .workspace-logo{width:32px;height:32px;flex-basis:32px;border-radius:8px}
}
@media(max-width:430px){.brand-name{font-size:13px}.brand img{width:30px;height:30px}.brand-back{width:27px;height:27px}.workspace-toggle strong{font-size:15px}}

/* Keep the catalog focused: RFQ is not a primary marketplace action. */
.rfq-workspace{display:none!important}
.workspace-actions{justify-content:flex-end!important;padding:12px 16px 0!important}
.workspace-actions .primary{min-height:38px!important}

/* Catalog-first layout: search is the first useful element after the header. */
.hero{display:none!important}
.content{display:flex;flex-direction:column;padding-top:16px}
.content>.toolbar{order:1}
.content>.categories{order:2}
.content>.section-head{order:3}
.content>#results{order:4}
.content>.load-more{order:5}
.content>.workspace{order:6}
.content>.buyer-guide{order:7}
.content>.toolbar{margin-bottom:10px}
.content>.categories{margin-bottom:10px}
.content>.section-head{margin-top:4px}
.brand img{width:30px!important;height:30px!important;border-radius:7px!important}
.brand-name{display:inline-flex!important;font-size:15.5px!important;font-weight:800!important}
@media(max-width:760px){
  .content{padding-top:12px}
  .content>.toolbar{padding:9px!important;gap:7px!important}
  .brand img{width:30px!important;height:30px!important}
  .brand-name{font-size:15px!important}
}

/* Header menu and Romanian identity */
.menu-toggle{display:none;border:1px solid #b9cfe5;background:#fff;color:#174f91;border-radius:10px;width:40px;height:40px;padding:9px;cursor:pointer}.menu-toggle span{display:block;height:2px;background:currentColor;margin:4px 0;border-radius:2px}
@media(max-width:760px){.menu-toggle{display:block;flex:0 0 auto}.topbar .nav{display:none;position:absolute;top:calc(100% + 8px);left:15px;right:15px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:8px;box-shadow:0 12px 30px rgba(18,55,92,.14);z-index:20}.topbar .nav.is-open{display:grid}.topbar .nav a{padding:11px 12px;border-radius:9px}.topbar .nav a:hover,.topbar .nav a.active{background:#eaf3ff}.topbar{position:relative}.topbar .shell{position:relative}}

/* Product detail polish */
.brand-with-logo{display:inline-flex;align-items:center;gap:8px}.brand-with-logo img{width:31px;height:31px;object-fit:contain}.brand-with-logo>span{display:inline-block}.detail-section-title{margin-bottom:10px;color:var(--text);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.product-description{font-size:15px}.product-detail-panel{margin:4px 0 24px;padding:18px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(135deg,#f8f9ff,#fff)}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-list div{display:grid;gap:3px}.detail-list span{color:var(--muted);font-size:11px}.detail-list strong{font-size:13px}.verified-badge{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#168447;color:#fff;font-size:12px;font-weight:900}.seller-verification{display:flex!important;align-items:center;gap:6px}.seller-box p{margin-bottom:16px}.topbar .brand-with-logo img{width:32px;height:32px}
@media(max-width:430px){.detail-list{grid-template-columns:1fr}.brand-with-logo img{width:29px;height:29px}}

/* Catalog mobile polish: right-aligned controls, separated workspace, unified product facts. */
@media (max-width: 760px) {
  .topbar .shell { flex-wrap: nowrap; gap: 8px; }
  .topbar .brand-back { order: 1; }
  .topbar .brand { order: 2; min-width: 0; }
  .topbar .top-actions { order: 3; margin-left: auto; }
  .topbar .menu-toggle { order: 4; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; border-color: #c9d7ea; box-shadow: 0 3px 10px rgba(23,79,145,.12); }
  .topbar .menu-toggle span { height: 2px; margin: 5px 0; }
  .topbar .header-messages,
  .topbar .header-user { display: none; }
  .topbar .header-vendor { width: 42px; height: 42px; padding: 0; border-radius: 12px; }
  .topbar .header-vendor .action-label { display: none; }
  .topbar .header-vendor .action-icon svg { width: 21px; height: 21px; }
  .topbar .nav { top: calc(100% + 10px); left: 12px; right: 12px; padding: 7px; border-radius: 16px; box-shadow: 0 16px 36px rgba(16,45,82,.2); }
  .topbar .nav a { min-height: 44px; display: flex; align-items: center; }
  .content > .load-more { margin: 8px 0 22px; min-height: 42px; }
  .content > .load-more button { min-height: 42px; }
  .content > .workspace { margin-top: 0; margin-bottom: 24px; border-radius: 16px; box-shadow: 0 5px 18px rgba(18,55,92,.1); }
  .workspace-toggle { min-height: 76px; padding: 15px 16px; }
  .workspace-title-wrap { max-width: calc(100% - 42px); }
  .workspace-title-text { min-width: 0; }
  .workspace-toggle strong,
  .workspace-toggle small { overflow-wrap: anywhere; }
  .workspace-head-right { gap: 7px; }
  .workspace-chevron { flex: 0 0 31px; }
  .product-facts { margin: 0; padding: 15px; border: 1px solid var(--line); border-bottom: 0; border-radius: 15px 15px 0 0; background: #f8f8f6; gap: 0; }
  .product-fact { padding: 12px 0; border-bottom: 1px solid #e6e3dd; border-radius: 0; background: transparent; }
  .product-fact:last-child { border-bottom: 0; }
  .product-detail-panel { margin: 0 0 24px; border-top: 0; border-radius: 0 0 15px 15px; box-shadow: 0 2px 8px rgba(30,27,23,.04); }
  .product-message { padding: 10px 12px; border-radius: 10px; background: #fff7ed; color: #9a3412; }
}
@media (min-width: 761px) {
  .content > .load-more { margin-bottom: 24px; }
  .content > .workspace { margin-bottom: 28px; }
}

/* Marketplace visual repair — scoped to the marketplace pages. */
.product-description { padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; line-height: 1.65; }
.product-description .detail-section-title { margin-bottom: 12px; }
.product-description p { margin: 0 0 10px; white-space: pre-wrap; }
.product-description p:last-child { margin-bottom: 0; }
.product-details-box { margin: 16px 0 24px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: #f8f9fc; }
.product-details-box > .detail-section-title { margin-bottom: 4px; }
.product-details-box .product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 0; padding: 0; border: 0; background: transparent; }
.product-details-box .product-fact { min-height: 62px; padding: 13px 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.product-details-box .product-fact:nth-last-child(-n+2) { border-bottom: 0; }
.product-details-box .detail-list { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--border); }
.product-message { min-height: 22px; margin-top: 12px; padding: 10px 12px; border: 1px solid #fed7aa; border-radius: 10px; background: #fff7ed; color: #9a3412; line-height: 1.45; }
.workspace-actions { padding: 16px 18px 4px !important; }
.workspace-actions .primary { min-height: 42px !important; border-radius: 10px; }
.tabs { display: flex; gap: 8px; padding: 12px 18px 16px; border-bottom: 1px solid var(--border); }
.tabs .tab { padding: 10px 16px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text2); font-weight: 700; cursor: pointer; }
.tabs .tab.active { border-color: #b8c9f7; background: #eef3ff; color: var(--blue); box-shadow: 0 2px 6px rgba(24,119,242,.10); }
@media (max-width: 760px) {
  .topbar .top-actions { order: 3; }
  .topbar .menu-toggle { order: 4; margin-left: 0; }
  .topbar .header-vendor { display: none !important; }
  .product-details-box .product-facts { grid-template-columns: 1fr; }
  .product-details-box .product-fact:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .product-details-box .product-fact:last-child { border-bottom: 0; }
  .workspace-actions { padding: 16px 15px 5px !important; }
  .tabs { padding: 12px 15px 16px; }
  .tabs .tab { flex: 1; }
}

/* Equal rhythm between catalog results, pagination, and personal workspace. */
.content > #results { margin-bottom: 18px; }
.content > .load-more { margin: 0 0 18px !important; min-height: 42px; }
.content > .load-more button { min-height: 42px; }
.content > .workspace { margin-top: 0; }

/* Marketplace navigation panel. */
@media (max-width: 760px) {
  .topbar .nav.is-open { display: grid; gap: 3px; }
  .topbar .nav a { min-height: 43px; padding: 11px 13px; border: 1px solid transparent; }
  .topbar .nav a.active { border-color: #dbe7ff; }
}

/* Marketplace navigation, unread indicators and conversation actions */
.nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-left:8px;border-radius:999px;background:#d92d20;color:#fff;font-size:11px;font-weight:800;line-height:1;vertical-align:middle}.nav-badge[hidden]{display:none!important}.header-badge{margin-left:-8px;margin-top:-20px;position:relative;z-index:2}.message-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:4px}.message-actions button{min-height:40px}.nav-logout{margin-top:8px;border-top:1px solid var(--line);padding-top:14px!important;color:#b42318!important}@media(max-width:760px){.nav-logout{margin-top:7px}.header-badge{margin-left:-10px}}

/* Product sharing */
.seo-actions,.detail-share-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.detail-share-actions{margin-top:16px}.seo-actions button,.detail-share-actions button{min-height:42px}@media(max-width:600px){.seo-actions,.detail-share-actions{display:grid;grid-template-columns:1fr 1fr}.seo-actions .primary,.detail-share-actions .primary{grid-column:1/-1}}

.share-label{display:inline-flex;align-items:center;color:var(--text3);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.share-channel{text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:600px){.share-label{grid-column:1/-1;margin-top:5px}}

/* Persistent favorites */
.card{position:relative}.card-share-button{position:absolute;top:12px;right:58px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:20px;line-height:1;cursor:pointer;box-shadow:none;text-shadow:0 1px 3px rgba(0,0,0,.55);transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.card-share-button:hover,.card-share-button:focus-visible{transform:scale(1.06);background:#eef5ff;box-shadow:0 6px 16px rgba(24,119,242,.2);outline:3px solid rgba(37,99,235,.16)}.card-share-button:active{transform:scale(.94)}.favorite-button{position:absolute;top:12px;right:12px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:22px;line-height:1;cursor:pointer;box-shadow:none;text-shadow:0 1px 3px rgba(0,0,0,.55)}.favorite-button:hover,.favorite-button:focus-visible{transform:scale(1.06);outline:3px solid rgba(37,99,235,.2)}.favorite-button:disabled{opacity:.6;cursor:wait}.favorite-button-detail{color:#b42318}.favorite-button-detail.is-saved{background:#fff1f0;border-color:#f3b6b0}

/* Favorites workspace */
.favorites-panel{margin:18px 0;padding:18px;border:1px solid var(--border);border-radius:18px;background:#fff}.favorites-list{display:grid;gap:9px}.favorite-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}.favorite-row:first-child{border-top:0}.favorite-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.favorite-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.favorite-row-actions>span{font-weight:800;color:var(--blue);white-space:nowrap}.favorites-empty{padding:15px 0}@media(max-width:600px){.favorite-row{align-items:flex-start;flex-direction:column}.favorite-row-actions{width:100%}.favorite-row-actions .ghost{flex:1}}

/* Search controls */
#saveSearchBtn{white-space:nowrap}.toolbar #sort{min-width:170px}@media(max-width:700px){.toolbar #sort,.toolbar #saveSearchBtn{width:100%}}
body.share-modal-open{overflow:hidden}.share-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px}.share-modal[hidden]{display:none}.share-backdrop{position:absolute;inset:0;background:rgba(10,31,52,.62)}.share-dialog{position:relative;width:min(100%,520px);max-height:calc(100vh - 32px);overflow:auto;padding:28px;border-radius:18px;background:#fff;color:var(--text,#16334f);box-shadow:0 24px 80px rgba(4,24,44,.3)}.share-dialog h2{margin:0 36px 8px 0;font-size:24px}.share-dialog p{color:var(--text3,#5d7185);line-height:1.5}.share-dialog label{display:block;margin:16px 0 7px;font-weight:700;font-size:14px}.share-dialog input,.share-dialog textarea{box-sizing:border-box;width:100%;border:1px solid var(--line,#d8e1e9);border-radius:10px;padding:11px 12px;color:inherit;background:#fff;font:inherit}.share-dialog input:focus,.share-dialog textarea:focus{outline:3px solid rgba(37,99,235,.2);border-color:#2563eb}.share-dialog textarea{resize:vertical}.share-close{position:absolute;top:12px;right:12px;border:0;background:transparent;color:var(--text3,#5d7185);font-size:28px;cursor:pointer}.share-error,.share-status{min-height:20px;margin:6px 0 0;font-size:13px}.share-error,.share-status.is-error{color:#b42318}.share-status.is-success{color:#087443}.share-count{margin:5px 0 0;text-align:right;font-size:12px}.share-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.share-actions button{min-height:42px}@media(max-width:600px){.share-dialog{padding:22px 18px}.share-actions{display:grid;grid-template-columns:1fr 1fr}.share-actions button{width:100%}}

.rfq-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Product page: unified information hierarchy and compact action system */
.product-description{padding:24px 26px;border:1px solid #dbe5f0;border-radius:18px;background:linear-gradient(145deg,#ffffff 0%,#f7faff 100%);box-shadow:0 8px 26px rgba(29,62,96,.07);line-height:1.8;color:#40566b}
.product-description .detail-section-title,.product-details-box .detail-section-title{display:flex;align-items:center;gap:9px;margin:0 0 14px;color:#173b5b;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.product-description .detail-section-title::before{content:"";width:4px;height:18px;border-radius:4px;background:linear-gradient(#2563eb,#7c3aed)}
.product-description p{margin:0;color:#334e68;font-size:15px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.product-details-box{padding:22px 24px;border:1px solid #dbe5f0;border-radius:18px;background:#f8fbff;box-shadow:0 8px 24px rgba(29,62,96,.055)}
.product-details-box .detail-section-title::before{content:"";width:8px;height:8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 5px rgba(22,163,74,.12)}
.product-details-box .product-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#dbe5f0;border:1px solid #dbe5f0;border-radius:13px;overflow:hidden}
.product-details-box .product-fact{min-height:82px;padding:14px 16px;background:#fff}.product-fact small{display:block;margin-bottom:6px;color:#7890a5;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.product-fact strong{color:#1f3b53;font-size:14px;line-height:1.45}.location-map{display:block;margin-top:6px;color:#2563eb;font-size:11px;font-weight:800}.detail-share-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.detail-share-actions>*{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid #dbe5f0;border-radius:10px;background:#fff;color:#31516c;font-size:11px;font-weight:800;white-space:nowrap}.detail-share-actions .share-channel{border-color:#cfe0ef}.share-channel:hover,.detail-share-actions button:hover{border-color:#2563eb;background:#f4f8ff;color:#1d4ed8}
@media(max-width:600px){.product-description,.product-details-box{padding:18px 16px;border-radius:15px}.product-description p{font-size:14px;line-height:1.75}.product-details-box .product-facts{grid-template-columns:1fr}.detail-share-actions .share-label{grid-column:1/-1;min-height:auto;justify-content:flex-start;padding:4px 0 0;border:0;background:transparent}}
/* SEO product variant: same single-card information system */
.seo-desc{margin-top:18px;padding:22px 24px!important;border:1px solid #dbe5f0!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#f7faff)!important;line-height:1.8!important;color:#334e68!important;white-space:pre-line}
.seo-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px!important;overflow:hidden;border:1px solid #dbe5f0;border-radius:14px;background:#dbe5f0}
.seo-fact{min-height:76px;padding:14px 16px!important;background:#fff!important}.seo-details{padding:20px 22px!important;border:1px solid #dbe5f0!important;border-radius:18px!important;background:#f8fbff!important}
.seo-actions{display:flex;flex-wrap:wrap;gap:8px!important}.seo-actions button,.seo-actions a{min-height:42px;padding:0 13px!important;border-radius:10px!important;font-size:11px!important;font-weight:800!important}
@media(max-width:600px){.seo-desc,.seo-details{padding:18px 16px!important}.seo-facts{grid-template-columns:1fr!important}.seo-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.seo-actions>*{width:100%;min-height:44px}.seo-actions .primary{grid-column:1/-1}}

/* Product detail redesign — unified information card and mobile-first actions */
.product-info{min-width:0}
.product-description{margin-top:22px;padding:28px 30px;border:1px solid #dce5ef;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(20,48,78,.07)}
.product-description .detail-section-title,.product-details-box .detail-section-title{margin-bottom:18px;color:#163b5b;font-size:11px;letter-spacing:.14em}
.product-description p{max-width:68ch;color:#334e68;font-size:15px;line-height:1.85}
.product-details-box{margin-top:14px;padding:26px 30px;border:1px solid #dce5ef;border-radius:20px;background:#f7faff;box-shadow:0 10px 30px rgba(20,48,78,.06)}
.product-facts-unified{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important;border:1px solid #dce5ef!important;border-radius:14px!important;background:#fff!important;overflow:hidden}
.product-facts-unified .product-fact{min-height:88px;padding:17px 18px!important;border-right:1px solid #e7eef5;border-bottom:1px solid #e7eef5;background:#fff!important}
.product-facts-unified .product-fact:nth-child(2n){border-right:0}
.product-facts-unified .product-fact:nth-last-child(-n+2){border-bottom:0}
.product-facts-unified .product-fact-wide{grid-column:1/-1;border-right:0!important;border-bottom:0!important;min-height:68px;background:#fbfdff!important}
.product-facts-unified .product-fact small{margin-bottom:7px;color:#7890a5;font-size:10px;letter-spacing:.12em}
.product-facts-unified .product-fact strong{color:#173b5b;font-size:14px;line-height:1.45}
.product-facts-unified .location-map{margin-top:6px;color:#2563eb;font-size:11px;font-weight:800}
.seller-box{margin-top:14px;padding:26px 30px;border:1px solid #dce5ef;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(20,48,78,.06)}
.seller-box h3{margin:0;color:#173b5b;font-size:18px}
@media(max-width:700px){
  .product-description,.product-details-box,.seller-box{padding:20px 16px;border-radius:16px}
  .product-description{margin-top:16px}.product-description p{font-size:14px;line-height:1.75}
  .product-facts-unified{grid-template-columns:1fr!important}
  .product-facts-unified .product-fact{border-right:0!important;border-bottom:1px solid #e7eef5!important;min-height:72px;padding:15px 16px!important}
  .product-facts-unified .product-fact:last-child{border-bottom:0!important}
  .product-facts-unified .product-fact-wide{min-height:64px}
}

/* Marketplace footer logo fallback — shared across all pages */
.marketplace-footer__logo::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background: url("/logo-diaspora.png") center / contain no-repeat;
}
.marketplace-footer__logo:has(img)::before { display: none; }

/* ═══════════════════════════════════════════════════════════════════════
   DIASPORA MARKET — shared UX system
   Single source of truth for catalog, product, seller and future listings.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --market-blue: #1769e0;
  --market-ink: #10243e;
  --market-muted: #607086;
  --market-line: #dfe7f0;
  --market-surface: #ffffff;
  --market-soft: #f5f8fc;
  --market-focus: 0 0 0 4px rgba(23,105,224,.14);
}

/* Shared brand: always the real diaspora mark + wordmark */
.topbar .brand,
.topbar .brand-with-logo,
.marketplace-footer__logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: var(--market-ink) !important;
  font-weight: 850 !important;
  letter-spacing: -.045em !important;
  line-height: 1 !important;
}
.topbar .brand img,
.topbar .brand-with-logo img,
.marketplace-footer__logo img {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  flex: 0 0 34px !important;
}
.topbar .brand > span,
.topbar .brand .brand-name,
.marketplace-footer__logo > span {
  color: var(--market-ink) !important;
}
.topbar .brand > span span,
.topbar .brand .brand-name span,
.marketplace-footer__logo > span span {
  color: var(--market-blue) !important;
}
.marketplace-footer__logo::before { display: none !important; }

/* Header actions: clear hierarchy and generous touch targets */
.topbar .header-action,
.top-actions > a,
.top-actions > button {
  min-height: 42px !important;
  padding: 0 15px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: -.01em !important;
}
.topbar .header-action:hover,
.top-actions > a:hover { transform: translateY(-1px); }
.topbar .header-vendor,
.top-actions .primary { background: var(--market-blue) !important; color: #fff !important; box-shadow: 0 5px 14px rgba(23,105,224,.2) !important; }
.topbar .header-messages,
.topbar .header-user { background: #fff !important; border: 1px solid var(--market-line) !important; color: var(--market-ink) !important; }
.topbar .header-messages:hover,
.topbar .header-user:hover { border-color: #a9c5ee !important; background: #f6f9ff !important; color: var(--market-blue) !important; }

/* Any shared button/input gets a visible focus state */
.primary:focus-visible, .ghost:focus-visible, button:focus-visible, a:focus-visible,
.field:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none !important;
  box-shadow: var(--market-focus) !important;
}

/* Catalog cards: stronger scan hierarchy that future listing cards inherit */
.card { border-radius: 14px !important; border-color: var(--market-line) !important; box-shadow: 0 2px 7px rgba(16,36,62,.06) !important; }
.card:hover { border-color: #a9c5ee !important; box-shadow: 0 12px 28px rgba(16,36,62,.11) !important; transform: translateY(-4px) !important; }
.thumb { background: #edf3fa !important; }
.card-body { padding: 16px !important; }
.card h3 { color: var(--market-ink) !important; font-size: 15px !important; line-height: 1.35 !important; }
.card .price { font-size: 19px !important; color: var(--market-blue) !important; }
.card .location { color: var(--market-muted) !important; }

/* Seller page: no nested framed cards, clear profile/listings hierarchy */
.seller-page .workspace,
.seller-page .seller-panel,
#seller-profile.workspace { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.seller-page .workspace-head,
#seller-profile .workspace-head { padding: 0 0 22px !important; border-bottom: 1px solid var(--market-line) !important; background: transparent !important; }
.seller-page .workspace-head h1,
#seller-profile h1 { color: var(--market-ink) !important; font-size: clamp(30px,4vw,48px) !important; }
.seller-page .hero-note,
#seller-profile .hero-note { border: 1px solid #cbdcf2 !important; background: #f5f9ff !important; box-shadow: none !important; border-radius: 12px !important; }
.seller-page .section-head { margin-top: 32px !important; }
.seller-page .grid { gap: 16px !important; }

/* Shared Marketplace footer: same logo, readable links, strong grouping */
.marketplace-footer {
  background: #0e1b2d !important;
  color: #fff !important;
  border-top: 4px solid #1769e0 !important;
  margin-top: 36px !important;
}
.marketplace-footer__inner { gap: 48px !important; padding: 44px 36px !important; }
.marketplace-footer__brand { min-width: 260px !important; }
.marketplace-footer__logo { color: #fff !important; font-size: 23px !important; }
.marketplace-footer__logo > span { color: #fff !important; }
.marketplace-footer__logo > span span { color: #fff !important; }
.marketplace-footer__brand p { max-width: 360px !important; margin: 16px 0 8px !important; color:#fff !important; font-size: 14px !important; line-height: 1.65 !important; }
.marketplace-footer__brand small { color:#fff !important; font-size: 12px !important; }
.marketplace-footer__group { min-width: 150px !important; }
.marketplace-footer__group h2 { margin: 0 0 14px !important; color: #fff !important; font-size: 12px !important; letter-spacing: .1em !important; text-transform: uppercase !important; }
.marketplace-footer__group a { display: block !important; padding: 9px 12px !important; margin: 0 0 2px !important; color:#fff !important; font-size: 13px !important; line-height: 1.45 !important; transition: color .15s, padding-left .15s !important; }
.marketplace-footer__group a:hover { padding-left: 4px !important; color: #fff !important; }
.marketplace-footer__bottom { padding: 18px 36px !important; border-top: 1px solid rgba(255,255,255,.16) !important; color:#fff !important; font-size: 12px !important; }
.marketplace-footer__bottom span { color: inherit !important; }

@media (max-width: 700px) {
  .topbar .header-action, .top-actions > a, .top-actions > button { min-height: 44px !important; }
  .marketplace-footer__inner { padding: 32px 20px !important; gap: 28px !important; }
  .marketplace-footer__bottom { padding: 16px 20px !important; }
}

/* Mesaje: actiuni clare, compozitor suficient de mare si identitate vizibila. */
.conversation-actions { flex-direction: column; align-items: stretch; min-width: 190px; }
.conversation-actions button { min-height: 42px; width: 100%; }
.message-author { font-size: 11px; font-weight: 800; color: var(--market-ink); margin-bottom: 5px; }
.message-bubble.mine .message-author { color: #174ea6; }
.compose { gap: 14px; padding: 18px 22px; }
.compose textarea { min-height: 92px; font-size: 14px; line-height: 1.45; }
.compose button { min-height: 48px; padding: 12px 22px; font-size: 14px; }
@media(max-width:760px){ .conversation-actions { width: 100%; min-width: 0; } .compose { flex-direction: column; align-items: stretch; } .compose textarea { min-height: 110px; } .compose button { width: 100%; } }

.saved-search-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}.saved-search-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.saved-search-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:600px){.saved-search-row{align-items:flex-start;flex-direction:column}.saved-search-actions{width:100%}.saved-search-actions .ghost{flex:1}}

.product-main-image img{cursor:zoom-in}.product-lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:30px;background:rgba(12,18,30,.92)}.product-lightbox[hidden]{display:none}.product-lightbox figure{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:min(92vw,1100px);max-height:92vh;margin:0}.product-lightbox img{max-width:100%;max-height:82vh;object-fit:contain;border-radius:12px}.product-lightbox figcaption{color:#fff;font-size:13px;text-align:center}.product-lightbox-close,.product-lightbox-prev,.product-lightbox-next{position:absolute;border:0;color:#fff;background:rgba(255,255,255,.14);cursor:pointer;border-radius:50%;width:44px;height:44px;font-size:30px;line-height:1}.product-lightbox-close{top:22px;right:22px}.product-lightbox-prev{left:22px}.product-lightbox-next{right:22px}.product-lightbox-close:focus-visible,.product-lightbox-prev:focus-visible,.product-lightbox-next:focus-visible{outline:3px solid #fff;outline-offset:3px}.lightbox-open{overflow:hidden}@media(max-width:600px){.product-lightbox{padding:18px}.product-lightbox-prev{left:10px}.product-lightbox-next{right:10px}.product-lightbox-close{top:12px;right:12px}}

/* Accessible product-report modal */
.report-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px}.report-modal-backdrop{position:absolute;inset:0;background:rgba(15,29,48,.55);backdrop-filter:blur(3px)}.report-modal-card{position:relative;width:min(100%,520px);max-height:min(90vh,680px);overflow:auto;padding:28px;background:#fff;border:1px solid #dbe5f0;border-radius:20px;box-shadow:0 22px 70px rgba(15,35,65,.28);color:#17263a}.report-modal-close{position:absolute;top:12px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f5f9;color:#526173;font-size:24px;line-height:1;cursor:pointer}.report-modal-close:hover,.report-modal-close:focus-visible{background:#e5eef9;color:#1877f2;outline:3px solid rgba(24,119,242,.18)}.report-modal-card h2{margin:6px 40px 8px 0;font-size:25px;letter-spacing:-.04em}.report-modal-intro{margin:0 0 20px;color:#64748b;font-size:13px;line-height:1.55}.report-modal-card fieldset{display:grid;gap:8px;margin:0 0 18px;padding:0;border:0}.report-modal-card legend,.report-details-label{display:block;margin-bottom:9px;color:#334155;font-size:13px;font-weight:800}.report-choice{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#334155;font-size:13px;cursor:pointer}.report-choice:has(input:checked){border-color:#1877f2;background:#eff6ff;color:#1258b0;box-shadow:0 0 0 2px rgba(24,119,242,.12)}.report-choice input{accent-color:#1877f2}.report-details-label span{color:#94a3b8;font-weight:500}.report-modal-card textarea{width:100%;resize:vertical;padding:11px 12px;border:1px solid #dbe5f0;border-radius:10px;outline:0;color:#17263a;background:#fff;font-size:13px;line-height:1.5}.report-modal-card textarea:focus{border-color:#1877f2;box-shadow:0 0 0 3px rgba(24,119,242,.15)}.report-modal-error{min-height:22px;margin-top:10px;color:#b42318;font-size:12px;font-weight:700}.report-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}@media(max-width:560px){.report-modal{padding:12px}.report-modal-card{padding:22px 18px;border-radius:16px}.report-modal-card h2{font-size:22px}.report-modal-actions{flex-direction:column-reverse}.report-modal-actions button{width:100%}}

/* Conversation identity and report modal */
.message-bubble{border:1px solid #dbe5f0;box-shadow:0 3px 12px rgba(24,54,87,.06)}.message-bubble.mine{border-color:#b9d4f8;background:#eaf3ff;align-self:flex-end}.message-bubble.theirs{background:#f6f8fb;align-self:flex-start}.message-author{font-size:11px;font-weight:800;color:#163b68;margin-bottom:5px}.message-bubble.mine .message-author{color:#1258b0}.message-bubble small{color:#73849a}.thread-report-modal{position:fixed;inset:0;z-index:2100;display:grid;place-items:center;padding:16px}.thread-report-backdrop{position:absolute;inset:0;background:rgba(15,29,48,.55);backdrop-filter:blur(3px)}.thread-report-card{position:relative;width:min(100%,520px);max-height:90vh;overflow:auto;padding:28px;background:#fff;border:1px solid #dbe5f0;border-radius:20px;box-shadow:0 22px 70px rgba(15,35,65,.28);color:#17263a}.thread-report-close{position:absolute;top:12px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f5f9;color:#526173;font-size:24px;cursor:pointer}.thread-report-card h2{margin:6px 40px 8px 0;font-size:25px;letter-spacing:-.04em}.thread-report-card p{color:#64748b;font-size:13px;line-height:1.55}.thread-report-card fieldset{display:grid;gap:8px;margin:18px 0;padding:0;border:0}.thread-report-card legend,.thread-report-details{display:block;margin-bottom:9px;color:#334155;font-size:13px;font-weight:800}.thread-report-choice{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#334155;font-size:13px;cursor:pointer}.thread-report-choice:has(input:checked){border-color:#1877f2;background:#eff6ff;color:#1258b0}.thread-report-choice input{accent-color:#1877f2}.thread-report-details span{color:#94a3b8;font-weight:500}.thread-report-card textarea{width:100%;resize:vertical;padding:11px 12px;border:1px solid #dbe5f0;border-radius:10px;outline:0;font:inherit;color:#17263a}.thread-report-error{min-height:22px;margin-top:10px;color:#b42318;font-size:12px;font-weight:700}.thread-report-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}@media(max-width:560px){.thread-report-card{padding:22px 18px}.thread-report-actions{flex-direction:column-reverse}.thread-report-actions button{width:100%}}

/* Search filters stay compact on mobile and expand on demand. */
.search-bar-row{display:flex;gap:9px;align-items:center;grid-column:1/-1}
.search-bar-row #q{flex:1;min-width:0}
.search-toggle{display:none}
.advanced-search{display:contents}
@media(max-width:600px){
  .toolbar{display:block}
  .search-bar-row{display:flex;margin:0}
  .search-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}
  .search-toggle-label{display:inline-block}.search-toggle-chevron{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}.search-toggle.is-open .search-toggle-chevron{transform:rotate(225deg) translate(-1px,-1px)}
  .search-toggle.is-open{border-color:var(--purple);color:var(--purple);background:#f5f3ff}
  .advanced-search{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
  .advanced-search[hidden]{display:none}
}

.marketplace-toast{position:fixed;left:50%;bottom:28px;z-index:3200;max-width:min(92vw,520px);transform:translate(-50%,20px);padding:15px 20px;border:1px solid rgba(147,197,253,.45);border-radius:14px;background:linear-gradient(135deg,#1769e8,#1554b8);box-shadow:0 14px 36px rgba(15,53,120,.3);color:#fff;font-size:14px;font-weight:700;line-height:1.4;text-align:center;opacity:0;pointer-events:none;transition:opacity .22s ease,transform .22s ease}.marketplace-toast.is-visible{opacity:1;transform:translate(-50%,0)}@media(max-width:600px){.marketplace-toast{bottom:18px;padding:14px 16px;font-size:13px}}
.product-main-image{cursor:zoom-in}.product-main-image:focus-visible{outline:3px solid #1877f2;outline-offset:3px}.product-gallery-lightbox{position:fixed;inset:0;z-index:2500;display:grid;place-items:center;padding:24px;background:rgba(9,18,31,.9)}.product-gallery-lightbox-backdrop{position:absolute;inset:0}.product-gallery-lightbox-panel{position:relative;z-index:1;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:16px;width:min(1100px,96vw);height:min(850px,92vh)}.product-gallery-lightbox-image{grid-column:2;grid-row:1;max-width:100%;max-height:calc(92vh - 64px);justify-self:center;object-fit:contain;border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.35)}.product-gallery-lightbox-close,.product-gallery-lightbox-prev,.product-gallery-lightbox-next{border:0;border-radius:50%;cursor:pointer;color:#fff;background:rgba(255,255,255,.16);font-size:34px;line-height:1;width:44px;height:44px}.product-gallery-lightbox-close{position:absolute;right:0;top:0;font-size:28px}.product-gallery-lightbox-prev{grid-column:1;grid-row:1}.product-gallery-lightbox-next{grid-column:3;grid-row:1}.product-gallery-lightbox-count{grid-column:2;grid-row:2;justify-self:center;color:#fff;font-size:13px;font-weight:700}.product-gallery-lightbox button:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}@media(max-width:600px){.product-gallery-lightbox{padding:12px}.product-gallery-lightbox-panel{grid-template-columns:38px minmax(0,1fr) 38px;gap:6px;width:100%;height:80vh}.product-gallery-lightbox-prev,.product-gallery-lightbox-next{width:36px;height:36px;font-size:28px}.product-gallery-lightbox-image{max-height:70vh}.product-gallery-lightbox-close{right:4px;top:-42px}}

/* Seller workspace responsive pass — compact controls without horizontal overflow. */
.seller-page .workspace-head{gap:20px}
.seller-page .seller-panel{min-width:0}
.seller-page .listing-row,.seller-page .offer-card-head{min-width:0}
.seller-page .listing-copy,.seller-page .offer-card-head>div{min-width:0}
.seller-page .listing-copy b,.seller-page .offer-card-head b{display:block;overflow-wrap:anywhere}
.seller-page .listing-actions,.seller-page .offer-card-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.seller-page .listing-actions button,.seller-page .offer-card-actions button{min-height:40px}
.seller-page input,.seller-page select,.seller-page textarea{max-width:100%}
@media(max-width:720px){
  .seller-page .workspace-head{align-items:flex-start;flex-direction:column;gap:10px}
  .seller-page .session{align-self:flex-start}
  .seller-page .listing-row{display:flex;align-items:flex-start;flex-direction:column;gap:12px}
  .seller-page .listing-actions,.seller-page .offer-card-actions{width:100%}
  .seller-page .listing-actions button,.seller-page .offer-card-actions button{flex:1 1 140px}
  .seller-page .offer-card-head{align-items:flex-start;flex-direction:column;gap:8px}
  .seller-page .offer-card-price{font-size:1.2rem}
}
@media(max-width:420px){
  .seller-page .listing-actions,.seller-page .offer-card-actions{display:grid;grid-template-columns:1fr}
  .seller-page .listing-actions button,.seller-page .offer-card-actions button{width:100%}
}

/* Seller dashboard summary. */
.seller-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.metric-card,.metric-next{min-width:0;padding:16px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(15,35,65,.05)}
.metric-card span,.metric-next span{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.metric-card strong{display:block;margin:6px 0 3px;color:var(--text);font-size:26px;line-height:1}
.metric-card small{color:var(--muted);font-size:11px}.metric-next{grid-column:1/-1;display:flex;align-items:center;gap:12px;background:#f7faff}.metric-next b{color:var(--text);font-size:14px;overflow-wrap:anywhere}
@media(max-width:720px){.seller-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric-next{grid-column:1/-1;display:block}.metric-next b{display:block;margin-top:5px}}
@media(max-width:420px){.seller-metrics{grid-template-columns:1fr}.metric-next{grid-column:auto}}

/* Seller dashboard summary. */
.seller-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.metric-card,.metric-next{min-width:0;padding:16px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(15,35,65,.05)}
.metric-card span,.metric-next span{display:block;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.metric-card strong{display:block;margin:6px 0 3px;color:var(--text);font-size:26px;line-height:1}
.metric-card small{color:var(--muted);font-size:11px}.metric-next{grid-column:1/-1;display:flex;align-items:center;gap:12px;background:#f7faff}.metric-next b{color:var(--text);font-size:14px;overflow-wrap:anywhere}
@media(max-width:720px){.seller-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric-next{grid-column:1/-1;display:block}.metric-next b{display:block;margin-top:5px}}
@media(max-width:420px){.seller-metrics{grid-template-columns:1fr}.metric-next{grid-column:auto}}

/* Buyer workspace responsive pass. */
.workspace,.rfq-workspace,.marketplace-notification-panel,.favorites-panel,.saved-searches-panel{min-width:0}
.workspace-head,.workspace-head-right,.workspace-actions,.favorite-row,.saved-search-row{min-width:0}
.favorite-row,.saved-search-row{overflow-wrap:anywhere}
.favorite-row-actions,.saved-search-actions,.workspace-actions{display:flex;flex-wrap:wrap;gap:8px}
.favorite-row-actions button,.saved-search-actions button,.workspace-actions button{min-height:40px}
@media(max-width:720px){
  .rfq-layout{grid-template-columns:1fr}
  .workspace-head{align-items:flex-start;flex-direction:column;gap:10px}
  .workspace-head-right,.workspace-actions{width:100%}
  .workspace-actions button,.favorite-row-actions button,.saved-search-actions button{flex:1 1 140px}
  .favorite-row,.saved-search-row{align-items:flex-start;flex-direction:column;gap:10px}
  .favorite-row-actions,.saved-search-actions{width:100%}
}
@media(max-width:420px){
  .workspace-actions,.favorite-row-actions,.saved-search-actions{display:grid;grid-template-columns:1fr}
  .workspace-actions button,.favorite-row-actions button,.saved-search-actions button{width:100%}
}

/* Workspace accessibility pass. */
.workspace button:focus-visible,.workspace a:focus-visible,.workspace input:focus-visible,.workspace select:focus-visible,.workspace textarea:focus-visible,.rfq-workspace button:focus-visible,.rfq-workspace a:focus-visible{outline:3px solid #1877f2;outline-offset:2px}
.workspace button,.workspace a,.rfq-workspace button,.rfq-workspace a{touch-action:manipulation}
.workspace .favorite-button,.workspace .card-share-button{min-width:40px;min-height:40px}
@media(prefers-reduced-motion:reduce){.workspace *,.workspace *::before,.workspace *::after,.rfq-workspace *,.rfq-workspace *::before,.rfq-workspace *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

.seller-metrics .metric-card small a{color:var(--purple);font-weight:800;text-decoration:none}.seller-metrics .metric-card small a:hover{text-decoration:underline}

.seller-nav-messages{display:inline-flex;align-items:center;gap:6px}.seller-message-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#d92d20;color:#fff;font-size:10px;font-weight:900;line-height:1}

.saved-search-dialog{width:min(460px,calc(100vw - 28px));padding:0;border:0;border-radius:18px;background:#fff;color:var(--text);box-shadow:0 24px 80px rgba(15,35,65,.28)}.saved-search-dialog::backdrop{background:rgba(15,23,42,.5)}.saved-search-dialog form{display:grid;gap:10px;padding:24px}.saved-search-dialog h2{margin:0;font-size:22px}.saved-search-dialog p{margin:0 0 6px;color:var(--muted);font-size:13px;line-height:1.5}.saved-search-dialog label{font-size:13px;font-weight:800}.saved-search-dialog input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;font:inherit}.saved-search-dialog input:focus-visible{outline:3px solid #1877f2;outline-offset:2px}.saved-search-error{min-height:18px;color:#b42318;font-size:12px;font-weight:700}.saved-search-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}@media(max-width:480px){.saved-search-dialog-actions{display:grid;grid-template-columns:1fr}.saved-search-dialog-actions button{width:100%}}

.site-error-dialog{width:min(520px,calc(100vw - 28px));padding:0;border:0;border-radius:18px;background:#fff;color:var(--text);box-shadow:0 24px 80px rgba(15,35,65,.28)}.site-error-dialog::backdrop{background:rgba(15,23,42,.5)}.site-error-dialog form{display:grid;gap:10px;padding:24px}.site-error-dialog h2{margin:0;font-size:22px}.site-error-dialog p{margin:0;color:var(--muted);font-size:13px}.site-error-dialog label{font-size:13px;font-weight:800}.site-error-dialog textarea{min-height:130px;width:100%;resize:vertical;padding:10px 12px;border:1px solid var(--border);border-radius:10px;font:inherit}.site-error-dialog textarea:focus-visible{outline:3px solid #1877f2;outline-offset:2px}.site-error-actions{display:flex;justify-content:flex-end;gap:9px}@media(max-width:480px){.site-error-actions{display:grid;grid-template-columns:1fr}.site-error-actions button{width:100%}}

.thread-report-dialog{width:min(520px,calc(100vw - 28px));padding:0;border:0;border-radius:18px;background:#fff;color:var(--text);box-shadow:0 24px 80px rgba(15,35,65,.28)}.thread-report-dialog::backdrop{background:rgba(15,23,42,.5)}.thread-report-dialog form{display:grid;gap:10px;padding:24px}.thread-report-dialog h2{margin:0;font-size:22px}.thread-report-dialog p{margin:0;color:var(--muted);font-size:13px}.thread-report-dialog label{font-size:13px;font-weight:800}.thread-report-dialog label span{color:var(--muted);font-weight:500}.thread-report-dialog select,.thread-report-dialog textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;font:inherit}.thread-report-dialog select{min-height:44px}.thread-report-dialog textarea{min-height:110px;resize:vertical}.thread-report-dialog select:focus-visible,.thread-report-dialog textarea:focus-visible{outline:3px solid #1877f2;outline-offset:2px}.thread-report-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}@media(max-width:480px){.thread-report-actions{display:grid;grid-template-columns:1fr}.thread-report-actions button{width:100%}}

/* Single product mobile fix: compact actions and styled purchase request form. */
.seo-order-box {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,48,78,.06);
}
.seo-order-box h2 { margin: 0 0 8px; color: #173b5b; font-size: 22px; }
.seo-order-box p { margin: 0 0 18px; color: #40566b; font-size: 14px; line-height: 1.5; }
.seo-order-box form { display: grid; grid-template-columns: minmax(110px,.55fr) minmax(180px,1fr) 1.5fr auto; gap: 10px; align-items: end; }
.seo-order-box label { display: grid; gap: 6px; color: #40566b; font-size: 12px; font-weight: 800; }
.seo-order-box input, .seo-order-box select, .seo-order-box textarea { box-sizing: border-box; width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #cbd8e5; border-radius: 8px; background: #fff; color: #172b3f; font: inherit; }
.seo-order-box textarea { min-height: 42px; resize: vertical; }
.seo-order-box button { min-height: 42px; padding: 9px 14px; border: 1px solid #1769e0; border-radius: 8px; background: #1769e0; color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
@media (max-width: 700px) {
  .seo-order-box { margin-top: 24px; padding: 18px 16px; border-radius: 15px; }
  .seo-order-box h2 { font-size: 21px; }
  .seo-order-box form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
  .seo-order-box label { min-width: 0; }
  .seo-order-box textarea, .seo-order-box button, .seo-order-box .seo-note { grid-column: 1 / -1; }
  .seo-order-box button { width: 100%; min-height: 38px; padding: 8px 10px; font-size: 12px; }
}

/* Marketplace catalog mobile: dense two-column marketplace layout. */
@media (max-width: 700px) {
  #results.grid,
  .grid#results {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }
  #results.grid .card {
    min-width: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 9px rgba(16,36,62,.08) !important;
  }
  #results.grid .card .thumb {
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  #results.grid .card .card-body {
    min-width: 0 !important;
    padding: 9px !important;
  }
  #results.grid .card .meta {
    display: block !important;
    margin-bottom: 5px !important;
    overflow: hidden !important;
    color: #718096 !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  #results.grid .card .meta span + span { display: none !important; }
  #results.grid .card h3 {
    display: -webkit-box !important;
    min-height: 2.45em !important;
    margin: 0 0 7px !important;
    overflow: hidden !important;
    color: #1d3550 !important;
    font-size: 12px !important;
    line-height: 1.22 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }
  #results.grid .card .price {
    margin-top: auto !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  #results.grid .card .location {
    margin-top: 5px !important;
    overflow: hidden !important;
    color: #718096 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  #results.grid .card .favorite-button,
  #results.grid .card .card-share-button {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    font-size: 15px !important;
  }
}

/* Marketplace footer: written headings and a white mobile accordion. */
.marketplace-shell-footer {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  background: #fff !important;
  color: #172033 !important;
  border-top: 1px solid #e3e8f2 !important;
  box-shadow: 0 -8px 26px rgba(30, 41, 59, .04);
}

.marketplace-shell-footer::before {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #4f46e5 34%, #0f766e 68%, #f59e0b 100%);
  content: "";
}

.marketplace-footer-brand {
  box-sizing: border-box;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 20px 48px 6px;
}

.marketplace-footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #172033;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}

.marketplace-footer-brand__logo img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: contain;
}

.marketplace-footer-brand__logo > span,
.marketplace-footer-brand__logo > span > span {
  color: #172033;
}

.marketplace-footer-brand p {
  max-width: 420px;
  margin: 9px 0 5px;
  color: #64748b !important;
  font-size: 12.5px;
  line-height: 1.55;
}

.marketplace-footer-brand small {
  color: #64748b !important;
  font-size: 11px;
}

.marketplace-shell-footer .footer-cols {
  width: min(1240px, 100%);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 6px 48px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
}

.marketplace-shell-footer .footer-col {
  min-width: 0;
  padding: 0 0 24px;
}

.marketplace-shell-footer .footer-col-t {
  margin: 0 0 7px;
  color: #172033 !important;
  cursor: default;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.marketplace-shell-footer .footer-col-t::after {
  display: none;
}

.marketplace-shell-footer .footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff !important;
}

.marketplace-shell-footer .footer-col-links > a {
  box-sizing: border-box;
  min-height: 26px;
  padding: 2px 0 !important;
  color: #526176 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color .15s ease, padding-left .15s ease;
}

.marketplace-shell-footer .footer-col-links > a:hover {
  padding-left: 4px !important;
  color: #4338ca !important;
}

.marketplace-footer-more {
  margin-top: 4px;
}

.marketplace-footer-more summary {
  width: fit-content;
  padding: 4px 0;
  color: #4338ca;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.marketplace-footer-more summary::-webkit-details-marker {
  display: none;
}

.marketplace-footer-more summary::after {
  display: none;
}

.marketplace-footer-more > div {
  display: grid;
  gap: 0;
  margin-top: 3px;
}

.marketplace-footer-more a {
  display: flex !important;
  align-items: center;
}

.marketplace-footer-bottom {
  width: min(1240px, 100%);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 15px 48px 20px !important;
  border-top: 1px solid #e8ecf4 !important;
  background: #fff !important;
}

.marketplace-footer-bottom .fcopy {
  color: #64748b !important;
  font-size: 11px;
}

@media (max-width: 1050px) {
  .marketplace-footer-brand {
    padding-right: 28px;
    padding-left: 28px;
  }

  .marketplace-shell-footer .footer-cols {
    padding-right: 28px;
    padding-left: 28px;
    gap: 0 22px;
  }

  .marketplace-footer-bottom {
    padding-right: 28px !important;
    padding-left: 28px !important;
  }
}

@media (max-width: 768px) {
  .marketplace-shell-footer {
    padding-bottom: 0 !important;
  }

  .marketplace-footer-brand {
    padding: 18px 20px 14px;
  }

  .marketplace-shell-footer .footer-cols {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .marketplace-shell-footer .footer-col {
    padding: 0;
  }

  .marketplace-shell-footer .footer-col-t {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
  }

  .marketplace-shell-footer .footer-col-t::after {
    display: block;
    width: 22px;
    color: #6366f1;
    content: "+";
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
  }

  .marketplace-shell-footer .footer-col.open > .footer-col-t::after {
    content: "−";
  }

  .marketplace-shell-footer .footer-col-links {
    display: none;
    padding: 0 20px 10px;
    background: #fff !important;
  }

  .marketplace-shell-footer .footer-col.open > .footer-col-links {
    display: flex;
  }

  .marketplace-shell-footer .footer-col-links > a {
    min-height: 27px;
    padding: 3px 0 !important;
  }

  .marketplace-footer-more {
    display: block;
    margin: 0;
    padding: 0;
  }

  .marketplace-footer-more summary {
    display: none;
  }

  .marketplace-footer-more > div {
    display: grid;
    gap: 0;
    margin-top: 0;
  }

  .marketplace-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 12px 20px 20px !important;
  }
}

.producer-outreach-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}

.producer-outreach-filters label {
  display: grid;
  gap: 5px;
  color: var(--text2, #64748b);
  font-size: 11px;
  font-weight: 800;
}

.producer-outreach-filters input,
.producer-outreach-filters select {
  min-width: 150px;
  min-height: 38px;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--border, #e3e8f2);
  border-radius: 9px;
  background: #fff;
  color: var(--text, #172033);
  font: inherit;
  font-size: 12px;
}

.producer-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.producer-summary span {
  padding: 8px 10px;
  border: 1px solid #e3e8f2;
  border-radius: 9px;
  background: #fff;
  color: #64748b;
  font-size: 11px;
}

.producer-summary b {
  margin-right: 3px;
  color: #172033;
  font-size: 14px;
}

.producer-queue-card .moderation-card-head h2 {
  margin-bottom: 4px;
}

.producer-queue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 10px 0 8px;
  color: #64748b;
  font-size: 12px;
}

.producer-queue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.producer-queue-tag {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f5f3ff;
  color: #4338ca;
  font-size: 10px;
  font-weight: 800;
}

.producer-invite-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #166534;
  font-size: 12px;
}

.producer-invite-result code {
  overflow-wrap: anywhere;
  color: #334155;
  font-size: 11px;
}

@media (max-width: 700px) {
  .producer-outreach-filters {
    width: 100%;
  }

  .producer-outreach-filters label,
  .producer-outreach-filters input,
  .producer-outreach-filters select {
    width: 100%;
  }

  .producer-outreach-filters label {
    flex: 1 1 140px;
  }
}
@media (max-width: 360px) {
  #results.grid { gap: 7px !important; }
  #results.grid .card .card-body { padding: 8px !important; }
  #results.grid .card h3 { font-size: 11px !important; }
  #results.grid .card .price { font-size: 13px !important; }
}

/* Listing thumbnails: preserve original proportions and avoid artificial blur. */
#results.grid .card .thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  image-rendering: auto !important;
  transform: none !important;
}
@media (max-width: 700px) {
  #results.grid .card .thumb {
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    background: #f7f9fc !important;
  }
  #results.grid .card .thumb img {
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }
}

@media (max-width: 700px) {
}

/* Product detail actions */
.product-page .product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.product-page .product-actions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #1769e0;
  border-radius: 10px;
  background: #1769e0;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 750;
  text-align: center;
  white-space: normal;
}
.product-page .product-actions > *:hover {
  border-color: #125fc9;
  background: #125fc9;
  color: #ffffff;
}
.product-page .product-actions .action-purchase,
.product-page .product-actions .action-contact,
.product-page .product-actions .action-share {
  grid-column: 1 / -1;
  min-height: 50px;
  font-size: 14px;
}
.product-page .product-actions .action-reserve {
  grid-column: 1 / 2;
  min-height: 50px;
}
.product-page .product-actions .action-share {
  grid-column: 2 / 3;
}
.product-page .product-actions .action-messages,
.product-page .product-actions .favorite-button-detail,
.product-page .product-actions .action-copy,
.product-page .product-actions .action-email,
.product-page .product-actions .action-whatsapp,
.product-page .product-actions .action-facebook,
.product-page .product-actions .action-telegram,
.product-page .product-actions .action-x,
.product-page .product-actions .action-storefront,
.product-page .product-actions .action-report {
  display: none;
}
.product-page .product-share-panel {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px solid #d9e5f1;
  border-radius: 10px;
  background: #f8fbff;
}
.product-page .share-panel-title {
  margin-bottom: 10px;
  color: #294863;
  font-size: 12px;
  font-weight: 800;
}
.product-page .share-panel-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.product-page .share-panel-options > * {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #c7d8ea;
  border-radius: 8px;
  background: #ffffff;
  color: #1769e0;
  font-size: 12px;
}
.product-page .share-panel-options .share-icon,
.product-page .share-panel-options .share-icon svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 700px) {
  .product-page .product-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-page .product-actions > * {
    min-height: 48px;
    padding: 10px 8px;
    font-size: 12px;
  }
  .product-page .product-actions .action-purchase,
  .product-page .product-actions .action-contact {
    grid-column: 1 / -1;
    min-height: 50px;
    font-size: 13px;
  }
  .product-page .product-actions .action-reserve {
    grid-column: 1 / 2;
  }
  .product-page .product-actions .action-share {
    grid-column: 2 / 3;
    min-height: 50px;
    font-size: 13px;
  }
  .product-page .share-panel-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Final marketplace card and SEO detail normalization */
#results.grid .card .thumb {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}
#results.grid .card .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.seo-facts {
  display: grid !important;
  gap: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.seo-fact, .seo-fact-wide {
  min-height: 0 !important;
  padding: 9px 0 !important;
  border: 0 !important;
  border-top: 1px solid #e7edf3 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.seo-fact:nth-child(1), .seo-fact:nth-child(2) { border-top: 0 !important; }
.seo-fact small { margin-bottom: 4px !important; }
@media (max-width: 700px) {
  .seo-fact, .seo-fact-wide { padding: 7px 0 !important; }
  .seo-fact strong { line-height: 1.3 !important; }
}

/* Final catalog card contract: one image frame, compact details. */
#results.grid .card .thumb {
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #edf3fa !important;
}
#results.grid .card .thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}
#results.grid .card .card-body {
  padding: 10px 11px 11px !important;
}
#results.grid .card .meta { margin-bottom: 4px !important; line-height: 1.15 !important; }
#results.grid .card h3 { margin-bottom: 6px !important; }
#results.grid .card .location { margin-top: 4px !important; }
@media (max-width: 700px) {
  #results.grid .card .card-body { padding: 9px 10px 10px !important; }
  #results.grid .card .meta { margin-bottom: 4px !important; }
  #results.grid .card h3 { margin-bottom: 5px !important; }
  #results.grid .card .location { margin-top: 4px !important; }
}

/* Catalog cards: metadata overlay + compact seller details. */
#results.grid .card .thumb { position: relative !important; }
#results.grid .card-overlay-category,
#results.grid .card-overlay-title {
  position: absolute;
  left: 10px;
  right: 10px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
  pointer-events: none;
}
#results.grid .card-overlay-category {
  top: 9px;
  right: auto;
  max-width: calc(100% - 78px);
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(15,35,58,.72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#results.grid .card-overlay-title {
  bottom: 9px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#results.grid .card-overlay-title::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -14px;
  right: -14px;
  bottom: -10px;
  height: 74px;
  background: linear-gradient(transparent, rgba(5,20,35,.78));
}
#results.grid .card-share-button,
#results.grid .card .favorite-button {
  top: 9px !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 3px 10px rgba(10,28,47,.2) !important;
}
#results.grid .card-share-button { left: 9px !important; right: auto !important; padding: 0 !important; color: #fff !important; }
#results.grid .card-share-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#results.grid .card .favorite-button { right: 9px !important; left: auto !important; color: #fff !important; font-size: 21px !important; }
#results.grid .card .card-body { padding: 8px 10px 9px !important; }
#results.grid .card-seller {
  overflow: hidden;
  color: #1d3550;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#results.grid .card-details { margin-top: 3px; }
#results.grid .card .price { font-size: 15px !important; line-height: 1.15 !important; }
#results.grid .card .location { margin-top: 3px !important; font-size: 10px !important; line-height: 1.15 !important; }
#results.grid .card:hover .thumb img { transform: none !important; }
@media (max-width: 700px) {
  #results.grid .card-overlay-category { top: 8px; left: 8px; font-size: 8px; padding: 4px 6px; }
  #results.grid .card-overlay-title { left: 8px; right: 8px; bottom: 8px; font-size: 12px; }
  #results.grid .card-share-button,
  #results.grid .card .favorite-button { top: 8px !important; width: 29px !important; height: 29px !important; min-width: 29px !important; min-height: 29px !important; }
  #results.grid .card-share-button { left: 8px !important; }
  #results.grid .card .favorite-button { right: 8px !important; font-size: 18px !important; }
  #results.grid .card-share-button svg { width: 15px; height: 15px; }
  #results.grid .card .card-body { padding: 7px 9px 8px !important; }
  #results.grid .card-seller { font-size: 11px; }
  #results.grid .card .price { font-size: 13px !important; }
  #results.grid .card .location { font-size: 9px !important; }
}

/* Final mobile catalog presentation — image is the visual anchor. */
#results.grid .card .thumb { position: relative !important; overflow: hidden !important; }
#results.grid .card-overlay-category {
  position: absolute !important;
  left: 10px !important;
  right: auto !important;
  top: auto !important;
  bottom: 34px !important;
  z-index: 4 !important;
  max-width: calc(100% - 20px) !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
  background: rgba(12,29,48,.78) !important;
  color: #fff !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: .055em !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  pointer-events: none !important;
}
#results.grid .card-overlay-title {
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  top: auto !important;
  bottom: 8px !important;
  z-index: 3 !important;
  display: block !important;
  max-height: 2.45em !important;
  overflow: hidden !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: -.02em !important;
  text-align: left !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.72) !important;
  pointer-events: none !important;
}
#results.grid .card-overlay-title::before { display: none !important; }
#results.grid .card-share-button,
#results.grid .card .favorite-button {
  position: absolute !important;
  top: 9px !important;
  z-index: 8 !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}
#results.grid .card-share-button { left: 9px !important; right: auto !important; color: #fff !important; }
#results.grid .card-share-button, #results.grid .card .favorite-button { background: transparent !important; border: 0 !important; box-shadow: none !important; }
#results.grid .card-share-button svg {
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
#results.grid .card .favorite-button { right: 9px !important; left: auto !important; color: #fff !important; font-size: 27px !important; line-height: 1 !important; }
#results.grid .card .price { color: #1769e0 !important; }
#results.grid .card .card-body { padding: 7px 10px 8px !important; }
#results.grid .card-seller { display: none !important; }
#results.grid .card-details { margin: 0 !important; }
#results.grid .card .price { margin: 0 !important; font-size: 14px !important; line-height: 1.15 !important; }
#results.grid .card .location { margin-top: 3px !important; font-size: 10px !important; line-height: 1.1 !important; }
@media (max-width: 700px) {
  #results.grid .card-overlay-category { left: 8px !important; bottom: 31px !important; }
  #results.grid .card-overlay-title { left: 8px !important; right: 8px !important; bottom: 7px !important; font-size: 12px !important; }
  #results.grid .card-share-button,
  #results.grid .card .favorite-button { top: 8px !important; width: 38px !important; height: 38px !important; min-width: 38px !important; min-height: 38px !important; }
  #results.grid .card-share-button { left: 8px !important; }
  #results.grid .card .favorite-button { right: 8px !important; font-size: 27px !important; }
  #results.grid .card-share-button svg { width: 21px !important; height: 21px !important; }
}

/* Compact buyer guide: details expand below the card. */
.buyer-guide-collapsed { display: block !important; }
.buyer-guide-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.buyer-guide-main p { margin-bottom: 0 !important; }
.buyer-guide-toggle { flex: 0 0 auto; white-space: nowrap; }
.buyer-guide-toggle span { display: inline-block; margin-left: 5px; font-size: 16px; line-height: 1; transition: transform .15s ease; }
.buyer-guide-toggle.is-open span { transform: translateY(1px); }
.buyer-guide-collapsed .buyer-guide__steps { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
@media (max-width: 700px) {
  .buyer-guide-main { align-items: flex-start; flex-direction: column; gap: 16px; }
  .buyer-guide-toggle { width: 100%; }
  .buyer-guide-collapsed .buyer-guide__steps { margin-top: 18px; padding-top: 16px; }
}

/* Structural repair: native hidden state must win over grid display. */
.buyer-guide__steps[hidden] { display: none !important; }
/* Heart: visible but not oversized; share remains a separate left control. */
#results.grid .card .favorite-button {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  font-size: 22px !important;
}
#results.grid .card-share-button {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
}
@media (max-width:700px) {
  #results.grid .card .favorite-button,
  #results.grid .card-share-button {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
  #results.grid .card .favorite-button { font-size: 22px !important; }
  #results.grid .card-share-button svg { width: 18px !important; height: 18px !important; }
}

/* Seller metrics and Stripe onboarding polish. */
.seller-page .seller-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.seller-page .seller-metrics .metric-card,.seller-page .seller-metrics .metric-next{min-width:0;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}
.seller-page .seller-metrics .metric-card span,.seller-page .seller-metrics .metric-next span{display:block;color:var(--text3);font-size:11px;font-weight:800;line-height:1.3;text-transform:uppercase;letter-spacing:.05em}
.seller-page .seller-metrics .metric-card strong{display:block;margin:7px 0 4px;color:var(--text);font-size:28px;line-height:1;font-weight:800}
.seller-page .seller-metrics .metric-card small{display:block;color:var(--text2);font-size:11px;line-height:1.4}
.seller-page .seller-metrics .metric-next{grid-column:1/-1;display:flex;align-items:center;gap:12px;background:#f7faff}
.seller-page .seller-metrics .metric-next b{color:var(--text);font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.seller-page .stripe-connect-card{margin:0 0 22px;background:linear-gradient(135deg,#f7f7ff,#fff);border-color:#dfe3ff}
.seller-page .stripe-connect-card .workspace-head{align-items:center;border-bottom:0}
.seller-page .stripe-connect-card h3{margin:5px 0 6px;font-size:18px}
.seller-page .stripe-connect-card p{max-width:620px;line-height:1.5}
.seller-page .stripe-connect-card .form-message{padding:0 20px 16px;color:var(--text2)}
@media(max-width:720px){.seller-page .seller-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.seller-page .seller-metrics .metric-next{grid-column:1/-1;display:block}.seller-page .seller-metrics .metric-next b{display:block;margin-top:5px}.seller-page .stripe-connect-card .workspace-head{align-items:flex-start}.seller-page .stripe-connect-card .primary{width:100%}}
@media(max-width:420px){.seller-page .seller-metrics{grid-template-columns:1fr}.seller-page .seller-metrics .metric-next{grid-column:auto}}

/* Seller compact layout */
.listing-form-dropdown{padding:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);overflow:hidden}
.listing-form-dropdown>summary{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;color:var(--text);font-size:15px;font-weight:800;cursor:pointer;list-style:none}
.listing-form-dropdown>summary::-webkit-details-marker{display:none}
.listing-form-dropdown>summary::after{content:"＋";color:var(--purple);font-size:20px;line-height:1}
.listing-form-dropdown[open]>summary{border-bottom:1px solid var(--border);background:var(--bg2)}
.listing-form-dropdown[open]>summary::after{content:"−"}
.listing-form-dropdown>form{padding:16px}
.listing-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}
.listing-actions button{width:100%;min-width:0}
.listing-actions .lifecycle-delete{grid-column:1/-1}

/* Final mobile seller repair: prevent first-letter clipping and keep lifecycle actions 2-up. */
@media (max-width: 700px) {
  .seller-page .workspace-head,
  .seller-page .workspace-head > div,
  .seller-page .stripe-connect-card .workspace-head {
    min-width: 0;
    width: 100%;
    overflow: visible;
  }
  .seller-page .workspace-head .kicker,
  .seller-page .workspace-head .eyebrow {
    display: block;
    min-width: 0;
    width: 100%;
    padding-left: 3px;
    overflow: visible;
    white-space: normal;
    letter-spacing: .075em;
  }
  .seller-page .stripe-connect-card .workspace-head > div { min-width: 0; }
  .seller-page .listing-row { min-width: 0; }
  .seller-page .listing-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-width: 0;
    gap: 6px !important;
  }
  .seller-page .listing-actions button {
    width: 100% !important;
    min-width: 0 !important;
    padding-left: 7px;
    padding-right: 7px;
    font-size: 11px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .seller-page .listing-actions .lifecycle-delete { grid-column: 1 / -1 !important; }
}

/* Stripe label: keep the initial P fully inside the mobile card. */
@media (max-width: 700px) {
  .seller-page .stripe-connect-card .workspace-head .kicker {
    padding-left: 10px;
    text-indent: 0;
    overflow: visible;
  }
}
.cart-list{display:grid;gap:16px;margin-top:24px}
.cart-item{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:18px;border:1px solid #dce5ef;border-radius:18px;background:#fff}
.cart-item-media{min-height:150px;border-radius:12px;background:#eef4fb;display:grid;place-items:center;overflow:hidden;color:#7890a5;font-size:11px;font-weight:800;text-align:center}
.cart-item-media img{width:100%;height:100%;min-height:150px;object-fit:cover}
.cart-item-body h2{margin:5px 0 8px;color:#173b5b;font-size:22px}
.cart-item-body strong{color:#1769e0;font-size:18px}
.cart-item-body label{display:flex;align-items:center;gap:10px;margin:16px 0;color:#60758a;font-size:13px;font-weight:700}
.cart-item-body input{width:75px;padding:9px;border:1px solid #cbd8e5;border-radius:8px;font:inherit}
.cart-actions,.cart-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.cart-empty{padding:28px;border:1px dashed #b8cbe0;border-radius:16px;text-align:center}
.cart-empty h2{color:#173b5b}
.reservation-product{display:flex;gap:18px;align-items:center;margin:24px 0;padding:16px;border:1px solid #dce5ef;border-radius:16px;background:#f8fbff}
.reservation-product-image{width:100px;height:100px;border-radius:10px;background:#eef4fb;display:grid;place-items:center;overflow:hidden;color:#7890a5;font-size:10px;text-align:center}
.reservation-product-image img{width:100%;height:100%;object-fit:cover}
.reservation-product h2{margin:0 0 8px;color:#173b5b}
.reservation-product strong{color:#1769e0;font-size:18px}
.reservation-form{display:grid;gap:14px;max-width:680px}
.reservation-form label{display:grid;gap:7px;color:#40566b;font-size:13px;font-weight:800}
.reservation-form input,.reservation-form textarea{box-sizing:border-box;width:100%;border:1px solid #cbd8e5;border-radius:10px;padding:12px;background:#fff;color:#172b3f;font:inherit}
.reservation-form textarea{min-height:140px;resize:vertical}
@media (max-width:600px){.cart-item{grid-template-columns:1fr}.cart-item-media{min-height:190px}.cart-item-media img{min-height:190px}.reservation-product{align-items:flex-start}}
/* Marketplace cart + purchase state: persistent and visible on every page. */
.header-cart{position:relative;gap:6px}
.header-cart .action-icon svg{width:19px;height:19px}
.cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e11d48;color:#fff;font-size:10px;font-weight:900;line-height:1}
.purchase-ribbon{position:absolute;left:0;right:0;bottom:0;padding:10px 12px;background:linear-gradient(90deg,#b91c1c,#ef4444);color:#fff;font-size:13px;font-weight:900;letter-spacing:.04em;text-align:center;text-transform:uppercase;box-shadow:0 -3px 12px rgba(127,29,29,.25)}
.product-main-image{position:relative}
.product-page .action-purchase.is-purchased{background:#b91c1c!important;border-color:#b91c1c!important;color:#fff!important}
@media(max-width:760px){.topbar{height:64px}.topbar .shell{gap:8px}.brand-back{display:none}.brand img{width:28px;height:28px}.brand-name{display:inline-block}.menu-toggle{display:inline-flex!important;flex:0 0 40px!important;width:40px!important;height:40px!important;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:0;border:1px solid #cbd8e8;border-radius:9px;background:#fff;cursor:pointer;z-index:120}.menu-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:#145bc7}.nav{position:absolute;top:64px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;padding:10px 16px 14px;background:#fff;border-bottom:1px solid #d8e2ee;box-shadow:0 8px 20px rgba(23,55,93,.14);z-index:110}.nav.is-open{display:flex}.nav a{padding:12px 14px}.top-actions{gap:4px}.top-actions .header-vendor{display:none}.top-actions .header-user .action-label{display:none}.top-actions .header-messages .action-label,.top-actions .header-cart .action-label{display:none}.top-actions .header-action{min-height:40px!important;padding:7px 9px!important}.top-actions .header-cart{display:inline-flex!important}.purchase-ribbon{font-size:11px;padding:8px 10px}}
@media(max-width:390px){.top-actions .header-user{display:none}.brand-name{font-size:12px}.topbar .shell{padding-left:10px;padding-right:10px}}

.seo-media{position:relative}.seo-media .purchase-ribbon{position:absolute;left:0;right:0;bottom:0;z-index:2}

/* Final mobile product header: stable layout, no overlapping profile button. */
@media (max-width:760px){
  .topbar .shell{display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;padding:10px 12px!important;gap:8px!important;overflow:visible!important}
  .topbar .brand{display:flex!important;align-items:center!important;min-width:0!important;flex:1 1 auto!important;overflow:hidden!important}
  .topbar .brand img{width:30px!important;height:30px!important;flex:0 0 30px!important;object-fit:contain!important}
  .topbar .brand-name,.topbar .brand>span{font-size:14px!important;white-space:nowrap!important}
  .topbar .top-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;min-width:0!important;margin-left:0!important;gap:6px!important}
  .topbar .top-actions .auth-header{display:none!important}
  .topbar .header-messages{display:none!important}
  .topbar .header-cart{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:44px!important;height:42px!important;min-height:42px!important;padding:0 9px!important;border-radius:11px!important;gap:4px!important}
  .topbar .header-cart .action-label{display:none!important}
  .topbar .header-cart .action-icon{font-size:18px!important;line-height:1!important}
  .topbar .menu-toggle{display:flex!important;position:static!important;order:4!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;padding:8px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;border:1px solid #b9cfe5!important;border-radius:11px!important;background:#fff!important;box-shadow:0 2px 8px rgba(23,79,145,.12)!important;z-index:120!important}
  .topbar .menu-toggle span{display:block!important;width:20px!important;height:2px!important;margin:0!important;background:#174f91!important;border-radius:3px!important}
  .topbar .nav{position:absolute!important;top:calc(100% + 8px)!important;left:12px!important;right:12px!important;display:none!important;grid-template-columns:1fr!important;padding:8px!important;background:#fff!important;border:1px solid #d8e2ee!important;border-radius:14px!important;box-shadow:0 14px 32px rgba(18,55,92,.18)!important;z-index:200!important}
  .topbar .nav.is-open{display:grid!important}
  .topbar .nav a{display:flex!important;align-items:center!important;min-height:44px!important;padding:11px 13px!important;border-radius:9px!important;font-size:13px!important}
  .seo-product{padding:20px 0 48px!important}
  .seo-product-card{display:block!important}
  .seo-media{width:100%!important;min-height:0!important;height:auto!important;aspect-ratio:1/1!important;border-radius:20px!important}
  .seo-media img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important}
  .seo-info{margin-top:16px!important;padding:22px 18px!important;border-radius:20px!important}
  .seo-info h1{font-size:clamp(29px,8vw,40px)!important;line-height:1.06!important}
  .seo-price{font-size:28px!important;margin:16px 0 22px!important}
  .seo-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
  .seo-actions>*{min-width:0!important;width:100%!important}
  .seo-actions .purchase-action{grid-column:1/-1!important}
  .purchase-ribbon{font-size:12px!important;padding:9px!important}
}
@media(max-width:390px){
  .topbar .shell{padding-left:9px!important;padding-right:9px!important}
  .topbar .brand-name,.topbar .brand>span{font-size:13px!important}
  .topbar .header-cart{min-width:42px!important;padding-left:7px!important;padding-right:7px!important}
  .topbar .menu-toggle{flex-basis:40px!important;width:40px!important;min-width:40px!important}
}


/* diaspora.ro final responsive repair 2026-08-25 */
/* This is the active final layer: no layout may overflow the mobile viewport. */
html,body{width:100%;max-width:100%;overflow-x:hidden}
.shell{width:100%;max-width:1280px;margin:0 auto;padding-left:clamp(12px,4vw,32px);padding-right:clamp(12px,4vw,32px)}
img,svg,video{max-width:100%}
.card-image{width:100%;overflow:hidden;background:#edf3fa}
.card-image img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover}
.grid{min-width:0}
.card{min-width:0;overflow:hidden}

/* Compact, predictable Marketplace header on phones. */
@media (max-width:760px){
  .topbar{height:64px;min-height:64px}
  .topbar .shell{height:64px;width:100%;display:flex!important;align-items:center!important;gap:8px!important;padding:8px 10px!important;min-width:0!important}
  .topbar .brand-back{display:none!important}
  .topbar .brand{display:flex!important;align-items:center!important;gap:7px!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
  .topbar .brand img{display:block!important;width:31px!important;height:31px!important;flex:0 0 31px!important;object-fit:contain!important}
  .topbar .brand span,.topbar .brand .brand-name{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important}
  .topbar .nav{position:absolute!important;top:calc(100% + 8px)!important;left:10px!important;right:10px!important;width:auto!important;display:none!important;grid-template-columns:1fr!important;gap:2px!important;padding:8px!important;background:#fff!important;border:1px solid #d8e2ee!important;border-radius:14px!important;box-shadow:0 14px 32px rgba(18,55,92,.18)!important;z-index:300!important}
  .topbar .nav.is-open{display:grid!important}
  .topbar .nav a{display:flex!important;align-items:center!important;min-height:42px!important;padding:10px 12px!important;border-radius:9px!important}
  .topbar .top-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex:0 0 auto!important;min-width:0!important;margin-left:0!important}
  .topbar .top-actions .header-messages,.topbar .top-actions .header-vendor,.topbar .top-actions .header-user{display:none!important}
  .topbar .top-actions .header-cart{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:11px!important;position:relative!important}
  .topbar .header-cart .action-label{display:none!important}
  .topbar .header-cart .action-icon{font-size:18px!important;line-height:1!important}
  .topbar .header-cart .cart-count{position:absolute!important;top:-4px!important;right:-4px!important;min-width:19px!important;height:19px!important;padding:0 4px!important;display:grid!important;place-items:center!important;border-radius:999px!important;background:#e11d48!important;color:#fff!important;font-size:10px!important;font-weight:800!important;border:2px solid #fff!important}
  .topbar .menu-toggle{display:flex!important;position:static!important;order:4!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;padding:8px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;border:1px solid #b9cfe5!important;border-radius:11px!important;background:#fff!important;box-shadow:0 2px 8px rgba(23,79,145,.12)!important;z-index:310!important}
  .topbar .menu-toggle span{display:block!important;width:20px!important;height:2px!important;margin:0!important;background:#174f91!important;border-radius:3px!important}
  .hero{padding:34px 0 28px!important}
  .hero-grid{display:block!important}
  .hero h1{font-size:clamp(32px,10vw,46px)!important;line-height:1.03!important;letter-spacing:-.055em!important}
  .hero p{font-size:14px!important;line-height:1.55!important}
  .hero-note{margin-top:20px!important}
  .content{padding-top:16px!important;padding-bottom:40px!important}
  .workspace{border-radius:14px!important;margin-bottom:14px!important}
  .workspace-head{padding:16px!important;gap:10px!important;flex-wrap:wrap!important}
  .workspace-head h2{font-size:19px!important}
  .toolbar{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:10px!important}
  .toolbar>*{min-width:0!important;width:100%!important}
  .categories{display:flex!important;overflow-x:auto!important;max-width:100%!important;padding-bottom:4px!important}
  .categories>*{flex:0 0 auto!important}
  .grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important}
  .card{width:100%!important;border-radius:16px!important}
  .card-image{height:230px!important;min-height:230px!important}
  .card-body{padding:16px!important}
  .card-title{font-size:18px!important;line-height:1.18!important;overflow-wrap:anywhere!important}
  .card-price{font-size:20px!important}
  .buyer-guide{margin-top:18px!important;border-radius:16px!important}
  .buyer-guide-main{display:block!important;padding:18px!important}
  .buyer-guide-main .ghost{margin-top:14px!important;width:100%!important}
  .buyer-guide__steps{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:0 18px 18px!important}
}
@media(max-width:390px){
  .topbar .shell{padding-left:8px!important;padding-right:8px!important}
  .topbar .brand img{width:28px!important;height:28px!important;flex-basis:28px!important}
  .topbar .brand span,.topbar .brand .brand-name{font-size:13px!important}
  .topbar .header-cart{width:40px!important;min-width:40px!important}
  .topbar .menu-toggle{width:40px!important;min-width:40px!important;flex-basis:40px!important}
}

/* SSR product page: image and information become a clean vertical story. */
.seo-product{min-width:0!important;overflow:visible!important}
.seo-product-card{min-width:0!important}
.seo-media{min-width:0!important;overflow:hidden!important;background:linear-gradient(145deg,#edf5ff,#f7f3ff)!important}
.seo-media img{display:block!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important}
.seo-info{min-width:0!important;overflow:hidden!important}
.seo-info h1{overflow-wrap:anywhere!important;word-break:normal!important}
.seo-desc,.seo-details,.seo-seller{min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:760px){
  .seo-product{width:100%!important;padding:16px 10px 42px!important}
  .product-back-link{margin:0 4px 14px!important;min-height:36px!important;font-size:13px!important}
  .seo-product-card{display:block!important;width:100%!important}
  .seo-media{width:100%!important;height:auto!important;aspect-ratio:1/1!important;min-height:0!important;max-height:none!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(20,48,78,.12)!important}
  .seo-media img{height:100%!important;min-height:0!important;object-fit:contain!important;padding:8px!important}
  .seo-info{width:100%!important;margin-top:14px!important;padding:20px 16px!important;border-radius:18px!important;box-shadow:0 6px 20px rgba(20,48,78,.09)!important}
  .seo-info h1{font-size:clamp(28px,8.5vw,40px)!important;line-height:1.04!important;letter-spacing:-.045em!important}
  .seo-price{font-size:27px!important;line-height:1.15!important;margin:14px 0 20px!important}
  .seo-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
  .seo-actions>*{min-width:0!important;width:100%!important;min-height:44px!important;padding:9px 8px!important;font-size:12px!important;white-space:normal!important}
  .seo-actions .primary-action,.seo-actions .purchase-action{grid-column:1/-1!important}
  .seo-actions .report-action{grid-column:1/-1!important}
  .seo-facts{grid-template-columns:1fr!important}
  .seo-fact,.seo-fact-wide{grid-column:1!important}
  .marketplace-footer__inner{grid-template-columns:1fr!important;gap:18px!important}
  .marketplace-footer__group a{max-width:none!important}
}

/* ================================================================
   Diaspora Market — final layout repair
   Stable desktop + mobile surfaces for cart and product pages.
   ================================================================ */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{background:#f5f8fc;color:#162033}
.shell{width:min(1280px,100%);margin-inline:auto;padding-inline:clamp(14px,4vw,36px)}
.topbar{height:72px;background:#fff;border-top:4px solid #f2a45d;border-bottom:1px solid #d7e1ec;box-shadow:0 3px 14px rgba(20,48,78,.10)}
.topbar .shell{height:100%;display:flex;align-items:center;gap:18px;min-width:0}
.brand{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;color:#162033;font-weight:900;font-size:17px;white-space:nowrap}
.brand img{width:38px;height:38px;object-fit:contain;border-radius:50%;display:block}
.brand-name{display:inline-flex;align-items:center}.brand-name span{color:#1769e8}
.brand-back{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#edf4ff;color:#1769e8;font-size:25px;line-height:1}
.nav{display:flex;align-items:center;gap:4px;min-width:0}.nav a{padding:9px 11px;border-radius:9px;color:#53657c;font-weight:700}.nav a:hover,.nav a.active{background:#eaf3ff;color:#1769e8}
.top-actions{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}.header-action{min-height:42px;white-space:nowrap}
/* The product page no longer needs a floating hamburger: links remain visible on desktop and are not overlapped on phones. */
.menu-toggle{display:none!important}

/* Cart */
.legal-main{padding:42px 0 76px;min-height:calc(100vh - 72px)}
.legal-card.cart-page{width:min(100%,1040px);max-width:none;margin:0 auto;padding:clamp(24px,4vw,48px);border:1px solid #d8e2ee;border-radius:24px;background:#fff;box-shadow:0 10px 34px rgba(20,48,78,.10)}
.cart-page .product-back{display:inline-flex;align-items:center;gap:7px;color:#1769e8;font-weight:800;font-size:14px;margin-bottom:22px}
.cart-page .eyebrow{color:#1769e8;font-weight:900;letter-spacing:.12em;font-size:12px;text-transform:uppercase}
.cart-page h1{margin:8px 0 8px;color:#12213a;font-size:clamp(34px,5vw,56px);line-height:1;letter-spacing:-.055em}
.cart-page>.lead{margin:0;color:#61738b;font-size:16px}
.cart-list{display:grid;gap:18px;margin-top:30px}
.cart-item{display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr);gap:28px;padding:20px;border:1px solid #d8e2ee;border-radius:20px;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 5px 18px rgba(20,48,78,.07);min-width:0}
.cart-item-media{width:100%;aspect-ratio:1/1;min-height:0;border-radius:15px;background:#edf4fb;overflow:hidden;display:grid;place-items:center;color:#7890a5;font-size:11px;font-weight:900;text-align:center}
.cart-item-media img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}
.cart-item-body{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:5px 0}
.cart-item-body h2{margin:7px 0 10px;color:#142641;font-size:clamp(22px,3vw,30px);line-height:1.12;letter-spacing:-.04em;overflow-wrap:anywhere}
.cart-item-body strong{color:#1769e8;font-size:22px;line-height:1.2}
.cart-item-body label{display:flex;align-items:center;gap:10px;margin:22px 0 6px;color:#5b6d84;font-size:14px;font-weight:800}
.cart-item-body input{width:78px!important;height:44px;padding:8px 10px;border:2px solid #cbd8e5;border-radius:10px;background:#fff;color:#162033;font-weight:800;text-align:center}
.cart-actions,.cart-footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}
.cart-actions .primary,.cart-actions .ghost,.cart-footer .primary,.cart-footer .ghost{min-height:44px;padding:11px 17px;border-radius:11px;font-weight:800}
.cart-actions .primary{background:#1769e8;color:#fff;box-shadow:0 5px 15px rgba(23,105,232,.25)}
.cart-actions .ghost,.cart-footer .ghost{background:#fff;border:1px solid #b9cfe5;color:#174f91}
.cart-actions .ghost:hover,.cart-footer .ghost:hover{background:#eaf3ff}
.cart-empty{padding:54px 24px;border:2px dashed #b8cbe0;border-radius:18px;text-align:center;background:#f8fbff;margin-top:28px}
.cart-empty h2{margin:0 0 8px;color:#173b5b;font-size:28px}.cart-empty p{color:#61738b}
.cart-footer{justify-content:space-between;margin-top:24px;padding-top:20px;border-top:1px solid #d8e2ee}

/* Product */
.product-page{padding-top:28px;padding-bottom:72px;min-width:0}
.product-page>.product-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 18px;color:#1769e8;font-size:14px;font-weight:800}
.product-card{min-width:0;width:100%;background:#fff;border:1px solid #d8e2ee;border-radius:24px;box-shadow:0 10px 34px rgba(20,48,78,.10);overflow:hidden}
.product-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:0;min-width:0}
.product-media{min-width:0;padding:22px;background:linear-gradient(145deg,#eaf3ff,#f7f3ff);display:flex;flex-direction:column;justify-content:center;gap:14px}
.product-main-image{width:100%;aspect-ratio:1/1;min-height:0;border-radius:18px;overflow:hidden;background:#eef4fb;display:grid;place-items:center}
.product-main-image img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}
.product-info{min-width:0;padding:clamp(28px,4vw,54px);display:flex;flex-direction:column;align-items:flex-start}
.product-info .eyebrow{color:#1769e8;font-size:12px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.product-info h1{margin:10px 0 14px;color:#14213a;font-size:clamp(32px,4.5vw,58px);line-height:1.02;letter-spacing:-.06em;overflow-wrap:anywhere}
.product-price{color:#1769e8;font-size:clamp(28px,3.5vw,42px);font-weight:900;letter-spacing:-.04em}
.product-description,.product-details-box,.product-seller{width:100%;min-width:0}.product-description{margin-top:30px;color:#53657c;line-height:1.7;overflow-wrap:anywhere}.detail-section-title{margin-bottom:8px;color:#14213a;font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.product-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.product-actions>*{min-width:0;min-height:46px!important;border-radius:11px!important}
.product-actions .action-purchase,.product-actions .action-reserve{grid-column:1/-1}

@media(max-width:760px){
 .topbar{height:66px;min-height:66px}.topbar .shell{padding-inline:12px;gap:10px}.brand-back{display:none}.brand img{width:34px;height:34px}.brand-name{font-size:14px}.nav{display:none}.top-actions{gap:5px;margin-left:auto}.top-actions .header-messages{display:none}.top-actions .header-vendor{display:none}.top-actions .header-user .action-label{display:none}.top-actions .header-user{padding:8px 10px}.top-actions .header-cart{display:inline-flex;min-width:44px;padding:8px 10px}.top-actions .header-cart .action-label{display:none}
 .legal-main{padding:18px 0 44px}.legal-card.cart-page{padding:22px 16px;border-radius:18px}.cart-page h1{font-size:40px}.cart-item{grid-template-columns:1fr;gap:18px;padding:14px;border-radius:17px}.cart-item-media{aspect-ratio:4/3;border-radius:13px}.cart-item-body{padding:2px 3px}.cart-item-body h2{font-size:27px}.cart-actions{display:grid;width:100%;grid-template-columns:1fr 1fr}.cart-actions>*{width:100%;min-width:0;text-align:center}.cart-actions .primary{grid-column:1/-1}.cart-footer{display:grid;grid-template-columns:1fr;gap:9px}.cart-footer>*{width:100%;text-align:center}
 .product-page{padding:16px 0 46px}.product-card{border-radius:18px}.product-layout{display:block}.product-media{padding:10px;background:#f2f7fd}.product-main-image{aspect-ratio:1/1;border-radius:15px}.product-info{padding:24px 18px}.product-info h1{font-size:clamp(31px,9vw,44px);line-height:1.04}.product-price{font-size:30px;margin-top:4px}.product-actions{grid-template-columns:1fr 1fr}.product-actions>*{font-size:12px!important;padding-inline:8px!important}.product-actions .action-purchase,.product-actions .action-reserve{grid-column:1/-1}
}
@media(max-width:390px){.topbar .shell{padding-inline:9px}.brand-name{font-size:13px}.top-actions .header-cart{min-width:40px;padding-inline:8px}.top-actions .header-user{padding-inline:8px}.cart-page h1{font-size:36px}.cart-item-body h2{font-size:24px}}

/* ================================================================
   Marketplace header — single canonical layer
   Hamburger kept; account/name controls intentionally excluded.
   ================================================================ */
.topbar .auth-header,.topbar .header-user{display:none!important}
.topbar .menu-toggle{display:none!important}
@media(max-width:760px){
  .topbar .shell{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;min-width:0!important;gap:10px!important;padding:10px 12px!important}
  .topbar .brand{min-width:0!important;flex:1 1 auto!important;overflow:hidden!important}
  .topbar .brand-name{display:inline-flex!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:14px!important}
  .topbar .top-actions{display:flex!important;align-items:center!important;flex:0 0 auto!important;margin-left:0!important;gap:6px!important}
  .topbar .top-actions .header-user,.topbar .top-actions .auth-header{display:none!important}
  .topbar .menu-toggle{display:flex!important;position:static!important;order:5!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:5px!important;padding:8px!important;border:1px solid #b9cfe5!important;border-radius:11px!important;background:#fff!important;box-shadow:0 3px 10px rgba(23,79,145,.14)!important;cursor:pointer!important;z-index:310!important}
  .topbar .menu-toggle span{display:block!important;width:20px!important;height:2px!important;margin:0!important;background:#174f91!important;border-radius:3px!important}
  .topbar .nav{position:absolute!important;top:calc(100% + 8px)!important;left:12px!important;right:12px!important;display:none!important;grid-template-columns:1fr!important;padding:8px!important;background:#fff!important;border:1px solid #d8e2ee!important;border-radius:14px!important;box-shadow:0 14px 32px rgba(18,55,92,.18)!important;z-index:300!important}
  .topbar .nav.is-open{display:grid!important}
  .topbar .nav a{display:flex!important;align-items:center!important;min-height:44px!important;padding:11px 13px!important;border-radius:9px!important;font-size:13px!important}
  .topbar .header-messages{display:none!important}
  .topbar .header-vendor{display:none!important}
  .topbar .header-cart{display:inline-flex!important;min-width:44px!important;height:42px!important;padding:8px 10px!important}
  .topbar .header-cart .action-label{display:none!important}
}
@media(max-width:390px){
  .topbar .shell{padding-left:9px!important;padding-right:9px!important}
  .topbar .brand-name{font-size:13px!important}
  .topbar .header-cart{min-width:40px!important;padding-left:8px!important;padding-right:8px!important}
  .topbar .menu-toggle{width:40px!important;min-width:40px!important;flex-basis:40px!important}
}


/* Canonical Marketplace menu finishing layer */
.nav-profile{font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;font-weight:700!important;color:#1769e8!important;letter-spacing:.01em}
.nav-profile:hover{background:#eaf3ff!important;color:#0f56c9!important}
.nav-logout{color:#b42318!important}
.nav-logout:hover{background:#fff1f0!important;color:#991b1b!important}
.topbar .header-user,.topbar .auth-header{display:none!important}
@media(max-width:760px){
 .topbar .menu-toggle{display:flex!important}
 .topbar .nav-profile{font-size:14px!important}
}

/* Canonical cart checkout */
/* Canonical cart fulfillment selection */
.payment-order-meta{margin:-3px 0 8px;color:#60758a;font-size:11px;line-height:1.4}
.checkout-total-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 14px;border:1px solid #b9d3f5;border-radius:10px;background:#eaf3ff;color:#174f91;font-size:13px}
.checkout-total-summary strong{font-size:17px;color:#123f76}

.cart-item-fulfillment{display:grid;gap:6px;margin-top:10px;padding:10px 12px;border:1px solid #cbd8e5;border-radius:10px;background:#f8fbff}
.cart-item-fulfillment label{display:grid;gap:6px;color:#53657c;font-size:12px;font-weight:800}
.cart-item-fulfillment select{width:100%;min-height:38px;border:1px solid #cbd8e5;border-radius:8px;padding:8px 9px;background:#fff;color:#172b3f;font:inherit}
.cart-item-fulfillment small{color:#60758a;font-size:11px;line-height:1.45}
.cart-item-fulfillment-error{color:#b42318!important;font-weight:700}
.checkout-method-note{display:grid;gap:3px;padding:12px 14px;border:1px solid #cbd8e5;border-radius:10px;background:#f8fbff;color:#40566b;font-size:12px;line-height:1.5}
.checkout-seller-notes{display:grid;gap:10px;padding:12px 14px;border:1px solid #cbd8e5;border-radius:10px;background:#f8fbff;color:#40566b;font-size:12px}.checkout-seller-notes>strong{color:#173b5b;font-size:13px}.checkout-seller-notes label{display:grid;gap:6px}.checkout-seller-notes textarea{min-height:68px}.checkout-seller-notes small{color:#7a8b9b;font-size:11px;font-weight:500}
.checkout-method-note strong{color:#173b5b;font-size:13px}

.cart-empty-icon,.checkout-success-icon{font-size:38px;margin-bottom:8px}.checkout-panel{margin-top:22px;padding:24px;border:2px solid #1769e8;border-radius:18px;background:linear-gradient(135deg,#f0f6ff,#fff);box-shadow:0 8px 24px rgba(23,105,232,.12)}.checkout-panel-heading h2{margin:5px 0 5px;color:#142641;font-size:26px;letter-spacing:-.04em}.checkout-panel-heading p{margin:0 0 18px;color:#61738b;font-size:14px}.checkout-kicker{color:#1769e8;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.checkout-form{display:grid;gap:14px}.checkout-form label{display:grid;gap:7px;color:#53657c;font-size:13px;font-weight:800}.checkout-form select,.checkout-form textarea{width:100%;box-sizing:border-box;border:2px solid #cbd8e5;border-radius:10px;padding:12px 13px;background:#fff;color:#162033;font:inherit}.checkout-form textarea{min-height:94px;resize:vertical}.checkout-form select:focus,.checkout-form textarea:focus{outline:0;border-color:#1769e8;box-shadow:0 0 0 4px rgba(23,105,232,.14)}.checkout-notice{display:grid;gap:3px;padding:13px 15px;border-radius:11px;background:#eaf3ff;border:1px solid #b9d3f5;color:#174f91;font-size:12px;line-height:1.5}.checkout-notice strong{font-size:13px}.checkout-form-actions{display:flex;flex-wrap:wrap;gap:10px}.checkout-form-actions>*{min-height:44px}.checkout-message{min-height:20px;color:#53657c;font-size:13px;font-weight:700}.checkout-message.error{color:#b42318}.checkout-success{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;align-items:start;padding:28px;border-radius:18px;border:2px solid #86efac;background:linear-gradient(135deg,#f0fdf4,#fff);color:#14532d}.checkout-success h2{margin:4px 0 7px;color:#166534;font-size:27px;letter-spacing:-.04em}.checkout-success p{margin:0;color:#3f6750;font-size:14px;line-height:1.6}.checkout-order-count{margin-top:8px!important;font-weight:800}.checkout-success-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:9px;margin-top:8px}.checkout-success-actions .ghost{border:1px solid #86c7a0;color:#166534;background:#fff}.checkout-open{background:linear-gradient(135deg,#1769e8,#0f56c9)!important;box-shadow:0 6px 16px rgba(23,105,232,.3)!important}.danger-action{color:#b42318!important;border-color:#f1b4ad!important;background:#fff!important}@media(max-width:760px){.checkout-panel{padding:18px 15px}.checkout-form-actions{display:grid;grid-template-columns:1fr}.checkout-form-actions>*{width:100%}.checkout-success{grid-template-columns:1fr;padding:22px 18px}.checkout-success-actions{grid-column:auto;display:grid;grid-template-columns:1fr}.cart-footer{gap:9px}.cart-footer .checkout-open{order:-1}}

/* Mobile correction — reservation and navigation */
.nav-profile{font-family:var(--font)!important;font-style:normal!important;font-weight:700!important;letter-spacing:0!important}
.reservation-page h1{font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.045em;margin:12px 0 18px;color:#142641}
@media(max-width:760px){
  .shell{padding-left:16px;padding-right:16px}
  .legal-main{padding:14px 0 32px}
  .legal-card.reservation-page{padding:18px 14px;border-radius:14px}
  .reservation-page h1{font-size:32px;line-height:1.08;margin:10px 0 16px}
  .reservation-product{display:grid;grid-template-columns:1fr;gap:12px;margin:16px 0;padding:12px;border-radius:12px}
  .reservation-product-image{width:100%;height:220px;min-height:0;border-radius:10px}
  .reservation-product h2{font-size:20px;line-height:1.2;margin:0 0 6px}
  .reservation-product strong{font-size:17px}
  .reservation-form{gap:12px;max-width:none}
  .reservation-form input,.reservation-form textarea{padding:12px;font-size:15px}
  .reservation-form textarea{min-height:112px}
  .reservation-form button{width:100%;min-height:48px}
}

/* Clean reservation identity and wordmark */
.topbar .brand-name{font-family:var(--font)!important;font-style:normal!important;font-weight:800!important;letter-spacing:-.035em!important;color:#173b5b!important;display:inline-block!important}
.topbar .brand-name span{color:#1769e0!important}
.reservation-account{display:grid;gap:4px;margin:0 0 18px;padding:13px 15px;border:1px solid #cfe0f0;border-radius:11px;background:#f5f9ff;color:#173b5b;font-size:13px}
.reservation-account span{color:#5b7187;font-size:12px;word-break:break-word}
@media(max-width:760px){.reservation-account{margin-bottom:14px;padding:12px}.topbar .brand-name{font-size:16px!important}}

/* Checkout success state */
.checkout-message.success{display:grid;gap:5px;line-height:1.45}.checkout-success-reference{color:#60758a;font-size:12px}.checkout-success-link{display:inline-flex;width:max-content;margin-top:4px;color:#1769e0;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:2px}.checkout-success-link:hover{color:#0f56c9}

/* Increment 148: public seller trust signal */
.seller-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px;min-height:20px;color:var(--text2);font-size:11px;line-height:1.35}.seller-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:var(--text)}.seller-badge{display:inline-flex;align-items:center;padding:3px 6px;border:1px solid var(--border);border-radius:999px;color:var(--text3);font-size:9px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.seller-badge-verified{border-color:rgba(22,163,74,.24);background:rgba(22,163,74,.08);color:#15803d}.seller-rating{color:#9a6700;font-weight:750;white-space:nowrap}@media(max-width:420px){.seller-name{max-width:130px}}

/* Stripe Payment Element and per-order payment states. */
.payment-orders{display:grid;gap:12px;margin-top:16px}.payment-order{padding:16px;border:1px solid #d9e2ec;border-radius:12px;background:#fff}.payment-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}.payment-order-head strong,.payment-order-head span{display:block}.payment-order-head strong{color:#162033;font-size:14px}.payment-order-head div>span{margin-top:4px;color:#60758a;font-size:12px}.payment-status,.order-payment-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;background:#fff7ed;color:#9a3412;font-size:10px;font-weight:800;white-space:nowrap}.payment-status.paid,.payment-paid .payment-status,.payment-paid{background:#ecfdf3;color:#087443}.stripe-payment-shell{margin-top:15px;padding-top:15px;border-top:1px solid #e2e8f0}.stripe-payment-element{padding:2px 0}.stripe-payment-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.stripe-payment-actions>*{min-height:42px}.payment-message{min-height:20px;margin-top:10px;color:#53657c;font-size:13px}.payment-message.success{color:#087443}.payment-message.error{color:#b42318}.order-statuses{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.order-payment-status{background:#f1f5f9;color:#475569}.payment-paid .payment-empty{color:#087443}.payment-method-options{display:grid;gap:12px}.manual-payment-option{display:grid;gap:8px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.manual-payment-option .primary,.manual-payment-option .ghost{width:max-content}.bank-transfer-details{white-space:pre-wrap;padding:10px;border-radius:8px;background:#fff;color:#334155;font-size:13px;line-height:1.5}@media(max-width:760px){.payment-order-head{display:block}.payment-status{margin-top:8px}.order-statuses{justify-content:flex-start;margin-top:10px}.stripe-payment-actions{display:grid;grid-template-columns:1fr}.stripe-payment-actions>*{width:100%}}
.orders-payment-return{display:grid;gap:4px;margin-bottom:14px;padding:13px 15px;border:1px solid #b9d3f5;border-radius:11px;background:#eaf3ff;color:#174f91;font-size:13px;line-height:1.5}.orders-payment-return strong{font-size:14px}
.buyer-payment{margin-top:15px;padding-top:15px;border-top:1px solid #e2e8f0}.buyer-payment-shell{margin-top:13px;padding:15px;border:1px solid #d9e2ec;border-radius:11px;background:#fbfdff}.buyer-payment-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.buyer-payment-actions>*{min-height:42px}@media(max-width:760px){.buyer-payment-actions{display:grid;grid-template-columns:1fr}.buyer-payment-actions>*{width:100%}}

/* Marketplace catalog variants */
.product-variant-selector,
.product-variant-meta { margin: .75rem 0 1rem; }
.product-variant-selector label { display: grid; gap: .45rem; font-weight: 700; }
.product-variant-selector select { width: 100%; }
.product-variant-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--muted, #64748b); font-size: .84rem; }
.product-variant-meta span { white-space: nowrap; }
.product-checkout-box[hidden] { display: none; }
.variant-manager { flex: 1 1 100%; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(20, 38, 62, .12); }
.variant-editor { margin-top: .75rem; padding: 1rem; border: 1px solid rgba(20, 38, 62, .12); border-radius: 14px; background: rgba(247, 249, 252, .72); }
.variant-list { display: grid; gap: .7rem; margin-bottom: 1rem; }
.variant-card { padding: .8rem; border: 1px solid rgba(20, 38, 62, .12); border-radius: 11px; background: #fff; }
.variant-card-head { display: flex; justify-content: space-between; gap: .75rem; margin-bottom: .55rem; }
.variant-card-head span { color: var(--muted, #64748b); font-size: .85rem; }
.variant-form { display: grid; gap: .6rem; }
.variant-form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.variant-form-title { font-weight: 800; margin-bottom: .1rem; }
.variant-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.variant-message { color: var(--muted, #64748b); font-size: .85rem; }
@media (max-width: 640px) { .variant-form .row { grid-template-columns: 1fr; } .variant-card-head { display: grid; gap: .2rem; } }


/* Active filter summary */
.active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 0;color:var(--text2);font-size:12px}
.active-filters[hidden]{display:none}
.active-filters-label{font-weight:800;color:var(--text2);margin-right:2px}
.filter-chip,.clear-active-filters{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid #cbd8e8;border-radius:999px;padding:5px 10px;background:#fff;color:#245589;font-size:12px;font-weight:700;cursor:pointer;transition:background .12s,border-color .12s,color .12s}
.filter-chip span[aria-hidden="true"]{font-size:17px;line-height:12px;color:#6f87a0}
.filter-chip:hover,.filter-chip:focus-visible{border-color:#1877f2;background:#eff6ff;color:#1258b0;outline:0}
.filter-chip:hover span[aria-hidden="true"],.filter-chip:focus-visible span[aria-hidden="true"]{color:#1258b0}
.clear-active-filters{border-color:transparent;background:transparent;color:#1877f2;padding-inline:6px}
.clear-active-filters:hover,.clear-active-filters:focus-visible{background:#eff6ff;outline:0}
.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}
@media(max-width:600px){.active-filters{align-items:flex-start;margin-top:10px}.active-filters-label{width:100%}.filter-chip,.clear-active-filters{min-height:36px}}

/* Seller storefront cards keep product navigation and quick actions separate. */
.storefront-card { position: relative; }
.storefront-card-link { display: block; color: inherit; text-decoration: none; }
.storefront-card-actions { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; justify-content: space-between; pointer-events: none; }
.storefront-card-actions > * { pointer-events: auto; }
.storefront-card-actions .card-share-button,
.storefront-card-actions .favorite-button { position: static; flex: 0 0 38px; }
.storefront-card-actions .favorite-button { color: #fff; }
.storefront-card-actions .favorite-button.is-saved { color: #ef4444; }

/* Checkout quote: the server is the source of truth for shipping, tax and totals. */
.checkout-quote{margin:18px 0 0;border:1px solid #d8e3ef;border-radius:14px;background:#f7fbff;padding:14px 16px;color:var(--text2)}
.checkout-quote-heading{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding-bottom:10px;border-bottom:1px solid #e2ebf4}
.checkout-quote-heading strong{color:var(--text);font-size:15px}
.checkout-quote-heading span,.checkout-quote-note,.checkout-quote-item small{color:#67809a;font-size:12px}
.checkout-quote-item{display:grid;grid-template-columns:1fr auto;gap:2px 14px;padding:9px 0;border-bottom:1px solid #e6eef6;font-size:13px}
.checkout-quote-item strong{color:var(--text)}
.checkout-quote-item small{grid-column:1 / -1}
.checkout-quote-total{display:flex;justify-content:space-between;gap:12px;padding-top:12px;color:var(--text);font-size:15px}
.checkout-quote-total strong{font-size:17px}
.checkout-quote-note{display:block;margin-top:10px;line-height:1.45}
.checkout-quote-loading{color:#67809a;font-size:13px}
.checkout-quote.is-error{border-color:#efb2b2;background:#fff8f8;color:#a32727}
.checkout-quote.is-error .checkout-quote-loading{color:#a32727}
@media(max-width:600px){.checkout-quote-heading{align-items:flex-start;flex-direction:column;gap:4px}.checkout-quote{padding:13px}}

/* Marketplace footer — homepage-aligned white surface with responsive groups. */
.marketplace-footer {
  margin-top: 28px;
  border-top: 1px solid #e8ecf4 !important;
  background: #fff !important;
  color: #172033 !important;
}

.marketplace-footer__inner {
  width: min(1240px, 100%);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 42px 36px 34px;
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) repeat(4, minmax(140px, 1fr));
  gap: 30px !important;
}

.marketplace-footer__brand {
  padding-right: 14px;
}

.marketplace-footer__logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  color: #172033 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: -.04em !important;
  text-decoration: none;
}

.marketplace-footer__logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 6px;
}

.marketplace-footer__logo > span,
.marketplace-footer__logo > span > span {
  color: #172033 !important;
}

.marketplace-footer__brand p {
  max-width: 330px;
  margin: 14px 0 12px;
  color: #64748b !important;
  font-size: 13px;
  line-height: 1.6;
}

.marketplace-footer__brand small {
  color: #64748b !important;
  font-size: 11px;
}

.marketplace-footer__group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
}

.marketplace-footer__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 2px 0 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.35;
  list-style: none;
  text-align: left;
  text-transform: uppercase;
}

.marketplace-footer__group > summary::-webkit-details-marker {
  display: none;
}

.marketplace-footer__group > summary::after {
  display: none;
  color: #6366f1;
  content: "+";
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.marketplace-footer__group-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.marketplace-footer__group-links a,
.marketplace-footer__more a {
  display: flex !important;
  align-items: center;
  min-height: 30px;
  box-sizing: border-box;
  padding: 4px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #526176 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  text-decoration: none;
  transition: color .15s ease, padding-left .15s ease;
}

.marketplace-footer__group-links a:hover,
.marketplace-footer__more a:hover {
  padding-left: 4px;
  color: #4338ca !important;
}

.marketplace-footer__more {
  margin-top: 4px;
}

.marketplace-footer__more summary {
  width: fit-content;
  padding: 5px 0;
  color: #4338ca;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.marketplace-footer__more summary::-webkit-details-marker {
  display: none;
}

.marketplace-footer__more summary::after {
  display: inline-block;
  margin-left: 6px;
  content: "⌄";
  font-size: 13px;
  transition: transform .15s ease;
}

.marketplace-footer__more[open] summary::after {
  transform: rotate(180deg);
}

.marketplace-footer__more > div {
  display: grid;
  gap: 0;
  margin-top: 3px;
}

.marketplace-footer__bottom {
  width: min(1240px, 100%);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 15px 36px 20px;
  border-top: 1px solid #e8ecf4 !important;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #64748b !important;
  font-size: 11px;
}

@media (max-width: 1050px) {
  .marketplace-footer__inner {
    grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(150px, 1fr));
    gap: 28px 22px;
    padding: 36px 28px 30px;
  }

  .marketplace-footer__brand {
    grid-column: 1 / -1;
  }

  .marketplace-footer__bottom {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 700px) {
  .marketplace-footer {
    margin-top: 18px;
  }

  .marketplace-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px 0 0;
  }

  .marketplace-footer__brand {
    padding: 0 20px 24px;
  }

  .marketplace-footer__brand p {
    margin-top: 12px;
  }

  .marketplace-footer__group {
    border-top: 1px solid #e8ecf4;
  }

  .marketplace-footer__group > summary {
    min-height: 52px;
    margin: 0;
    padding: 15px 20px;
    cursor: pointer;
  }

  .marketplace-footer__group > summary::after {
    display: block;
  }

  .marketplace-footer__group[open] > summary::after {
    content: "−";
  }

  .marketplace-footer__group-links {
    display: none;
    padding: 2px 20px 16px;
    background: #f8fafc;
  }

  .marketplace-footer__group[open] .marketplace-footer__group-links {
    display: flex;
  }

  .marketplace-footer__group-links a,
  .marketplace-footer__more a {
    min-height: 36px;
    padding: 7px 0;
  }

  .marketplace-footer__more {
    margin: 0;
    padding: 0 20px 14px;
    background: #f8fafc;
  }

  .marketplace-footer__more summary {
    padding-top: 8px;
  }

  .marketplace-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 16px 20px 22px;
  }
}
.marketplace-product-placeholder{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.thumb .marketplace-product-placeholder{object-fit:cover}.product-main-image .marketplace-product-placeholder{object-fit:cover}.seo-media .marketplace-product-placeholder{object-fit:cover}


/* Unified producer cards with Marketplace listing cards */
#results .producer-catalog-card .thumb{position:relative}
#results .producer-catalog-card .producer-catalog-image-link{display:block;width:100%;height:100%}
#results .producer-catalog-card .producer-catalog-image-link img{display:block}
#results .producer-catalog-card .card-body{display:grid;gap:10px}
#results .producer-catalog-card .producer-catalog-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#results .producer-catalog-card .producer-catalog-actions a{min-height:36px;padding:8px 10px;text-align:center}
#results .producer-catalog-card h3{display:none}
@media(max-width:640px){#results .producer-catalog-card .producer-catalog-actions{grid-template-columns:1fr}#results .producer-catalog-card .producer-catalog-actions a{width:100%}}


/* Unified Marketplace card actions */
#results .card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}
#results .card-actions a{min-height:36px;padding:8px 10px;text-align:center}
@media(max-width:640px){#results .card-actions{grid-template-columns:1fr}#results .card-actions a{width:100%}}

/* Public seller trust summary: aggregated, non-sensitive signals only. */
.seller-profile-head { align-items: center; }
.seller-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.seller-identity > div { min-width: 0; }
.seller-profile-avatar { width: 68px; height: 68px; flex: 0 0 68px; border-radius: 18px; object-fit: cover; background: linear-gradient(135deg, #eaf2ff, #eef0ff); border: 1px solid #d9e4f2; }
.seller-profile-avatar-fallback { display: grid; place-items: center; color: #1769e0; font-size: 25px; font-weight: 900; }
.seller-trust-summary { padding: 18px 20px 20px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, #fbfdff, #f8faff); }
.seller-trust-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.seller-trust-stat { min-width: 0; padding: 12px; border: 1px solid #e1e9f2; border-radius: 12px; background: #fff; }
.seller-trust-stat strong, .seller-trust-stat span, .seller-trust-stat small { display: block; }
.seller-trust-stat strong { color: #163b5b; font-size: 16px; line-height: 1.3; }
.seller-trust-stat span { margin-top: 4px; color: #36536f; font-size: 12px; font-weight: 800; }
.seller-trust-stat small { margin-top: 6px; color: #7890a5; font-size: 10px; line-height: 1.35; }
.seller-trust-stat-rating strong { display: inline-block; margin-right: 7px; }
.seller-rating-stars { display: inline-block !important; margin: 0 !important; color: #f59e0b !important; letter-spacing: .04em; font-size: 14px !important; }
.seller-rating-breakdown { max-width: 430px; margin-top: 16px; }
.seller-rating-breakdown > strong { display: block; margin-bottom: 8px; color: #36536f; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.seller-rating-row { display: grid; grid-template-columns: 55px 1fr 22px; align-items: center; gap: 8px; margin-top: 5px; color: #7890a5; font-size: 11px; }
.seller-rating-row strong { color: #36536f; font-size: 11px; text-align: right; }
.seller-rating-track { height: 7px; margin: 0 !important; overflow: hidden; border-radius: 99px; background: #e8eef5; }
.seller-rating-track span { display: block; height: 100%; margin: 0 !important; border-radius: inherit; background: #f59e0b; }
@media (max-width: 820px) { .seller-trust-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .seller-identity { align-items: flex-start; } .seller-profile-avatar { width: 54px; height: 54px; flex-basis: 54px; border-radius: 14px; } .seller-trust-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .seller-trust-summary { padding: 14px; } }


.related-products{margin-top:28px;padding:26px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-card)}
.related-products-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}
.related-products-head h2{margin:5px 0 0;font-size:25px;letter-spacing:-.04em}
.related-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.related-product-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.related-product-card:hover{transform:translateY(-2px);border-color:#cfc8ff;box-shadow:0 8px 20px rgba(38,31,82,.1)}
.related-product-image{aspect-ratio:1.15;background:#f1efeb;display:flex;align-items:center;justify-content:center;overflow:hidden}
.related-product-image img{width:100%;height:100%;object-fit:cover}
.related-product-copy{display:grid;gap:5px;padding:13px 13px 15px}
.related-product-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.related-product-copy span{color:var(--accent);font-size:14px;font-weight:800}
.related-product-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px}
@media(max-width:900px){.related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.related-products{padding:20px 16px;border-radius:17px}.related-products-head{align-items:start}.related-products-head h2{font-size:21px}.related-products-head .ghost{font-size:11px;padding:8px}.related-products-grid{gap:10px}.related-product-copy{padding:11px 10px 12px}}


.tracking-link{display:inline-flex;margin-left:7px;color:#1769e0;font-weight:800;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.tracking-link:hover{color:#0f4fa8}


.fulfillment-history{margin-top:12px;padding-top:11px;border-top:1px solid var(--line);display:grid;gap:7px}.fulfillment-history>strong{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.fulfillment-event{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px}.fulfillment-event span{font-weight:700}.fulfillment-event small{color:var(--muted);text-align:right}@media(max-width:600px){.fulfillment-event{display:grid;gap:2px}.fulfillment-event small{text-align:left}}

/* Aurora visual layer — shared with the diaspora.ro home mesh. */
:root {
  --market-aurora-blue: rgba(24, 119, 242, .10);
  --market-aurora-indigo: rgba(99, 102, 241, .09);
  --market-aurora-mint: rgba(16, 185, 129, .07);
  --market-aurora-amber: rgba(245, 158, 11, .055);
  --market-gradient-primary: linear-gradient(120deg, #1877f2 0%, #6366f1 58%, #818cf8 100%);
  --market-gradient-soft: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 248, 255, .94) 52%, rgba(239, 250, 247, .9));
}

body {
  background:
    radial-gradient(ellipse 90% 55% at 5% 0%, var(--market-aurora-blue) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 5%, var(--market-aurora-indigo) 0%, transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% 100%, var(--market-aurora-mint) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 65%, var(--market-aurora-amber) 0%, transparent 45%),
    #f8fafc;
  background-attachment: fixed;
}

.topbar {
  background: rgba(255, 255, 255, .82);
  border-bottom-color: rgba(99, 102, 241, .14);
  box-shadow: 0 8px 28px rgba(31, 54, 92, .06);
}

.primary,
button.primary,
.form-actions .primary {
  background: var(--market-gradient-primary) !important;
  border: 0 !important;
  box-shadow: 0 8px 18px rgba(65, 91, 220, .22) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.primary:hover,
button.primary:hover,
.form-actions .primary:hover {
  filter: saturate(1.08) brightness(1.03);
  box-shadow: 0 12px 26px rgba(65, 91, 220, .3) !important;
  transform: translateY(-2px);
}

.ghost {
  background: rgba(255, 255, 255, .72) !important;
  border-color: rgba(99, 102, 241, .2) !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
}

.ghost:hover {
  background: linear-gradient(135deg, rgba(238, 244, 255, .98), rgba(246, 241, 255, .98)) !important;
  border-color: rgba(99, 102, 241, .42) !important;
  color: #4f46e5 !important;
  transform: translateY(-1px);
}

.card,
.product-card,
.workspace,
.rfq-workspace,
.marketplace-notification-panel,
.favorites-panel,
.saved-searches-panel,
.seller-workspace > .form,
.seller-workspace > .owned {
  background: var(--market-gradient-soft) !important;
  border-color: rgba(99, 102, 241, .14) !important;
  box-shadow: 0 8px 30px rgba(42, 65, 105, .08), 0 0 0 1px rgba(255, 255, 255, .65) inset !important;
}

.card:hover,
.product-card:hover {
  border-color: rgba(99, 102, 241, .34) !important;
  box-shadow: 0 18px 38px rgba(42, 65, 105, .14), 0 0 0 1px rgba(129, 140, 248, .12) inset !important;
}

.workspace-head,
.seller-head,
.onboarding-card,
.seller-start {
  background:
    radial-gradient(ellipse 70% 130% at 0% 0%, rgba(24, 119, 242, .10), transparent 65%),
    radial-gradient(ellipse 55% 120% at 100% 0%, rgba(99, 102, 241, .10), transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(246, 248, 255, .93));
  border-color: rgba(99, 102, 241, .16);
}

.card .price,
.product-card .price,
.seller-type,
.onboarding-count {
  background: linear-gradient(120deg, #1877f2, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seller-type,
.onboarding-count {
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background: rgba(99, 102, 241, .10);
  color: #4f46e5;
}

@media (prefers-reduced-motion: reduce) {
  .primary,
  button.primary,
  .form-actions .primary,
  .ghost,
  .card,
  .product-card {
    transition: none !important;
  }
  .primary:hover,
  button.primary:hover,
  .form-actions .primary:hover,
  .ghost:hover {
    transform: none;
  }
}

/* Marketplace order and case workspace — canonical static styles. */
.order-box {
  margin-top: 20px;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #f8fbff, #fff);
}
.order-box h3 { margin: 4px 0 6px; color: #173b5b; font-size: 19px; }
.order-box p { margin: 0 0 14px; color: #60758a; font-size: 13px; line-height: 1.5; }
.order-kicker { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #1769e0; }
.order-form { display: grid; gap: 10px; }
.order-form .row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  color: #172b3f;
  font: inherit;
}
.order-form textarea { min-height: 76px; resize: vertical; }
.order-form button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: #1769e0;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.order-form button:disabled,
.order-action:disabled { opacity: .6; cursor: wait; }
.order-message { min-height: 20px; color: #40566b; font-size: 13px; }
.order-message.success { color: #087443; }
.order-message.error { color: #b42318; }
.order-cases { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e5ebf1; }
.order-case-toggle {
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  background: #fff;
  color: #1769e0;
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.order-case-toggle:disabled { opacity: .6; cursor: wait; }
.order-case-list { display: grid; gap: 10px; margin-top: 10px; }
.case-card { padding: 12px; border: 1px solid #d9e2ec; border-radius: 10px; background: #fbfdff; }
.case-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.case-card-title { font-size: 13px; font-weight: 800; color: #173b5b; }
.case-card-meta,
.case-card p { margin: 5px 0 0; color: #60758a; font-size: 12px; line-height: 1.5; }
.case-card-status {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff4db;
  color: #8a5700;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.case-card-status.resolved,
.case-card-status.closed { background: #e7f7ee; color: #087443; }
.case-card-status.rejected { background: #fdecea; color: #b42318; }
.case-response { display: grid; gap: 8px; margin-top: 10px; }
.case-response textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 74px;
  resize: vertical;
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  color: #172b3f;
  font: inherit;
}
.case-response button {
  justify-self: start;
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  background: #1769e0;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.case-response button:disabled { opacity: .6; cursor: wait; }
.case-response-message { min-height: 18px; color: #b42318; font-size: 12px; }
.order-inbox { margin-top: 24px; border-top: 1px solid #d9e2ec; padding-top: 18px; }
.order-inbox-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.order-inbox h3 { margin: 0; color: #173b5b; font-size: 19px; }
.order-help { color: #718397; font-size: 12px; margin-top: 3px; }
.order-retry {
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  background: #fff;
  color: #1769e0;
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.order-list { display: grid; gap: 10px; }
.order-card { border: 1px solid #d9e2ec; border-radius: 12px; padding: 14px; background: #fff; }
.order-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order-card-title { font-weight: 800; color: #173b5b; }
.order-card-meta { display: block; color: #718397; font-size: 12px; margin-top: 3px; }
.order-card-price { margin: 12px 0 5px; color: #1769e0; font-size: 17px; font-weight: 800; }
.order-card-note { margin: 0; color: #52677b; font-size: 13px; line-height: 1.5; }
.order-status { display: inline-flex; border-radius: 999px; padding: 4px 8px; background: #eef4ff; color: #245ca8; font-size: 10px; font-weight: 800; white-space: nowrap; }
.order-status.accepted { background: #e8f7ef; color: #087443; }
.order-status.rejected,
.order-status.cancelled { background: #fff0f0; color: #b42318; }
.order-status.completed { background: #f0ebff; color: #6338a5; }
.order-actions { display: flex; gap: 8px; margin-top: 13px; }
.order-action { min-height: 38px; border-radius: 8px; padding: 8px 13px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.order-action.primary { border: 1px solid #1769e0; background: #1769e0; color: #fff; }
.order-action.secondary { border: 1px solid #cbd8e5; background: #fff; color: #b42318; }
.order-state { padding: 16px; border: 1px dashed #cbd8e5; border-radius: 10px; color: #718397; font-size: 13px; background: #fbfdff; }
.order-state.error { color: #b42318; }
.fulfillment-editor { display: grid; gap: 8px; margin-top: 10px; }
.fulfillment-editor label { display: grid; gap: 4px; color: #53657c; font-size: 12px; font-weight: 800; }
.fulfillment-editor input,
.fulfillment-editor textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  color: #172b3f;
  font: inherit;
}
.fulfillment-editor textarea { min-height: 70px; resize: vertical; }
.fulfillment-editor-actions { display: flex; gap: 8px; }
.fulfillment-editor-actions button { border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.fulfillment-editor-actions .save { border: 1px solid #1769e0; background: #1769e0; color: #fff; }
.fulfillment-editor-actions .cancel { border: 1px solid #cbd8e5; background: #fff; color: #53657c; }
.tracking-link { margin-left: 5px; color: #1769e0; font-weight: 800; }
@media (max-width: 560px) {
  .order-form .row { grid-template-columns: 1fr; }
  .order-inbox-head { display: block; }
  .order-retry { margin-top: 10px; }
  .order-card-head { display: block; }
  .order-status { margin-top: 8px; }
  .order-actions > * { flex: 1; }
  .case-card-head { display: block; }
  .case-card-status { margin-top: 8px; }
}
