.hm{max-width:1250px;margin:40px auto;padding:0 16px;color:#111327;font-family:system-ui,sans-serif}.hm h1{margin-bottom:24px}.hm-filter,.hm-actions,.hm-prices,.hm-stats{display:flex;gap:16px}.hm-filter{margin-bottom:24px;flex-wrap:wrap}.hm-filter input,.hm-filter select{padding:12px;border:1px solid #cbd5e1;border-radius:9px}.hm-filter input{flex:1;min-width:150px}.hm button,.hm-actions a{border:0;border-radius:12px;padding:14px 20px;font-weight:700;text-align:center;background:linear-gradient(120deg,#a21bea,#4505b6);color:white}.hm-card{display:grid;grid-template-columns:40% 1fr;gap:30px;padding:24px;margin:22px 0;border:1px solid #dedcf5;border-radius:20px;box-shadow:0 8px 22px #26276c18;background:#fff}.hm-image{position:relative;display:block;align-self:center;aspect-ratio:1;overflow:hidden;border-radius:14px;background:#f3f4ff}.hm-image img{width:100%;height:100%;object-fit:contain}.hm-sale{position:absolute;top:30px;left:-48px;width:190px;text-align:center;transform:rotate(-45deg);background:#ef0018;color:white;font-size:24px;font-weight:900}.hm-version{position:absolute;top:0;right:0;background:linear-gradient(120deg,#b500ef,#4405bb);color:white;padding:12px 18px;border-radius:0 0 0 16px;font-weight:800}.hm-content{display:flex;flex-direction:column;justify-content:center;min-width:0}.hm h2{font-size:clamp(22px,3vw,38px);font-weight:800;line-height:1.2}.hm h2 a{color:#101123}.hm-short{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:18px}.hm-price{flex:1;min-width:0;padding:16px;border:2px solid #6ce568;border-radius:16px;background:#efffea;font-weight:700;cursor:pointer}.hm-price.extended{background:#e9f5ff;border-color:#59b7ff}.hm-price:has(input:checked){outline:2px solid #7938df;outline-offset:2px}.hm-price strong{display:inline-block;font-size:clamp(24px,4vw,42px);color:#7906bf;margin:8px 12px 0 0}.hm-price.extended strong{color:#1015cc}.hm-price del{color:#777}.hm-stats{margin:24px 0}.hm-stats div{flex:1;font-weight:600}.hm-stats strong{display:block;color:#078519;font-size:24px}.hm-stats div+div strong{color:#123ed0}.hm-actions>*{flex:1}.hm-actions a{background:white;color:#1414cb;border:2px solid #1414cb}.hm-detail{padding:24px;border:1px solid #ddd;border-radius:16px;overflow-wrap:anywhere}.hm-detail h2{font-size:24px;margin-top:20px}@media(max-width:760px){.hm-card{grid-template-columns:1fr;padding:14px;gap:16px}.hm-image{max-height:420px}.hm-prices,.hm-actions,.hm-stats{gap:8px}.hm-price{padding:10px;font-size:13px}.hm-stats strong{font-size:18px}.hm-actions>*{padding:10px;font-size:14px}}

.hm-layout{align-items:flex-start}.hm-list{min-width:0}.hm-list .hm-card{grid-template-columns:34% minmax(0,1fr);gap:14px;padding:14px;margin:0 0 16px;border-radius:14px}.hm-list .hm-card h2{font-size:21px;margin:0 0 6px}.hm-list .hm-short{font-size:13px;line-height:1.5;margin:0 0 8px}.hm-list .hm-prices,.hm-list .hm-stats,.hm-list .hm-actions{gap:8px}.hm-list .hm-price{padding:9px;font-size:12px;border-radius:10px;overflow-wrap:anywhere}.hm-list .hm-price strong{display:block;font-size:23px;margin:4px 0 0;line-height:1.2}.hm-list .hm-price del{font-size:12px}.hm-list .hm-stats{margin:12px 0;font-size:12px}.hm-list .hm-stats strong{font-size:16px}.hm-list .hm-actions>*{padding:9px 5px;font-size:13px;border-radius:8px}.hm-list .hm-sale{font-size:15px;width:130px;left:-35px;top:19px}.hm-list .hm-version{font-size:11px;padding:7px 9px}.hm-categories{border:1px solid #dedcf5;border-radius:12px;overflow:hidden;background:#fff;margin-bottom:18px}.hm .hm-categories h2{background:#142967;color:#fff;font-size:18px;padding:14px;margin:0}.hm-categories a{display:flex;justify-content:space-between;padding:12px 15px;border-bottom:1px solid #edf0f5;color:#142967;font-size:14px}.hm-categories a.active,.hm-categories a:hover{background:#e9f8ed;color:#087c31}.hm-categories a:last-child{border-bottom:0}@media(max-width:767px){.hm-list .hm-card{grid-template-columns:1fr}.hm-list .hm-image{width:100%;max-width:320px;justify-self:center}.hm-list .hm-price strong{font-size:21px}}

.hm-list .hm-card{grid-template-columns:28% minmax(0,1fr);gap:10px;padding:10px;margin-bottom:10px;border-radius:10px}.hm-list .hm-card h2{font-size:17px;margin-bottom:3px}.hm-list .hm-short{font-size:12px;line-height:1.3;margin-bottom:5px}.hm-list .hm-price{padding:5px;font-size:11px;border-radius:7px}.hm-list .hm-price strong{display:inline-block;font-size:18px;margin:3px 5px 0 0}.hm-list .hm-price del{font-size:11px}.hm-list .hm-stats{margin:6px 0;font-size:11px}.hm-list .hm-stats strong{font-size:13px}.hm-list .hm-actions>*{padding:5px;font-size:12px;border-radius:6px}.hm-list .hm-sale{font-size:11px;width:100px;left:-28px;top:14px}.hm-list .hm-version{font-size:10px;padding:4px 6px}.hm-list .hm-image{border-radius:8px}.hm-categories a{padding:9px 12px}@media(max-width:575px){.hm-list .hm-card{grid-template-columns:1fr}.hm-list .hm-image{max-width:220px}.hm-list .hm-price strong{font-size:18px}}

/* Three-column compact listing: 4 / 6 / 2 */
.hm-list .hm-card{grid-template-columns:minmax(0,4fr) minmax(0,6fr) minmax(0,2fr);gap:8px;padding:8px;align-items:stretch}
.hm-list .hm-image{width:100%;align-self:start;max-width:none}
.hm-list .hm-content{justify-content:flex-start;min-width:0}
.hm-list .hm-short{-webkit-line-clamp:4;overflow-wrap:anywhere}
.hm-list .hm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:auto 0 0;padding-top:6px;border-top:1px solid #e5e7eb;font-size:10px;line-height:1.25}
.hm-list .hm-stats div{min-width:0;overflow-wrap:anywhere}
.hm-list .hm-stats strong{font-size:11px;margin-top:3px}.hm-list .hm-stats a{color:#7138b5}
.hm-purchase{min-width:0;margin:0;display:flex;flex-direction:column;gap:4px}
.hm-list .hm-purchase .hm-prices,.hm-list .hm-purchase .hm-actions{display:flex;flex-direction:column;gap:4px;margin:0}
.hm-list .hm-purchase .hm-price{padding:4px;margin:0;border-width:1px;border-radius:4px;font-size:10px;line-height:1.2;display:block}
.hm-list .hm-purchase .hm-price input{width:11px;height:11px;margin:0;vertical-align:middle}
.hm-list .hm-purchase .hm-price strong{font-size:16px;margin:2px 3px 0 0;line-height:1.1;overflow-wrap:anywhere}
.hm-list .hm-purchase .hm-price del{font-size:10px;overflow-wrap:anywhere}
.hm-list .hm-purchase .hm-price:has(input:checked){outline-offset:0;outline-width:1px}
.hm-list .hm-purchase .hm-actions>*{display:flex;align-items:center;justify-content:center;width:100%;min-height:26px;padding:3px 2px;font-size:11px;line-height:1.15;border-radius:4px;white-space:normal}
.hm-list .hm-purchase .hm-actions button{background:#15803d}
@media(max-width:767px){.hm-list .hm-card{grid-template-columns:minmax(0,4fr) minmax(0,6fr)}.hm-list .hm-purchase{grid-column:1/-1}.hm-list .hm-purchase .hm-prices,.hm-list .hm-purchase .hm-actions{flex-direction:row}.hm-list .hm-purchase .hm-actions>*{width:auto;flex:1}}

/* Compact height and detail panels */
.hm-list .hm-card{align-items:start;grid-template-columns:minmax(0,4fr) minmax(0,6fr) minmax(0,2fr)}
.hm-list .hm-image{aspect-ratio:auto;height:150px;min-height:0;align-self:start}.hm-list .hm-image img{display:block;object-fit:contain}.hm-list .hm-content{justify-content:flex-start}.hm-list .hm-stats{margin:6px 0 0;padding-top:5px}.hm-list .hm-version{max-width:75%;white-space:nowrap;overflow:visible;font-size:10px;line-height:1.3}.hm-list .hm-purchase{align-self:start}.hm-list .hm-purchase .hm-actions{margin-bottom:0}.hm-list .hm-short{margin-bottom:4px}
.hm-detail h2{background:#142967;color:white;padding:10px 14px;border-radius:7px;font-size:18px}.hm-demo,.hm-credential-field{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;background:#f4f7fb;border-radius:7px;margin:8px 0}.hm-demo>div,.hm-credential-field>div{min-width:0}.hm-demo small,.hm-credential-field small{display:block;color:#52647a;font-size:12px;overflow-wrap:anywhere}.hm-demo a,.hm-detail .hm-credential-field button{background:#15803d;color:white;border:0;border-radius:5px;padding:7px 10px;font-size:12px;white-space:nowrap}.hm-credential{border:1px solid #dce5ef;border-radius:9px;padding:12px;margin:10px 0}.hm-credential h3{font-size:16px;color:#15803d;margin:0}.hm-credential-field code{display:block;color:#142967;white-space:pre-wrap;overflow-wrap:anywhere}.hm-detail .hm-credential-field button{background:#142967}
@media(max-width:767px){.hm-list .hm-card{grid-template-columns:minmax(0,4fr) minmax(0,6fr)}.hm-list .hm-image{height:140px}.hm-demo{flex-wrap:wrap}}
