/* CityStore 1.0.4 — shared catalogue composition, navigation and directional artwork. */
@media(min-width:1024px){
 body.premium-store.citystore-wp #main #categoryGrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px}
 body.premium-store.citystore-wp #main #categoryGrid .category-header{padding:15px 14px 8px;gap:9px;min-height:80px}
 body.premium-store.citystore-wp #main #categoryGrid .category-copy{min-width:0}
 body.premium-store.citystore-wp #main #categoryGrid .category-title{font-size:clamp(15px,1.35vw,22px);line-height:1.25;white-space:normal;letter-spacing:-.3px}
 body.premium-store.citystore-wp #main #categoryGrid .category-description{font-size:clamp(10px,.85vw,13px);line-height:1.4;margin-top:4px}
 body.premium-store.citystore-wp #main #categoryGrid .category-icon{width:38px;height:38px;flex:0 0 38px}
 body.premium-store.citystore-wp #main #categoryGrid .category-icon svg{width:24px;height:24px}
 body.premium-store.citystore-wp #main #categoryGrid .category-arrow{width:30px;height:30px;flex:0 0 30px}
 body.premium-store.citystore-wp #main #categoryGrid .category-arrow svg{width:18px;height:18px}
}
@media(min-width:768px) and (max-width:1023px){body.premium-store.citystore-wp #main #categoryGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* Artwork moves independently of editable text. */
html[dir=rtl] body.citystore-wp #main .mini-promo>img{right:auto;left:0;transform:scaleX(-1)}
html[dir=rtl] body.citystore-wp #main .mini-promo-new:after{background:linear-gradient(270deg,#04245a 10%,transparent 90%)}
html[dir=rtl] body.citystore-wp #main .mini-promo>div{margin-right:0;margin-left:auto;text-align:right}
html[dir=rtl] body.citystore-wp #main .gaming-feature>img{right:auto;left:0;transform:scaleX(-1)}
html[dir=rtl] body.citystore-wp #main .gaming-feature>div{margin-right:0;margin-left:auto;text-align:right}
html[dir=rtl] body.citystore-wp #main :is(.mini-promo a,.gaming-feature a) svg{transform:scaleX(-1)}
/* Only sizing and text flow change here. Original card colors, icons, buttons and rail layouts remain in the base styles. */
body.premium-store.citystore-wp #main .product-card{height:auto;min-width:0}
body.premium-store.citystore-wp #main .product-card .product-image-button{position:relative;flex-shrink:0;overflow:hidden;min-width:0}
body.premium-store.citystore-wp #main .product-card .product-image-button img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;margin:0;padding:4px;box-sizing:border-box;object-fit:contain;object-position:center}
body.premium-store.citystore-wp #main .product-card .product-info{position:relative;height:auto;min-width:0;min-height:0}
body.premium-store.citystore-wp #main .product-card .product-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;line-height:1.3;min-height:2.6em;max-height:2.6em;flex-shrink:0;overflow-wrap:anywhere}
body.premium-store.citystore-wp #main .product-card .product-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;line-height:1.4;min-height:2.8em;max-height:2.8em;flex-shrink:0;margin-block:4px 6px}
body.premium-store.citystore-wp #main .product-card .price-row{flex-shrink:0}
/* Reset inherited implicit columns without redesigning recommendation cards. */
body.premium-store.mobile-refined.citystore-wp #main #recommendItems{grid-auto-flow:row;grid-auto-columns:auto}
body.citystore-wp .woocommerce-Price-amount bdi{direction:ltr;unicode-bidi:isolate}
@media(min-width:768px){
 body.premium-store.citystore-wp #main #categoryGrid .category-header{display:grid;grid-template-columns:38px minmax(0,1fr) 30px;align-items:start}
 body.premium-store.citystore-wp #main #categoryGrid :is(.category-icon,.category-arrow){position:static;inset:auto;margin:0;transform:none}
}
@media(min-width:783px){body.admin-bar.citystore-wp .main-header{top:32px}body.admin-bar.citystore-wp .main-nav{top:116px}}
body.citystore-wp #main .shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.citystore-wp #main .shop-toolbar .woocommerce-ordering{display:flex;align-items:center;gap:8px;float:none;margin:0;max-width:100%}
body.citystore-wp #main .shop-toolbar .woocommerce-ordering label{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
body.citystore-wp #main .shop-toolbar .woocommerce-ordering select{max-width:100%}
/* Native WooCommerce pagination keeps all filter parameters. */
body.citystore-wp #main .cs-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:24px 0 4px;padding:18px 4px;border-top:1px solid #dbe8f6;text-align:start}
body.citystore-wp #main .cs-page-status{margin:0;font-size:12px;line-height:1.5;color:#506789}
body.citystore-wp #main .cs-pagination ul.page-numbers{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0;padding:0;border:0;list-style:none}
body.citystore-wp #main .cs-pagination ul.page-numbers li{display:block;margin:0;padding:0;border:0;float:none;overflow:visible}
body.citystore-wp #main .cs-pagination .page-numbers :is(a,span).page-numbers{display:flex;align-items:center;justify-content:center;gap:8px;min-width:40px;height:40px;padding:8px 12px;border:1px solid #d6e5f5;border-radius:10px;background:#fff;color:#12345d;font-size:13px;font-weight:650;line-height:1;text-decoration:none}
body.citystore-wp #main .cs-pagination .page-numbers .page-numbers.current{background:#0063ee;border-color:#0063ee;color:#fff;box-shadow:0 4px 12px #0063ee24}
body.citystore-wp #main .cs-pagination .page-numbers a:hover{background:#edf5ff;border-color:#8dbbff;color:#0051c7}
body.citystore-wp #main .cs-pagination .page-numbers .dots{border:0;background:transparent;padding:4px;min-width:20px;color:#61738e}
@media(max-width:767px){
 body.citystore-wp #main .cs-pagination{justify-content:center;gap:12px;padding:16px 0;margin-top:18px}
 body.citystore-wp #main .cs-page-status{width:100%;text-align:center;font-size:11px}
 body.citystore-wp #main .cs-pagination ul.page-numbers{gap:6px;justify-content:center}
 body.citystore-wp #main .cs-pagination .page-numbers :is(a,span).page-numbers{min-width:37px;height:38px;padding:8px 10px;font-size:12px}
 body.citystore-wp #main .cs-pagination .cs-page-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(min-width:768px) and (max-width:1023px){
 body.premium-store.citystore-wp #main #categoryGrid .category-header{grid-template-columns:32px minmax(0,1fr) 26px;gap:8px;padding:14px 12px 8px;min-height:80px}
 body.premium-store.citystore-wp #main #categoryGrid .category-icon{width:32px;height:32px;min-width:0}
 body.premium-store.citystore-wp #main #categoryGrid .category-icon svg{width:21px;height:21px}
 body.premium-store.citystore-wp #main #categoryGrid .category-arrow{width:26px;height:26px}
 body.premium-store.citystore-wp #main #categoryGrid .category-arrow svg{width:17px;height:17px}
 body.premium-store.citystore-wp #main #categoryGrid .category-title{font-size:15px;line-height:1.3;white-space:normal;letter-spacing:0}
 body.premium-store.citystore-wp #main #categoryGrid .category-description{font-size:10px;line-height:1.4;margin-top:4px}
}
