/*
 * Recent-order notification
 * Isolated from legacy site styles so the existing timer and markup stay intact.
 */

body .custom-social-proof {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 320px !important;
  max-width: calc(100vw - 48px);
  font-family: "Quicksand", sans-serif;
}

body .custom-social-proof .custom-notification {
  position: relative;
  width: 320px !important;
  max-width: 100%;
  min-height: 112px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  background: #ffffff !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
}

body .custom-social-proof .custom-notification-container {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 112px;
  height: auto !important;
}

body .custom-social-proof .custom-notification-image-wrapper {
  display: flex;
  flex: 0 0 72px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 72px !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 0 0 14px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body .custom-social-proof i.fas.fa-user-alt.feed-avatar {
  display: inline-block;
  width: 46px;
  height: 46px;
  padding: 0 !important;
  border-radius: 0;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  background: transparent url("../images/favicon_logo.png") center / contain no-repeat !important;
}

body .custom-social-proof i.fas.fa-user-alt.feed-avatar::before {
  display: none !important;
  content: none !important;
}

body .custom-social-proof .custom-notification-content-wrapper {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding: 15px 32px 15px 6px !important;
  background: #ffffff !important;
}

body .custom-social-proof p.custom-notification-content {
  width: 100%;
  margin: 0 !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 500;
  line-height: 1.38 !important;
  text-align: left;
}

body .custom-social-proof .recent-order-kicker {
  display: block;
  margin-bottom: 5px;
  color: #078fb8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  line-height: 1.2;
  text-transform: uppercase;
}

body .custom-social-proof p.custom-notification-content strong {
  display: block;
  margin-bottom: 3px;
  color: #17212b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

body .custom-social-proof p.custom-notification-content small {
  display: flex;
  align-items: center;
  gap: 0 !important;
  margin-top: 7px;
  color: #82909a;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

body .custom-social-proof p.custom-notification-content small::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2caf6f;
  margin-right: 8px !important;
  box-shadow: 0 0 0 4px rgba(44, 175, 111, 0.12);
  content: "";
}

body .custom-social-proof .custom-close {
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 0 !important;
  background: transparent !important;
  color: #7f8d96;
  cursor: pointer;
  opacity: 0.70;
}

body .custom-social-proof .custom-close::before {
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #7f8d96;
  content: "×" !important;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: none !important;
}

body .custom-social-proof .custom-close::after {
  display: none !important;
  content: none !important;
}

body .custom-social-proof .custom-close:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  body .custom-social-proof,
  body .custom-social-proof .custom-notification {
    display: none !important;
  }
}
