/* Compact collection controls and cards; desktop presentation stays unchanged. */
.catalog-view-controls{display:none}
@media(max-width:700px){
 .catalog-body>.section-heading{flex-wrap:wrap;gap:14px;margin-bottom:16px}
 .catalog-body>.section-heading>div:first-child{width:100%}
 .catalog-view-controls{display:flex;align-items:center;gap:6px}
 .catalog-view-controls button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:7px 10px;border:1px solid #ddd;border-radius:7px;background:white;color:#374151;font-size:12px;font-weight:600}
 .catalog-view-controls button[aria-pressed=true]{color:#c81020;background:#fff1f1;border-color:#e51b2b}
 .catalog-view-controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
 .catalog-body>.section-heading #sort{max-width:none;min-width:0;flex:0 1 185px;min-height:40px;font-size:12px;border-radius:7px}
 #products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;align-items:stretch}
 #products .product{min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:9px}
 #products .product-image{aspect-ratio:1;height:auto;padding:5px;flex:none}
 #products .product-info{padding:10px;flex:1;min-width:0}
 #products .product-info>small{display:none}
 #products .product-info h3{font-size:13px;line-height:1.4;min-height:2.8em;margin:0 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #products .catalogue-choice-price{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0;flex:1}
 #products .catalogue-option-label{display:none}
 #products .catalogue-swatches{flex-wrap:nowrap;overflow-x:auto;min-height:32px;gap:0;margin:0;scrollbar-width:thin}
 #products .catalogue-swatches button{width:24px;height:32px;flex:0 0 24px;padding:4px;border-radius:8px}
 #products .catalogue-swatches button span{width:18px;height:18px}
 #products .catalogue-size-options{min-height:32px}
 #products .catalogue-sizes{gap:5px;margin:0;min-height:32px}
 #products .catalogue-sizes button{min-height:32px;min-width:34px;padding:4px 8px;font-size:11px}
 #products .catalogue-size-options:has(.catalogue-sizes button:only-child){display:none}
 #products .catalogue-choice-price>.price{max-width:none;align-self:stretch;text-align:start;font-size:21px;line-height:1.25;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;margin:8px 0 0;margin-top:auto}
 #products .catalogue-choice-price .catalogue-from{font-size:11px;margin:0;font-weight:400}
 #products .card-bottom{margin-top:auto;padding-top:10px}
 #products .catalogue-buy{min-height:38px;padding:9px 5px;font-size:12px;line-height:20px;border-radius:6px}
 #products[data-view=list]{grid-template-columns:minmax(0,1fr)}
 #products[data-view=list] .product{display:grid;grid-template-columns:36% minmax(0,1fr);align-items:start}
 #products[data-view=list] .product-image{margin:0;align-self:start}
 #products[data-view=list] .product-info{padding:12px}
 #products[data-view=list] .product-info h3{min-height:0;-webkit-line-clamp:3;font-size:14px}
 #products[data-view=list] .catalogue-buy{width:auto;display:inline-flex;justify-content:center;padding-inline:16px}
}
