/* v2 anonymous design survey: compact, non-modal and independent of page content. */
.v2-design-survey {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 11020;
  width: min(376px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(118, 80, 143, .2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(48, 47, 48, .18);
  color: #302f30;
  font-family: 'Inter v2', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  animation: v2-survey-enter 240ms ease-out both;
}

.v2-design-survey[hidden],
.v2-design-survey [hidden] {
  display: none !important;
}

.v2-design-survey,
.v2-design-survey *,
.v2-design-survey *::before,
.v2-design-survey *::after {
  box-sizing: border-box;
}

.v2-design-survey__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(48, 47, 48, .65);
  cursor: pointer;
}

.v2-design-survey__close:hover { background: #f5effa; color: #71488f; }
.v2-design-survey__close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.v2-design-survey__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-right: 36px;
  color: #76508f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.v2-design-survey__progress { display: flex; gap: 6px; margin: 12px 0 19px; }
.v2-design-survey__progress i { width: 30px; height: 3px; border-radius: 99px; background: #e5d7ed; }
.v2-design-survey__progress i.is-active { background: #825a9d; }

.v2-design-survey h2 {
  margin: 0 42px 16px 0;
  color: #302f30;
  font-family: 'Playfair Display v2', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
}

.v2-design-survey__answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v2-design-survey__answers button {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e5d7ed;
  border-radius: 12px;
  background: #fff;
  color: #302f30;
  font: 600 13px/1.25 'Inter v2', 'Helvetica Neue', Arial, sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease-out, background 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}

.v2-design-survey__answers button:hover {
  border-color: #b999e4;
  background: #f5effa;
  color: #71488f;
}

.v2-design-survey__answers button:active { transform: translateY(1px); }
.v2-design-survey__answers button:disabled { cursor: wait; opacity: .58; }
.v2-design-survey button:focus-visible { outline: 2px solid #825a9d; outline-offset: 2px; }

.v2-design-survey__error {
  margin: 12px 0 0;
  color: #9b3344;
  font-size: 12px;
}

.v2-design-survey__thanks { display: flex; align-items: center; gap: 14px; min-height: 96px; padding-right: 28px; }
.v2-design-survey__thanks h2 { margin: 0 0 4px; }
.v2-design-survey__thanks p { margin: 0; color: rgba(48, 47, 48, .7); font-size: 13px; }
.v2-design-survey__check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5effa;
  color: #71488f;
}
.v2-design-survey__check svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }

html.v2-cart-lock .v2-design-survey,
html.v2-drawer-lock .v2-design-survey,
html.v2-phone-lock .v2-design-survey { visibility: hidden; pointer-events: none; }

@keyframes v2-survey-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .v2-design-survey { right: 16px; bottom: 16px; padding: 20px; }
  .v2-design-survey h2 { font-size: 22px; }
  .v2-design-survey__answers { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-design-survey { animation: none; }
  .v2-design-survey__answers button { transition: none; }
}
