.shop-product-price>span.is-discounted{color:var(--shop-red)}
.shop-product-price .shop-product-original-price{color:#89929a;font-size:11px;font-weight:500;text-decoration:line-through}
.shop-product-price .shop-product-discount{padding:1px 4px;border-radius:3px;background:#fff0ec;color:#e84a36;font-size:11px;font-weight:600;white-space:nowrap}
.shop-product-price.is-minimal{flex-wrap:wrap;justify-content:center;gap:2px 5px}
.shop-product-price.is-minimal>span:first-child{flex-basis:100%}
.shop-product-price.is-minimal .shop-product-original-price{font-size:10px}
.shop-product-price.is-minimal .shop-product-discount{font-size:9px}
#root .ref-catalog-list .shop-product-price.has-discount,
#root .cd2-related .shop-product-price.has-discount{flex-wrap:wrap;white-space:normal;row-gap:2px}
#root .ref-catalog-list .shop-product-price.has-discount>span:first-child,
#root .cd2-related .shop-product-price.has-discount>span:first-child{flex-basis:100%}
#root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount{flex-wrap:wrap;gap:2px 5px}
#root .ref-catalog-list .shop-product-title-row{transform:translateY(2px)}
#root .ref-catalog-list .shop-product-price{margin-top:6px}
#root .ref-catalog-list .ref-product-grid{margin-top:-10px}

/* Match catalog row spacing to the homepage product rails. */
#root .ref-catalog-list .ref-product-grid,
#root .ref-catalog-v-shelf .ref-vshelf-product-grid{row-gap:25px}
@media(max-width:760px){
 #root .ref-catalog-list .ref-product-grid,
 #root .ref-catalog-v-shelf .ref-vshelf-product-grid{row-gap:17px}
}
#root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount>span:first-child{flex-basis:100%}
.shop-product-price.has-discount .shop-product-original-price{font-size:12px}
.shop-product-price.has-discount .shop-product-discount{font-size:11px}
#root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount .shop-product-original-price{font-size:10px}
#root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount .shop-product-discount{font-size:9px}
.cd2-price-discount{display:inline-block;padding:3px 7px;border-radius:4px;background:#fff0ec;color:#e84a36;font-size:14px;font-weight:700;white-space:nowrap}
.cd2-store-price.has-discount>strong{color:#e84a36}
.cd2-store-price{display:flex;align-items:baseline;justify-content:flex-start;gap:10px;margin:15px 0 11px;padding:0;border:0;background:transparent}
.cd2-store-price>strong{order:0;font-size:28px;line-height:1.25}
.cd2-store-price>del{order:1;display:inline-block;margin:0;color:#89929a;font-size:15px;font-weight:500}
.cd2-store-price.is-contact{background:transparent;border:0}
.shop-cart-line-prices{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.shop-cart-line-prices del{color:#89929a;font-size:11px}
.shop-cart-line-prices b{color:var(--shop-red)}
.ref-home-banner-copy>b del{color:#ffffffb8;font-size:12px;font-weight:500}
.admin-promotion-targets{max-height:240px;overflow:auto;padding:10px 12px;border:1px solid #dfe5eb}
.admin-promotion-targets legend{padding:0 5px;color:#40505e;font-size:12px;font-weight:700}
.admin-promotion-targets>label{display:flex;align-items:flex-start;gap:8px;padding:6px 0;color:#3e4b55;font-size:12px;font-weight:500}
.admin-promotion-targets input{margin:2px 0 0;flex:none}
.admin-promotion-targets>small{color:#8a4f12}

/* Keep the discounted homepage price details on a single line. */
#root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount{
  width:100%;min-width:0;flex-wrap:nowrap;justify-content:center;align-items:baseline;gap:4px;white-space:nowrap
}
#root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount>span.is-discounted:first-child{
  flex:0 0 auto;flex-basis:auto;font-size:clamp(14px,1.1vw,17px);line-height:1.2;white-space:nowrap
}
#root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount>.shop-product-original-price{
  flex:0 0 auto;color:#858b90;font-size:clamp(10px,.8vw,12px);line-height:1.2;white-space:nowrap
}
#root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount>.shop-product-discount{
  flex:0 0 auto;padding:1px 3px;font-size:clamp(9px,.75vw,11px);line-height:1.2;white-space:nowrap
}
@media(max-width:760px){
  #root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount{gap:2px}
  #root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount>span.is-discounted:first-child{font-size:clamp(10px,3.4vw,13px)}
  #root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount>.shop-product-original-price{font-size:clamp(8px,2.6vw,10px)}
  #root .ref-home-product-carousel .shop-product-price.is-minimal.has-discount>.shop-product-discount{padding-inline:2px;font-size:clamp(8px,2.4vw,9px)}
}

/* Match the homepage price row on all product category and catalog cards. */
#root .ref-catalog-list .shop-product-price.is-minimal{
  width:100%;min-width:0;justify-content:center;white-space:nowrap;font-size:17px
}
#root .ref-catalog-list .shop-product-price.is-minimal>span:not(.shop-product-discount){
  flex:0 0 auto;flex-basis:auto;white-space:nowrap;font-size:inherit;line-height:1.2
}
#root .ref-catalog-list .shop-product-price.is-minimal.has-discount{
  flex-wrap:nowrap;align-items:baseline;gap:4px
}
#root .ref-catalog-list .shop-product-price.is-minimal.has-discount>.shop-product-original-price{
  flex:0 0 auto;color:#858b90;font-size:12px;line-height:1.2;white-space:nowrap
}
#root .ref-catalog-list .shop-product-price.is-minimal.has-discount>.shop-product-discount{
  flex:0 0 auto;padding:1px 3px;font-size:11px;line-height:1.2;white-space:nowrap
}
@media(max-width:760px){
  #root .ref-catalog-list .shop-product-price.is-minimal{font-size:clamp(10px,3vw,13px)}
  #root .ref-catalog-list .shop-product-price.is-minimal.has-discount{gap:2px}
  #root .ref-catalog-list .shop-product-price.is-minimal.has-discount>.shop-product-original-price{font-size:clamp(8px,2.2vw,9px)}
  #root .ref-catalog-list .shop-product-price.is-minimal.has-discount>.shop-product-discount{padding-inline:2px;font-size:clamp(8px,2vw,8.5px)}
}
