/** Product Cart **/
.product-item {
    background: var(--color3);
    border-radius: 24px;
    padding: clamp(8px, 2vw, 16px) clamp(8px, 2vw, 16px) 16px;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    & .product-batch-card {
        display: flex;
        position: absolute;
        z-index: 1;
        right: clamp(18px, 3vw, 30px);
        top: clamp(20px, 3vw, 34px);
        background: var(--black);
        color: var(--white);
        padding-inline: clamp(4px, 1vw, 12px);
        min-height: clamp(17px, 2vw, 28px);
        align-items: center;
        border-radius: clamp(4px, 1vw, 8px);
        font-size: clamp(10px, 2vw, 14px);
        font-family: var(--Medium);
        cursor: pointer;
    }
    & .product-batch-card.backred {
        background: var(--color1);
    }
    & .product-batch-card.backwhite {
        background: var(--white);
        color: var(--black);
        border: 1px solid var(--black);
    }
    & .product-batch-card:nth-child(2) {
        top: 67px;
    }
    & .product-batch-card:nth-child(3) {
        top: 100px;
    }
}
.product-image {
    background: var(--white);
    border-radius: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(8px, 2vw, 16px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid var(--gray2);
    overflow: hidden;
}
.product-item h3 a {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--black);
    font-family: var(--Medium);
    position: relative;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 26px;
    transition: 0.4s;
    min-height: 52px;
    margin-bottom: clamp(8px, 2vw, 12px);
}
.product-item:hover h3 a {
    color: var(--color1);
}
.product-item .add-cart {
    font-family: var(--Medium);
    font-size: clamp(12px, 1vw, 14px);
    float: left;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    border-radius: 100px;
    transition: 0.4s;
    background: #F7D5DA;
    color: var(--color1);
}
.product-item .add-cart:hover {
    background: var(--color1);
    color: var(--white);
}
.product-item .add-cart i {
    width: clamp(16px, 2vw, 20px);
    height: clamp(16px, 2vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 2vw, 16px);
}
.price {
    display: flex;
    line-height: 1;
    flex-direction: column;
    gap: 4px;
    font-family: var(--Medium);
    float: right;
}
.price del,
.price ins {
    display: block;
}
.price del {
    color: var(--gray3);
    font-size: clamp(10px, 1vw, 12px);
}
.price del .woocommerce-Price-currencySymbol {
    font-size: inherit;
    display: none;
}
.woocommerce-Price-currencySymbol {
    font-size: 0px;
    color: transparent;
}
.woocommerce-Price-currencySymbol:before {
    content: "\e933";
    font-family: 'icomoon';
    position: absolute;
    color: var(--black);
    font-size: clamp(12px, 2vw, 18px);
    margin-right: 4px;
}
@media only screen and (min-width: 768px) {
    .product-item .add-cart {
        background: none;
    }
    .product-item .add-cart:hover {
        background: #F7D5DA;
        color: var(--color1);
    }
}
.price > .woocommerce-Price-amount > bdi,
.price ins {
    color: var(--black);
    font-size: clamp(12px, 2vw, 16px);
    text-decoration: none;
    transition: 0.3s;
}
.product-item .price > .woocommerce-Price-amount > bdi, .product-item .price ins {
    font-size: clamp(12px, 2vw, 16px);
}
.product-item .call-for-price,
.product-item .out-of-stock {
    width: fit-content;
    position: absolute;
}
.product-item .out-of-stock,
.call-for-price {
    padding: 4px 14px;
    background: var(--color1);
    border-radius: 9px;
    font-size: 11px;
    transition: 0.4s ease;
    color: white;
}
.call-for-price:hover {
    background: var(--color2);
    color: white;
}
.items-wrapper {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 51px;
}
.items-wrapper .items--product {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}
.items-wrapper .items--product i {
    color: var(--color1);
    font-size: 15px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.items-wrapper .items--product .title-pro {
    font-family: var(--Medium);
    color: var(--blackcart);
}
.items-wrapper .items--product .title-model {
    margin-right: clamp(6px, 2vw, 12px);
}
.on-sale {
    position: absolute;
    top: clamp(16px, 2vw, 30px);
    left: clamp(16px, 2vw, 30px);
    font-size: 16px;
    width: clamp(30px, 3vw, 38px);
    height: clamp(30px, 3vw, 38px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--Medium);
    color: white;
    background-image: url(../../img/sale.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}
.s-dark {
    & .product-item {
        background-color: var(--blackcart);
        & .price del {
            color: var(--gray1);
        }
        & .price > .woocommerce-Price-amount > bdi,
        & .price ins {
            color: var(--white);
            & .woocommerce-Price-currencySymbol:before {
                color: var(--white);
            }
        }
        & h3 a {
            color: var(--white);
        }
        & .items-wrapper {
            color: white;
            & .title-pro {
                color: var(--white);
            }
            & .title-model {
                color: var(--gray1);
            }
        }
    }
}
.product-item-set {
    & .product-image {
        margin: 0;
        border: none;
    }
    & .product-card-text-wrap {
        position: inherit;
        bottom: 16px;
        width: 100%;
        right: 16px;
        background: white;
        border-radius: clamp(12px, 2vw, 16px);
        padding: 12px clamp(12px, 3vw, 32px);
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
        & .product-title-card a {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            line-height: 26px;
            font-size: clamp(18px, 2vw, 20px);
            font-family: var(--Medium);
        }
        & .product-short-description {
            font-size: clamp(14px, 2vw, 16px);
            color: var(--black);
            line-height: 30px;
            font-family: var(--Light);
        }
        & .add-cart {
            text-align: left;
            position: relative;
            width: max-content;
            margin-right: auto;
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: var(--Medium);
            font-size: 14px;
            color: var(--color1);
            transition: 0.4s;
            margin-top: 4px;
            &:hover {
                color: var(--color2);
            }
            & i {
                width: 17px;
                height: 17px;
                border: 1px solid;
                font-size: 8px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                position: relative;
            }
        }
    }
}
@media only screen and (min-width: 768px) {
    .product-item-set {
        & .product-image:before {
            content: "";
            width: 100%;
            height: 250px;
            background: linear-gradient(0deg, rgb(36 39 41 / 80%), transparent);
            z-index: 0;
            position: absolute;
            bottom: 0;
        }
        & .product-card-text-wrap {
            position: absolute;
            margin: 0;
            width: calc(100% - 32px);
        }
    }
}
.product-item-hr {
    display: flex;
    gap: 12px 8px;
    flex-wrap: wrap;
    padding: 12px;
    & .product-image {
        flex: 0 0 96px;
        width: 96px;
        height: 96px;
        margin: 0;
    }
    & .product-card-text-wrap {
        flex: 0 0 calc(100% - 104px);
        & .items-wrapper {
            min-height: 38px;
            margin: 0;
            & .items--product {
                font-size: 12px;
            }
        }
    }
    & .price-hr {
        display: flex;
        width: 100%;
        justify-content: space-between;
        & .on-sale {
            left: auto;
            right: 81px;
            top: 17px;
            width: 21px;
            height: 21px;
            font-size: 10px;
            padding-top: 2px;
        }
    }
}
@media only screen and (min-width: 768px) {
    .product-item-cta {
        display: flex;
        gap: clamp(12px, 3vw, 34px);
        padding: 24px 24px 24px 40px;
        & .product-image {
            flex: 0 0 254px;
            height: 254px;
            width: 254px;
            margin: 0;
        }
        & .product-card-text-wrap {
            flex: 0 0 calc(100% - 286px);
            padding: 0;
        }
        & .product-title-card {
            margin: 0 !important;
            & a {
                -webkit-line-clamp: 1;
                min-height: 26px;
                margin-bottom: 24px;
                font-size: clamp(14px, 2vw, 20px);
            }
        }
    }
}
.product-item-cta {
    background-image: url(../../img/back-cta-blog.webp);
    & .product-card-text-wrap {
        padding-inline: 8px;
    }
    .items-wrapper {
        gap: 12px;
        margin-bottom: 40px;
        & .items--product {
            justify-content: space-between;
            height: 18px;
        }
    }
}
