.storefront-shell .product-media {
  position: relative;
}
.wishlist-button,
.storefront-shell .wishlist-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  min-width: 39px;
  padding: 9px;
  border: 1px solid #d6b0c0;
  border-radius: 50%;
  background: #fff9fbf0;
  color: #76364f;
  box-shadow: 0 2px 9px #76364f10;
  cursor: pointer;
}
.wishlist-button svg,
.storefront-shell .wishlist-button svg {
  width: 20px;
  height: 20px;
}
.wishlist-button[aria-pressed='true'] svg {
  fill: #e99fbc;
  stroke: #863e5c;
}
.wishlist-button:hover {
  background: #ffe2ee;
}
.wishlist-button:focus-visible {
  outline: 2px solid #76364f;
  outline-offset: 3px;
}
.wishlist-button[hidden] {
  display: none !important;
}
.gallery-header .wishlist-button {
  position: static;
  margin-left: auto;
  flex-shrink: 0;
}
.gallery-header #close-gallery {
  margin-left: 0;
}
.wishlist-notice {
  position: fixed;
  z-index: 1000;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  width: max-content;
  padding: 14px 19px;
  background: #fff9fb;
  border: 1px solid #d8b3c3;
  border-radius: 10px;
  box-shadow: 0 5px 25px #76364f20;
  color: #76364f;
  font-size: 12px;
  line-height: 1.7;
}
.customer-panel:has(#customer-account:not([hidden])) {
  max-width: 1100px;
}
.customer-panel:has(#customer-account:not([hidden])) #customer-account-form {
  max-width: 600px;
}
.customer-panel #customer-wishlist {
  margin: 30px 0 40px;
  border-bottom: 1px solid #ebc6d4;
  padding-bottom: 30px;
}
.wishlist-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.wishlist-heading h2 {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 8px;
}
.wishlist-heading a {
  font-size: 12px;
  text-underline-offset: 4px;
}
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.wishlist-card {
  border: 1px solid #e3c5d3;
  background: #fff8fb;
  border-radius: 13px;
  padding: 16px;
  position: relative;
  min-width: 0;
}
.wishlist-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #ffeaf2;
  border-radius: 9px;
}
.wishlist-card .wishlist-image {
  display: block;
  text-decoration: none;
}
.wishlist-card h3 {
  font:
    500 27px 'Cormorant',
    Georgia,
    serif;
  margin: 14px 0 8px;
}
.wishlist-card h3 a {
  color: #76364f;
  text-decoration: none;
}
.wishlist-card p {
  font-size: 12px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.wishlist-card .wishlist-remove {
  font-size: 11px;
  padding: 10px 0;
  background: transparent;
  color: #8b4564;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wishlist-card.unavailable {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 230px;
}
.wishlist-card .wishlist-placeholder {
  display: grid;
  place-items: center;
  min-height: 190px;
  color: #b0859a;
  font-size: 40px;
}
.account-data-heading {
  font:
    500 30px 'Cormorant',
    Georgia,
    serif;
  margin-top: 32px;
}
.store:has(.customer-panel) > header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff9fbf2;
  backdrop-filter: blur(14px);
}
@font-face {
  font-family: 'Cormorant';
  src: url('./assets/fonts/cormorant.woff') format('woff');
  font-weight: 300 700;
  font-display: swap;
}
.store:has(.customer-panel) .brand {
  font-family: 'Cormorant', Georgia, serif;
  font-size: 31px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .wishlist-card {
    padding: 12px;
  }
  .wishlist-card img {
    height: 145px;
  }
  .wishlist-card h3 {
    font-size: 25px;
  }
  .wishlist-button,
  .storefront-shell .wishlist-button {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 8px;
  }
  .customer-panel {
    padding-left: 0;
    padding-right: 0;
  }
  .wishlist-heading h2 {
    font-size: 30px;
  }
  .store:has(.customer-panel) > header {
    margin-bottom: 24px;
    gap: 12px;
  }
  .store:has(.customer-panel) .brand {
    font-size: 26px;
  }
}
@media (max-width: 370px) {
  .wishlist-grid {
    grid-template-columns: 1fr;
  }
}

#gallery-wishlist-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.customer-panel h1 {
  font-weight: 400;
  letter-spacing: 0;
}

.gallery-header h2,
.lightbox-header h2 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
}
