:root {
    --darkColor: #398622;
    --middleColor: #00a803;
    --whiteColor: #ffffff;
    --blackColor: #000000;
    --grayColor: #8d8a8a;
    --veryDarkColor: #0b2a02;
    --lightColor: #48a72c;
    --veryLightColor: #5cc13e;
    --goldColor: #FAA20A;
    --bgEffect: #a97111;
    --maxWidthLv1: 1300px;
    --alertColor: #ff0000;
}

.product_item {
    position: relative;
    width: 100%;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-rows: 1fr 40px;
    justify-content: left;
    grid-gap: 10px;
    margin-bottom: 15px;
}

.product_item .product_image {
    width: 100%;
    height: calc(100%);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--grayColor);
}

.product_item .product_image>img {
    width: 100%;
    height: auto;
}

.product_item .product_name {
    margin: unset;
    font-size: 11pt;
    font-weight: 700;
    text-align: left;
    overflow: hidden;
    color: var(--darkColor);
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product_item .product_name:hover {
    color: var(--middleColor);
}

.product_item .product_invetory {
    height: 25px;
    margin: unset;
    display: flex;
}

.product_item .product_invetory .invetory_title {
    font-size: 11pt;
    font-weight: 700;
    text-align: left;
    overflow: hidden;
    color: var(--blackColor);
}

.product_item .product_invetory .invetory_value {
    font-size: 11pt;
    font-weight: 700;
    text-align: left;
    overflow: hidden;
    color: var(--blackColor);
}

.product_item .product_invetory .invetory_value.invetory_outofstock {
    color: var(--alertColor);
}

.product_item .product_retailer_price {
    height: 25px;
    margin: unset;
    display: flex;
}

.product_item .product_retailer_price>.price_title {
    margin: unset;
    font-size: 11pt;
    font-weight: 700;
    color: var(--blackColor);
}

.product_item .product_retailer_price>.price_value {
    margin: unset;
    font-size: 11pt;
    font-weight: 900;
    color: var(--blackColor);
}

.product_item .product_commands {
    display: flex;
}

.product_item .product_commands>.product_command {
    margin-left: 5px;
}

.product_item .product_commands>.product_command:first-child {
    margin-left: unset;
}

.product_order_info {
    display: flex;
    justify-content: space-between;
}

.product_order_qty_container {
    display: flex;
    color: var(--blackColor);
}

.product_order_qty_container {
    display: flex;
    color: var(--blackColor);
}

.product_order_qty_container .order_qty_block {
    height: 100%;
    margin-right: 10px;
}

.product_order_qty_container .product_order_qty_label {
    font-weight: 700;
}

.product_item_order {
    display: grid;
    grid-template-columns: 1fr 40px;
    grid-gap: 10px;
}

.product_item_order_button {
    padding: 5px 10px;
    font-size: 6pt;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--veryDarkColor);
    color: var(--whiteColor);
}

.product_item_mark_button {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    padding: 5px;
    border: 1px solid var(--veryDarkColor);
}

.product_item_mark_button::after {
    content: "";
    position: absolute;
    width: 14pt;
    height: 14pt;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("/assets/images/svg/heart_green.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.product_item_mark_button.favored::after {
    background-image: url("/assets/images/svg/heart_fill_green.svg");
}

.product_item_order_button:hover,
.product_item_mark_button:hover {
    background-color: var(--bgEffect);
    color: var(--blackColor);
}

/*product rating*/
.product_item_rating_stars{
    display: flex;
    width: 100px;
    gap: 0;   
}
.product_item_rating_stars.not_rating .rating_star,
.product_item_rating_stars.done_rating .rating_star{
    background-size: cover;
    width: 20px;
    height: 20px;

}
.product_item_rating_stars .full_point{
    background-image: url("/assets/images/svg/star_yellow.svg");
}
.product_item_rating_stars .half_point{
    background-image: url("/assets/images/svg/star_yellow_gray.svg");
}
.product_item_rating_stars .none_point{
    background-image: url("/assets/images/svg/star_gray.svg");
}
/*product rating*/
