.price {
    margin-top: 20px;
    display: block;
    width: 100%;
    /* color: rgb(var(--color-sale)); */
    color: #000000;
}

.price .price__sale .price-item--regular {
    text-decoration: line-through;
    color: rgb(var(--color-light-text));
}

.price .price__sale {
    display: inline-block;
    width: 30%;
    font-size: 1.2rem;
    line-height: 1.1rem;
    font-weight: 400;
    min-width: 85px;
}

.price .price-item--sale {
    margin-right: 2px;
    font-weight: 400;
}

.price .price-item--you_save {
    font-weight: 200;
    font-size: 0.7rem;
    color: #8e8e8e;
}

.price .price__compare {
    display: inline-block;
    width: 40%;
    font-size: 1.1rem;
    line-height: 1.1rem;
}

.price .price__compare .price-item--regular {
    text-decoration: line-through;
    color: #8e8e8e;
    font-weight: 200;
}

.price .price-item--traditional {
    font-weight: 200;
    font-size: 0.7rem;
    color: #8e8e8e;
}


.price>* {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

/* The ipad end responds to the mobile end in vertical screen */
/* @custom-media --tablet (max-width: 959px); */
/* @custom-media --gt-mobile (min-width: 751px); */
/* detectingScreen need to consider the configuration of the tablet */