.market-page { padding: 30px 0 60px; background: #f8fafc; }
.market-disclaimer { display:grid; grid-template-columns:auto minmax(0,1fr); gap:14px; margin-bottom:22px; padding:20px; border:2px solid #f5a623; border-radius:10px; background:#17130b !important; color:#f8fafc !important; box-shadow:0 10px 28px rgba(0,0,0,.2); }
.market-disclaimer > i { margin-top:3px; color:#ffc95c !important; font-size:22px; }
.market-disclaimer h2 { margin:0 0 8px; color:#fff !important; font-size:21px; }
.market-disclaimer p,.market-disclaimer strong { color:#f8fafc !important; }
.market-disclaimer p { margin:0 0 8px; line-height:1.65; }
.market-disclaimer p:last-child { margin-bottom: 0; }
.market-disclaimer a { color:#ffd77d !important; font-weight:900; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
.market-disclaimer a:hover,.market-disclaimer a:focus { color:#fff2c7 !important; }
.market-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.market-panel { padding: 20px; position: sticky; top: 16px; }
.market-panel h3 { color: #20212B; margin-bottom: 14px; }
.market-panel .form-control { margin-bottom: 10px; }
.market-terms-check { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px; align-items: start; margin: 12px 0; color: #475467; font-size: 13px; line-height: 1.45; cursor: pointer; }
.market-terms-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: #1479d4; }
.market-terms-check a { color: #0b65b1; font-weight: 800; text-decoration: underline; }
.market-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.market-toolbar h1 { margin: 0; color: #20212B; }
.market-toolbar .form-control { max-width: 320px; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.market-card img { width: 100%; height: 190px; object-fit: cover; }
.market-card-body { padding: 18px; }
.market-card-meta, .market-card-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.market-card-meta { color: #667085; font-weight: 800; margin-bottom: 10px; }
.market-card h2 { color: #20212B; font-size: 22px; }
.market-card p { color: #667085; min-height: 70px; }
.mark-sold-btn { margin-top: 12px; border: 0; background: #f3f6ff; color: #20212B; border-radius: 8px; padding: 9px 12px; font-weight: 800; }
.market-empty { padding: 20px; border: 1px dashed #d0d5dd; background: #fff; border-radius: 8px; color: #667085; }
.btn-outline-custom { border: 1px solid #20212B; color: #20212B; background: #fff; font-weight: 800; }
.btn-outline-custom:hover { background: #20212B; color: #fff; }
.market-modal[hidden] { display: none; }
.market-modal { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 18px; }
.market-modal-backdrop { position: absolute; inset: 0; background: rgba(32,33,43,.58); }
.market-modal-dialog { position: relative; z-index: 1; width: min(560px, 100%); background: #fff; border-radius: 8px; box-shadow: 0 24px 70px rgba(32,33,43,.28); }
.market-modal-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 22px 22px 12px; border-bottom: 1px solid #eef2f6; }
.market-modal-header h2 { margin: 0; color: #20212B; font-size: 24px; }
.market-modal-body { display: grid; gap: 12px; padding: 20px 22px 22px; }
.market-modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.market-icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff; color: #20212B; display: inline-flex; align-items: center; justify-content: center; }
.market-icon-btn:hover { border-color: #FDBE33; background: #fffaf0; }
.contact-listing-summary { color: #667085; margin: 0; font-weight: 800; }
.market-modal-open { overflow: hidden; }
@media (max-width: 1199px) { .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) { .market-layout { grid-template-columns: 1fr; } .market-panel { position: static; } }
@media (max-width: 575px) { .market-grid { grid-template-columns: 1fr; } .market-toolbar { flex-direction: column; align-items: stretch; } .market-toolbar .form-control { max-width: none; } .market-modal-actions { display: grid; } }
