/* Compact catalog, preserving the existing photographs and controls. */
#catalog{padding-top:32px;padding-bottom:36px}
#catalog .section-title{gap:10px;align-items:center;flex-direction:row}
#catalog .section-title h2{font-size:28px;line-height:1.2;margin:6px 0 10px}
#catalog .section-title p{font-size:13px;max-width:350px;margin:0;line-height:1.5}
.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 14px}
.categories button{padding:9px 9px 12px;border-radius:12px}
.categories button .category-photo{width:68px;height:68px;aspect-ratio:1;margin:0 auto 10px;border-radius:10px}
.categories button>span{text-align:center;font-size:15px;line-height:20px;min-height:20px;margin:0 0 5px}
.categories button>small{text-align:center;font-size:10px;line-height:15px;min-height:30px;margin:0}
.subfilters{gap:6px;margin:12px 0 16px}.subfilters button{min-height:36px;padding:8px 13px;font-size:12px}
.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.card{padding:12px;border-radius:12px}
.card>.card-photo{height:125px;aspect-ratio:auto;margin:0 0 10px;border-radius:9px}
.card>.card-photo .label{left:8px;top:8px;padding:4px 7px;font-size:9px}
.card>.card-photo .fallback{font-size:46px}
.card>small{font-size:10px;line-height:15px;min-height:15px}
.card h3{font-size:14px;line-height:20px;min-height:40px;margin:6px 0 10px}
.prices{min-height:58px;margin:0 0 12px;gap:4px}
.prices span{font-size:9px;line-height:13px;padding:7px 4px;gap:4px;border-radius:7px}
.prices b{font-size:14px;line-height:18px}
.buyrow{grid-template-columns:minmax(0,1fr) 64px;gap:6px}
.buyrow select,.buyrow input,.buyrow button{font-size:12px;height:40px;min-height:40px;padding:8px;border-radius:8px}
.buyrow button:disabled{height:86px;min-height:86px}
@media(min-width:1600px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px) and (min-width:761px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card>.card-photo{height:135px}}
@media(max-width:760px){#catalog{padding-top:26px;padding-bottom:30px}#catalog .section-title{flex-direction:column;align-items:start;gap:0}#catalog .section-title h2{font-size:26px}#catalog .section-title p{font-size:12px}.categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.categories button{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 8px;padding:10px;align-items:center}.categories button .category-photo{grid-row:1/3;width:52px;height:52px;margin:0;border-radius:8px}.categories button>span{text-align:left;margin:0;min-height:0;font-size:13px;line-height:18px;align-self:end}.categories button>small{text-align:left;font-size:9px;line-height:13px;min-height:0;align-self:start}.cards{grid-template-columns:minmax(0,1fr);gap:12px}.card{display:grid;grid-template-columns:94px minmax(0,1fr);gap:6px 12px;align-content:start;padding:12px}.card>.card-photo{grid-column:1;grid-row:1/4;width:94px;height:94px;margin:0}.card>.card-photo .label{font-size:8px;max-width:80px;padding:3px 5px}.card>.card-photo .fallback{font-size:30px}.card>small{grid-column:2;min-height:0}.card h3{grid-column:2;min-height:0;margin:0;font-size:14px;line-height:19px}.prices{grid-column:2;min-height:52px;margin:0}.prices span{font-size:8px;padding:5px 3px}.prices b{font-size:13px}.buyrow{grid-column:1/-1;margin-top:6px;grid-template-columns:1fr 1fr 64px}.buyrow .card-more{grid-column:1/-1}.buyrow .add{grid-column:auto}.buyrow select,.buyrow input,.buyrow button{height:44px;min-height:44px}.buyrow select{grid-column:1}.buyrow input{grid-column:3;grid-row:2}.buyrow .add{grid-column:2;grid-row:2}.buyrow button:disabled{height:44px;min-height:44px}.subfilters button{min-height:38px}}
