/* Product HTML is cacheable; the authenticated account state lives on .product-info. */
html.route-product-product #content .product-info[data-vh-wishlist="loading"] .main-image > :is(.vhdt-wish, .vh-gallery-favorite) {
  opacity: .3;
  background: #edf1f5 !important;
}
/* The gallery's native Journal button keeps :hover after a tap on touchscreens. */
html.route-product-product body #content .product-info[data-vh-wishlist="empty"] .main-image > :is(.vhdt-wish, .vh-gallery-favorite),
#content .product-layout .btn-wishlist[data-vh-card-wish][aria-pressed="false"] {
  color: #263746 !important;
  background: #fff !important;
  border-color: #dde4eb !important;
}
html.route-product-product body #content .product-info[data-vh-wishlist="empty"] .main-image > :is(.vhdt-wish, .vh-gallery-favorite) :is(svg, svg > path),
#content .product-layout .btn-wishlist[data-vh-card-wish][aria-pressed="false"] > .vh-wish-card-icon {
  fill: none !important;
  stroke: #263746 !important;
}
html.route-product-product body #content .product-info[data-vh-wishlist="saved"] .main-image > :is(.vhdt-wish, .vh-gallery-favorite) {
  color: #1b4f8f !important;
  background: #eaf3fc !important;
  border-color: #a9c9e6 !important;
}
html.route-product-product body #content .product-info[data-vh-wishlist="saved"] .main-image > :is(.vhdt-wish, .vh-gallery-favorite) :is(svg, svg > path),
body .product-layout .btn-wishlist[data-vh-card-wish][aria-pressed="true"] > .vh-wish-card-icon {
  fill: #2479bd !important;
  stroke: none !important;
}

body .notification.notification-wishlist {
  box-sizing: border-box;
  position: relative;
  width: min(440px, calc(100vw - 32px));
  max-width: 100%;
  max-height: min(640px, 88vh);
  max-height: min(640px, 88dvh);
  overflow: auto;
  padding: 20px !important;
  border: 1px solid #d9e3ed !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 18px 60px rgba(23, 47, 70, .2) !important;
  color: #20374c;
  text-align: start;
}
/* Journal's centered wrapper spans the viewport; size the card, not the wrapper. */
body .notification-wrapper.notification-wrapper-center:has(> .notification-wishlist:not(.fade-out,.removed)) {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  box-sizing: border-box;
  padding: 12px;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  background: rgba(21, 46, 65, .42);
  pointer-events: auto;
}
body .notification-wrapper-center > .notification.notification-wishlist {
  width: min(440px, 100%);
  max-width: 100%;
  max-height: 100%;
  flex: 0 1 auto;
  margin: 0 !important;
  overscroll-behavior: contain;
}
body .notification.notification-wishlist:focus { outline: none; }
body .notification.notification-wishlist .notification-close {
  position: absolute;
  inset: 12px 12px auto auto;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  min-height: 0;
  background: #f1f5f9 !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #41586d !important;
  box-shadow: none;
}
body .notification.notification-wishlist .notification-close::before {
  font-size: 14px !important;
  color: inherit !important;
}
body .notification.notification-wishlist :is(.notification-close, .vh-wish-actions a, .vh-wish-actions button):focus-visible {
  outline: 2px solid #1b4f8f;
  outline-offset: 3px;
}
.notification-wishlist .vh-wish-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 32px 14px 0;
  color: #16344b;
  font-family: inherit;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
}
.notification-wishlist .vh-wish-heading strong { font: inherit; }
.notification-wishlist .vh-wish-heading::before {
  content: "";
  flex: 0 0 36px;
  height: 36px;
  border-radius: 12px;
  background-color: #ffedf3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23f2a7be' stroke='%23a93262' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.9a5.5 5.5 0 0 0-7.8 0L12 6l-1.1-1.1a5.5 5.5 0 1 0-7.8 7.8L12 21.4l8.8-8.7a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
body .notification.notification-wishlist .notification-content {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1px solid #e3eaf0;
  border-radius: 10px;
  background: #f7f9fb;
}
body .notification.notification-wishlist .notification-content img {
  flex: none;
  width: 80px;
  height: 120px;
  margin: 0 !important;
  object-fit: cover;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
}
.notification-wishlist .notification-content > div {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
body .notification.notification-wishlist .notification-title {
  color: #16344b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.notification-wishlist .notification-text {
  margin-top: 5px;
  color: #42566b;
  font-size: 13px;
  line-height: 1.5;
}
.notification-wishlist .notification-text[hidden] { display: none !important; }
body .notification.notification-wishlist .notification-text a { color: #1b4f8f; text-decoration: underline; }
.notification-wishlist .vh-wish-actions {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 8px;
  margin-top: 16px;
}
body .notification.notification-wishlist .vh-wish-actions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid #cfdae5;
  border-radius: 8px;
  color: #234563;
  background: #f4f7fa;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
body .notification.notification-wishlist .vh-wish-actions > a { color: #fff; background: #1b4f8f; border-color: #1b4f8f; }
body .notification.notification-wishlist .vh-wish-actions > a:hover { background: #194879; }
@media (max-width: 767px) {
  body .notification.notification-wishlist { padding: 16px !important; }
  body .notification.notification-wishlist .notification-content { gap: 10px; padding: 10px; }
  body .notification.notification-wishlist .notification-content img { width: 60px; height: 90px; }
  .notification-wishlist .vh-wish-heading { font-size: 16px; }
  .notification-wishlist .vh-wish-actions { margin-top: 12px; }
  body .notification.notification-wishlist .vh-wish-actions > * { min-height: 44px; }
}

.notification-wishlist .vh-wish-preferences {
  margin: 14px 0 0;
  padding: 0;
  text-align: start;
}
.notification-wishlist .vh-wish-preferences fieldset {
  min-width: 0; margin: 0; padding: 0; border: 0;
}
.notification-wishlist .vh-wish-preferences legend {
  width: auto; margin: 0 0 9px; padding: 0; border: 0;
  font: inherit; font-size: 14px; line-height: 1.45; font-weight: 600; color: #16344b;
}
.notification-wishlist .vh-wish-channels {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.notification-wishlist .vh-wish-channels label {
  display: inline-flex; gap: 6px; align-items: center; min-height: 38px; margin: 0;
  padding: 5px 9px; border: 1px solid #ccd9e4; background: #fff; border-radius: 7px;
  font: inherit; font-size: 13px; line-height: 1.25; font-weight: 500; color: #284559; cursor: pointer;
}
.notification-wishlist .vh-wish-channels label:has(:checked) {
  border-color: #9dbcd3; background: #eef6fb;
}
.notification-wishlist .vh-wish-channels label:has(:disabled) { cursor: default; }
.notification-wishlist .vh-wish-channels input[type=checkbox] {
  appearance: auto !important; position: static !important; margin: 0; opacity: 1 !important;
  width: 15px; height: 15px; accent-color: #1b4f8f; flex-shrink: 0;
}
.notification-wishlist .vh-wish-channels input::before, .notification-wishlist .vh-wish-channels input::after { content: none !important; }
.notification-wishlist .vh-wish-save {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 9px; min-height: 36px;
  padding: 6px 12px; border: 1px solid #b9cbdd; border-radius: 7px; background: #edf4fa; color: #1b4f83;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.notification-wishlist .vh-wish-save:disabled { color: #536575; cursor: default; border-color: #dde4e9; background: #f4f6f8; }
.notification-wishlist .vh-wish-save[hidden] { display: none; }
.notification-wishlist .vh-wish-status { margin: 6px 0 0; color: #295d48; font-size: 12px; line-height: 1.4; }
.notification-wishlist .vh-wish-status[data-error] { color: #963e3e; }
.notification-wishlist .vh-wish-status:empty { margin: 0; }
@media (max-width: 767px) {
  .notification-wishlist .vh-wish-channels label { min-height: 44px; }
  .notification-wishlist .vh-wish-save { min-height: 40px; }
}
