/* CRASHED STORE / Search + Wishlist — monochrome and intentionally restrained. */
.site-header .nav-utility {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  padding: 0;
  color: #e8e8e8;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  text-decoration: none;
  transition: background-color .18s, border-color .18s, color .18s;
}
.site-header .nav-utility:hover,
.site-header .nav-utility[aria-current="page"] { color: #fff; border-color: #363636; background: #222; }
.site-header .nav-utility svg { width: 19px; height: 19px; display: block; }
.site-header .nav-wishlist svg { width: 20px; height: 20px; }
.wishlist-nav-count {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  color: #111;
  border: 1px solid #111;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  border-radius: 9px;
}
.wishlist-nav-count[hidden] { display: none !important; }
.light-mode .site-header .nav-utility { color: #252525; }
.light-mode .site-header .nav-utility:hover,
.light-mode .site-header .nav-utility[aria-current="page"] { color: #111; border-color: #d6d6d6; background: #eee; }
.light-mode .wishlist-nav-count { color: #fff; background: #111; border-color: #fff; }
/* Absolute overlay is a sibling of the product link: the heart never opens the product. */
.shop-piece { position: relative; }
.wishlist-heart {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  padding: 0;
  color: #fff;
  background: rgba(16,16,16,.83);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  cursor: pointer;
  transition: transform .16s, background-color .16s, border-color .16s;
}
.wishlist-heart:hover { transform: scale(1.075); background: #181818; border-color: #bbb; }
.wishlist-heart svg { width: 17px; height: 17px; transition: fill .15s; }
.wishlist-heart.is-saved { border-color: #fff; background: #f5f5f5; color: #111; }
.wishlist-heart.is-saved svg { fill: currentColor; }
.wishlist-heart:disabled { opacity: .65; cursor: wait; transform: none; }
.wishlist-heart:focus-visible,
.site-header .nav-utility:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.shop-piece .wishlist-heart { top: 21px; right: 21px; }
.main-photo { position: relative; }
.main-photo .wishlist-heart--detail { width: 44px; height: 44px; top: 16px; right: 16px; }
.main-photo .wishlist-heart--detail svg { width: 21px; height: 21px; }
.wishlist-toast {
  position: fixed;
  z-index: 10002;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%,12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-width: min(450px, calc(100vw - 32px));
  padding: 13px 20px;
  background: #f7f7f7;
  border: 1px solid #d7d7d7;
  color: #171717;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,.20);
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.wishlist-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.wishlist-toast-error { border-color: #a94a4a; }
@media (max-width: 740px) {
  .site-header .nav-utility { width: 37px; height: 37px; }
  .shop-piece .wishlist-heart { top: 17px; right: 17px; width: 33px; height: 33px; }
  .wishlist-toast { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .wishlist-heart, .wishlist-heart svg, .wishlist-toast, .site-header .nav-utility { transition: none; }
}
