.el-product-wrapper {
    position: relative;
}

.el-product-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

@media (max-width: 992px) {
    .el-product-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .el-product-items {
        grid-template-columns: 1fr;
    }
}
.el-product-thumb {
    background-color: #fff;
    width: 100%;
    height: 250px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(.30, .30, .05, .95);
}

.el-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(.30, .30, .05, .95);
}

.el-product-thumb .onsale {
    background-color: #ff4c4c;
    color: var(--petfun-white-color, #fff);
    padding: 0 15px;
    text-align: center;
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: var(--petfun-primary-font, "Dosis");
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
    display: inline-block;
    z-index: 1;
}

.el-product-thumb .el-product-lightbox {
    background-color: #fff;
    color: var(--petfun-dark-color, #000000);
    width: 45px;
    height: 45px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: -100%;
    top: 10px;
    transition: all cubic-bezier(.4, 0, .2, 1) 450ms;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}

.rtl .el-product-thumb .el-product-lightbox {
    right: auto;
    left: -100%;
}

.el-product-thumb .el-product-lightbox svg {
    width: 17px;
    height: auto;
    fill: currentColor;
}

.el-product-thumb .el-product-lightbox:hover {
    background-color: var(--petfun-primary-color, #ffd100);
    color: var(--petfun-dark-color, #000000);
}

.el-product-card:hover .el-product-thumb .el-product-lightbox {
    right: 10px;
    visibility: visible;
    opacity: 1;
}

.rtl .el-product-card:hover .el-product-thumb .el-product-lightbox {
    right: auto;
    left: 10px;
}

.el-product-thumb a.button {
    width: max-content;
    max-width: 90%;
    text-align: center;
    line-height: 1;
    padding: 10px 25px 12px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) translateY(100%);
    margin-bottom: 20px;
    visibility: hidden;
    opacity: 0;
    transition: .5s cubic-bezier(.30, .30, .05, .95);
}

.el-product-thumb .added_to_cart{
    display: none;
}


.el-product-thumb a.button:hover{
    background-color: var(--petfun-primary-color, #ffd100);
    color: var(--petfun-white-color, #ffffff);
}

.el-product-card:hover .el-product-thumb a.button {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.el-product-card .button.loading::after {
    font-family: WooCommerce;
    content: "\e01c";
    vertical-align: top;
    font-weight: 400;
    position: absolute;
    top: 0;
    margin-left: 10px;
    animation: spin 2s linear infinite;
}

.el-product-card .button.added::after {
    font-family: WooCommerce;
    content: "\e017";
    margin-left: 0.53em;
    vertical-align: bottom;
}

.el-heading-wrap {
    margin-top: 15px;
}

.el-heading-wrap .meta-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-align-center .el-heading-wrap .meta-wrap {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.content-align-right .el-heading-wrap .meta-wrap {
    flex-direction: row-reverse;
}

.rtl .content-align-right .el-heading-wrap .meta-wrap {
    flex-direction: row-reverse;
}

.el-heading-wrap .dl-cat-items a {
    font-family: var(--petfun-primary-font, "Dosis");
    font-size: 18px;
    font-weight: 500;
    color: var(--petfun-grey-color, #5f5f5f);
    letter-spacing: 0;
    display: block;
    cursor: pointer;
    line-height: 1;
}

.el-heading-wrap .dl-cat-items a:hover {
    color: var(--petfun-secondary-color, #ff6b35);
}

.el-heading-wrap .star-rating {
    overflow: hidden;
    position: relative;
    height: 15px;
    line-height: 1;
    font-size: 14px;
    width: 69px;
}

.el-heading-wrap .star-rating span {
    overflow: hidden;
    top: 0;
    left: 0;
    position: absolute;
    color: #FF9529;
    font-size: 0;
}

.el-heading-wrap .star-rating span::before,
.el-heading-wrap .star-rating::before {
    font-family: 'WooCommerce';
    content: "\e020 \e020 \e020 \e020 \e020";
    font-size: 14px;
}

.el-heading-wrap .star-rating span::before {
    text-indent: 0;
}

.el-heading-wrap .star-rating::before {
    color: #ddd;
    top: 0;
    left: 0;
    position: absolute;
}

.el-product-title {
    color: var(--petfun-dark-color, #000000);
    font-size: 22px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0;
    margin: 8px 0;
}

.el-product-title a {
    color: var(--petfun-dark-color, #000000);
}

.el-product-title a:hover {
    color: var(--petfun-primary-color, #ffd100);
}

.el-heading-wrap .price {
    color: var(--petfun-secondary-color, #ff6b35);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 2px;
    flex-direction: row-reverse;
    margin: 0;
}

.content-align-center .el-heading-wrap .price {
    justify-content: center;
}

.content-align-right .el-heading-wrap .price {
    justify-content: flex-start;
}

.rtl .content-align-right .el-heading-wrap .price {
    flex-direction: row-reverse;
}

.el-heading-wrap .price del {
    opacity: 0.6;
}