/* ItemSell RC4.15.1 — externalized safely from inline block 11. */

/* =========================================================
   RC4.13.1.23 — CATALOG READABILITY PASS
   Keeps the approved 3-column sketch proportions.
   Raises essential typography to comfortable marketplace sizes.
   ========================================================= */

/* Card size/proportion remains unchanged. */
.cs-market-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:9px!important;
}
.wyo-catalog-v2-card{
    min-height:220px!important;
    height:220px!important;
}

/* Primary identity */
.wyo-catalog-v2-title h4{
    font-size:14.5px!important;
    line-height:1.22!important;
    font-weight:800!important;
}
.wyo-catalog-v2-title>span{
    margin-top:4px!important;
    font-size:10.5px!important;
    line-height:1.28!important;
}

/* Details action */
.wyo-catalog-v2-card .wyo-catalog-v2-details{
    width:66px!important;
    min-width:66px!important;
    height:29px!important;
    min-height:29px!important;
}
.wyo-catalog-v2-card .wyo-catalog-v2-details::before{
    font-size:10.5px!important;
    letter-spacing:.025em!important;
}

/* Refinement/grade over artwork */
.wyo-catalog-v2-refine{
    font-size:10.5px!important;
    padding:4px 6px!important;
}
.wyo-catalog-v2-grade{
    font-size:10px!important;
    padding:3px 6px!important;
}

/* Tags under ID */
.wyo-catalog-v2-tags{
    min-height:24px!important;
    margin-top:7px!important;
    gap:4px!important;
}
.wyo-catalog-v2-tags span{
    min-height:21px!important;
    padding:2px 6px!important;
    font-size:10px!important;
}

/* Power */
.wyo-catalog-v2-power{
    min-height:39px!important;
    margin-top:6px!important;
    padding:6px 8px!important;
    gap:7px!important;
}
.wyo-catalog-v2-pwr{
    font-size:10.5px!important;
}
.wyo-catalog-v2-power>strong{
    font-size:16px!important;
}
.wyo-catalog-v2-power>i{
    height:19px!important;
}
.wyo-catalog-v2-power>small{
    font-size:10px!important;
}
.wyo-catalog-v2-power>b{
    font-size:12.5px!important;
}
.wyo-catalog-v2-role{
    margin-top:4px!important;
    font-size:10.5px!important;
}

/* Seller / quantity */
.wyo-catalog-v2-seller{
    min-height:39px!important;
    height:39px!important;
    padding:5px 10px!important;
}
.wyo-catalog-v2-seller small{
    font-size:9.5px!important;
}
.wyo-catalog-v2-seller strong{
    margin-top:2px!important;
    font-size:11.5px!important;
}

/* Price / CTA */
.wyo-catalog-v2-footer{
    min-height:57px!important;
    height:57px!important;
    grid-template-columns:minmax(0,1fr) 118px!important;
    padding:7px 10px 8px!important;
}
.wyo-catalog-v2-price small{
    font-size:9.5px!important;
}
.wyo-catalog-v2-price strong{
    font-size:20px!important;
}
.wyo-catalog-v2-price em{
    font-size:10.5px!important;
}
.wyo-catalog-v2-action{
    min-height:34px!important;
    height:34px!important;
    font-size:11.5px!important;
    gap:7px!important;
}
.wyo-catalog-v2-action span{
    font-size:13px!important;
}

/* If text needs slightly more room, use vertical space, never tiny text. */
.wyo-catalog-v2-content{
    padding:10px 9px 6px!important;
}
.wyo-catalog-v2-main{
    min-height:124px!important;
    height:124px!important;
}
.wyo-catalog-v2-art{
    min-height:124px!important;
    height:124px!important;
}
.wyo-catalog-v2-collection{
    max-width:80px!important;
    max-height:104px!important;
}

/* Responsive scaling stays legible. */
@media(max-width:1180px){
    .cs-market-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:760px){
    .cs-market-grid{
        grid-template-columns:1fr!important;
    }
    .wyo-catalog-v2-card{
        height:auto!important;
        min-height:220px!important;
    }
}
