.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;
    font-size: var(--fs-lead);
    line-height: 1.2rem;
    font-weight: 300;
    min-width: 36px;
}

.price .price-item--sale {
    margin-right: 2px;
    font-weight: 300;
}

.price .price-item--you_save {
    font-weight: 300;
    font-size: var(--fs-small);
    color: #8e8e8e;
}

.price .price__compare {
    display: inline-block;
    width: 50px;
    font-size: 1.1rem;
    line-height: 1.1rem;
}

.price .price__compare .price-item--regular {
    text-decoration: line-through;
    color: #a9a9a9;
    font-weight: 300;
}

.price .price-item--traditional {
    font-weight: 300;
    font-size: var(--fs-small);
    color: #8e8e8e;
}


.price>* {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

/* .price__regular is a full-width block on its own, which would push the badge
   onto a second line. Shrink it to its content only when a badge follows. */
.price .price__container--with-badge .price__regular {
    display: inline-block;
    vertical-align: top;
    width: auto;
}

/* Custom text badge rendered to the right of the price columns on the PDP.
   Colors and radius come from inline styles set by the price block settings;
   only the box model and typography live here. */
.price .price__badge {
    display: inline-block;
    vertical-align: top;
    margin-top: 1px;
    padding: 2px 8px;
    border: 1px solid transparent;
    box-sizing: border-box;
    font-size: var(--fs-micro);
    line-height: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* The .price__bms-line hook in price.html is rendered on every product card
   too (PLP, search, recommendations) but should stay hidden there — only the
   PDP's product-bundle-save.html JS un-hides it. The UA `[hidden]` rule loses
   to `.price > *` at equal specificity, so override it explicitly here in the
   globally-loaded stylesheet (instead of only in section-main-product.css). */
.price .price__bms-line[hidden] {
    display: none;
}

.price-product .price {
    margin-top: 8px;
}

/* 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 */