/* main container */
.maincategorydivconatiner{
    width:100%;
    padding:20px 0 40px 0px;
    background:linear-gradient(135deg,#f6f9ff,#eef3ff);
}

.containermynew{
    width:80%;
    margin:auto;
}

.innerdivmaincon{
    width:100%;
    border-radius:15px;
    background:#fff;
    border:1px solid #e6ebff;
    box-shadow: #b2b9df 0px 1px 8px;
    overflow:hidden;
}

/* layout */
.flexboxdividerbox{
    display:flex;
}

/* left category panel */
.leftboxfirstcategory{
    width:22%;
    background:#f8faff;
    border-right:1px solid #edf0ff;
}

.rightboxsecondsubcategory{
    width:78%;
    padding:17px 30px;
     position:relative;
}

/* category list */
.card-stack{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:15px;
}

/* category card */
.stack-card{
    background:#fff;
    border-radius:10px;
    padding:10px 10px;
    border:1px solid transparent;
    cursor:pointer;
    transition:all .25s ease;
    position:relative;
    font-weight:500;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

/* hover effect */
.stack-card:hover{
    background:#f1f5ff;
    transform:translateX(6px);
}

/* active category */
.stack-card.active{
    background:#437bff;
    color:#fff;
    border-color:#437bff;
    box-shadow:0 6px 16px rgba(67,123,255,0.35);
}

/* small arrow indicator */
.stack-card.active::after{
    content:"";
    position:absolute;
    right:-8px;
    top:50%;
    transform:translateY(-50%);
    width:0;
    height:0;
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
    border-left:8px solid #437bff;
}

/* subcategory grid */
.subcategory-group{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    animation:fadeIn .35s ease;
}

/* animation */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* subcategory card */
.subcategorybox_vghh{
    width:22%;
    min-width:170px;
    height:135px;
    background:#fff;
    border-radius:16px;
    border:1px solid #c7d0ff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    cursor:pointer;
    transition:all .25s ease;
    position:relative;
    overflow:hidden;
    box-shadow: #e1e5fa 0px 2px 8px 0px;
}

/* hover animation */
.subcategorybox_vghh:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,0.12);
    border-color:#437bff;
}

/* glow background */
.subcategorybox_vghh::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at top,#437bff20,transparent);
    opacity:0;
    transition:.3s;
}

.subcategorybox_vghh:hover::before{
    opacity:1;
}

/* image container */
.imagebox_opit{
    width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* image */
.imagebox_opit img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    transition:transform .35s ease;
}

.subcategorybox_vghh:hover img{
    transform:scale(1.15);
}

/* text */
.catname_yuyt{
    text-align:center;
    font-size:15px;
    font-weight:500;
    color:#0e3696;
}


/* viewall */


.viewall {
    position: absolute;
    right: 130px;
    bottom: 80px;
    text-decoration: underline #0e3696;
}
.viewmall_ppli{
    font-size:16px;
    font-weight: 500;
    color: #0e3696;
    
}

.viewall:hover{
    transform:translateX(6px);
    transition: 500ms ease;
}

/* responsive */
@media(max-width:1296px){
    .stack-card{
        font-size: 13px;
    }

   
.subcategorybox_vghh:nth-child(6){
    display: none;
}

.subcategorybox_vghh:nth-child(7){
    display: none
}

.subcategorybox_vghh{
width:30%;
}

.leftboxfirstcategory{
width:26%;
}

.rightboxsecondsubcategory{
width:74%;
}

}

@media(max-width:768px){

.flexboxdividerbox{
flex-direction:column;
}

.leftboxfirstcategory{
width:100%;
border-right:none;
border-bottom:1px solid #eee;
}

.rightboxsecondsubcategory{
width:100%;
}

.subcategorybox_vghh{
width:45%;
}

}

@media(max-width:580px){
.containermynew{
    width:100%;
}

.innerdivmaincon{
    width:98%;
    margin:auto;
    border: 1px solid #b0c0ff;
}

/* category horizontal scroll */
.card-stack{
    display:flex;
    flex-direction:row;
    gap:8px;
    padding:12px;
    overflow-x:auto;
    overflow-y:hidden;
    flex-wrap:nowrap;
    scrollbar-width:none;
}

.stack-card{
    min-width:130px;
    flex-shrink:0;
    font-size:14px;
}

/* subcategory grid more integrated */
.subcategory-group{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

/* subcategory card */
.subcategorybox_vghh{

    width:31.5%;
    min-width:0!important;

    height:105px;

    border-radius:12px;
    border:1px solid #c0ccff;

    box-shadow:0 2px 6px rgb(0 0 0 / 37%);;

    gap:4px;

    padding:6px;

}

/* image smaller */
/* .imagebox_opit{
    width:46px;
    height:46px;
} */

.imagebox_opit img{
    max-width:90%;
    max-height:90%;
}

/* text */
.catname_yuyt span{

    font-size:11px !important;
    line-height:1.2;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;

    overflow:hidden;
}
.subcategorybox_vghh:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 30px rgba(0,0,0,0.12);
    border-color:#437bff;
}
.stack-card:hover{
    
    transform:translateY(2px);
}
.headtitlebox_htb{
    margin-left: 10px;;
}
.headtitlebox_htb h3{
    font-size: 20px !important;
}

/* spacing bottom */
.rightboxsecondsubcategory{
    padding:16px 6px 16px;
}

.viewall{
    /* width:100%; */
        right: 35px;
        bottom: 55px;
        text-align: center;
}

/* active arrow mobile */
.stack-card.active::after{
    content:"";
    position:absolute;
    top:40px;
    left:50%;
    transform:translateX(-50%);
    border-left:7px solid transparent;
    border-right:7px solid transparent;
    border-top:7px solid #437bff;
}

.leftboxfirstcategory {
    background: #dce6ff;
    border-bottom: 0.5px solid #2f3f63
}

.subcategorybox_vghh:nth-child(6){
    display: none;
}

.subcategorybox_vghh:nth-child(7){
    display: none
}


}

@media(max-width:381px){
    .subcategorybox_vghh{
    width:31.4%;
    margin:0px;
    
    }

    .subcategory-group {
        gap:8px;
    }
    .catname_yuyt span{
    font-size:10px;
    line-height:1.15;
}
.viewall{
    /* width:100%; */
        right: 25px;
        bottom: 55px;
        text-align: center;
}
}