/* Shoes Avenue storefront bridge: bag, favorites, checkout extras */
.header__logo img,
[data-component="Logo"] img,
.logo__img {
  width: auto !important;
  max-width: 280px !important;
  height: auto !important;
  object-fit: contain !important;
}
[data-component="Swatch"].sa-swatch-on:not(:has(img)):not(:has(picture)) {
  border: 2px solid #111 !important;
  box-shadow: none !important;
  background: #111 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
[data-component="Swatch"]:has(img).sa-swatch-on,
[data-component="Swatch"]:has(picture).sa-swatch-on,
[data-selector="pdp-group-color"] [data-component="Swatch"].sa-swatch-on,
[data-selector="pdp-group-color"] [data-component="Swatch"][aria-checked="true"],
[data-selector="pdp-group-color"] [data-component="Swatch"][aria-pressed="true"],
[data-selector="pdp-group-color"] [data-component="Swatch"][data-checked],
[data-selector="pdp-group-color"] [data-component="Swatch"][data-state="checked"],
[data-selector="pdp-group-color"] [data-component="Swatch"][data-active] {
  border: 3px solid #111 !important;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #111 !important;
  outline: none !important;
  background: #f6f6f4 !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  transform: scale(1.08);
  z-index: 2;
}
/* Never paint the inner size/width label as a nested selected chip */
[data-component="Swatch"] [data-element="Center"].sa-swatch-on,
[data-component="Swatch"] .css-m6b1tn.sa-swatch-on,
[data-selector^="pdp-group-size-"].sa-swatch-on,
[data-selector^="pdp-group-width-"].sa-swatch-on {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
.sf-product-detail-page .add-to-cart-button[disabled] {
  pointer-events: auto !important;
  cursor: pointer !important;
}
.sa-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font: 600 14px Poppins, Arial, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  max-width: min(360px, calc(100% - 24px));
}
.sa-toast a { color: #fff; text-decoration: underline; margin-left: 8px; }
.sa-drawer-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
  display: none;
}
.sa-drawer-bg.open { display: block; }
.sa-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 100%);
  background: #fff;
  z-index: 9999;
  transform: translateX(110%);
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
  font-family: Poppins, Arial, sans-serif;
  box-shadow: -12px 0 40px rgba(0,0,0,.12);
}
.sa-drawer.open { transform: none; }
.sa-drawer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
  letter-spacing: .04em;
}
.sa-drawer header button { border: 0; background: none; font-size: 22px; cursor: pointer; }
.sa-drawer .body { padding: 16px 18px; overflow: auto; flex: 1; }
.sa-drawer .row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; margin-bottom: 14px; }
.sa-drawer img { width: 72px; height: 72px; object-fit: contain; background: #fafafa; }
.sa-drawer .foot { padding: 16px 18px 20px; border-top: 1px solid #eee; }
.sa-drawer .btn {
  display: block;
  text-align: center;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 12px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 8px;
}
.sa-drawer .btn.ghost { background: #fff; color: #111; border: 1px solid #111; }
.chakra-button.favorite .heart { display: none !important; }
.chakra-button.favorite .heart-solid { display: inline-block !important; }
.chakra-button.favorite .not-favorite { }
div.favorite .heart { display: none !important; }
div.favorite .heart-solid { display: inline-block !important; }

#create-fields.hidden { display: none !important; }
