/* Add custom CSS styles below */ 
/* ==============================
   PLUSH — New Look Popup
   ============================== */

#plush-rebrand-overlay,
#plush-rebrand-overlay * {
  box-sizing: border-box;
}

#plush-rebrand-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;

  display: grid;
  place-items: center;

  padding: 18px;

  background: rgba(33, 8, 10, 0.46);

  opacity: 0;
  animation: plushOverlayIn 0.18s ease forwards;
}


/* Popup Card */
#plush-rebrand-modal {
  position: relative;

  width: min(92vw, 520px);

  max-height: min(88vh, 760px);
  max-height: min(88dvh, 760px);

  overflow-y: auto;
  overscroll-behavior: contain;

  padding:
    clamp(28px, 4.2vw, 44px)
    clamp(22px, 5vw, 46px)
    clamp(26px, 4vw, 38px);

  background: #fcfbf7;
  color: #4b2e2f;

  border: 1px solid rgba(94, 18, 17, 0.14);
  border-radius: 26px;

  box-shadow:
    0 22px 70px rgba(44, 10, 13, 0.18);

  text-align: center;

  transform: translateY(8px) scale(0.985);

  animation:
    plushModalIn 0.24s
    cubic-bezier(0.22, 0.78, 0.24, 1)
    forwards;

  scrollbar-width: thin;
  scrollbar-color:
    rgba(94, 18, 17, 0.24)
    transparent;
}


/* Small elegant detail */
#plush-rebrand-modal::before {
  content: "";

  position: absolute;
  top: 0;
  left: 50%;

  width: 72px;
  height: 2px;

  background: rgba(94, 18, 17, 0.34);
  border-radius: 999px;

  transform: translateX(-50%);
}


/* Close X */
#plush-rebrand-close {
  position: absolute;
  top: 13px;
  right: 13px;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(94, 18, 17, 0.15);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.44);
  color: #5e1211;

  font: 300 27px/1 system-ui, sans-serif;

  cursor: pointer;

  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

#plush-rebrand-close:hover {
  background: rgba(94, 18, 17, 0.06);
  border-color: rgba(94, 18, 17, 0.25);
}

#plush-rebrand-close:focus-visible {
  outline: 2px solid rgba(94, 18, 17, 0.42);
  outline-offset: 2px;
}


/* Logo */
.plush-rebrand-logo-wrap {
  min-height: 72px;

  display: grid;
  place-items: center;

  margin: 2px auto 16px;
}

#plush-rebrand-logo {
  display: block;

  width: clamp(138px, 33vw, 190px);
  max-width: 100%;
  height: auto;

  margin: 0 auto;
}


/* Fallback only if store logo isn't detected */
#plush-rebrand-fallback {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-style: italic;
  line-height: 1;

  color: #5e1211;
}


/* Heading */
#plush-rebrand-title {
  margin: 0;

  color: #5e1211;

  font-size: clamp(23px, 4vw, 31px);
  font-weight: 600;
  line-height: 1.18;

  letter-spacing: 0.015em;

  text-wrap: balance;
}


/* Coming soon */
.plush-rebrand-lead {
  margin: 12px 0 0;

  color: #5e1211;

  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.45;
}


/* Main copy */
.plush-rebrand-copy {
  max-width: 380px;

  margin: 8px auto 0;

  color: #6d5554;

  font-size: 15px;
  line-height: 1.65;

  text-wrap: balance;
}


/* Stay tuned */
.plush-rebrand-stay {
  margin: 13px 0 0;

  color: #5e1211;

  font-size: 14px;
  line-height: 1.4;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* Contacts */
.plush-rebrand-contact {
  display: grid;
  gap: 8px;

  margin: 20px auto 0;
  padding-top: 18px;

  border-top: 1px solid rgba(94, 18, 17, 0.12);

  font-size: 13.5px;
  line-height: 1.55;
}

.plush-rebrand-contact a {
  color: #5e1211;

  text-decoration: none;
  text-underline-offset: 3px;
}

.plush-rebrand-contact a:hover {
  text-decoration: underline;
}


/* Social links */
.plush-rebrand-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px 16px;

  margin-top: 2px;
}

.plush-rebrand-dot {
  color: rgba(94, 18, 17, 0.35);
}


/* Entrance animation */
@keyframes plushOverlayIn {
  to {
    opacity: 1;
  }
}

@keyframes plushModalIn {
  to {
    transform: translateY(0) scale(1);
  }
}


/* Mobile */
@media (max-width: 480px) {

  #plush-rebrand-overlay {
    padding: 12px;
  }

  #plush-rebrand-modal {
    width: 100%;

    padding:
      31px
      20px
      24px;

    border-radius: 22px;
  }

  #plush-rebrand-close {
    top: 10px;
    right: 10px;

    width: 36px;
    height: 36px;
  }

  .plush-rebrand-logo-wrap {
    margin-bottom: 13px;
  }

  #plush-rebrand-logo {
    width: min(44vw, 168px);
  }

  .plush-rebrand-contact {
    margin-top: 17px;
    padding-top: 16px;
  }

  .plush-rebrand-socials {
    display: grid;
    gap: 5px;
  }

  .plush-rebrand-dot {
    display: none;
  }
}


/* Short mobile screens / landscape */
@media (max-height: 640px) {

  #plush-rebrand-modal {
    max-height: 94vh;
    max-height: 94dvh;

    padding-top: 28px;
    padding-bottom: 22px;
  }

  .plush-rebrand-logo-wrap {
    min-height: 58px;
    margin-bottom: 8px;
  }

  #plush-rebrand-logo {
    width: min(34vw, 154px);
  }

  .plush-rebrand-lead {
    margin-top: 8px;
  }

  .plush-rebrand-contact {
    margin-top: 14px;
    padding-top: 13px;
  }
}


/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  #plush-rebrand-overlay,
  #plush-rebrand-modal {
    animation: none;

    opacity: 1;
    transform: none;
  }

  #plush-rebrand-close {
    transition: none;
  }
}