
.woocptc-main-wrapper .woocptc-img-wrapper img {
    inline-size: 100%!important;
    block-size: 100%!important;
    object-fit: cover;
    vertical-align: middle;
    aspect-ratio: 16 / 9;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}
.category-average-rating {
    color: #fff500;
}
.woocptc-main-wrapper {
    margin-block: auto;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
    gap: 10px;
    grid-auto-flow: dense;
    grid-auto-rows: minmax(250px, auto);
}
.woocptc-img-wrapper {
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
    border-radius: 8px;
    overflow: hidden;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    will-change: transform;
}
.woocptc-img-wrapper > a {
    flex: 1;
    block-size: 100%;
}
.woocptc-content-wrapper {
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    inset-block-start:0;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    padding-block: 15px;
    padding-inline: 15px;
    z-index: 1;
    pointer-events: none;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    will-change: transform;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.woocptc-img-wrapper:hover .woocptc-content-wrapper {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
.woocptc-pos-main {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
.woocptc-style-one .woocptc-img-wrapper:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.woocptc-title {
    pointer-events: auto;
}
.woocptc-cat {
    position: absolute;
    inset-inline-end: 20px;
    inset-block-start: 10px;
    color: #fff;
    background: #7209b7;
    padding-block: 5px;
    padding-inline: 10px;
    border-radius: 30px;
    border-top-left-radius: 0;
    font-weight: 500;
    font-size: 13px;
    z-index: 1;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.woocptc-style-one .woocptc-img-wrapper:hover .woocptc-cat {
    background: #ff0000;
    border-radius: 30px;
    border-top-right-radius: 0;
}
.woocptc-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 8px;
    row-gap: 1px;
}
.woocptc-img-wrapper::before {
   content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    inline-size: 100%;
    block-size: 100%;
    background-image: -webkit-gradient(linear,left top, left bottom,from(#01284236),to(#01284236));
    background-image: -o-linear-gradient(top,#01284236 0%,#01284236 100%);
    background-image: linear-gradient(180deg,#0128423d 0%,#01284236 100%);
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    z-index: 1;
    pointer-events: none;
}
:is(.woocptc-style-one .woocptc-img-wrapper:nth-child(1),
.woocptc-style-two .woocptc-img-wrapper:nth-child(1),
.woocptc-style-three .woocptc-img-wrapper:nth-child(1),
.woocptc-style-four .woocptc-img-wrapper:nth-child(1),
.woocptc-style-five .woocptc-img-wrapper:nth-child(1),
.woocptc-style-five .woocptc-img-wrapper:nth-child(2),
.woocptc-style-six .woocptc-img-wrapper:nth-child(3),
.woocptc-style-seven .woocptc-img-wrapper:nth-child(3),
.woocptc-style-seven .woocptc-img-wrapper:nth-child(4), 
.woocptc-style-eight .woocptc-img-wrapper:nth-child(2), 
.woocptc-style-eight .woocptc-img-wrapper:nth-child(4), 
.woocptc-style-eight .woocptc-img-wrapper:nth-child(5), 
.woocptc-style-nine .woocptc-img-wrapper:nth-child(1), 
.woocptc-style-ten .woocptc-img-wrapper:nth-child(1), 
.woocptc-style-fifteen .woocptc-img-wrapper:nth-child(1),
.woocptc-style-sixteen .woocptc-img-wrapper:nth-child(1), 
.woocptc-style-seventeen .woocptc-img-wrapper:nth-child(5), 
.woocptc-style-seventeen .woocptc-img-wrapper:nth-child(4), 
.woocptc-style-eighteen .woocptc-img-wrapper:nth-child(1) ) .woocptc-content-wrapper .woocptc-title .woocptc_catagory-title {
    font-size: clamp(1.563rem, 2vw + 1rem, 1.313rem);;
}

.woocptc-style-one .woocptc-content-wrapper {
    padding-block: 20px;
    padding-inline: 20px;
    background: #00000059;
}
.woocptc-title .woocptc_catagory-title {
    font-size: 23px;
    color: #fff;
    line-height: 1.1;
    display: inline;
    padding-block-end: 0;
    background-image: -webkit-gradient(linear,left top, left bottom,from(#00ff48),color-stop(98%, #00ff48));
    background-image: -o-linear-gradient(top,#00ff48 0%,#00ff48 98%);
    background-image: linear-gradient(to bottom,#00ff48 0%,#00ff48 98%);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: left 100%;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
            transition-delay: .2s;
}
.woocptc-style-one .woocptc-img-wrapper:hover .woocptc-title .woocptc_catagory-title {
    background-size: 100% 2px;
    color: #00ff48;
}
.woocptc-contalign-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 .woocptc-prival :is(.woocptc-disprice, .woocptc-rootprice) {
    color: #fff;
    font-size: 16px;
}
.woocptc-style-one .woocptc-prival .woocptc-rootprice {
    text-decoration: line-through;
}
 .woocptc-cartbtn {
    background: #7209b7;
    color: #fff;
    display: inline-block;
    padding-block: 8px;
    padding-inline: 13px;
    font-size: 15px;
    font-weight: 600;
    margin-block-start: 10px;
}
.woocptc-style-one .woocptc-qview i {
    inset-block-end: 0;
    inset-block-start: unset;
    inset-inline-start: 0;
    inset-inline-end: 0;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    border-radius: 0;
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}
.woocptc-style-one .woocptc-img-wrapper {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}
.woocptc-style-one .woocptc-img-wrapper:hover .woocptc-qview i {
    opacity: 1;
    inset-block-start: unset;
    visibility: visible;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
}
 .woocptc-qview i {
    color: #fff;
    background: #7209b7;
    display: inline-block;
    padding-block: 12px;
    padding-inline: 12px;
    font-size: 25px;
    border-radius: 50%;
    position: absolute;
    inset-block-start: 60%;
    inset-inline-start: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    z-index: 1;
    transition: .3s linear;
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    -ms-transition: .3s linear;
    -o-transition: .3s linear;
    
}
 .woocptc-img-wrapper:hover .woocptc-qview i {
    inset-block-start: 50%;
    opacity: 1;
    visibility: visible;
}
 .woocptc-review {
    color: #fdcc0d;
    font-size: 16px;
}
.woocptc-desc p{
    color: #fff;
    margin-block-end: 15px;
    margin-block-start: 8px;
}
.woocptc-meta .woocptc-date i {
    color: #fff;
    margin-inline-end: 5px;
    font-size: 12px;
}
.woocptc-meta .woocptc-date span {
    color: #fff;
    font-size: 12px;
}
.woocptc-meta .woocptc-author i {
    color: #fff;
    margin-inline-end: 5px;
    font-size: 12px;
}
.woocptc-meta .woocptc-author span {
    color: #fff;
    font-size: 12px;
}
.woocptc-meta .woocptc-comment i {
    color: #fff;
    margin-inline-end: 5px;
    font-size: 12px;
}
.woocptc-meta .woocptc-comment span {
    color: #fff;
    font-size: 12px;
}
.woocptc-meta .woocptc-tag i {
    color: #fff;
    margin-inline-end: 5px;
    font-size: 12px;
}
.woocptc-meta .woocptc-tag span {
    color: #fff;
    font-size: 12px;
}

/* Style two Start */
.woocptc-style-two .woocptc-img-wrapper::before {
    background-image: linear-gradient(180deg,#ff110017 0%,#fffcfa17 100%);
}
.woocptc-style-two .woocptc-img-wrapper:hover img {
    transform: translateY(-20%);
    -webkit-transform: translateY(-20%);
    -moz-transform: translateY(-20%);
    -ms-transform: translateY(-20%);
    -o-transform: translateY(-20%);
}
.woocptc-style-two .woocptc-img-wrapper .woocptc-content-wrapper .woocptc-title .woocptc_catagory-title {
    background-image: -webkit-gradient(linear,left top,left bottom,from(#ffb244),to(#ffb244));
    background-image: linear-gradient(#ffb244,#ffb244);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 100%;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.woocptc-style-two .woocptc-content-wrapper {
    background: #00ffe1;
    inset-block-start: unset;
}
.woocptc-style-two .woocptc-img-wrapper:hover .woocptc-content-wrapper .woocptc-title .woocptc_catagory-title {
    color: #fff;
    background-size: 100% 100%;
    padding-block: 0;
    padding-inline: 7px;
}
.woocptc-style-two .woocptc-cartbtn {
    background: #9e0059;
    border-radius: 30vmin;
}
.woocptc-style-two .woocptc-extra-meta {
    color: #9e0059;
}
.woocptc-style-two .woocptc-cat {
    background: #ffb700;
    border-radius: 0;
    transform: skewX(-10deg);
    -webkit-transform: skewX(-10deg);
    -moz-transform: skewX(-10deg);
    -ms-transform: skewX(-10deg);
    -o-transform: skewX(-10deg);
}
.woocptc-style-two .woocptc-img-wrapper:hover .woocptc-cat {
    background: #9e0059;
}

/* Responsive Code Start Here */

@media (min-width: 551px) {
    :is(.woocptc-style-one, 
    .woocptc-style-two) .woocptc-img-wrapper:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    :is(.woocptc-style-one, 
    .woocptc-style-two) .woocptc-img-wrapper:nth-child(2) {
        grid-row: 1 / 2;
        grid-column: 3 / 5;
    }
    :is(.woocptc-style-one, 
    .woocptc-style-two) .woocptc-img-wrapper:nth-child(3) {
        grid-row: 2 / 3;
        grid-column: 1 / 3;
    }
    :is(.woocptc-style-one,
     .woocptc-style-two) .woocptc-img-wrapper:nth-child(4) {
        grid-row: 2 / 3;
        grid-column: 3 / 5;
    }
   
}

@media (min-width: 850px) {
    /* Responsive Style One */
    .woocptc-style-one {
        grid-template-columns: repeat(6, 1fr);
    }
     .woocptc-style-one .woocptc-img-wrapper:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .woocptc-style-one .woocptc-img-wrapper:nth-child(2) {
        grid-row: 1 / 2;
        grid-column: 3 / 5;
    }
    .woocptc-style-one .woocptc-img-wrapper:nth-child(3) {
        grid-row: 1 / 3;
        grid-column: 5 / 7;
    }
     .woocptc-style-one .woocptc-img-wrapper:nth-child(4) {
        grid-row: 2 / 3;
        grid-column: 3 / 5;
    }
    /* Responsive Style two */
    .woocptc-style-two {
        grid-template-columns: repeat(6, 1fr);
    }
    .woocptc-style-two .woocptc-img-wrapper:nth-child(1) {
        grid-row: 1 / 3;
        grid-column: 1 / 3;
    }
    .woocptc-style-two .woocptc-img-wrapper:nth-child(2) {
        grid-row: 1 / 2;
        grid-column: 3 / -1;
    }
    .woocptc-style-two .woocptc-img-wrapper:nth-child(3) {
        grid-row: 2 / 3;
        grid-column: 3 / 5;
    }
    .woocptc-style-two .woocptc-img-wrapper:nth-child(4) {
        grid-row: 2 / 3;
        grid-column: 5 / 7;
    }
}
@media(max-width: 550px) {
    .woocptc-style-one, 
    .woocptc-style-two{
        grid-template-columns: 1fr!important;
    }
    .woocptc-style-seventeen {
        row-gap: 10px!important;
    }
}


/* Ferdaus sk */
.woocptc-extra-meta{
    color: white;
}

.woocptc_taxo_align_center{
    text-align: center !important;
}
.woocptc_taxo_align_left{
    text-align: left !important;
}
.woocptc_taxo_align_right{
    text-align: right !important;
}
.woocptc_taxo_align_center_j{
    justify-content: center !important;
}
.woocptc_taxo_align_left_j{
    justify-content: left !important;
}
.woocptc_taxo_align_right_j{
    justify-content: right !important;
}