/**
 * Canopy Quiz Finder - Scoped Stylesheet for WordPress Plugin
 * 
 * Colors: Redmond Navy (#04223F / #0c3140) & Signature Outdoor Green (#65b561 / #00ff6d)
 * Font: Poppins
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

#canopy-quiz-app {
  --cq-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --cq-bg: #093c78;
  --cq-card-bg: #ffffff;
  --cq-text-main: #0c3140;
  --cq-text-muted: #556977;
  --cq-primary: #04223F;
  --cq-primary-hover: #0c3140;
  --cq-accent: #65b561;
  --cq-accent-hover: #529d4e;
  --cq-accent-bright: #00ff6d;
  --cq-accent-light: #f0f9f1;
  --cq-accent-glow: rgba(101, 181, 97, 0.35);
  --cq-border: rgba(255, 255, 255, 0.2);
  --cq-border-hover: #65b561;
  --cq-radius-lg: 16px;
  --cq-radius-md: 12px;
  --cq-radius-sm: 6px;
  --cq-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --cq-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.25);
  --cq-shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.35);
  --cq-transition: all 0.22s ease-in-out;

  font-family: var(--cq-font);
  background: var(--cq-bg);
  box-sizing: border-box;

  /* FULL SECTION: Break out to 100% viewport width without boxed wrapper */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: hidden;
  line-height: 1.5;
}

#canopy-quiz-app *,
#canopy-quiz-app *::before,
#canopy-quiz-app *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Header & Progress Bar */
#canopy-quiz-app .cq-header {
  width: 100%;
  padding: 24px 24px 18px;
  background: #073160;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  box-sizing: border-box;
}

#canopy-quiz-app .cq-nav-bar,
#canopy-quiz-app .cq-progress-track {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#canopy-quiz-app .cq-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

#canopy-quiz-app .cq-back-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cq-font);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--cq-transition);
  padding: 6px 14px;
  border-radius: var(--cq-radius-sm);
}

#canopy-quiz-app .cq-back-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

#canopy-quiz-app .cq-step-badge {
  font-family: var(--cq-font);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#canopy-quiz-app .cq-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

#canopy-quiz-app .cq-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #65b561 0%, #00ff6d 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 255, 109, 0.6);
}

/* Quiz Body */
#canopy-quiz-app .cq-body {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 44px 24px 64px;
  background: transparent;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* Step Container & Fade Animation */
#canopy-quiz-app .cq-step {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

#canopy-quiz-app .cq-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Headings & Texts */
#canopy-quiz-app .cq-title {
  font-family: var(--cq-font);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff !important;
  text-align: center !important;
  margin-bottom: 8px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

#canopy-quiz-app .cq-subtitle {
  font-family: var(--cq-font);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85) !important;
  text-align: center !important;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

#canopy-quiz-app .cq-notice {
  font-family: var(--cq-font);
  font-size: 13.5px;
  color: #fde047;
  font-weight: 600;
  text-align: center;
  margin-top: -16px;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

/* Options Grid */
#canopy-quiz-app .cq-options-grid {
  display: grid;
  gap: 18px;
  width: 100%;
  margin-top: 36px !important;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

#canopy-quiz-app .cq-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

#canopy-quiz-app .cq-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

#canopy-quiz-app .cq-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

/* Interactive Option Card */
#canopy-quiz-app .cq-card {
  background: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--cq-radius-md);
  padding: 24px 20px 20px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: var(--cq-transition);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  user-select: none;
}

#canopy-quiz-app .cq-card:hover {
  border-color: var(--cq-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

#canopy-quiz-app .cq-card.selected {
  border-color: var(--cq-accent);
  background: #f0fdf4;
  box-shadow: 0 0 0 4px var(--cq-accent-glow), 0 16px 36px rgba(0, 0, 0, 0.32);
}

/* ==========================================================================
   NATIVE FORM INPUTS (RADIO & CHECKBOX) - 100% VISUALLY HIDDEN
   Preserves full HTML form serialization, keyboard accessibility & DOM events
   ========================================================================== */
#canopy-quiz-app input[type="radio"],
#canopy-quiz-app input[type="checkbox"],
#canopy-quiz-app .cq-native-input,
#canopy-quiz-app .cq-native-radio,
#canopy-quiz-app .cq-native-checkbox {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  overflow: hidden !important;
  outline: none !important;
}

/* ==========================================================================
   CUSTOM RADIO & CHECKMARK INDICATORS (BELOW IN BOX LIKE STEP 1)
   Outer .cq-card-radio-wrap ring with inner .cq-radio-circle / .cq-check-circle
   Fills smoothly on hover (customer preview) and stays filled when selected
   ========================================================================== */

/* Outer Circular Ring Indicator */
#canopy-quiz-app .cq-card-radio-wrap {
  width: 24px;
  height: 24px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-bottom: 2px;
  background: #ffffff;
  box-sizing: border-box;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  flex-shrink: 0;
}

/* Inner Radio Dot for Single-Selection Steps (Steps 2, 3, 5) */
#canopy-quiz-app .cq-radio-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--cq-accent);
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  box-sizing: border-box;
}

/* 1. ON HOVER (Preview): Outer ring highlights and inner dot fills */
#canopy-quiz-app .cq-card:hover .cq-card-radio-wrap {
  border-color: var(--cq-accent);
  box-shadow: 0 0 0 3px var(--cq-accent-glow);
}

#canopy-quiz-app .cq-card:hover .cq-radio-circle {
  opacity: 1;
  transform: scale(1);
}

/* 2. ON SELECTED (Clicked or Checked) */
#canopy-quiz-app .cq-card.selected .cq-card-radio-wrap,
#canopy-quiz-app .cq-card:has(.cq-native-input:checked) .cq-card-radio-wrap,
#canopy-quiz-app .cq-card:has(.cq-native-radio:checked) .cq-card-radio-wrap {
  border-color: var(--cq-accent);
  box-shadow: 0 0 0 4px var(--cq-accent-glow);
}

#canopy-quiz-app .cq-card.selected .cq-radio-circle,
#canopy-quiz-app .cq-card:has(.cq-native-input:checked) .cq-radio-circle,
#canopy-quiz-app .cq-card:has(.cq-native-radio:checked) .cq-radio-circle {
  opacity: 1;
  transform: scale(1);
  background-color: var(--cq-accent);
}

/* Step 4 Checkbox Indicator Specifics */
#canopy-quiz-app .cq-step[data-step="4"] .cq-card-radio-wrap {
  border-radius: 6px;
}

#canopy-quiz-app .cq-check-circle {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-color: var(--cq-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#canopy-quiz-app .cq-check-circle svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 3.2;
}

#canopy-quiz-app .cq-step[data-step="4"] .cq-card:hover:not(.selected) .cq-card-radio-wrap {
  border-color: var(--cq-accent);
  box-shadow: 0 0 0 3px var(--cq-accent-glow);
}

#canopy-quiz-app .cq-step[data-step="4"] .cq-card:hover:not(.selected) .cq-check-circle {
  opacity: 0.65;
  transform: scale(0.85);
}

#canopy-quiz-app .cq-step[data-step="4"] .cq-card.selected .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="4"] .cq-card:has(.cq-native-checkbox:checked) .cq-card-radio-wrap {
  background-color: var(--cq-accent);
  border-color: var(--cq-accent);
  box-shadow: 0 0 0 3px var(--cq-accent-glow);
}

#canopy-quiz-app .cq-step[data-step="4"] .cq-card.selected .cq-check-circle,
#canopy-quiz-app .cq-step[data-step="4"] .cq-card:has(.cq-native-checkbox:checked) .cq-check-circle {
  opacity: 1;
  transform: scale(1);
  background-color: transparent;
}

/* ==========================================================================
   STEP 1: E-Z UP STYLE PHOTO BANNER CARDS (DEFAULT & HOVER STATES)
   ========================================================================== */
#canopy-quiz-app .cq-step[data-step="1"] {
  width: 100%;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 840px;
  margin: 0 auto;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  width: 100%;
  transition: transform 0.25s ease;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card-inner {
  width: 100%;
  background: #073160;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Hover state on card inner */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:hover .cq-card-inner,
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.selected .cq-card-inner {
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

/* Banner Media / Image Container */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card-media {
  position: relative;
  width: 100%;
  height: 195px;
  overflow: hidden;
  background: #04223F;
  border-radius: 16px 16px 0 0;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card-media img,
#canopy-quiz-app .cq-step[data-step="1"] .cq-card-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:hover .cq-card-media img,
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:hover .cq-card-media svg {
  transform: scale(1.05);
}

/* Hover Overlay on Image */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  opacity: 0;
  transition: opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:hover .cq-card-media-overlay {
  opacity: 1;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card-media-overlay-title {
  color: #ffffff;
  font-family: var(--cq-font);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Bottom Text Area */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card-bottom {
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 110px;
  flex-grow: 1;
  background: #073160;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Default state: Title is visible in the bottom box */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card-bottom-title {
  color: #ffffff;
  font-family: var(--cq-font);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
  text-align: center;
  line-height: 1.35;
  transition: all 0.2s ease;
}

/* Hover state: The bottom title hides because it moved to the overlay! */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:hover .cq-card-bottom-title {
  display: none;
}

/* Default state: Description is hidden */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card-bottom-desc {
  display: none;
  color: #ffffff;
  font-family: var(--cq-font);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  text-align: center;
  font-weight: 400;
}

/* Hover state: Description is revealed with a smooth fade in */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:hover .cq-card-bottom-desc {
  display: block;
  animation: cqStep1FadeIn 0.22s ease-in-out;
}

@keyframes cqStep1FadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Radio Selection Indicator Circle below each card */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card-radio-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  margin-bottom: 0;
  box-sizing: border-box;
  transition: all 0.22s ease;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-radio-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #1b73e8;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:hover .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.selected .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:has(.cq-native-input:checked) .cq-card-radio-wrap {
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(27, 115, 232, 0.85);
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:hover .cq-radio-circle,
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.selected .cq-radio-circle,
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner:has(.cq-native-input:checked) .cq-radio-circle {
  opacity: 1;
  transform: scale(1);
  background-color: #1b73e8;
}

/* ==========================================================================
   INITIAL PREVIEW HOVER FOR BOX 1 (AUTOMATICALLY REVERTS WHEN OTHER CARDS HOVERED)
   ========================================================================== */
#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.cq-initial-hover .cq-card-inner {
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.cq-initial-hover .cq-card-media-overlay {
  opacity: 1;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.cq-initial-hover .cq-card-bottom-title {
  display: none;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.cq-initial-hover .cq-card-bottom-desc {
  display: block;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.cq-initial-hover .cq-card-radio-wrap {
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(27, 115, 232, 0.85);
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner.cq-initial-hover .cq-radio-circle {
  opacity: 1;
  transform: scale(1);
  background-color: #1b73e8;
}

/* Revert box 1 to default when user is hovering any other card in the grid */
#canopy-quiz-app .cq-step[data-step="1"] .cq-options-grid:hover .cq-card.cq-card-banner.cq-initial-hover:not(:hover) .cq-card-inner {
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-options-grid:hover .cq-card.cq-card-banner.cq-initial-hover:not(:hover) .cq-card-media-overlay {
  opacity: 0;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-options-grid:hover .cq-card.cq-card-banner.cq-initial-hover:not(:hover) .cq-card-bottom-title {
  display: block;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-options-grid:hover .cq-card.cq-card-banner.cq-initial-hover:not(:hover) .cq-card-bottom-desc {
  display: none;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-options-grid:hover .cq-card.cq-card-banner.cq-initial-hover:not(:hover) .cq-card-radio-wrap {
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: none;
}

#canopy-quiz-app .cq-step[data-step="1"] .cq-options-grid:hover .cq-card.cq-card-banner.cq-initial-hover:not(:hover) .cq-radio-circle {
  opacity: 0;
  transform: scale(0);
}

/* ==========================================================================
   STEPS 2 & 3: E-Z UP STYLE SPLIT CARDS (WHITE HEADER TAB + DEEP BLUE BODY)
   ========================================================================== */
#canopy-quiz-app .cq-step[data-step="2"],
#canopy-quiz-app .cq-step[data-step="3"] {
  width: 100%;
}

#canopy-quiz-app .cq-step[data-step="2"] .cq-options-grid,
#canopy-quiz-app .cq-step[data-step="3"] .cq-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 840px;
  margin: 0 auto;
}

#canopy-quiz-app .cq-card.cq-card-split {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  width: 100%;
  transition: transform 0.25s ease;
}

#canopy-quiz-app .cq-card.cq-card-split .cq-card-inner {
  width: 100%;
  background: #073160;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Hover elevation */
#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-inner {
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Selected State: Inverted Style as seen in E-Z UP mockup */
#canopy-quiz-app .cq-card.cq-card-split.selected .cq-card-inner,
#canopy-quiz-app .cq-card.cq-card-split:has(.cq-native-input:checked) .cq-card-inner {
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Top Header Bar */
#canopy-quiz-app .cq-card.cq-card-split .cq-card-top-bar {
  background: #ffffff;
  padding: 16px 16px;
  text-align: center;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.25s ease;
}

#canopy-quiz-app .cq-card.cq-card-split .cq-card-top-title {
  color: #04223F !important;
  font-family: var(--cq-font);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
  line-height: 1.25;
  text-align: center;
  transition: color 0.25s ease;
}

/* Inverted Top Bar when Hovered or Selected */
#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-top-bar,
#canopy-quiz-app .cq-card.cq-card-split.selected .cq-card-top-bar,
#canopy-quiz-app .cq-card.cq-card-split:has(.cq-native-input:checked) .cq-card-top-bar {
  background: #04223F !important;
}

#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-top-title,
#canopy-quiz-app .cq-card.cq-card-split.selected .cq-card-top-title,
#canopy-quiz-app .cq-card.cq-card-split:has(.cq-native-input:checked) .cq-card-top-title {
  color: #ffffff !important;
}

/* Main Body Area with Icon & Desc */
#canopy-quiz-app .cq-card.cq-card-split .cq-card-main-body {
  background: #073160;
  padding: 30px 18px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 165px;
  flex-grow: 1;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  transition: background-color 0.25s ease;
}

/* Inverted Main Body when Hovered or Selected */
#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-main-body,
#canopy-quiz-app .cq-card.cq-card-split.selected .cq-card-main-body,
#canopy-quiz-app .cq-card.cq-card-split:has(.cq-native-input:checked) .cq-card-main-body {
  background: #ffffff !important;
}

#canopy-quiz-app .cq-card.cq-card-split .cq-card-icon {
  width: 68px;
  height: 68px;
  border-radius: 0;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ffffff !important;
  overflow: visible;
  transition: transform 0.25s ease, color 0.25s ease;
}

#canopy-quiz-app .cq-card.cq-card-split .cq-card-icon svg {
  width: 58px;
  height: 58px;
  stroke: #ffffff;
  stroke-width: 2.4;
  fill: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  transition: transform 0.25s ease, stroke 0.25s ease;
}

#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-icon svg {
  transform: scale(1.08);
}

/* Inverted Icon & SVG stroke when Hovered or Selected */
#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-icon,
#canopy-quiz-app .cq-card.cq-card-split.selected .cq-card-icon,
#canopy-quiz-app .cq-card.cq-card-split:has(.cq-native-input:checked) .cq-card-icon {
  color: #04223F !important;
}

#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-icon svg,
#canopy-quiz-app .cq-card.cq-card-split.selected .cq-card-icon svg,
#canopy-quiz-app .cq-card.cq-card-split:has(.cq-native-input:checked) .cq-card-icon svg {
  stroke: #04223F !important;
  filter: none;
}

#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-icon svg text,
#canopy-quiz-app .cq-card.cq-card-split.selected .cq-card-icon svg text,
#canopy-quiz-app .cq-card.cq-card-split:has(.cq-native-input:checked) .cq-card-icon svg text {
  fill: #04223F !important;
}

#canopy-quiz-app .cq-card.cq-card-split .cq-card-desc {
  color: #ffffff !important;
  font-family: var(--cq-font);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  text-align: center;
  transition: color 0.25s ease;
}

/* Inverted Description when Hovered or Selected */
#canopy-quiz-app .cq-card.cq-card-split:hover .cq-card-desc,
#canopy-quiz-app .cq-card.cq-card-split.selected .cq-card-desc,
#canopy-quiz-app .cq-card.cq-card-split:has(.cq-native-input:checked) .cq-card-desc {
  color: #04223F !important;
  font-weight: 600;
}

/* Radio button below card box for Steps 2 & 3 */
#canopy-quiz-app .cq-step[data-step="2"] .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="3"] .cq-card-radio-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  margin-bottom: 0;
  box-sizing: border-box;
  transition: all 0.22s ease;
}

#canopy-quiz-app .cq-step[data-step="2"] .cq-radio-circle,
#canopy-quiz-app .cq-step[data-step="3"] .cq-radio-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #65b561;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

#canopy-quiz-app .cq-step[data-step="2"] .cq-card:hover .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="2"] .cq-card.selected .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="2"] .cq-card:has(.cq-native-input:checked) .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="3"] .cq-card:hover .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="3"] .cq-card.selected .cq-card-radio-wrap,
#canopy-quiz-app .cq-step[data-step="3"] .cq-card:has(.cq-native-input:checked) .cq-card-radio-wrap {
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(101, 181, 97, 0.75);
}

#canopy-quiz-app .cq-step[data-step="2"] .cq-card:hover .cq-radio-circle,
#canopy-quiz-app .cq-step[data-step="2"] .cq-card.selected .cq-radio-circle,
#canopy-quiz-app .cq-step[data-step="2"] .cq-card:has(.cq-native-input:checked) .cq-radio-circle,
#canopy-quiz-app .cq-step[data-step="3"] .cq-card:hover .cq-radio-circle,
#canopy-quiz-app .cq-step[data-step="3"] .cq-card.selected .cq-radio-circle,
#canopy-quiz-app .cq-step[data-step="3"] .cq-card:has(.cq-native-input:checked) .cq-radio-circle {
  opacity: 1;
  transform: scale(1);
  background-color: #65b561;
}

/* Step 3 Weather Disclaimer Notice */
#canopy-quiz-app .cq-weather-disclaimer {
  max-width: 840px;
  margin: 32px auto 0;
  font-family: var(--cq-font);
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  letter-spacing: 0.1px;
}

/* ==========================================================================
   STEP 4: E-Z UP STYLE PILL / CAPSULE BUTTONS & NEXT ACTION
   ========================================================================== */
#canopy-quiz-app .cq-step[data-step="4"] {
  width: 100%;
}

#canopy-quiz-app .cq-grid-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
  max-width: 880px;
  margin: 0 auto;
}

#canopy-quiz-app .cq-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

#canopy-quiz-app .cq-pill-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

#canopy-quiz-app .cq-pill-btn-text {
  font-family: var(--cq-font);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.25;
  transition: color 0.2s ease;
}

/* Selected Pill Button State */
#canopy-quiz-app .cq-pill-btn.selected,
#canopy-quiz-app .cq-pill-btn:has(.cq-native-checkbox:checked) {
  background: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

#canopy-quiz-app .cq-pill-btn.selected .cq-pill-btn-text,
#canopy-quiz-app .cq-pill-btn:has(.cq-native-checkbox:checked) .cq-pill-btn-text {
  color: #04223F !important;
  font-weight: 800;
}

/* Step 4 Centered NEXT Button */
#canopy-quiz-app .cq-step4-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

#canopy-quiz-app .cq-btn-next {
  background: #65b561;
  color: #ffffff;
  border: none;
  padding: 14px 54px;
  font-family: var(--cq-font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

#canopy-quiz-app .cq-btn-next:hover:not(:disabled) {
  background: #026227;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

#canopy-quiz-app .cq-btn-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(40%);
}

/* ==========================================================================
   STEP 5: E-Z UP STYLE 2 LARGE CARDS (CUSTOM vs STOCK)
   ========================================================================== */
#canopy-quiz-app .cq-step[data-step="5"] {
  width: 100%;
}

#canopy-quiz-app .cq-step[data-step="5"] .cq-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 840px;
  margin: 0 auto;
}

#canopy-quiz-app .cq-card-step5 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  width: 100%;
}

#canopy-quiz-app .cq-card-step5 .cq-card-inner {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: #073160;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

#canopy-quiz-app .cq-card-step5:hover .cq-card-inner,
#canopy-quiz-app .cq-card-step5.selected .cq-card-inner,
#canopy-quiz-app .cq-card-step5:has(.cq-native-radio:checked) .cq-card-inner {
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

#canopy-quiz-app .cq-card-step5 .cq-card-media-body {
  width: 100%;
  height: 205px;
  overflow: hidden;
  background: #041b35;
  display: flex;
  align-items: center;
  justify-content: center;
}

#canopy-quiz-app .cq-card-step5 .cq-card-media-body svg,
#canopy-quiz-app .cq-card-step5 .cq-card-media-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

#canopy-quiz-app .cq-card-step5:hover .cq-card-media-body svg,
#canopy-quiz-app .cq-card-step5:hover .cq-card-media-body img {
  transform: scale(1.04);
}

/* Step 5 Radio + Label Container below card */
#canopy-quiz-app .cq-card-radio-label-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  cursor: pointer;
}

#canopy-quiz-app .cq-card-radio-label-wrap .cq-radio-circle-outer {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

#canopy-quiz-app .cq-card-radio-label-wrap .cq-radio-label-text {
  font-family: var(--cq-font);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

#canopy-quiz-app .cq-card-step5:hover .cq-radio-circle-outer,
#canopy-quiz-app .cq-card-step5.selected .cq-radio-circle-outer,
#canopy-quiz-app .cq-card-step5:has(.cq-native-radio:checked) .cq-radio-circle-outer {
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(101, 181, 97, 0.7);
}

#canopy-quiz-app .cq-card-step5:hover .cq-radio-circle,
#canopy-quiz-app .cq-card-step5.selected .cq-radio-circle,
#canopy-quiz-app .cq-card-step5:has(.cq-native-radio:checked) .cq-radio-circle {
  opacity: 1;
  transform: scale(1);
  background-color: #65b561;
}

/* ==========================================================================
   RESPONSIVE LAYOUTS FOR ALL STEPS
   ========================================================================== */
@media (max-width: 768px) {

  #canopy-quiz-app .cq-step[data-step="2"] .cq-options-grid,
  #canopy-quiz-app .cq-step[data-step="3"] .cq-options-grid,
  #canopy-quiz-app .cq-step[data-step="5"] .cq-options-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 380px;
  }

  #canopy-quiz-app .cq-grid-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  #canopy-quiz-app .cq-grid-pills {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

#canopy-quiz-app .cq-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cq-primary);
  margin-bottom: 14px;
  transition: var(--cq-transition);
  overflow: hidden;
}

#canopy-quiz-app .cq-card-icon img,
#canopy-quiz-app .cq-uploaded-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

#canopy-quiz-app .cq-card:hover .cq-card-icon,
#canopy-quiz-app .cq-card.selected .cq-card-icon {
  background: var(--cq-accent);
  color: #ffffff;
  transform: scale(1.05);
}

#canopy-quiz-app .cq-card-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
  width: 100%;
}

#canopy-quiz-app .cq-card-title {
  font-family: var(--cq-font);
  font-size: 17px;
  font-weight: 700;
  color: #0c3140 !important;
  margin-bottom: 6px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

#canopy-quiz-app .cq-card-desc {
  font-family: var(--cq-font);
  font-size: 13.5px;
  color: #475569 !important;
  line-height: 1.45;
  text-transform: none !important;
  letter-spacing: normal !important;
}

#canopy-quiz-app .cq-card p,
#canopy-quiz-app .cq-card span:not(.cq-check-circle):not(.cq-radio-circle) {
  color: #ffffff;
}



/* Multi-select bottom action toolbar */
#canopy-quiz-app .cq-multi-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#canopy-quiz-app .cq-selection-counter {
  font-family: var(--cq-font);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

#canopy-quiz-app .cq-selection-counter span {
  color: #00ff6d;
  font-weight: 700;
}

/* Primary Button Styles - Redmond Outdoor Button Style */
#canopy-quiz-app .cq-btn-primary {
  background-color: var(--cq-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--cq-radius-sm);
  padding: 14px 30px;
  font-family: var(--cq-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--cq-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(101, 181, 97, 0.3);
}

#canopy-quiz-app .cq-btn-primary:hover:not(:disabled) {
  background-color: var(--cq-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(4, 34, 63, 0.25);
}

#canopy-quiz-app .cq-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#canopy-quiz-app .cq-btn-secondary {
  background: #ffffff;
  color: #0c3140;
  border: 2px solid var(--cq-border);
  border-radius: var(--cq-radius-sm);
  padding: 12px 24px;
  font-family: var(--cq-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--cq-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#canopy-quiz-app .cq-btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--cq-accent);
  color: var(--cq-accent);
}

/* Welcome Screen Specifics */
#canopy-quiz-app .cq-welcome-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 10px 0;
}

#canopy-quiz-app .cq-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cq-accent-light);
  color: var(--cq-accent);
  border: 1px solid rgba(101, 181, 97, 0.3);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#canopy-quiz-app .cq-welcome-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 36px;
  text-align: left;
}

#canopy-quiz-app .cq-feat-item {
  background: #ffffff;
  border: 1px solid var(--cq-border);
  border-radius: var(--cq-radius-sm);
  padding: 16px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--cq-shadow-sm);
}

#canopy-quiz-app .cq-feat-item svg {
  color: var(--cq-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

#canopy-quiz-app .cq-feat-item p {
  font-size: 13px;
  font-weight: 600;
  color: #0c3140;
  line-height: 1.35;
}

/* Lead Capture & Quote Request Screen */
#canopy-quiz-app .cq-lead-box {
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--cq-border);
  border-radius: var(--cq-radius-lg);
  padding: 38px 34px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

#canopy-quiz-app .cq-lead-box .cq-title {
  color: #0c3140 !important;
  text-transform: none;
  letter-spacing: normal;
}

#canopy-quiz-app .cq-lead-box .cq-subtitle {
  color: #556977 !important;
}

#canopy-quiz-app .cq-discount-pill {
  display: inline-block;
  background: var(--cq-accent-light);
  color: #3b7c37;
  border: 1px solid rgba(101, 181, 97, 0.35);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

#canopy-quiz-app .cq-full-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin: 20px 0 16px;
}

#canopy-quiz-app .cq-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 580px) {
  #canopy-quiz-app .cq-form-row {
    grid-template-columns: 1fr;
  }
}

#canopy-quiz-app .cq-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#canopy-quiz-app .cq-form-label {
  font-family: var(--cq-font);
  font-size: 13.5px;
  font-weight: 700;
  color: #04223F;
  letter-spacing: 0.2px;
}

#canopy-quiz-app .cq-req {
  color: #e11d48;
  font-weight: 800;
}

#canopy-quiz-app .cq-form-input,
#canopy-quiz-app .cq-form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #cbd5e1 !important;
  border-radius: 8px;
  font-family: var(--cq-font);
  font-size: 14.5px;
  font-weight: 500;
  color: #04223F !important;
  background: #f8fafc;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}

#canopy-quiz-app .cq-form-input:hover,
#canopy-quiz-app .cq-form-textarea:hover {
  border-color: #94a3b8 !important;
  background: #ffffff;
}

#canopy-quiz-app .cq-form-input:focus,
#canopy-quiz-app .cq-form-textarea:focus {
  border-color: #65b561 !important;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(101, 181, 97, 0.25), 0 2px 8px rgba(101, 181, 97, 0.15) !important;
}

#canopy-quiz-app .cq-form-input::placeholder,
#canopy-quiz-app .cq-form-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

#canopy-quiz-app .cq-form-textarea {
  resize: vertical;
  min-height: 72px;
}

#canopy-quiz-app .cq-form-submit-wrap {
  margin-top: 6px;
}

#canopy-quiz-app .cq-btn-large {
  padding: 15px 24px;
  font-size: 16px;
}

#canopy-quiz-app .cq-form-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--cq-text-muted);
  margin-top: 8px;
  text-align: center;
  line-height: 1.4;
}

#canopy-quiz-app .cq-email-sent-banner {
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: var(--cq-radius-md);
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  animation: cqStep1FadeIn 0.3s ease;
}

#canopy-quiz-app .cq-email-sent-banner svg {
  color: #059669;
  flex-shrink: 0;
}

#canopy-quiz-app .cq-email-sent-title {
  font-size: 14px;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 2px;
}

#canopy-quiz-app .cq-email-sent-sub {
  font-size: 12.5px;
  color: #047857;
  line-height: 1.35;
}

#canopy-quiz-app .cq-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: cqSpin 0.7s linear infinite;
  display: inline-block;
}

@keyframes cqSpin {
  to {
    transform: rotate(360deg);
  }
}

#canopy-quiz-app .cq-skip-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--cq-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--cq-transition);
  margin-top: 14px;
}

#canopy-quiz-app .cq-skip-link:hover {
  color: #ffffff;
}

/* Step 7 Results Screen - Mockup Design */
#canopy-quiz-app .cq-step[data-step="7"].active {
  display: block;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  margin-top: -44px;
  margin-bottom: -64px;
  background: #ffffff;
}

#canopy-quiz-app .cq-step[data-step="7"]~.cq-header,
#canopy-quiz-app:has(.cq-step[data-step="7"].active) .cq-header {
  display: none !important;
}

#canopy-quiz-app .cq-perfect-section {
  width: 100%;
  background: #ffffff;
  padding: 44px 24px 30px 24px;
  margin: 0;
}

#canopy-quiz-app .cq-perfect-container {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

#canopy-quiz-app .cq-perfect-main-title {
  font-family: var(--cq-font);
  font-size: 26px;
  font-weight: 800;
  color: #04223F !important;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 30px;
}

#canopy-quiz-app .cq-perfect-product-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#canopy-quiz-app .cq-perfect-img-box {
  width: 100%;
  max-width: 480px;
  min-height: 240px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#canopy-quiz-app .cq-perfect-img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#canopy-quiz-app .cq-perfect-product-title {
  font-family: var(--cq-font);
  font-size: 22px;
  font-weight: 800;
  color: #04223F !important;
  text-align: center !important;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

#canopy-quiz-app .cq-perfect-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: #04223F !important;
  margin-bottom: 16px;
}

#canopy-quiz-app .cq-stars-icons {
  color: #04223F;
  letter-spacing: 2px;
  font-size: 15px;
}

#canopy-quiz-app .cq-stars-text {
  font-weight: 600;
  color: #04223F;
  font-size: 13px;
}

#canopy-quiz-app .cq-perfect-desc {
  font-family: var(--cq-font);
  font-size: 14.5px;
  color: #04223F !important;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 24px auto;
  text-align: center !important;
}

#canopy-quiz-app .cq-perfect-cta-wrap {
  margin-bottom: 16px;
  text-align: center;
}

#canopy-quiz-app .cq-btn-shop-now {
  background: #c22727 !important;
  color: #ffffff !important;
  font-family: var(--cq-font);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 46px;
  border-radius: 30px;
  text-decoration: none !important;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(194, 39, 39, 0.35);
  transition: all 0.22s ease-in-out;
  border: none;
  cursor: pointer;
}

#canopy-quiz-app .cq-btn-shop-now:hover {
  background: #a81e1e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(194, 39, 39, 0.45);
  color: #ffffff !important;
}

#canopy-quiz-app .cq-retake-wrap {
  text-align: center;
  margin-top: 4px;
  margin-bottom: 10px;
}

#canopy-quiz-app .cq-btn-retake-link {
  background: transparent !important;
  border: none !important;
  color: #04223F !important;
  font-family: var(--cq-font);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  padding: 8px 16px;
  transition: opacity 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

#canopy-quiz-app .cq-btn-retake-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* YOU MIGHT ALSO LIKE - FULL WIDTH NAVY BANNER SECTION */
#canopy-quiz-app .cq-alts-navy-section {
  background: #04223F;
  width: 100%;
  padding: 44px 24px 54px 24px;
  margin-top: 30px;
}

#canopy-quiz-app .cq-alts-navy-container {
  max-width: 960px;
  margin: 0 auto;
}

#canopy-quiz-app .cq-alts-navy-title {
  font-family: var(--cq-font);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff !important;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 32px;
}

#canopy-quiz-app .cq-alts-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

#canopy-quiz-app .cq-alt-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#canopy-quiz-app .cq-alt-img-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.25s ease;
}

#canopy-quiz-app .cq-alt-item-card:hover .cq-alt-img-box {
  transform: translateY(-4px);
}

#canopy-quiz-app .cq-alt-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

#canopy-quiz-app .cq-alt-item-title {
  font-family: var(--cq-font);
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff !important;
  text-align: center !important;
  margin: 0 0 6px 0;
  line-height: 1.35;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#canopy-quiz-app .cq-alt-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 12px;
}

#canopy-quiz-app .cq-alt-stars-row .cq-stars-icons {
  color: #04223F;
  opacity: 0.85;
}

#canopy-quiz-app .cq-alt-cta-wrap {
  margin-top: 2px;
}

#canopy-quiz-app .cq-btn-learn-more {
  background: #c22727 !important;
  color: #ffffff !important;
  font-family: var(--cq-font);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 10px 28px;
  border-radius: 25px;
  text-decoration: none !important;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(194, 39, 39, 0.3);
  transition: all 0.22s ease-in-out;
}

#canopy-quiz-app .cq-btn-learn-more:hover {
  background: #a81e1e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(194, 39, 39, 0.45);
  color: #ffffff !important;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  #canopy-quiz-app {
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
    margin: 10px 0;
  }

  #canopy-quiz-app .cq-header {
    padding: 16px 20px;
  }

  #canopy-quiz-app .cq-body {
    padding: 24px 16px 32px;
  }

  #canopy-quiz-app .cq-title {
    font-size: 21px;
  }

  #canopy-quiz-app .cq-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  #canopy-quiz-app .cq-grid-3,
  #canopy-quiz-app .cq-grid-2,
  #canopy-quiz-app .cq-grid-4,
  #canopy-quiz-app .cq-alts-grid,
  #canopy-quiz-app .cq-welcome-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #canopy-quiz-app .cq-card {
    padding: 16px 14px;
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 14px;
  }

  #canopy-quiz-app .cq-step[data-step="1"] .cq-card.cq-card-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 0 !important;
  }

  #canopy-quiz-app .cq-card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }

  #canopy-quiz-app .cq-card-content {
    flex: 1;
    margin-bottom: 0;
    padding-right: 8px;
    align-items: flex-start;
    text-align: left;
  }

  #canopy-quiz-app .cq-card-radio-wrap {
    margin: 0 0 0 auto;
    flex-shrink: 0;
  }

  #canopy-quiz-app .cq-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #canopy-quiz-app .cq-product-media {
    padding: 16px;
  }

  #canopy-quiz-app .cq-specs-table {
    grid-template-columns: 1fr;
  }

  #canopy-quiz-app .cq-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #canopy-quiz-app .cq-coupon-banner {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   STEP 1 HOVER REVEAL & SELECTION OVERLAYS
   ========================================================================== */
#canopy-quiz-app .cq-card-media {
  position: relative;
}

#canopy-quiz-app .cq-card-media-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#canopy-quiz-app .cq-card.cq-card-banner:hover .cq-card-media-overlay,
#canopy-quiz-app .cq-card.cq-card-banner.selected .cq-card-media-overlay {
  opacity: 1;
  visibility: visible;
}

#canopy-quiz-app .cq-card-bottom-desc {
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: opacity 0.2s ease;
}

#canopy-quiz-app .cq-card.cq-card-banner:hover .cq-card-bottom-desc,
#canopy-quiz-app .cq-card.cq-card-banner.selected .cq-card-bottom-desc {
  opacity: 1;
  visibility: visible;
  display: block;
}

#canopy-quiz-app .cq-card-bottom-title {
  font-size: 16px;
  transition: opacity 0.2s ease;
}

#canopy-quiz-app .cq-card.cq-card-banner:hover .cq-card-bottom-title,
#canopy-quiz-app .cq-card.cq-card-banner.selected .cq-card-bottom-title {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.page-id-9433 .popular-shade-banner {
  display: none;
}

.page-id-9433 section.main-section {
  padding: 0;
  margin: 0;
      overflow: hidden;
}

.cq-coupon-target {
  background-color: #65b5615c;
  padding: 10px !important;
  border-radius: 10px;
  border: 1px solid #026227;
  margin-bottom: 30px !important;
}