/* Journal owns the notification, its cart and checkout links, and dismissal. */
.notification-wrapper.notification-wrapper-center:has(> .notification-cart[data-vh-cart-notice]:only-child:not(.fade-out,.removed)) {
  background: rgba(21, 46, 65, .42);
  pointer-events: auto;
}
.notification-wrapper-center .notification.notification-cart[data-vh-cart-notice] {
  box-sizing: border-box;
  width: min(464px, calc(100% - 24px));
  max-width: 464px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d7e3ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 64px rgba(16, 45, 72, .22);
  color: #17354b;
  text-align: start;
}
.notification-cart[data-vh-cart-notice] .vh-cart-notice-heading {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 44px 0 0;
  margin: 0 0 15px;
  color: #16344b;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}
.notification-cart[data-vh-cart-notice] .vh-cart-notice-check {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #e5f5ec;
}
.notification-cart[data-vh-cart-notice] .vh-cart-notice-check::before {
  content: '';
  box-sizing: border-box;
  width: 8px;
  height: 15px;
  margin-top: -4px;
  border: solid #237344;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.notification-cart[data-vh-cart-notice] .notification-close.btn {
  top: 18px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid #dee7ee;
  border-radius: 50% !important;
  background: #f4f7fa;
  box-shadow: none;
  color: #466275;
}
/* Replace Journal's icon-font glyph, which can be absent on mobile. */
.notification-wrapper .notification-cart[data-vh-cart-notice] .notification-close.btn::before,
.notification-wrapper .notification-cart[data-vh-cart-notice] .notification-close.btn::after {
  display: none !important;
  content: none !important;
}
.notification-cart[data-vh-cart-notice] .notification-close.btn svg {
  display: block;
  position: static;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  pointer-events: none;
}
.notification-cart[data-vh-cart-notice] .vh-cart-notice-size {
  display: block;
  width: fit-content;
  margin: 6px 0 0;
  color: #345267;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
.notification-cart[data-vh-cart-notice] .notification-content {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 12px;
  border: 1px solid #e0e9f0;
  border-radius: 10px;
  background: #f5f8fb;
  text-align: start;
}
.notification-cart[data-vh-cart-notice] .notification-content img {
  display: block;
  width: 80px;
  height: 120px;
  flex: 0 0 80px;
  object-fit: contain;
  margin: 0;
  background: #fff;
  border-radius: 5px;
  box-shadow: none;
}
.notification-cart[data-vh-cart-notice] .notification-content > div { min-width: 0; }
.notification-cart[data-vh-cart-notice] .notification-title,
.notification-cart[data-vh-cart-notice] .notification-title a {
  color: #17394f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.notification-cart[data-vh-cart-notice] .notification-title { margin: 0; }
.notification-cart[data-vh-cart-notice] .notification-text {
  margin-top: 4px;
  color: #496577;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.notification-cart[data-vh-cart-notice] .notification-text[hidden] { display: none !important; }
.notification-cart[data-vh-cart-notice] .notification-text a { color: #1b4f8f; }
.notification-cart[data-vh-cart-notice] .notification-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  background: transparent;
  border: none;
}
.notification-cart[data-vh-cart-notice] .notification-buttons a.btn {
  box-sizing: border-box;
  display: inline-flex;
  flex: 1 1 120px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #bfd0df;
  border-radius: 7px !important;
  background: #f2f6fa;
  box-shadow: none;
  color: #1b4f8f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  text-shadow: none;
  white-space: normal;
  text-align: center;
}
.notification-cart[data-vh-cart-notice] .notification-buttons .notification-checkout.btn {
  border-color: #1b4f8f;
  background: #1b4f8f;
  color: #fff;
}
.notification-cart[data-vh-cart-notice] .notification-buttons a::before,
.notification-cart[data-vh-cart-notice] .notification-buttons a::after { margin: 0; }
.notification-cart[data-vh-cart-notice] :is(a, button):focus-visible {
  outline: 2px solid #217cc4;
  outline-offset: 2px;
}
@media (hover: hover) {
  .notification-cart[data-vh-cart-notice] .notification-close.btn:hover,
  .notification-cart[data-vh-cart-notice] .notification-view-cart.btn:hover { background: #e5edf6 !important; color: #173f6c; }
  .notification-cart[data-vh-cart-notice] .notification-checkout.btn:hover { background: #143e72 !important; color: #fff; }
  .notification-cart[data-vh-cart-notice] .notification-title a:hover { text-decoration: underline; }
}
@media (max-width: 767px) {
  .notification-wrapper-center .notification.notification-cart[data-vh-cart-notice] { padding: 16px; }
  .notification-cart[data-vh-cart-notice] .vh-cart-notice-heading { margin-bottom: 12px; font-size: 18px; }
  .notification-cart[data-vh-cart-notice] .notification-close.btn { top: 14px; right: 12px; }
  .notification-cart[data-vh-cart-notice] .notification-content { gap: 12px; padding: 10px; }
  .notification-cart[data-vh-cart-notice] .notification-content img { width: 60px; height: 90px; flex-basis: 60px; }
  .notification-cart[data-vh-cart-notice] .notification-buttons { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .notification-wrapper-center .notification-cart[data-vh-cart-notice] { animation: none; transition: none; }
}
