.marketplace{color:#071b4f;padding:20px 0 25px}
.marketplace button,.marketplace input,.marketplace select{font:inherit}
.marketplace-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}
.marketplace .eyebrow{display:block;color:#123d8d;font-size:13px;font-weight:700;letter-spacing:.09em;margin-bottom:4px}
.marketplace h1{font-size:43px;letter-spacing:-.045em;line-height:1.1;margin:0 0 4px}
.marketplace-head p{font-size:16px;color:#5276ad;margin:0}
.marketplace-actions{display:flex;gap:14px;flex-wrap:wrap}
.marketplace-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;border:1.5px solid #006bff;border-radius:6px;background:#fff;color:#006bff;padding:11px 17px;white-space:nowrap;cursor:pointer;font-weight:600;text-decoration:none}
.marketplace-actions .primary{background:#006bff;color:#fff;min-width:190px}
.marketplace-actions :is(button,a):hover,.marketplace-actions :is(button,a):focus-visible{box-shadow:0 0 0 3px #b8d9ff;outline:0}
.marketplace-actions :is(button,a):active{transform:translateY(1px)}
.marketplace-toolbar{display:flex;align-items:center;gap:12px;padding:10px;background:#fff;border-radius:7px;box-shadow:0 1px 5px #5587b417;margin-bottom:18px}
.marketplace-search{display:flex;align-items:center;gap:9px;flex:1 1 270px;min-width:180px;border:1px solid #d6e5f4;border-radius:7px;padding:0 12px;height:42px;color:#071b4f}
.marketplace-search svg{width:21px;flex:none}
.marketplace-search input{border:0;outline:0;min-width:0;width:100%;color:#071b4f;background:transparent}
.marketplace-search:focus-within{outline:2px solid #006bff}
.marketplace-categories{display:flex;gap:10px;flex-wrap:wrap}
.marketplace-categories button{border:1px solid #e6eef7;border-radius:10px;background:#f7fbff;color:#092558;padding:10px 16px;cursor:pointer;white-space:nowrap}
.marketplace-categories button[aria-pressed=true]{background:#dbeeff;color:#006bff;border-color:#dbeeff}
.marketplace-categories button:hover,.marketplace-categories button:focus-visible{outline:2px solid #006bff}
.marketplace-sort{border-left:1px solid #d8e6f2;padding-left:24px;margin-left:auto}
.marketplace-sort select{height:42px;border:1px solid #e1ebf6;border-radius:7px;background:#fff;color:#092558;padding:0 12px;cursor:pointer}
.marketplace-sort select:focus-visible{outline:2px solid #006bff}
.marketplace-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.marketplace-card{min-width:0;background:#fff;border:1px solid #e4edf5;border-radius:6px;overflow:hidden;display:flex;flex-direction:column}
.marketplace-photo{height:158px;display:block;background-image:url('assets/marketplace-demo-triptych.png');background-size:300% auto;background-repeat:no-repeat;background-position:0 50%}
.marketplace-photo.radio{background-position:50% 50%}.marketplace-photo.battery{background-position:100% 50%}
.marketplace-card-body{padding:8px 12px 12px;display:flex;flex-direction:column;flex:1}
.marketplace-badge{display:inline-block;align-self:flex-start;background:#d9ecff;color:#0750af;border-radius:20px;font-size:12px;padding:3px 11px;line-height:1.2}
.marketplace-card h2{font-size:16px;line-height:1.25;margin:8px 0 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.marketplace-price{font-size:21px;font-weight:700;line-height:1.2;color:#006bff}
.marketplace-summary{font-size:14px;line-height:1.4;color:#5374aa;margin:3px 0 9px}
.marketplace-card-footer{display:flex;align-items:end;justify-content:space-between;gap:5px;margin-top:auto;font-size:12px;color:#5676aa}
.marketplace-card-footer span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.marketplace-card-footer button{border:0;background:transparent;color:#006bff;font-weight:600;white-space:nowrap;padding:3px 0;cursor:pointer}
.marketplace-card-footer button:hover,.marketplace-card-footer button:focus-visible{text-decoration:underline;outline:2px solid #006bff;outline-offset:2px}
.marketplace-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:22px;color:#5374aa;font-size:14px}
.marketplace-pages{display:flex;align-items:center;gap:9px}
.marketplace-pages button{border:0;background:transparent;color:#006bff;padding:8px 10px;min-width:34px;cursor:pointer}
.marketplace-pages button[aria-current=page]{background:#d8ebff;border-radius:6px;color:#12336a;font-weight:700}
.marketplace-pages button:focus-visible{outline:2px solid #006bff}
.marketplace-pages button:disabled{opacity:.45;cursor:default}
.marketplace-empty{background:#fff;border:1px solid #dbeaf8;border-radius:7px;padding:26px;text-align:center;color:#5276ad}
.marketplace-empty[hidden],.marketplace-panel[hidden]{display:none}
.marketplace-panel{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:#001b2cc2;padding:18px}
.marketplace-panel-card{width:min(560px,100%);background:#fff;border-radius:9px;padding:26px;box-shadow:0 12px 45px #00162755;color:#092558}
.marketplace-panel-card h2{margin:0 0 10px;font-size:25px}.marketplace-panel-card p{line-height:1.5;color:#4c6b92}
.marketplace-panel-card dl{display:grid;grid-template-columns:100px 1fr;gap:8px;margin:15px 0}.marketplace-panel-card dt{font-weight:700}
.marketplace-panel-close{background:#006bff;color:#fff;border:0;border-radius:5px;padding:10px 18px;cursor:pointer}
@media(max-width:1300px){.marketplace-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.marketplace-toolbar{flex-wrap:wrap}.marketplace-sort{padding-left:10px}}
@media(max-width:1050px){.marketplace-head{align-items:flex-start;flex-direction:column}.marketplace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.marketplace h1{font-size:33px}.marketplace-actions{width:100%}.marketplace-actions :is(button,a){flex:1}.marketplace-grid{grid-template-columns:1fr}.marketplace-photo{height:210px}.marketplace-search{flex-basis:100%}.marketplace-sort{margin-left:0;border:0;padding:0}.marketplace-footer{align-items:flex-start;flex-direction:column}.marketplace-pages{flex-wrap:wrap}}
