/* Sale styling is limited to API-validated offers; regular products keep their layout. */
.store-only-page .product-card.cc-product-on-sale:not(.in-cart) {
  border-color: #d49aba;
  box-shadow: 0 0 0 1px #d49aba33, 0 8px 25px #8c1b6312;
}
.cc-offer-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid #ffffff8c;
  border-radius: 8px;
  background: #a31369;
  color: #fff;
  font: 800 10px/1.1 Arial, sans-serif;
  letter-spacing: .06em;
  text-align: center;
  box-shadow: 0 3px 10px #73114b25;
  pointer-events: none;
}
.cc-offer-badge > span {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.cc-offer-badge > strong {
  color: inherit;
  font: 850 17px/1.1 Arial, sans-serif;
  letter-spacing: -.02em;
}
.product-visual > .cc-offer-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
}
.store-only-page .cc-product-on-sale .product-footer {
  flex-wrap: wrap;
  gap: 9px;
  padding: 10px;
  border: 1px solid #eed4e3;
  border-radius: 9px;
  background: #fff4fa;
}
.store-only-page .cc-product-on-sale .product-footer .cc-product-price-on-sale {
  width: 100%;
  gap: 3px;
}
.store-only-page .cc-product-on-sale .product-footer .cc-price-regular {
  font-size: 12px;
}
.store-only-page .product-card.cc-product-on-sale .product-footer .cc-price-sale {
  color: #a31369;
  font: 850 clamp(21px, 1.65vw, 26px)/1.1 Arial, sans-serif;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.product-footer .cc-offer-savings,
.quick-view-action .cc-offer-savings {
  display: block;
  color: #7c245b;
  font: 700 11px/1.35 Arial, sans-serif;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.store-only-page .cc-product-on-sale .product-footer > button {
  width: 100%;
}
.quick-view-action.cc-offer-action {
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #eed4e3;
  border-radius: 12px;
  background: #fff4fa;
}
.quick-view-action .cc-offer-detail {
  gap: 5px;
}
.quick-view-action .cc-offer-detail > .cc-offer-badge {
  flex-direction: row;
  gap: 8px;
  margin-bottom: 5px;
  padding: 6px 9px;
  color: #fff;
  font: 800 10px/1.1 Arial, sans-serif;
  letter-spacing: .06em;
}
.quick-view-action .cc-offer-detail > .cc-offer-badge > strong {
  color: #fff;
  font: 850 15px/1.1 Arial, sans-serif;
}
.quick-view-action .cc-offer-detail .cc-price-sale {
  font: 850 clamp(30px, 3vw, 38px)/1.1 Arial, sans-serif;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.quick-view-action .cc-offer-savings {
  font-size: 13px;
}
/* Public PHP catalog, category and product pages share the same offer language. */
.cc-public-offers .card.cc-product-on-sale {
  border: 1px solid #d49aba;
  box-shadow: 0 0 0 1px #d49aba33, 0 8px 25px #8c1b6312;
}
.cc-public-offers .cc-offer-media {
  display: block;
  position: relative;
}
.cc-public-offers .cc-offer-media > .cc-offer-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
}
.cc-public-offers .cc-product-price-on-sale {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 11px;
  border: 1px solid #eed4e3;
  border-radius: 10px;
  background: #fff4fa;
  line-height: 1.2;
}
.cc-public-offers .cc-price-regular {
  color: #716976;
  font: 500 12px/1.3 Arial, sans-serif;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
.cc-public-offers .cc-price-sale {
  color: #a31369;
  font: 850 25px/1.1 Arial, sans-serif;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.cc-public-offers .cc-offer-savings {
  color: #7c245b;
  font: 700 12px/1.35 Arial, sans-serif;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.cc-public-offers .cc-offer-badge > strong {
  color: #fff;
  font: 850 17px/1.1 Arial, sans-serif;
}
.cc-public-offers .detail .cc-product-price-on-sale {
  gap: 7px;
  padding: 18px;
}
.cc-public-offers .detail .cc-offer-badge {
  flex-direction: row;
  gap: 8px;
  margin-bottom: 4px;
}
.cc-public-offers .detail .cc-price-sale {
  font-size: clamp(30px, 3vw, 38px);
}
.cc-public-offers .detail .cc-offer-savings {
  font-size: 13px;
}
@media (max-width: 640px) {
  .product-visual > .cc-offer-badge {
    top: 5px;
    right: 5px;
    gap: 2px;
    padding: 5px 6px;
    border-radius: 6px;
    font-size: 8px;
  }
  .product-visual > .cc-offer-badge > strong {
    font-size: 13px;
  }
  .store-only-page .cc-product-on-sale .product-footer {
    gap: 7px;
    padding: 7px;
  }
  .store-only-page .cc-product-on-sale .product-footer .cc-price-regular {
    font-size: 10px;
  }
  .store-only-page .product-card.cc-product-on-sale .product-footer .cc-price-sale {
    font-size: clamp(18px, 4.9vw, 22px);
  }
  .product-footer .cc-offer-savings {
    font-size: 9px;
  }
  .quick-view-action.cc-offer-action {
    padding: 14px;
  }
  .cc-public-offers .card .cc-product-price-on-sale {
    padding: 8px;
  }
  .cc-public-offers .card .cc-price-regular {
    font-size: 10px;
  }
  .cc-public-offers .card .cc-price-sale {
    font-size: clamp(18px, 4.9vw, 22px);
  }
  .cc-public-offers .card .cc-offer-savings {
    font-size: 10px;
  }
  .cc-public-offers .cc-offer-media > .cc-offer-badge {
    gap: 2px;
    padding: 5px 6px;
    border-radius: 6px;
    font-size: 8px;
  }
  .cc-public-offers .cc-offer-media > .cc-offer-badge > strong {
    font-size: 13px;
  }
}
