/* V168: the seven presentation fixes in the owner's staging review. */

/* Align the amount and both labels by their line boxes, without changing prices. */
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store.catalog-product-view .product-info-main .price-box {
  align-items: center !important;
}
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store.catalog-product-view .product-info-main .price-box :is(.retail-price,.not-logged-inlalel,.label-normal,.price-container,.price-wrapper,.price) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
}
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store.catalog-product-view .product-info-main .price-box :is(.price-container,.price-wrapper):not([data-omp-price-flow="v108"]) {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap;
}

/* Contain the product floats so the bar's top margin starts below the cards. */
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store .modal-ppup-cart > .modal-content {
  display: flow-root !important;
}
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store .modal-ppup-cart > .sf-popup-bundle-bar {
  clear: both !important;
  margin-top: 16px !important;
}

/* The existing success icon remains a white tick in a circle, now OMP blue. */
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store .page.messages .message.success::before {
  color: #087eb5 !important;
  border-color: #087eb5 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23087eb5'/%3E%3Cpath d='m7 12 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* Use the available banner width instead of the old 24ch and 68ch caps. */
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store :is(.perk-page,.wholesale-page) .sf-tier-hero > :is(h1,h2,.sf-tier-lead) {
  width: auto !important;
  max-width: none !important;
}

/* Match Delivery's shared information page container at every viewport width. */
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store.cms-reward-points.sf-information-page #maincontent.page-main {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--store-content-gutter) !important;
  padding-right: var(--store-content-gutter) !important;
  padding-bottom: 56px !important;
}

/* Keep the real login link next to the wholesale application link.
   Hide duplicates only when that canonical login control exists. */
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store-prp.catalog-product-view .product-info-main:has(#product_addtocart_form > a.amasty-hide-price-button-new[href*="/customer/account/login"]) > a.amasty-hide-price-button,
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store-prp.catalog-product-view #product_addtocart_form:has(> a.amasty-hide-price-button-new[href*="/customer/account/login"]) a.amasty-hide-price-button {
  display: none !important;
}

/* V179: product titles use the compact product scale. The price flow
   wrappers above retain display:contents where V108 uses flex ordering. */
body#html-body.sf-store.catalog-product-view #maincontent .product-info-main > .page-title-wrapper.product .page-title {
  font-size:30px!important;
  line-height:1.25!important;
}
@media(max-width:767px) {
  body#html-body.sf-store.catalog-product-view #maincontent .product-info-main > .page-title-wrapper.product .page-title {font-size:24px!important;}
}

/* Keep the OMP account prompt visually separate from the price row. */
body#html-body:is(#html-body):is(#html-body):is(#html-body):is(#html-body):is(#html-body).sf-store.sf-store-omp.catalog-product-view .product-info-main .price-box .not-logged-inlalel {
  margin-top:12px!important;
}
