.htm{max-width:1150px;margin:2rem auto;font-family:inherit}.htm *{box-sizing:border-box}.htm-head{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;flex-wrap:wrap}.htm-head h2{margin-bottom:.25rem}.htm-head p{color:#666}.htm-button,.htm button[type=submit],.htm-filters button{display:inline-block;background:#252b29;color:#fff!important;border:0;border-radius:5px;text-decoration:none;padding:12px 17px;cursor:pointer;font:inherit}.htm .htm-secondary{background:#eee;color:#222!important}.htm-filters{display:grid;grid-template-columns:2fr 1.3fr 1fr auto;gap:12px;align-items:end;background:#f6f6f4;padding:18px;border-radius:8px;margin:22px 0}.htm label{display:block;font-size:14px;font-weight:600}.htm input,.htm select,.htm textarea{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid #c8cac8;border-radius:4px;background:#fff;color:#222;font:inherit}.htm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.htm-card{border:1px solid #e5e5e5;border-radius:8px;overflow:hidden;text-decoration:none!important;color:inherit!important;box-shadow:0 2px 8px #0000000a}.htm-cover{aspect-ratio:4/3;background:#ececea;display:flex;align-items:center;justify-content:center;color:#777}.htm-cover img{height:100%;width:100%;object-fit:cover}.htm-card-body{padding:16px;display:flex;flex-direction:column;gap:5px}.htm-card-body strong{font-size:1rem}.htm-card-body b{font-size:1.2rem}.htm-card-body small,.htm-muted,.htm-my-row small{color:#6b6b6b}.htm-pagination{margin:25px 0}.htm-pagination a{padding:7px 10px;border:1px solid #ddd}.htm-pagination [aria-current]{background:#252b29;color:white}.htm-notice{padding:14px 16px;background:#f0f4ef;border-left:4px solid #66796d;margin:18px 0}.htm-form{max-width:780px;display:grid;gap:18px;margin-bottom:30px}.htm-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.htm-my-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #ddd;padding:14px 0}.htm-my-row small{display:block}.htm-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.htm-actions form{margin:0}.htm .htm-text-button{background:none!important;border:0;padding:0;color:#565b54!important;text-decoration:underline;cursor:pointer}.htm-detail-price{font-size:1.8rem;font-weight:700}.htm-detail-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.htm-detail-images img{width:100%;height:auto;border-radius:6px}.htm-mini-photos{display:flex;gap:12px;flex-wrap:wrap}.htm-mini-photos img{max-width:100px;height:80px;object-fit:cover}.htm-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}@media(max-width:740px){.htm-filters,.htm-pair{grid-template-columns:1fr}.htm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.htm-detail-images{grid-template-columns:1fr}}@media(max-width:460px){.htm-grid{grid-template-columns:1fr}.htm-my-row{align-items:flex-start;flex-direction:column}}

/* Version 1.1: Shop-inspired layout using the site's existing theme header/footer */
.htm-marketplace{max-width:1200px}.htm-hero{border-bottom:1px solid #dedbd6;margin-bottom:22px;padding:8px 0 24px}.htm-eyebrow{font-size:.75rem;letter-spacing:.12em;color:#76716b;font-weight:700;margin-bottom:8px}.htm-marketplace .htm-head h2{font-weight:500;font-size:2.1rem}.htm-marketplace .htm-head p{max-width:650px}.htm-layout{display:grid;grid-template-columns:minmax(190px,230px) minmax(0,1fr);gap:32px}.htm-sidebar .htm-filters{display:flex;flex-direction:column;align-items:stretch;margin:0 0 24px;padding:18px;background:#f5f4f1;gap:14px}.htm-sidebar h3{font-size:1.05rem;margin:0 0 4px}.htm-sidebar label{width:100%}.htm-sidebar .htm-filters button{width:100%}.htm-reset{text-align:center;font-size:.88rem}.htm-category-links{border-top:1px solid #dedbd6;padding-top:18px}.htm-category-links a{display:block;text-decoration:none;border-bottom:1px solid #ebe8e4;padding:9px 2px;color:inherit}.htm-category-links a[aria-current]{font-weight:700}.htm-result-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.htm-result-bar form{margin:0}.htm-result-bar label{display:flex;align-items:center;gap:8px;font-weight:400}.htm-result-bar select{width:auto;margin:0;padding:7px}.htm-marketplace .htm-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.htm-marketplace .htm-card{border:0;border-radius:0;box-shadow:none;background:transparent}.htm-marketplace .htm-cover{aspect-ratio:1/1;border-radius:3px;overflow:hidden}.htm-marketplace .htm-card-body{text-align:center;padding:12px 5px}.htm-marketplace .htm-card-body strong{font-weight:500}.htm-disclaimer{border-top:1px solid #ddd;margin-top:28px;padding-top:16px;font-size:.86rem}.htm-report{margin:26px 0;padding:14px;border:1px solid #ddd;max-width:650px}.htm-report summary{cursor:pointer;font-weight:600}.htm-report form{display:grid;gap:12px;padding-top:15px}.htm-report button{justify-self:start}@media(max-width:900px){.htm-layout{grid-template-columns:190px minmax(0,1fr);gap:20px}.htm-marketplace .htm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.htm-layout{grid-template-columns:1fr}.htm-sidebar .htm-filters{margin-bottom:15px}.htm-category-links{display:none}.htm-result-bar{margin-top:8px}.htm-marketplace .htm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media(max-width:390px){.htm-marketplace .htm-grid{grid-template-columns:1fr}}

/* Version 1.2: Storefront page integration and cleaner empty/account states. */
body.htm-full-width #secondary,body.htm-full-width .widget-area{display:none!important}
body.htm-full-width #primary,body.htm-full-width .content-area,body.htm-full-width .site-main{width:100%!important;max-width:100%!important;float:none!important;margin-left:auto!important;margin-right:auto!important}
body.htm-full-width .htm{max-width:1200px;margin:0 auto 3rem}
body.htm-full-width .entry-header{margin-bottom:1.25rem}
.htm-empty{padding:2.2rem 1.5rem;background:rgba(247,246,243,.82);border:1px solid #e9e5df;border-radius:5px;text-align:center}
.htm-empty h3{font-weight:500;margin:0 0 .65rem;font-size:1.35rem}
.htm-empty p{max-width:530px;margin:0 auto 1.25rem;color:#555}
.htm-empty .htm-button{display:inline-block}
.htm-account .htm-account-intro{padding:0 0 1rem}
.htm-account h3{margin:1.4rem 0 .8rem}
.htm-account .htm-form{max-width:850px}
.htm-account .htm-form button[type=submit]{width:100%}
@media(max-width:767px){body.htm-full-width #primary,body.htm-full-width .content-area{order:initial!important}.htm-marketplace .htm-hero{padding-top:0}.htm-empty{padding:1.5rem .8rem}}
