/* A small, styled homepage prompt for the made-to-order saree feature. */
body.home-redesign .custom-feature-toast {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  gap: 12px;
  align-items: start;
  width: min(390px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(189, 150, 87, .65);
  border-radius: 16px;
  background: #fffaf1;
  color: #2b1d1d;
  box-shadow: 0 18px 56px rgba(39, 17, 19, .2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

body.home-redesign .custom-feature-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.home-redesign .custom-feature-toast__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(189, 150, 87, .7);
  border-radius: 50%;
  color: #6d1833;
  font: 600 22px "Cormorant Garamond", serif;
}

body.home-redesign .custom-feature-toast__copy { min-width: 0; }

body.home-redesign .custom-feature-toast__eyebrow {
  margin: 0 0 4px;
  color: #6d1833;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.home-redesign .custom-feature-toast__copy strong {
  display: block;
  font: 600 21px/1.1 "Cormorant Garamond", serif;
}

body.home-redesign .custom-feature-toast__copy p:not(.custom-feature-toast__eyebrow) {
  margin: 6px 0 10px;
  color: #705c58;
  font-size: 12px;
  line-height: 1.5;
}

body.home-redesign .custom-feature-toast__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6d1833;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

body.home-redesign .custom-feature-toast__link:focus-visible,
body.home-redesign .custom-feature-toast__close:focus-visible {
  outline: 2px solid #bd9657;
  outline-offset: 3px;
}

body.home-redesign .custom-feature-toast__close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #735d59;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

body.home-redesign .custom-feature-toast__close:hover { color: #6d1833; }

@media (max-width: 650px) {
  body.home-redesign .custom-feature-toast {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    grid-template-columns: 32px minmax(0, 1fr) 28px;
    gap: 9px;
    padding: 14px;
  }

  body.home-redesign .custom-feature-toast__mark { width: 30px; height: 30px; }
  body.home-redesign .custom-feature-toast__copy strong { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  body.home-redesign .custom-feature-toast { transition: none; }
}
