/* CIMP-18293 - Set custom ordering for retailer buttons */
div[data-sc-product-locator-id][data-sc-product-locator-type=standalone] .sc-pl-retailer-list__container .sc-pl-retailer-list__container-all-btn:nth-child(3) {
  order: 1; /* Online button */
}
div[data-sc-product-locator-id][data-sc-product-locator-type=standalone] .sc-pl-retailer-list__container .sc-pl-retailer-list__container-all-btn:nth-child(2) {
  order: 2; /* In-Store button */
}
div[data-sc-product-locator-id][data-sc-product-locator-type=standalone] .sc-pl-retailer-list__container .sc-pl-retailer-pill__container {
  order: 3; /* Retailer pills stay after buttons */
}
/* END CIMP-18293 */

/* CIMP-18307 - Add custom close icon to Smartbutton retailer list */
div[data-sc-id][data-sc-type="SmartButton"] .custom-close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 14px;
  cursor: pointer;
  z-index: 9999;
  color: #333;
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

div[data-sc-id][data-sc-type="SmartButton"] .custom-close-btn:hover {
  background: #f2f2f2;
}
/* END CIMP-18307 */