*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Set the base font size for the root element */
}

.product-categories{
    height: 60vh;

    position: relative;

    /* border: 1px solid red; */

    margin-bottom: 50px;

    box-shadow: 0px 12px 12px 1px rgba(179, 179, 179, 0.336);
}

.product-categories h1{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;

    color: #0b4f0b;
}

.product-categories h1 b{
    font-weight: bolder;
}

.product-categories .pcats{
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding-left: 50px;
    padding-right: 50px;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    transition: .5s ease-in-out;

    overflow: hidden;

    /* border: 1px solid blue; */
}


.product-categories .pcats .pcat{
    transition: .5s ease-in-out;
}


.hide{

    transform: scale(0);
    opacity: 0;

    /* border: 1px solid red; */
}

.hide-cats{

    transform: scale(0);
    opacity: 0;

    position: absolute;

    padding: 100%;

    /* display: none; */

    /* border: 1px solid red; */
}

/* .show{
    transform: scale(1);
} */


.product-categories .pcats .pcat .card-btn{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px;
    background-color: #EAEFE1;
    border-radius: 5px;
    margin-right: 20px;

    margin-bottom: 20px;

    transition: .5s ease-in-out;

    width: 250px;
}

.product-categories .pcats .pcat .card-btn:hover{
    cursor: pointer;
}

.product-categories .pcats .pcat .card-btn .icon{
    margin-right: 10px;
    color: #0b4f0b;
}

.product-categories .pcats .pcat .card-btn .image{
    width: 20px;
    height: 20px;
    
    margin-right: 10px;
}

.product-categories .pcats .pcat .card-btn2 .image{
    width: 20px;
    height: 20px;
    
    margin-right: 10px;
}

.product-categories .pcats .pcat .card-btn .name{
    color: #0b4f0b;
}

/* subcats */

.product-categories .pcats .pcat .card-btn2{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px;
    background-color: #e1efe6;
    border-radius: 5px;
    margin-right: 20px;

    margin-bottom: 8px;
}

.product-categories .pcats .pcat .card-btn2:hover{
    cursor: pointer;
}

.product-categories .pcats .pcat .card-btn2 .icon{
    margin-right: 10px;
    color: #0b4f0b;
}

.product-categories .pcats .pcat .card-btn2 .name{
    color: #0b4f0b;
}

.product-categories .pcats .pcat .p-sub-cats{
    transition: .5s ease-in-out;

    /* max-height: 190px;
    min-height: 190px; */

    height: 195px;

    overflow: hidden;
    overflow-y: scroll;

    /* border: 1px solid green; */
}

.pro-cat-btns{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);

    width: 100%;

    padding-left: 50px;
    padding-right: 50px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 50px;
}

#cat-next{
    width: 120px;
    height: 50px;

    padding: 20px;
    
    color: #fff;
    background-color: #0b4f0b;

    border-radius: 5px;
    
    position: relative;
}

#cat-prev{
    width: 120px;
    height: 50px;

    padding: 20px;
    
    color: #fff;
    background-color: #0b4f0b;

    border-radius: 5px;

    position: relative;
}

#cat-next span, #cat-prev span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* #cat-next{
    width: 100px;
    height: 50px;

    padding: 20px;
    
    color: #fff;
    background-color: #0b4f0b;

    position: absolute;
    bottom: 0;
    right: 25px;
}

#cat-prev{
    width: 100px;
    height: 50px;

    padding: 20px;
    
    color: #fff;
    background-color: #0b4f0b;

    position: absolute;
    bottom: 0;
    left: 25px;
} */

#cat-next:hover , #cat-prev:hover{
    cursor: pointer;
}

.pro-heading{
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    color: #0b4f0b;

    text-decoration: underline;
}

#pro-scroll{
    height: 2px;
}

