/* Best-Selling Shoes — Brand-Neutral Interactive Footwear Quiz */
html.paris-quiz-mode,
html.paris-quiz-mode body {
  background: #F6F6F4 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100dvh;
  overflow-x: hidden;
}

html.paris-quiz-mode body > :not(#paris-quiz-root):not(#paris-confetti-canvas):not(script):not(style):not(link) {
  display: none !important;
}

html.paris-quiz-mode #gladlyChat_container {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#paris-quiz-root {
  display: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #18181B;
  background: #F6F6F4;
  min-height: 100dvh;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html.paris-quiz-mode #paris-quiz-root {
  display: flex;
}

#paris-quiz-root *,
#paris-quiz-root *::before,
#paris-quiz-root *::after {
  box-sizing: border-box;
}

/* Independent Neutral Header ("Best-Selling Shoes") */
.pq-top-strip {
  background: #18181B;
  color: #E4E4E7;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.35;
}

.pq-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E4E4E7;
}

.pq-navbar-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pq-brand-btn {
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #18181B;
  text-align: left;
}

.pq-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #18181B;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pq-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.pq-brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #18181B;
}

.pq-brand-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #71717A;
  margin-top: 2px;
}

.pq-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pq-loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #3F3F46;
  background: #F4F4F5;
  border: 1px solid #E4E4E7;
  padding: 4px 10px;
  border-radius: 999px;
}

.pq-loc-pill svg {
  color: #059669;
}

.pq-restart-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: #3F3F46;
  background: #FFFFFF;
  border: 1px solid #D4D4D8;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pq-restart-btn:hover {
  background: #F4F4F5;
  color: #18181B;
}

/* Main container */
.pq-main {
  flex: 1;
  width: 100%;
  padding: 16px 14px 34px;
}

.pq-card {
  max-width: 530px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  animation: pqFadeIn 0.24s ease-out;
}

@keyframes pqFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Welcome Screen */
.pq-facade-wrap {
  position: relative;
  background: #ECECEE;
  border-bottom: 1px solid #E4E4E7;
}

.pq-facade-img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pq-facade-bar {
  padding: 8px 16px;
  background: #FAFAFA;
  border-top: 1px solid #E4E4E7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: #71717A;
}

.pq-facade-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: #27272A;
}

.pq-facade-loc svg {
  color: #F59E0B;
}

.pq-body {
  padding: 18px 20px 20px;
}

.pq-title {
  margin: 0 0 9px;
  font-size: clamp(19px, 4.6vw, 23px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #18181B;
}

.pq-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.56;
  color: #52525B;
}

.pq-desc strong {
  color: #18181B;
  font-weight: 650;
}

.pq-divider {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #E4E4E7;
}

.pq-timer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #F8F8F8;
  border: 1px solid #E4E4E7;
  margin-bottom: 13px;
}

.pq-timer-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.pq-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #18181B;
  color: #FFFFFF;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.pq-timer-pill svg {
  color: #34D399;
  flex-shrink: 0;
}

.pq-timer-text {
  font-size: 13px;
  color: #3F3F46;
  line-height: 1.3;
}

.pq-timer-text strong {
  color: #18181B;
  font-weight: 650;
}

.pq-fast-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #065F46;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.pq-fast-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: pqPulse 1.6s infinite;
}

@keyframes pqPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.pq-prompt-label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 650;
  color: #18181B;
}

.pq-yesno-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pq-btn-primary {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: #18181B;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.pq-btn-primary:hover {
  background: #09090B;
}

.pq-btn-primary:active {
  transform: scale(0.99);
}

.pq-btn-secondary {
  appearance: none;
  border: 1px solid #D4D4D8;
  border-radius: 12px;
  background: #FFFFFF;
  color: #3F3F46;
  font-family: inherit;
  font-size: 15px;
  font-weight: 550;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.pq-btn-secondary:hover {
  background: #F4F4F5;
}

.pq-declined-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8F8F8;
  border: 1px solid #E4E4E7;
  font-size: 13px;
  color: #52525B;
  line-height: 1.5;
  animation: pqFadeIn 0.2s ease-out;
}

.pq-declined-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pq-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  color: #18181B;
  font-weight: 650;
}

.pq-link-btn.muted {
  color: #71717A;
  font-weight: 500;
}

/* Question Step */
.pq-step-wrap {
  max-width: 520px;
  margin: 0 auto;
  animation: pqFadeIn 0.22s ease-out;
}

.pq-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: #71717A;
}

.pq-back-btn {
  background: none;
  border: 0;
  padding: 4px 8px 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  color: #52525B;
  cursor: pointer;
}

.pq-back-btn:hover {
  color: #18181B;
}

.pq-step-meta {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pq-progress-track {
  width: 100%;
  height: 6px;
  background: #E4E4E7;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 13px;
}

.pq-progress-fill {
  height: 100%;
  background: #059669;
  border-radius: 999px;
  transition: width 0.3s ease-out;
}

.pq-q-image-card {
  border-radius: 16px;
  overflow: hidden;
  background: #ECECEE;
  border: 1px solid #E4E4E7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  margin-bottom: 13px;
}

.pq-q-image-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pq-q-heading {
  margin: 0 0 11px;
  font-size: clamp(18px, 4.4vw, 20.5px);
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #18181B;
}

.pq-options-list {
  display: flex;
  flex-direction: column;
  gap: 8.5px;
}

.pq-option-btn {
  width: 100%;
  text-align: left;
  padding: 12.5px 14px;
  border-radius: 13px;
  border: 1px solid #E4E4E7;
  background: #FFFFFF;
  color: #27272A;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pq-option-btn:hover {
  background: #FAFAFA;
  border-color: #A1A1AA;
}

.pq-option-btn:active {
  transform: scale(0.992);
}

.pq-option-btn.selected {
  background: #18181B;
  border-color: #18181B;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.pq-option-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.pq-option-letter {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #F4F4F5;
  color: #52525B;
  border: 1px solid #E4E4E7;
  flex-shrink: 0;
}

.pq-option-btn.selected .pq-option-letter {
  background: #FFFFFF;
  color: #18181B;
  border-color: #FFFFFF;
}

.pq-option-text {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
}

.pq-option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #D4D4D8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pq-option-btn.selected .pq-option-radio {
  background: #10B981;
  border-color: #10B981;
  color: #FFFFFF;
}

/* Phase 3: Press-and-Hold Box Unlock + Clean Discount Card */
.pq-unlock-card {
  max-width: 520px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 20px;
  padding: 20px 18px 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  animation: pqFadeIn 0.28s ease-out;
  user-select: none;
  -webkit-user-select: none;
}

.pq-unlock-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pq-unlock-head {
  text-align: center;
  margin-bottom: 14px;
}

.pq-unlock-title {
  margin: 10px 0 4px;
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #18181B;
}

.pq-unlock-sub {
  margin: 0;
  font-size: 13.5px;
  color: #52525B;
  line-height: 1.45;
}

.pq-box-stage {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #E4E4E7;
  background: #F4F4F5;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pq-box-stage.holding {
  border-color: #10B981;
  box-shadow: 0 0 26px rgba(16, 185, 129, 0.22);
}

.pq-box-stage.unlocked {
  border-color: #10B981;
  box-shadow: 0 0 26px rgba(16, 185, 129, 0.22);
}

.pq-box-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pq-box-media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.pq-box-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 60%, rgba(253, 224, 71, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.1s;
}

.pq-box-badges {
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}

.pq-box-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.pq-box-pill strong {
  color: #34D399;
}

.pq-box-pill.unlocked {
  background: #059669;
  color: #FFFFFF;
}

.pq-box-meter-wrap {
  background: #FAFAFA;
  border-top: 1px solid #E4E4E7;
  padding: 10px 13px;
}

.pq-box-meter {
  width: 100%;
  height: 8px;
  background: #E4E4E7;
  border-radius: 999px;
  overflow: hidden;
}

.pq-box-meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #059669, #10B981, #34D399);
  transition: width 0.06s linear;
}

.pq-box-status {
  margin: 7px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  color: #27272A;
}

.pq-box-status.unlocked {
  color: #047857;
}

/* Hold Button */
.pq-hold-area {
  margin-top: 15px;
}

.pq-hold-btn {
  position: relative;
  width: 100%;
  padding: 17px 18px;
  border-radius: 14px;
  border: 2px solid #18181B;
  background: #18181B;
  color: #FFFFFF;
  font-family: inherit;
  font-size: clamp(14px, 3.8vw, 16.5px);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  -webkit-touch-callout: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: transform 0.1s, box-shadow 0.15s;
}

.pq-hold-btn.holding {
  transform: scale(0.985);
  border-color: #10B981;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.35);
}

.pq-hold-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #047857, #059669, #10B981);
  pointer-events: none;
  transition: width 0.06s linear;
}

.pq-hold-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.pq-hold-hint {
  margin: 9px 0 0;
  text-align: center;
  font-size: 12px;
  color: #71717A;
}

.pq-hold-hint.warn {
  color: #B45309;
  font-weight: 650;
}

/* Unlocked Reward Panel (Clean, no specific SKU cards) */
.pq-reward-panel {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #E4E4E7;
  animation: pqFadeIn 0.3s ease-out;
}

.pq-reward-banner {
  padding: 15px 16px;
  border-radius: 14px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #064E3B;
  text-align: center;
  margin-bottom: 13px;
}

.pq-reward-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 4px;
}

.pq-reward-headline {
  font-size: clamp(19px, 4.8vw, 23px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 5px;
  color: #18181B;
}

.pq-reward-headline span {
  color: #059669;
}

.pq-reward-sub {
  margin: 0;
  font-size: 13px;
  color: #3F3F46;
  line-height: 1.45;
}

/* Polite Review Request Box */
.pq-review-note {
  padding: 12px 14px;
  border-radius: 13px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  margin-bottom: 14px;
}

.pq-review-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #18181B;
  margin-bottom: 4px;
}

.pq-stars-row {
  color: #F59E0B;
  letter-spacing: 1px;
  font-size: 13px;
}

.pq-review-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: #3F3F46;
}

.pq-enter-store-btn {
  width: 100%;
  padding: 16px 20px;
  border-radius: 13px;
  border: 0;
  background: #18181B;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transition: background 0.15s, transform 0.1s;
}

.pq-enter-store-btn:hover {
  background: #09090B;
}

.pq-enter-store-btn:active {
  transform: scale(0.99);
}

/* Confetti Canvas */
#paris-confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Storefront Unlocked Bar */
.pq-unlocked-bar {
  background: #18181B;
  color: #F4F4F5;
  padding: 8px 14px;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  border-bottom: 1px solid #27272A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.pq-unlocked-bar strong {
  color: #34D399;
}

.pq-retake-inline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.pq-retake-inline:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 480px) {
  .pq-main {
    padding: 12px 10px 28px;
  }
  .pq-body {
    padding: 15px 15px 17px;
  }
  .pq-fast-badge {
    display: none;
  }
  .pq-unlock-card {
    padding: 16px 14px 18px;
  }
}
