/*
 * XMarket V08 kategori işlev ve iki sütunlu katalog yerleşimi.
 * Ana görünüm assets/karsilama-birebir-v07.css içindeki canlı karşılama
 * sayfasının birebir CSS kopyasından gelir. Bu dosya yalnız kategoriye özgü
 * form, sol kategori/filtre sütunu, sağ ürün alanı, sıralama, liste görünümü
 * ve sayfalama davranışlarını yerleştirir.
 */
.category-catalog-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;align-items:start;margin-bottom:14px}
.category-catalog-sidebar{display:grid;gap:14px;align-content:start;min-width:0}
.category-catalog-sidebar .storefront-category-nav{min-width:0;order:0}
.category-catalog-sidebar .storefront-side{display:block;grid-column:auto;grid-template-columns:none;grid-template-rows:none;min-width:0}
.category-catalog-sidebar .storefront-promo:first-child{border-right:0;border-bottom:1px solid #fed7aa}
.category-filter-form{display:grid}
.category-results-panel{min-width:0;margin-bottom:0}
.category-results-panel .storefront-section-head{align-items:flex-start}
.category-results-panel .storefront-section-head h1{margin:0;font-size:22px}
.category-results-panel .storefront-section-head p{line-height:1.55}
.category-results-panel .product-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}
.category-results-panel .product-grid.category-list-view{grid-template-columns:1fr}
.category-filter-promo{cursor:default}
.category-filter-promo:hover{transform:none}
.category-price-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-top:2px}
.category-price-row input{display:block;width:100%;min-width:0;border:1px solid #e5e7eb;background:#fff;color:#0f172a;border-radius:10px;padding:11px 10px;outline:none;font:inherit;font-size:12px}
.category-price-row input:focus{border-color:#f27a1a;box-shadow:0 0 0 3px rgba(242,122,26,.12)}
.category-stock-check{display:flex;align-items:center;gap:8px;color:#0f172a;font-size:13px;font-weight:800;margin:2px 0 12px}
.category-stock-check input{width:17px;height:17px;accent-color:#f27a1a}
.category-filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
.category-filter-actions .storefront-primary,.category-filter-actions .storefront-secondary{min-height:40px;border:0;font-size:12px;cursor:pointer;padding:10px;text-align:center}
.category-filter-actions .storefront-secondary{border:1px solid #e5e7eb}
.category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #f1f5f9;padding-top:14px;margin-bottom:14px}
.toolbar-count{font-size:13px;color:#64748b}.toolbar-count strong{color:#0f172a}
.toolbar-controls{display:flex;align-items:stretch;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.toolbar-controls select,.view-btn{min-height:38px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;color:#0f172a;padding:8px 9px;font:inherit;font-size:12px}
.view-btn{display:inline-flex;align-items:center;justify-content:center;min-width:38px;text-decoration:none;font-weight:900;cursor:pointer}
.view-btn.active,.view-btn:hover{border-color:#f27a1a;background:#fff7ed;color:#c2410c}
.toolbar-controls button.view-btn{background:#f27a1a;color:#fff;border-color:#f27a1a}
.toolbar-controls button.view-btn:hover{background:#df6710;color:#fff;border-color:#df6710}
.product-grid.category-list-view{grid-template-columns:1fr}
.category-list-view .sale-product{display:grid;grid-template-columns:210px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:14px}
.category-list-view .product-gallery{grid-column:1;grid-row:1/3}
.category-list-view .sale-product>h3{grid-column:2;grid-row:1;font-size:15px;margin:4px 0}
.category-list-view .prod-main-info{grid-column:2;grid-row:2;margin-top:4px}
.empty-state{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:42px 20px;text-align:center;color:#64748b}
.empty-state h3{color:#0f172a;margin:0 0 8px}.empty-state p{margin:0 0 18px}.empty-state .storefront-primary{border:0}
.pagination{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:20px 0 2px}
.pagination a,.pagination span{min-width:38px;height:38px;border-radius:10px;background:#fff;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#334155;font-weight:800}
.pagination .active,.pagination a:hover{background:#f27a1a;color:#fff;border-color:#f27a1a}
@media(max-width:1100px){.category-catalog-layout{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:760px){.category-catalog-layout{grid-template-columns:1fr}.category-catalog-sidebar .storefront-category-nav{order:0}.category-toolbar{align-items:stretch;flex-direction:column}.toolbar-controls{display:grid;grid-template-columns:1fr 1fr}.toolbar-controls select{width:100%}.category-list-view .sale-product{grid-template-columns:160px minmax(0,1fr)}}
@media(max-width:560px){.category-list-view .sale-product{grid-template-columns:1fr}.category-list-view .product-gallery,.category-list-view .sale-product>h3,.category-list-view .prod-main-info{grid-column:1;grid-row:auto}}
@media(max-width:390px){.toolbar-controls,.category-price-row,.category-filter-actions{grid-template-columns:1fr}}
