/* Laqino market UI: responsive desktop layout, compact cards, navigation and readable themes. */
:root{color-scheme:light dark;--ac:#0f2a5c}
body{min-width:320px}
.market-topbar{max-width:1280px;margin:0 auto 10px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.market-brand{display:inline-flex;align-items:center;gap:9px;color:#fff;text-decoration:none;font-weight:900;font-size:19px;white-space:nowrap}
.market-brand img{width:42px;height:42px;object-fit:contain;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent}
.market-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.market-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 12px;border-radius:11px;background:rgba(255,255,255,.13);color:#fff;text-decoration:none;font-size:13px;font-weight:800}
.market-nav a[aria-current="page"]{background:#f28c1b;color:#2b1a08}
header h1{max-width:1280px;margin:0 auto 8px!important}
button.pri,.add-listing-btn,.cbox button.pri{background:#0f2a5c!important;border-color:#0f2a5c!important;color:#fff!important}
button.pri:active,.add-listing-btn:active{background:#0a1d44!important}
body>main#app{width:min(calc(100% - 28px),1280px)!important;max-width:1280px!important;margin-inline:auto!important;padding:14px 0 28px!important}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.grid>.card{min-width:0}
.card .ph{aspect-ratio:4/3!important}
.card .b{padding:12px!important}
.card .t{min-height:2.7em!important;color:#172744!important;font-size:14px!important;font-weight:800!important;line-height:1.45!important}
.card .p{color:#0f2a5c!important;font-weight:900!important}
.card .m{color:#59677e!important}
.card .fresh,.card .gold{max-width:calc(100% - 16px)}
.det{max-width:900px;margin:0 auto}
.det .main{width:100%;max-height:520px;aspect-ratio:16/9;object-fit:contain}
.det h2{color:#16213a}
.share-whatsapp{display:flex;align-items:center;justify-content:center;min-height:48px;margin:14px 0;padding:8px 16px;border-radius:13px;background:#0f2a5c;color:#fff!important;text-decoration:none;font-weight:900;box-shadow:0 7px 16px rgba(15,42,92,.18)}
.market-topbar+.market-nav{display:none}
@media(min-width:640px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}.card .t{font-size:15px!important}}
@media(min-width:1024px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}body>main#app{padding-top:22px!important}.det{padding:22px!important}}
@media(min-width:1440px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:520px){header{padding-inline:12px!important}.market-topbar{align-items:center;gap:6px}.market-brand{font-size:16px}.market-brand img{width:36px;height:36px}.market-nav{gap:4px}.market-nav a{padding-inline:8px;min-height:34px;font-size:12px}header h1{font-size:21px!important}.grid{gap:9px!important}.card .b{padding:9px!important}.card .t{font-size:13px!important}.card .p{font-size:14px!important}}
@media(prefers-color-scheme:dark){
 body{background:#141b27!important;color:#f2f5fb!important}
 header{background:linear-gradient(145deg,#0f2a5c,#1b3f86)!important}
 .card,.det{background:#1e293b!important;border-color:#40506a!important;color:#f2f5fb!important}
 .card .t,.det h2,.det p,.det td{color:#f2f5fb!important}
 .card .p,.det>.p{color:#fff!important}
 .card .m,.det .m,.det td:first-child{color:#c5d0e2!important}
 .det table{background:#172233!important}
 input,select,textarea{background:#202c3d!important;color:#f2f5fb!important;border-color:#53627a!important}
 .tag{color:#e9effa}
 .share-whatsapp{background:#f28c1b;color:#261708!important}
}
@media(prefers-reduced-motion:reduce){.share-whatsapp{transition:none}}
