/* =========================================================
   WC Product Quiz v3.1 — Frontend Styles
   Accent: #102635 | Pill buttons, clean hover states
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Outfit:wght@300;400;500;600&display=swap');

/* All styles scoped tightly to prevent theme overrides */
.wcpq-wrapper {
    --wcpq-bg:           #F8F6F2;
    --wcpq-white:        #FFFFFF;
    --wcpq-ink:          #1A1814;
    --wcpq-ink-light:    #6B6660;
    --wcpq-accent:       #102635;
    --wcpq-accent-hover: #1c3f58;
    --wcpq-accent-2:     #5D8AA0;
    --wcpq-border:       #E2DED8;
    --wcpq-radius:       20px;
    --wcpq-radius-sm:    12px;
    --wcpq-shadow-lg:    0 16px 60px rgba(16,38,53,0.14);
    --wcpq-t:            0.26s cubic-bezier(0.4, 0, 0.2, 1);
    --wcpq-title-size:           48px;
    --wcpq-q-size:               28px;
    --wcpq-border-width:         1px;
    --wcpq-font-display-weight:  700;
    --wcpq-font-body-weight:     400;
    --wcpq-font-display: 'Montserrat', sans-serif;
    --wcpq-font-body:    'Outfit', sans-serif;
    --wcpq-width:        640px;
    --wcpq-min-height:   420px;
}

/* ── Wrapper reset ─────────────────────────────────────── */
.wcpq-wrapper,
.wcpq-wrapper * {
    box-sizing: border-box;
}
.wcpq-wrapper {
    font-family: var(--wcpq-font-body);
    color: var(--wcpq-ink);
    background: var(--wcpq-bg);
    border-radius: var(--wcpq-radius);
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: var(--wcpq-width);
    min-height: var(--wcpq-min-height);
    box-shadow: var(--wcpq-shadow-lg);
    border: var(--wcpq-border-width) solid var(--wcpq-border);
    display: flex; flex-direction: column;
}

/* ── Screens ───────────────────────────────────────────── */
.wcpq-wrapper .wcpq-screen {
    display: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--wcpq-t), transform var(--wcpq-t);
    overflow-y: auto;
}
.wcpq-wrapper .wcpq-screen.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}
.wcpq-wrapper .wcpq-screen.exit {
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
}

/* ── Intro ─────────────────────────────────────────────── */
.wcpq-wrapper .wcpq-intro {
    align-items: center;
    justify-content: center;
    background: var(--wcpq-bg);
    padding: 64px 44px;
    text-align: center;
}
.wcpq-wrapper .wcpq-intro-inner { max-width: 480px; }

.wcpq-wrapper .wcpq-badge {
    display: inline-block;
    font-family: var(--wcpq-font-body);
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--wcpq-accent);
    background: rgba(16,38,53,0.08);
    border-radius: 100px;
    padding: 6px 16px; margin-bottom: 26px;
}
.wcpq-wrapper .wcpq-title {
    font-family: var(--wcpq-font-display);
    font-size: clamp(1.5rem, 4vw, var(--wcpq-title-size)); font-weight: var(--wcpq-font-display-weight);
    line-height: 1.12; color: var(--wcpq-ink);
    margin: 0 0 18px; letter-spacing: -0.01em;
}
.wcpq-wrapper .wcpq-subtitle {
    font-family: var(--wcpq-font-body);
    font-size: 15px; font-weight: 300;
    color: var(--wcpq-ink-light); line-height: 1.70;
    margin: 0 auto 40px;
    max-width: 360px;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS — heavily scoped, explicit on every state
   ══════════════════════════════════════════════════════════ */

/* Base shared button reset */
.wcpq-wrapper button,
.wcpq-wrapper .wcpq-btn,
.wcpq-wrapper .wcpq-atc-btn {
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--wcpq-font-body);
    cursor: pointer;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    outline: none;
    user-select: none;
}

/* Primary pill buttons: Start, Continue */
.wcpq-wrapper .wcpq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px; font-weight: 500;
    letter-spacing: 0.04em;
    padding: 15px 34px;
    border-radius: 50px;
    border: none;
    transition: background var(--wcpq-t), box-shadow var(--wcpq-t), transform var(--wcpq-t), color var(--wcpq-t);
}

.wcpq-wrapper .wcpq-start-btn,
.wcpq-wrapper .wcpq-email-submit-btn {
    background: var(--wcpq-accent);
    color: #ffffff;
    border: none;
}
.wcpq-wrapper .wcpq-start-btn:hover,
.wcpq-wrapper .wcpq-email-submit-btn:hover {
    background: var(--wcpq-accent-hover);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(16,38,53,0.28);
    transform: translateY(-2px);
}
.wcpq-wrapper .wcpq-start-btn:active,
.wcpq-wrapper .wcpq-email-submit-btn:active {
    background: var(--wcpq-accent-hover);
    color: #ffffff;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16,38,53,0.18);
}

.wcpq-wrapper .wcpq-arrow {
    display: inline-block;
    transition: transform var(--wcpq-t);
    line-height: 1;
}
.wcpq-wrapper .wcpq-start-btn:hover .wcpq-arrow,
.wcpq-wrapper .wcpq-email-submit-btn:hover .wcpq-arrow {
    transform: translateX(4px);
}

/* Outline pill buttons: Back, Retake */
.wcpq-wrapper .wcpq-prev-btn {
    background: transparent;
    color: var(--wcpq-ink-light);
    border: 1.5px solid var(--wcpq-border);
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 50px;
}
.wcpq-wrapper .wcpq-prev-btn:hover {
    border-color: var(--wcpq-ink);
    color: var(--wcpq-ink);
    background: transparent;
}
.wcpq-wrapper .wcpq-retake-btn {
    background: transparent;
    color: var(--wcpq-ink-light);
    border: 1.5px solid var(--wcpq-border);
    border-radius: 50px;
}
.wcpq-wrapper .wcpq-retake-btn:hover {
    border-color: var(--wcpq-accent);
    color: var(--wcpq-accent);
    background: rgba(16,38,53,0.04);
}

/* Skip link */
.wcpq-wrapper .wcpq-skip-btn {
    display: block;
    background: none; border: none;
    font-family: var(--wcpq-font-body);
    font-size: 12px;
    color: var(--wcpq-ink-light);
    text-decoration: underline;
    padding: 4px 0; margin-top: 4px;
    cursor: pointer;
    transition: color 0.2s;
}
.wcpq-wrapper .wcpq-skip-btn:hover { color: var(--wcpq-ink); }

/* ── Email Screen ──────────────────────────────────────── */
.wcpq-wrapper .wcpq-email-screen {
    background: var(--wcpq-white);
    align-items: center; justify-content: center;
    padding: 48px 44px;
}
.wcpq-wrapper .wcpq-email-inner { width: 100%; max-width: 420px; }
.wcpq-wrapper .wcpq-email-subtext {
    font-family: var(--wcpq-font-body);
    font-size: 14px; font-weight: 300;
    color: var(--wcpq-ink-light); line-height: 1.65;
    margin: 0 0 28px;
}
.wcpq-wrapper .wcpq-email-form { display: flex; flex-direction: column; gap: 14px; }
.wcpq-wrapper .wcpq-input-group { display: flex; flex-direction: column; gap: 5px; }
.wcpq-wrapper .wcpq-input-label {
    font-family: var(--wcpq-font-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--wcpq-ink-light);
}
.wcpq-wrapper .wcpq-input {
    width: 100%; padding: 13px 16px;
    font-family: var(--wcpq-font-body); font-size: 14px; font-weight: 400;
    color: var(--wcpq-ink); background: var(--wcpq-bg);
    border: 1.5px solid var(--wcpq-border);
    border-radius: var(--wcpq-radius-sm);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.wcpq-wrapper .wcpq-input:focus {
    border-color: var(--wcpq-accent);
    box-shadow: 0 0 0 3px rgba(16,38,53,0.07);
}
.wcpq-wrapper .wcpq-input::placeholder {
    color: var(--wcpq-ink-light); opacity: 0.55;
}
.wcpq-wrapper .wcpq-consent-label {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    font-family: var(--wcpq-font-body);
    font-size: 12px; font-weight: 300;
    color: var(--wcpq-ink-light); line-height: 1.55;
}
.wcpq-wrapper .wcpq-consent-checkbox {
    flex-shrink: 0; margin-top: 2px;
    accent-color: var(--wcpq-accent);
    width: 15px; height: 15px; cursor: pointer;
}
.wcpq-wrapper .wcpq-email-error {
    padding: 10px 14px; background: #fff3f3;
    border: 1px solid #fca5a5; border-radius: 8px;
    font-size: 13px; color: #b91c1c;
}
.wcpq-wrapper .wcpq-email-submit-btn {
    width: 100%; justify-content: center; margin-top: 4px;
}

/* ── Quiz Screen ───────────────────────────────────────── */
.wcpq-wrapper .wcpq-quiz-screen {
    background: var(--wcpq-white);
    justify-content: flex-start;
    padding: 0;
}

/* Progress */
.wcpq-wrapper .wcpq-progress-wrap {
    display: flex; align-items: center; gap: 14px;
    padding: 28px 40px 0;
}
.wcpq-wrapper .wcpq-progress-bar {
    flex: 1; height: 2.5px;
    background: var(--wcpq-border);
    border-radius: 100px; overflow: hidden;
}
.wcpq-wrapper .wcpq-progress-fill {
    height: 100%; background: var(--wcpq-accent);
    border-radius: 100px;
    transition: width 0.55s cubic-bezier(0.4,0,0.2,1);
}
.wcpq-wrapper .wcpq-progress-text {
    font-family: var(--wcpq-font-body);
    font-size: 12px; font-weight: 500;
    color: var(--wcpq-ink-light);
    white-space: nowrap; min-width: 40px; text-align: right;
}

/* Questions */
.wcpq-wrapper .wcpq-question {
    flex: 1; padding: 36px 40px 24px;
    animation: wcpq-slide-in 0.36s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes wcpq-slide-in      { from{opacity:0;transform:translateX(28px)} to{opacity:1;transform:translateX(0)} }
@keyframes wcpq-slide-in-left { from{opacity:0;transform:translateX(-28px)} to{opacity:1;transform:translateX(0)} }
.wcpq-wrapper .wcpq-question.going-back {
    animation: wcpq-slide-in-left 0.36s cubic-bezier(0.4,0,0.2,1) both;
}

.wcpq-wrapper .wcpq-step-label {
    display: block; font-family: var(--wcpq-font-body);
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--wcpq-accent-2); margin-bottom: 12px;
}
.wcpq-wrapper .wcpq-question-text {
    font-family: var(--wcpq-font-display);
    font-size: clamp(1.2rem, 3vw, var(--wcpq-q-size)); font-weight: var(--wcpq-font-display-weight);
    color: var(--wcpq-ink); line-height: 1.25; margin: 0 0 30px;
}

/* Answer cards */
.wcpq-wrapper .wcpq-answers-grid {
    display: grid; grid-template-columns: repeat(2,1fr); gap: 11px;
}
.wcpq-wrapper .wcpq-answer-card {
    position: relative; display: flex;
    align-items: center; justify-content: space-between;
    gap: 10px; text-align: left; padding: 17px 20px;
    background: var(--wcpq-bg);
    border: 1.5px solid var(--wcpq-border);
    border-radius: var(--wcpq-radius-sm);
    cursor: pointer;
    font-family: var(--wcpq-font-body);
    font-size: 14px; font-weight: 400;
    color: var(--wcpq-ink);
    transition: border-color 0.22s, background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s;
    width: 100%;
}
.wcpq-wrapper .wcpq-answer-card:hover {
    border-color: var(--wcpq-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16,38,53,0.10);
    color: var(--wcpq-ink);
    background: var(--wcpq-bg);
}
.wcpq-wrapper .wcpq-answer-card.selected {
    border-color: var(--wcpq-accent);
    background: var(--wcpq-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16,38,53,0.20);
}
.wcpq-wrapper .wcpq-answer-label { flex: 1; font-weight: 400; }
.wcpq-wrapper .wcpq-check {
    width: 22px; height: 22px; border-radius: 50%;
    border: 1.5px solid var(--wcpq-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0;
    transition: all 0.22s; color: transparent; background: transparent;
}
.wcpq-wrapper .wcpq-answer-card.selected .wcpq-check {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.40);
    color: #fff;
}
.wcpq-wrapper .wcpq-quiz-nav { padding: 0 40px 32px; display: flex; gap: 12px; }

/* ── Loading ───────────────────────────────────────────── */
.wcpq-wrapper .wcpq-loading-screen {
    background: var(--wcpq-bg);
    align-items: center; justify-content: center;
}
.wcpq-wrapper .wcpq-loader { text-align: center; }
.wcpq-wrapper .wcpq-loader p {
    font-family: var(--wcpq-font-body);
    font-size: 14px; color: var(--wcpq-ink-light);
    margin-top: 22px; font-weight: 300;
}
.wcpq-wrapper .wcpq-spinner {
    width: 38px; height: 38px;
    border: 2.5px solid var(--wcpq-border);
    border-top-color: var(--wcpq-accent);
    border-radius: 50%; margin: 0 auto;
    animation: wcpq-spin 0.75s linear infinite;
}
@keyframes wcpq-spin { to { transform: rotate(360deg); } }

/* ── Results ───────────────────────────────────────────── */
.wcpq-wrapper .wcpq-results-screen {
    background: var(--wcpq-bg); padding: 48px 40px;
    flex-direction: column;
    position: relative !important;
    overflow-y: auto; min-height: 480px; height: auto !important;
}
.wcpq-wrapper .wcpq-results-header { text-align: center; margin-bottom: 36px; }
.wcpq-wrapper .wcpq-results-title {
    font-family: var(--wcpq-font-display);
    font-size: clamp(1.5rem, 3.5vw, var(--wcpq-title-size)); font-weight: var(--wcpq-font-display-weight);
    color: var(--wcpq-ink); margin: 0 0 10px;
}
.wcpq-wrapper .wcpq-results-subtitle {
    font-family: var(--wcpq-font-body);
    font-size: 14px; color: var(--wcpq-ink-light); font-weight: 300; margin: 0;
}

/* Products */
.wcpq-wrapper .wcpq-products-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 16px; margin-bottom: 32px;
}
.wcpq-wrapper .wcpq-product-card {
    background: var(--wcpq-white); border-radius: var(--wcpq-radius-sm);
    border: 1px solid var(--wcpq-border); overflow: hidden;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
    animation: wcpq-fade-up 0.5s ease both;
    display: flex; flex-direction: column;
}
.wcpq-wrapper .wcpq-product-card:nth-child(2) { animation-delay:0.08s; }
.wcpq-wrapper .wcpq-product-card:nth-child(3) { animation-delay:0.16s; }
.wcpq-wrapper .wcpq-product-card:nth-child(4) { animation-delay:0.24s; }
.wcpq-wrapper .wcpq-product-card:nth-child(5) { animation-delay:0.32s; }
.wcpq-wrapper .wcpq-product-card:nth-child(6) { animation-delay:0.40s; }
@keyframes wcpq-fade-up { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.wcpq-wrapper .wcpq-product-card:hover {
    border-color: rgba(16,38,53,0.25);
    box-shadow: 0 6px 24px rgba(16,38,53,0.10);
    transform: translateY(-3px);
}

.wcpq-wrapper .wcpq-product-image-wrap {
    aspect-ratio:1/1; overflow:hidden; background:#EDE8E0;
}
.wcpq-wrapper .wcpq-product-image-wrap img {
    width:100%; height:100%; object-fit:cover;
    transition:transform 0.4s ease;
    display: block;
}
.wcpq-wrapper .wcpq-product-card:hover .wcpq-product-image-wrap img {
    transform:scale(1.05);
}
.wcpq-wrapper .wcpq-product-info {
    padding: 12px 14px 8px; flex:1;
    display:flex; flex-direction:column; gap:5px;
}
.wcpq-wrapper .wcpq-product-name {
    font-family: var(--wcpq-font-body);
    font-size: 12px; font-weight: 500; color: var(--wcpq-ink); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    text-decoration: none;
}
.wcpq-wrapper .wcpq-product-name:hover { color: var(--wcpq-accent); text-decoration: none; }
.wcpq-wrapper .wcpq-product-price {
    font-family: var(--wcpq-font-body);
    font-size: 13px; font-weight: 600; color: var(--wcpq-accent);
    flex:1; display:flex; align-items:flex-end; padding-bottom:6px;
}
.wcpq-wrapper .wcpq-product-price .woocommerce-Price-amount,
.wcpq-wrapper .wcpq-product-price .amount { color: var(--wcpq-accent); }

/* Add to Cart — pill, explicit all states */
.wcpq-wrapper .wcpq-product-actions { padding: 0 12px 12px; }
.wcpq-wrapper .wcpq-atc-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 10px 14px !important;
    font-family: var(--wcpq-font-body) !important;
    font-size: 12px !important; font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    background: var(--wcpq-accent) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
    text-decoration: none !important;
    text-align: center !important;
    line-height: 1.4 !important;
}
.wcpq-wrapper .wcpq-atc-btn:hover {
    background: var(--wcpq-accent-hover) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16,38,53,0.25) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}
.wcpq-wrapper .wcpq-atc-btn:active {
    background: var(--wcpq-accent-hover) !important;
    color: #ffffff !important;
    transform: translateY(0) !important;
    box-shadow: none !important;
}

.wcpq-wrapper .wcpq-no-results {
    text-align:center; padding:32px;
    color:var(--wcpq-ink-light); font-size:14px; grid-column:1/-1;
}
.wcpq-wrapper .wcpq-results-footer { text-align:center; }
.wcpq-wrapper .wcpq-error {
    padding:16px; background:#fff3f3; color:#c00;
    border-radius:8px; font-size:13px;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width:600px) {
    .wcpq-wrapper .wcpq-intro,
    .wcpq-wrapper .wcpq-email-screen { padding:44px 24px; }
    .wcpq-wrapper .wcpq-question    { padding:24px 20px 16px; }
    .wcpq-wrapper .wcpq-progress-wrap { padding:20px 20px 0; }
    .wcpq-wrapper .wcpq-quiz-nav    { padding:0 20px 20px; }
    .wcpq-wrapper .wcpq-results-screen { padding:32px 20px; }
    .wcpq-wrapper .wcpq-answers-grid { grid-template-columns:1fr; gap:8px; }
    .wcpq-wrapper .wcpq-products-grid { grid-template-columns:1fr 1fr; }
    .wcpq-wrapper .wcpq-answer-card { padding:14px; font-size:13px; }
}
@media (max-width:380px) {
    .wcpq-wrapper .wcpq-products-grid { grid-template-columns:1fr; }
}


/* ── Outer centering wrapper ─────────────────────────────── */
/* This makes the quiz centre itself in any Elementor/page context
   without the user needing to set a custom width. max-width comes
   from --wcpq-width set by the design panel. */
.wcpq-outer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
}
.wcpq-outer .wcpq-wrapper {
    /* max-width already set via --wcpq-width; centre it */
    margin-left: auto !important;
    margin-right: auto !important;
    flex-shrink: 0;
}

/* ── Name greeting above Q1 ──────────────────────────────── */
.wcpq-wrapper .wcpq-name-greeting-bar {
    font-family: var(--wcpq-font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.55rem);
    font-weight: 700;
    color: var(--wcpq-ink);
    margin: 0;
    padding: 28px 40px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    animation: wcpq-fs-content-in 0.45s cubic-bezier(0.22,1,0.36,1) both;
    /* Visual separator from progress bar below */
    border-bottom: none;
}

/* ── Admin CSS specificity fixes ────────────────────────────
   These override WordPress admin form defaults on the builder page */

/* ======================================================
   FULLSCREEN OVERLAY MODE
   ====================================================== */

/* Outer becomes fixed overlay when fullscreen active */
.wcpq-outer.wcpq-fullscreen-active {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;

    /* Backdrop */
    background: rgba(10,18,24,0.78) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;

    /* Entrance animation */
    animation: wcpq-fs-in 0.32s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes wcpq-fs-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Wrapper fills screen in fullscreen mode */
.wcpq-outer.wcpq-fullscreen-active .wcpq-wrapper {
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
}

/* Content slides in from bottom with staggered entrance */
.wcpq-outer.wcpq-fullscreen-active .wcpq-wrapper .wcpq-screen.active {
    animation: wcpq-fs-content-in 0.50s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.10s;
}
@keyframes wcpq-fs-content-in {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Close button — only shows in fullscreen */
.wcpq-fs-close {
    display: none;
}
.wcpq-outer.wcpq-fullscreen-active .wcpq-fs-close {
    display: flex;
    position: fixed;
    top: 20px; right: 24px;
    z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.80);
    align-items: center; justify-content: center;
    cursor: pointer; font-size: 18px; line-height: 1;
    transition: background 0.2s, color 0.2s;
    backdrop-filter: blur(4px);
}
.wcpq-outer.wcpq-fullscreen-active .wcpq-fs-close:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

/* Body scroll lock */
body.wcpq-no-scroll {
    overflow: hidden !important;
}

/* Fullscreen — larger intro text */
.wcpq-outer.wcpq-fullscreen-active .wcpq-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
}
.wcpq-outer.wcpq-fullscreen-active .wcpq-subtitle {
    font-size: 17px !important;
    max-width: 440px !important;
}
.wcpq-outer.wcpq-fullscreen-active .wcpq-question-text {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
}
.wcpq-outer.wcpq-fullscreen-active .wcpq-name-greeting-bar {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
    padding: 40px 60px 0 !important;
}
.wcpq-outer.wcpq-fullscreen-active .wcpq-progress-wrap { padding: 32px 60px 0 !important; }
.wcpq-outer.wcpq-fullscreen-active .wcpq-question { padding: 32px 60px 40px !important; }
.wcpq-outer.wcpq-fullscreen-active .wcpq-intro { padding: 80px 60px !important; }
.wcpq-outer.wcpq-fullscreen-active .wcpq-answers-grid { gap: 14px !important; }
.wcpq-outer.wcpq-fullscreen-active .wcpq-answer-card { padding: 20px 24px !important; font-size: 15px !important; }
.wcpq-outer.wcpq-fullscreen-active .wcpq-results-screen { padding: 60px !important; }
.wcpq-outer.wcpq-fullscreen-active .wcpq-products-grid { grid-template-columns: repeat(auto-fill, minmax(200px,1fr)) !important; }

@media (max-width: 600px) {
    .wcpq-outer.wcpq-fullscreen-active .wcpq-name-greeting-bar { padding: 28px 24px 0 !important; }
    .wcpq-outer.wcpq-fullscreen-active .wcpq-progress-wrap { padding: 20px 24px 0 !important; }
    .wcpq-outer.wcpq-fullscreen-active .wcpq-question { padding: 20px 24px 24px !important; }
    .wcpq-outer.wcpq-fullscreen-active .wcpq-intro { padding: 48px 28px !important; }
    .wcpq-outer.wcpq-fullscreen-active .wcpq-results-screen { padding: 32px 20px !important; }
}
