.qomar-category-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  width:100%;
  max-width:1040px;
  margin:18px auto 24px;
}
.qomar-category-card{
  position:relative;
  grid-column:span 2;
  display:block;
  min-width:0;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:clamp(20px,2.5vw,34px);
  background:#171b23;
  box-shadow:0 14px 34px rgba(13,20,32,.12);
  cursor:pointer;
  transition:transform .22s ease,box-shadow .22s ease;
}
.qomar-category-card:nth-child(4),.qomar-category-card:nth-child(5){grid-column:span 3}
.qomar-category-card img{display:block;width:100%;height:auto;aspect-ratio:1320/2120;object-fit:cover}
.qomar-category-card:nth-child(n+4) img{aspect-ratio:2020/1920}
.qomar-category-card:focus-visible{outline:4px solid #d8b46a;outline-offset:4px}
@media(hover:hover){.qomar-category-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(13,20,32,.2)}}
@media(max-width:700px){
  .qomar-category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:12px 0 18px}
  .qomar-category-card{grid-column:span 2;border-radius:15px}
  .qomar-category-card:nth-child(4),.qomar-category-card:nth-child(5){grid-column:span 3;border-radius:17px}
  .qomar-category-card img{aspect-ratio:1320/2120;object-position:center top}
  .qomar-category-card:nth-child(n+4) img{aspect-ratio:1/1;object-position:center}
}
@media(max-width:380px){.qomar-category-grid{gap:5px}.qomar-category-card{border-radius:13px}.qomar-category-card:nth-child(4),.qomar-category-card:nth-child(5){border-radius:15px}}
@media(prefers-reduced-motion:reduce){.qomar-category-card{transition:none}}
