/* ===== Variables ===== */
:root {
    --wqp-primary: #352A15;
    --wqp-background: #f5f3ee;
    --wqp-primary-btn: #383D1F;
    --wqp-secondary-text-color: #8a8365;
    --wqp-primary-hover: #1d4ed8;
    --wqp-primary-light: #dbeafe;
    --wqp-secondary: #64748b;
    --wqp-success: #898365;
    --wqp-success-light: #d1fae5;
    --wqp-error: #ef4444;
    --wqp-error-light: #fee2e2;
    --wqp-bg: #ffffff;
    --wqp-text-main: #ffffff;

    --wqp-accent: #ffffff;
    --wqp-text-muted: #f5f3ee;
    --wqp-bg-secondary: #f8fafc;
    --wqp-bg-additional: #484a3c;
    --wqp-bg-overlay: rgba(15, 23, 42, 0.95);
    --wqp-text: #1e293b;
    --wqp-text-light: #64748b;
    --wqp-border: #e2e8f0;
    --wqp-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --wqp-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --wqp-radius: 20px;
    --wqp-radius-sm: 12px;
    --wqp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a.bde-container-link-310-188.bde-container-link.breakdance-link {
    display: contents;
}

input#wqp-input-zip_code::placeholder {
    color: var(--wqp-secondary-text-color);
}

button.wc-block-components-button.confirm.wp-element-button.wc-block-components-checkout-place-order-button.contained,
.wc-block-cart__submit-button,
.wc-block-components-totals-coupon__button,
.wc-block-checkout-empty a.wp-block-button__link {
    background: var(--wqp-primary);
    color: var(--wqp-text-main) !important;
    text-decoration: none;
}

form[class*="fluent_form"] .ff-btn-submit {
    background: var(--wqp-success) !important;
    color: #ffffff;
}

.breakdance .bde-popup.breakdance-popup-open {
    z-index: 9999999 !important;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained,
.wc-block-components-checkout-place-order-button.confirm {
    border-radius: 60px;
    color: #fff;
    background: var(--wqp-primary-btn) !important;
}

.wc-block-components-checkout-place-order-button {
    border-radius: 60px;
    /* border-color: transparent; */
    font-size: larger;
    font-weight: bolder;
}

.wc-block-cart__submit-container.wqp-clear-cart.wqp-clear-cart-cart {
    margin-top: 10px;
}

/* ===== Reset ===== */
.wqp-popup-overlay *,
.wqp-popup-overlay *::before,
.wqp-popup-overlay *::after {
    box-sizing: border-box;
}

.wqp-option-radio {
    display: none !important;
}

/* ===== Start Button ===== */
.wqp-start-button {
    position: fixed;
    bottom: 60px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--wqp-primary) 0%, #898363 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4);
    transition: var(--wqp-transition);
    z-index: 9998;
    animation: wqp-pulse 2s infinite;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.wqp-start-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.5);
}

.wqp-start-icon {
    font-size: 28px;
    line-height: 1;
}

.wqp-rec-learn-more.avc-trigger-btn.absolute.left {
    position: absolute;
    left: 5px;
    top: 2px;
}

p.wqp-rec-product-subtitle {
    padding: unset;
    margin: unset;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.wqp-rec-product-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    /* Muted white for dark theme */
    margin-bottom: 8px;
    line-height: 1.4;
}

/* For Alternatives list (if added) */
.wqp-rec-alt-desc {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

/* Custom Main Icon Image */
.wqp-main-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

/* Adjust button layout for image */
.wqp-start-button .wqp-main-icon-img {
    width: 28px;
    height: 28px;
    margin-right: 4px;
}

/* Adjust Header Layout */
.wqp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wqp-logo .wqp-main-icon-img {
    width: 100px;
    height: 80px
}

@keyframes wqp-pulse {

    0%,
    100% {
        box-shadow: 0 10px 40px #cec79e71;
    }

    50% {
        box-shadow: 0 10px 40px #dbd5af, 0 0 0 15px #d1c896;
    }
}

/* ===== Full Page Popup Overlay ===== */
.wqp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--wqp-background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: var(--wqp-transition);
    overflow: hidden;
}

.wqp-popup-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    pointer-events: none;
}

.wqp-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Full Page Popup Container ===== */
.wqp-popup-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: var(--wqp-transition);
    overflow: hidden;
}

.wqp-popup-overlay.active .wqp-popup-container {
    transform: scale(1);
}

/* ===== Header Area ===== */
.wqp-popup-header {
    position: relative;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--wqp-background);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wqp-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.wqp-logo-icon {
    font-size: 32px;
}

/* ===== Close Button ===== */
.wqp-close-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--wqp-primary);
    border-radius: 50%;
    color: var(--wqp-primary);
    cursor: pointer;
    transition: var(--wqp-transition);
    z-index: 10;
}

.wqp-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.wqp-close-btn svg {
    width: 24px;
    height: 24px;
}

/* ===== Progress Bar ===== */
.wqp-progress-container {
    padding: 0 30px;
    /* display: none; */
    background: var(--wqp-background);
    ;
    padding-top: 20px;
    padding-bottom: 20px;
}

.wqp-progress-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Learn More Popup (Mobile Friendly) ===== */
.wqp-learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 12px;
    color: var(--wqp-accent);
    cursor: pointer;
    transition: var(--wqp-transition);
}

.wqp-learn-more-btn:hover {
    background: var(--wqp-accent);
    color: white;
}

/* Overlay - Ensure it sits on top */
.wqp-secondary-overlay {
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.85);
    /* Slightly darker for focus */
    backdrop-filter: blur(5px);
}

/* Container */
.wqp-learn-more-container {
    background: #1e293b;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    /* Default desktop height */
    border-radius: var(--wqp-radius);
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

/* Content Area */
.wqp-learn-more-content {
    padding: 30px;
    overflow-y: auto;
    /* Enable scrolling for content only */
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    color: white;
}

/* Image */
#wqp-lm-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    /* Allow natural height based on width */
    max-height: 300px;
    /* Cap the height so it doesn't take over the screen */
    object-fit: contain;
    /* Shows full image without cropping */
    border-radius: var(--wqp-radius-sm);
    margin: 0 auto 20px auto;
    /* Center horizontally */
    background: rgba(0, 0, 0, 0.2);
    /* Optional: Dark background for transparent PNGs */
}

/* Typography */
#wqp-lm-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 16px;
    color: white;
    line-height: 1.3;
}

#wqp-lm-body {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Close Button (Specific for Learn More) */
#wqp-close-learn-more {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    z-index: 10;
}

/* ===== MOBILE SPECIFIC STYLES ===== */
@media (max-width: 600px) {
    .wqp-learn-more-container {
        width: 100%;
        height: 100%;
        /* Full screen on mobile */
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        /* Remove corners for full screen feel */
    }

    .wqp-learn-more-content {
        padding: 20px 20px 80px 20px;
        /* Extra bottom padding for scroll space */
    }

    #wqp-lm-image-wrapper img {
        max-height: 200px;
        /* Smaller image on mobile */
        margin-bottom: 15px;
    }

    #wqp-lm-title {
        font-size: 22px;
    }

    #wqp-lm-body {
        font-size: 15px;
    }

    /* Make close button easier to hit on touch */
    #wqp-close-learn-more {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.5);
    }
}


/* Custom Icon Image */
.wqp-custom-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    /* Add padding so image doesn't touch borders */
}

/* Ensure container handles image centering */
.wqp-option-icon {
    overflow: hidden;
    /* width/height is already defined as 60px in previous CSS */
}

/* Frequency Selector */
.wqp-freq-selector {
    margin: 10px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.wqp-freq-selector label {
    display: block;
    font-size: 12px;
    color: var(--wqp-text-muted);
    margin-bottom: 4px;
}

.wqp-freq-dropdown {
    width: 100%;
    padding: 6px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--wqp-text-main);
    border-radius: 4px;
}

.wqp-freq-dropdown:focus {
    outline: none;
    border-color: var(--wqp-primary);
}

.wqp-progress-bar {
    height: 8px;
    background: var(--wqp-secondary-text-color) !important;
    border-radius: 4px;
    overflow: hidden;
}

.wqp-progress-fill {
    height: 100%;
    width: 20%;
    background: var(--wqp-primary);
    ;
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px var(--wqp-primary);
}

.wqp-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.wqp-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.wqp-step-dot {
    width: 12px;
    height: 12px;
    background: var(--wqp-secondary-text-color);
    border-radius: 50%;
    transition: var(--wqp-transition);
}

.wqp-step-dot.active {
    background: var(--wqp-primary);
    /* box-shadow: 0 0 10px #898363; */
}

.wqp-step-dot.completed {
    background: var(--wqp-success);
}

.wqp-step-label {
    font-size: 11px;
    color: var(--wqp-secondary-text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wqp-step-label.active {
    font-weight: 700;
    color: var(--wqp-primary);
}

.wqp-progress-text {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* ===== Quiz Content Area ===== */
.wqp-quiz-content {
    flex: 1;
    display: flex;
    align-items: start;
    justify-content: center;
    background: var(--wqp-background);
    padding: 40px 30px;
    overflow-y: auto;
}

.wqp-question {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    animation: wqp-fadeSlideIn 0.5s ease;
}

@keyframes wqp-fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.wqp-question-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--wqp-primary) !important;
    margin: 0 0 12px;
    text-align: center;
    line-height: 1.2;
}

.wqp-question-subtitle {
    font-size: 18px;
    color: var(--wqp-secondary-text-color);
    margin: 0 0 48px;
    text-align: center;
}

/* ===== Options ===== */
.wqp-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.wqp-subscription-text {
    font-size: small;
    padding-top: 10px;
    margin-bottom: 30px;
}

span.avc-trigger-btn.learn-more-btn-product {
    /* position: absolute;
    right: 10px; */
    margin-left: 5px;
    text-decoration: underline;
    cursor: pointer;

}

.wqp-learn-more-btn-product {
    cursor: pointer;
    margin-top: 2px;
    margin-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--wqp-accent);
}

.wqp-options.wqp-options-grid.noicon .wqp-option,
.wqp-options.wqp-options-grid .wqp-option-content.noicon .wqp-option-label,
.wqp-options.wqp-options-grid .wqp-option.selected .wqp-option-label {
    font-size: xx-large;
}

.wqp-options.wqp-options-grid.noicon .wqp-option-description,
.wqp-options.wqp-options-grid .wqp-option-content.noicon .wqp-option-description {
    font-size: 16px;
}


.wqp-options.wqp-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
}

.wqp-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--wqp-primary);
    border-radius: var(--wqp-radius);
    cursor: pointer;
    transition: var(--wqp-transition);
    backdrop-filter: blur(10px);
}

/* .wqp-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
} */

.wqp-option.selected,
.wqp-option:hover {
    background: var(--wqp-primary);
    border-color: var(--wqp-primary);
    /* box-shadow: 0 0 30px rgba(37, 99, 235, 0.3); */
}

span.wqp-start-icon img {
    /* color: #fff!important; */
    /* filter: brightness(0) invert(1); */
}

.wqp-option-icon {
    width: 45%;
    height: 100%;
    background: var(--wqp-secondary-text-color);
    border-radius: 16px;
    overflow: hidden;
    /* THIS is critical */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wqp-option-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or contain */
    display: block;
    border-radius: inherit;
    /* ensures clipping */
}


.wqp-option.selected .wqp-option-icon {
    /* background: var(--wqp-bg-additional); */
}

.wqp-option.selected .wqp-option-label,
.wqp-option:hover .wqp-option-label {
    color: var(--wqp-text-muted) !important;
}

.wqp-option.selected .wqp-option-description {
    color: var(--wqp-success) !important;
}

.wqp-option-content {
    flex: 1;
}

.wqp-option.product-icon .wqp-option-label {
    font-size: xx-large;
}

.wqp-option.selected .wqp-option-label {
    display: block;
    /* font-size: 18px; */
    font-weight: 600;
    color: white;
}

.wqp-option-description {
    display: block;
    font-size: 16px;
    color: var(--wqp-secondary-text-color);
    margin-top: 4px;
}

span.wqp-option-description span {
    color: var(--wqp-secondary-text-color) !important;
    text-decoration: underline;
    font-size: 16px;
}

.wqp-option-radio {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: var(--wqp-transition);
    flex-shrink: 0;
}

.wqp-option.selected .wqp-option-radio {
    border-color: var(--wqp-primary);
    background: var(--wqp-primary);
}

.wqp-option.selected .wqp-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* ===== Text Input ===== */
.wqp-input-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

@media screen and (min-width: 769px) {
    [id*="form_"].quiz-content {
        width: 50% !important;
    }
}

.wqp-input {
    width: 100%;
    padding: 24px 32px;
    font-size: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--wqp-primary);
    border-radius: 500px;
    color: var(--wqp-secondary-text-color);
    transition: var(--wqp-transition);
    font-weight: 600;
    letter-spacing: 4px;
}

.wqp-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    font-weight: 400;
}

.wqp-input:focus {
    outline: none;
    border-color: var(--wqp-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px var(--wqp-secondary-text-color);
}

.wqp-input.valid {
    border-color: var(--wqp-success);
    /* box-shadow: 0 0 30px rgba(16, 185, 129, 0.3); */
}

.wqp-input.invalid {
    border-color: var(--wqp-error);
    /* box-shadow: 0 0 30px rgba(239, 68, 68, 0.3); */
}

.wqp-input-message {
    /* margin-top: 20px; */
    font-size: 18px;
    text-align: center;
    padding: 12px 20px;
    border-radius: var(--wqp-radius-sm);
    animation: wqp-fadeIn 0.3s ease;
}

@keyframes wqp-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.wqp-input-message.success {
    color: var(--wqp-secondary-text-color);
    /* background: var(--wqp-success); */
}

.wqp-input-message.error {
    color: #f87171;
    /* background: var(--wqp-success); */
}

/* ===== Contact Form ===== */
.wqp-form {
    max-width: 450px;
    margin: 0 auto;
}

.wqp-form-group {
    margin-bottom: 24px;
}

.wqp-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wqp-form-input,
.wqp-form-textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--wqp-radius-sm);
    color: white;
    transition: var(--wqp-transition);
}

.wqp-form-input::placeholder,
.wqp-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.wqp-form-input:focus,
.wqp-form-textarea:focus {
    outline: none;
    border-color: var(--wqp-primary);
    background: rgba(255, 255, 255, 0.15);
}

.wqp-form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== Navigation Buttons ===== */
.wqp-nav-buttons {
    display: flex;
    justify-content: center;
    padding: 30px;
    gap: 20px;
    background: var(--wqp-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wqp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--wqp-transition);
    font-family: inherit;
}

.wqp-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

[class*="wqp-btn-"] {
    border: 2px solid var(--wqp-primary) !important;
    font-size: larger !important;
}

.wqp-btn-primary {
    background: transparent;

    background: transparent;


    color: var(--wqp-secondary-text-color);
    /* box-shadow: 0 10px 30px #898363; */
}

.wqp-btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    /* box-shadow: 0 15px 40px #898363; */
}

.wqp-btn-secondary {
    /* background: var(--wqp-secondary-text-color); */
    color: var(--wqp-secondary-text-color) !important;
    /* border: 2px solid rgba(255, 255, 255, 0.2); */
}

.wqp-btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.wqp-btn-back {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 24px;
    padding-right: 24px;
}

.wqp-btn-back:hover {
    color: white;
}

.wqp-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== Recommendations Page ===== */
.wqp-recommendations-container {
    background: var(--wqp-background);
}

.wqp-recommendations-header {
    padding: 40px 30px 20px;
    text-align: center;
}

.wqp-recommendations-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px;
}

.wqp-recommendations-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.wqp-recommendations-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--wqp-background);
    width: 100%;
}

.wqp-recommendation-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wqp-radius);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wqp-recommendation-category:last-child {
    margin-bottom: 0;
}

.wqp-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wqp-category-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.wqp-category-badge {
    background: linear-gradient(135deg, var(--wqp-primary) 0%, #3b82f6 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Product Slider ===== */
.wqp-product-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.wqp-product-slider::-webkit-scrollbar {
    height: 8px;
}

.wqp-product-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.wqp-product-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.wqp-product-slider::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.wqp-product-card {
    position: relative;
    flex: 0 0 220px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--wqp-radius);
    padding: 20px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: var(--wqp-transition);
}

.wqp-product-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.wqp-product-card.selected {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--wqp-primary);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.wqp-product-image-wrapper {
    position: relative;
    width: 100%;
    height: 140px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--wqp-radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wqp-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wqp-product-placeholder {
    font-size: 48px;
    opacity: 0.5;
}

.wqp-product-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin: 0 0 10px;
    line-height: 1.4;
    min-height: 42px;
}

.wqp-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #60a5fa;
}

.wqp-product-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wqp-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: var(--wqp-transition);
}

.wqp-qty-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wqp-qty-value {
    font-size: 18px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    color: white;
}

.wqp-selected-badge {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--wqp-success);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.wqp-product-card.selected .wqp-selected-badge {
    display: flex;
}

.wqp-selected-badge svg {
    width: 16px;
    height: 16px;
    fill: white;
}

/* ===== Summary Section ===== */
.wqp-recommendation-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wqp-radius);
    padding: 24px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wqp-recommendation-summary h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 16px;
}

.wqp-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wqp-summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.wqp-summary-list li:last-child {
    border-bottom: none;
}

.wqp-summary-qty {
    color: var(--wqp-primary);
    font-weight: 700;
}

/* ===== Recommendations Footer ===== */
.wqp-recommendations-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    /* background: rgba(255, 255, 255, 0.05); */
    background-color: var(--wqp-background);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Success Popup ===== */
.wqp-success-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wqp-success-content {
    max-width: 500px;
    text-align: center;
    padding: 60px 40px;
}

.wqp-success-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    font-size: 56px;
    color: white;
    animation: wqp-scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.4);
}

@keyframes wqp-scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wqp-success-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 0 0 16px;
}

.wqp-success-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px;
    line-height: 1.6;
}

.wqp-success-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.wqp-success-buttons .wqp-btn {
    min-width: 160px;
}

/* ===== Loading Spinner ===== */
.wqp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.wqp-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--wqp-primary);
    border-radius: 50%;
    animation: wqp-spin 1s linear infinite;
}

@keyframes wqp-spin {
    to {
        transform: rotate(360deg);
    }
}

.wqp-loading-text {
    margin-top: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Water Animation Background ===== */
.wqp-water-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, #352A15 100%);
    pointer-events: none;
    overflow: hidden;
}

.wqp-water-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='#898363' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 50% 100%;
    animation: wqp-wave 15s linear infinite;
}

@keyframes wqp-wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .wqp-start-button {
        bottom: 20px;
        right: 20px;
        padding: 14px 24px;
        font-size: 14px;
    }

    .wqp-start-icon {
        font-size: 24px;
    }

    .wqp-popup-header {
        padding: 15px 20px;
    }

    .wqp-logo {
        font-size: 16px;
    }

    .wqp-close-btn {
        width: 40px;
        height: 40px;
    }

    .wqp-progress-container {
        padding: 15px 20px;
    }

    .wqp-quiz-content {
        padding: 30px 20px;
        align-items: start;
        margin-bottom: 40px;
    }

    .wqp-question-title {
        font-size: 36px !important;
    }

    .wqp-question-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .wqp-options.wqp-options-grid {
        grid-template-columns: 1fr;
    }

    .wqp-option {
        padding: 18px 20px;
        gap: 16px;
    }

    .wqp-option .wqp-option-label {
        font-size: larger;
    }


    .wqp-option-label {
        /* font-size: 16px; */
    }

    .wqp-rec-product-thumb {
        width: 80% !important;
        height: 70%;
    }

    .wqp-input {
        padding: 18px 24px;
        font-size: 20px;
    }

    .wqp-nav-buttons {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }

    .wqp-btn {
        width: 100%;
        padding: 16px 32px;
    }

    .wqp-recommendations-header h2 {
        font-size: 28px;
    }

    .wqp-recommendations-content {
        padding: 20px;
    }

    .wqp-product-card {
        flex: 0 0 180px;
    }

    .wqp-recommendations-footer {
        flex-direction: column;
        padding: 20px;
    }

    .wqp-success-content {
        padding: 40px 20px;
    }

    .wqp-success-icon {
        width: 100px;
        height: 100px;
        font-size: 48px;
    }

    .wqp-success-content h2 {
        font-size: 28px;
    }

    .wqp-success-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .wqp-start-button .wqp-start-text {
        display: none;
    }

    .wqp-start-button {
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .wqp-start-icon {
        margin: 0;
    }

    .wqp-question-title {
        font-size: 22px;
    }


}

/* ===== Hide scrollbar but keep functionality ===== */
.wqp-quiz-content::-webkit-scrollbar,
.wqp-recommendations-content::-webkit-scrollbar {
    width: 6px;
}

.wqp-quiz-content::-webkit-scrollbar-track,
.wqp-recommendations-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.wqp-quiz-content::-webkit-scrollbar-thumb,
.wqp-recommendations-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* ===== Recommendation Step Styles ===== */
.wqp-recommendation-step {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: wqp-fadeSlideIn 0.5s ease;
}

.wqp-rec-step-indicator {
    text-align: center;
    margin-bottom: 24px;
}

.wqp-rec-step-current {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    color: var(--wqp-accent);
    font-weight: 600;
}

.wqp-rec-header {
    text-align: center;
    margin-bottom: 40px;
}

.wqp-rec-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: wqp-bounce 1s ease infinite;
}

@keyframes wqp-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.wqp-rec-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--wqp-text-main);
    margin: 0 0 12px;
}

.wqp-rec-subtitle {
    font-size: 16px;
    color: var(--wqp-text-muted);
    margin: 0;
}

/* ===== Recommended Product Card ===== */
.wqp-rec-product-card {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--wqp-primary);
    border-radius: var(--wqp-radius);
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 119, 182, 0.2);
}

.wqp-rec-product-image-wrapper {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--wqp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wqp-rec-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wqp-rec-product-placeholder {
    font-size: 64px;
    opacity: 0.5;
}

.wqp-rec-product-info {
    flex: 1;
}

.wqp-rec-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--wqp-primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.wqp-rec-product-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--wqp-text-main);
    margin: 0 0 8px;
}

.wqp-rec-product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--wqp-accent);
    margin-bottom: 20px;
}

.wqp-rec-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wqp-rec-qty-label {
    font-size: 14px;
    color: var(--wqp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wqp-rec-qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 30px;
}

.wqp-rec-qty-controls .wqp-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wqp-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--wqp-transition);
}

.wqp-rec-qty-controls .wqp-qty-btn:hover {
    background: var(--wqp-primary-hover);
    transform: scale(1.1);
}

.wqp-rec-qty-controls .wqp-qty-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--wqp-text-main);
    min-width: 50px;
    text-align: center;
}

/* ===== Change Product Button ===== */
.wqp-change-product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--wqp-radius-sm);
    color: var(--wqp-text-muted);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wqp-transition);
    margin-bottom: 20px;
}

.wqp-change-product-btn:hover {
    border-color: var(--wqp-primary);
    color: var(--wqp-primary);
    background: rgba(255, 255, 255, 0.05);
}

.wqp-change-product-btn svg {
    fill: currentColor;
}

/* ===== Product Alternatives Grid ===== */
.wqp-product-alternatives {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--wqp-radius);
    padding: 24px;
    margin-top: 20px;
}

.wqp-product-alternatives h4 {
    color: var(--wqp-text-main);
    font-size: 16px;
    margin: 0 0 20px;
    text-align: center;
}

.wqp-alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.wqp-alt-product {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--wqp-radius-sm);
    padding: 16px;
    cursor: pointer;
    transition: var(--wqp-transition);
    text-align: center;
}

.wqp-alt-product:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--wqp-primary);
    transform: translateY(-4px);
}

.wqp-alt-product.selected {
    border-color: var(--wqp-primary);
    background: rgba(0, 119, 182, 0.2);
}

.wqp-alt-product-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
}

.wqp-alt-product-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    opacity: 0.5;
    margin: 0 auto 12px;
}

.wqp-alt-product-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--wqp-text-main);
    margin-bottom: 6px;
    line-height: 1.3;
}

.wqp-alt-product-price {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--wqp-accent);
}

.wqp-alt-selected-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--wqp-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* ===== Final Summary ===== */
.wqp-final-summary {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    animation: wqp-fadeSlideIn 0.5s ease;
}

.wqp-summary-products {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wqp-radius);
    overflow: hidden;
}

.wqp-summary-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--wqp-transition);
}

.wqp-summary-item:last-child {
    border-bottom: none;
}

.wqp-summary-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.wqp-summary-item-image {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--wqp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wqp-summary-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wqp-summary-item-image span {
    font-size: 32px;
}

.wqp-summary-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wqp-summary-item-category {
    font-size: 12px;
    color: var(--wqp-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.wqp-summary-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--wqp-text-main);
}

.wqp-summary-item-price {
    font-size: 14px;
    color: var(--wqp-text-muted);
}

.wqp-summary-item-qty {
    font-size: 20px;
    font-weight: 700;
    color: var(--wqp-primary);
    min-width: 50px;
    text-align: center;
}

.wqp-summary-edit-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--wqp-text-muted);
    cursor: pointer;
    transition: var(--wqp-transition);
}

.wqp-summary-edit-btn:hover {
    background: var(--wqp-primary);
    color: white;
}

/* ===== Spinner ===== */
.wqp-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    display: inline-block;
    animation: wqp-spin 0.8s linear infinite;
}

@keyframes wqp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .wqp-rec-product-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .wqp-rec-product-info {
        text-align: center;
    }

    .wqp-option {
        align-items: start;
    }

    .wqp-rec-quantity {
        justify-content: center;
        flex-wrap: wrap;
    }

    .wqp-rec-title {
        font-size: 24px;
    }

    .wqp-rec-product-name {
        font-size: 20px;
    }

    .wqp-alternatives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wqp-summary-item {
        flex-wrap: wrap;
    }

    .wqp-summary-item-info {
        order: 3;
        width: 100%;
        margin-top: 12px;
    }

    .wqp-option-icon {
        width: 40%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .wqp-rec-product-image-wrapper {
        width: 120px;
        height: 120px;
    }

    .wqp-alternatives-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== All Recommendations in One Slide ===== */
.wqp-all-recommendations {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    animation: wqp-fadeSlideIn 0.5s ease;
}

.wqp-rec-main-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-content {
    display: none;
}

.quiz-content.show {
    display: block;
    max-height: 400px;
    width: 100%;
}




.wqp-rec-main-icon {
    font-size: 56px;
    margin-bottom: 16px;
    /* animation: wqp-bounce 1s ease infinite; */
}

@keyframes wqp-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.wqp-rec-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--wqp-primary) !important;
    margin: 0 0 12px;
}

.wqp-rec-main-subtitle {
    font-size: 16px;
    color: var(--wqp-secondary-text-color) !important;
    margin: 0;
}

/* ===== Category Cards ===== */
.wqp-rec-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wqp-rec-category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--wqp-radius);
    padding: 24px;
    transition: var(--wqp-transition);
}

.wqp-rec-category-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Category Header */
.wqp-rec-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wqp-rec-category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wqp-primary);
    border-radius: 12px;
    font-size: 24px;
    flex-shrink: 0;
}

.wqp-rec-category-info {
    flex: 1;
}

.wqp-rec-category-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--wqp-text-muted) !important;
    margin: 0 0 4px;
}

.wqp-rec-category-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
}

/* Change Button */
.wqp-rec-change-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--wqp-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wqp-transition);
}

.wqp-rec-change-btn:hover {
    background: var(--wqp-primary);
    border-color: var(--wqp-primary);
    color: white;
}

.wqp-rec-change-btn.active {
    background: var(--wqp-primary);
    border-color: var(--wqp-primary);
    color: white;
}

.wqp-change-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.wqp-rec-change-btn:hover .wqp-change-icon,
.wqp-rec-change-btn.active .wqp-change-icon {
    transform: rotate(180deg);
}

/* Selected Product Display */
.wqp-rec-selected-product {
    display: flex;
    align-items: center;
    gap: 20px;

    width: 100%;


}

.wqp-rec-selected-product-border {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    flex-direction: column;

    margin-top: 10px;
    background: var(--wqp-primary);
    border-radius: var(--wqp-radius-sm);
    border: 2px solid var(--wqp-primary);
}

.wqp-rec-product-thumb {
    width: 25%;
    height: 100%;
    background: var(--wqp-secondary-text-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.wqp-rec-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wqp-rec-thumb-placeholder {
    font-size: 36px;
    opacity: 0.5;
}

.wqp-rec-product-details {
    flex: 1;
    min-width: 0;
}

.wqp-rec-product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--wqp-text-main) !important;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wqp-rec-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--wqp-accent);
}

/* Quantity Wrapper */
.wqp-rec-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 30px;
}

.wqp-rec-qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wqp-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--wqp-transition);
}

.wqp-rec-qty-btn:hover {
    background: var(--wqp-primary-btn);
    transform: scale(1.1);
}

.wqp-rec-qty-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--wqp-text-main);
    min-width: 40px;
    text-align: center;
}

/* ===== Alternatives Panel ===== */
.wqp-rec-alternatives {
    margin-top: 16px;
    padding: 20px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--wqp-radius-sm);
    animation: wqp-fadeIn 0.3s ease;
}

@keyframes wqp-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.wqp-rec-alternatives-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--wqp-text-muted);
    font-size: 14px;
    font-weight: 600;
}

.wqp-rec-close-alternatives {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--wqp-text-muted);
    cursor: pointer;
    transition: var(--wqp-transition);
}

.wqp-rec-close-alternatives:hover {
    background: var(--wqp-error);
    color: white;
}

.wqp-rec-alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

/* Alternative Item */
.wqp-rec-alt-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--wqp-radius-sm);
    cursor: pointer;
    transition: var(--wqp-transition);
    text-align: center;
}

.wqp-rec-alt-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--wqp-primary);
    transform: translateY(-3px);
}

fieldset#shipping-option,
.wp-block-woocommerce-checkout-order-summary-shipping-block.wc-block-components-totals-wrapper {
    display: none;
}

.wqp-rec-alt-item.selected {
    /* background: rgba(0, 119, 182, 0.2); */
    border-color: var(--wqp-primary);
}

.wqp-rec-alt-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wqp-primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: var(--wqp-transition);
}

.wqp-rec-alt-item.selected .wqp-rec-alt-check {
    opacity: 1;
}

.wqp-rec-alt-image {
    width: 80%;
    /* height: 100%; */

    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: var(--wqp-secondary-text-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;


    overflow: hidden;
}

.wqp-rec-learn-more.avc-trigger-btn {
    margin-bottom: 5px;
}

.wqp-rec-alt-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wqp-rec-alt-image span {
    /* font-size: 32px; */
    color: var(--wqp-text-muted);
    opacity: 1;
}

.wqp-rec-alt-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wqp-rec-alt-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--wqp-text-main);
    line-height: 1.3;
}

.wqp-rec-alt-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--wqp-accent);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .wqp-rec-main-title {
        font-size: 24px;
    }

    .wqp-rec-category-header {
        flex-wrap: wrap;
    }

    .wqp-rec-change-btn {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .wqp-rec-product-price {
        margin-bottom: 0;
    }

    .wqp-rec-selected-product {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }

    .wqp-rec-product-details {
        width: 100%;
        text-align: center;
    }

    .wqp-rec-qty-wrapper {
        margin-top: 0px;
    }

    .wqp-rec-alternatives-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .wqp-rec-alt-image {
        width: 80%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .wqp-rec-category-card {
        padding: 16px;
    }

    .wqp-rec-alternatives-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wqp-rec-alt-item {
        padding: 12px 8px;
    }
}

/* ===== Dynamic Form Container ===== */
.wqp-form-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.wqp-form-loading,
.wqp-form-error {
    padding: 40px 20px;
}

.wqp-form-loading p,
.wqp-form-error p {
    margin-top: 16px;
    color: var(--wqp-text-muted);
}

.wqp-rendered-form {
    margin-top: 20px;
}

/* CF7, Gravity Forms, etc. integration */
.wqp-rendered-form form {
    margin: 0;
}

.wqp-rendered-form .wpcf7-form,
.wqp-rendered-form .gform_wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--wqp-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wqp-rendered-form input,
.wqp-rendered-form textarea,
.wqp-rendered-form select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    color: var(--wqp-text-main) !important;
    padding: 12px 16px !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    font-size: 16px !important;
}

.wqp-rendered-form input::placeholder,
.wqp-rendered-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.wqp-rendered-form input:focus,
.wqp-rendered-form textarea:focus,
.wqp-rendered-form select:focus {
    outline: none !important;
    border-color: var(--wqp-primary) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* .wqp-rendered-form button,
.wqp-rendered-form .gform_button {
    background: linear-gradient(135deg, var(--wqp-primary) 0%, var(--wqp-primary-hover) 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--wqp-transition) !important;
    width: 100% !important;
}

.wqp-rendered-form button:hover,
.wqp-rendered-form .gform_button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4) !important;
} */

/* CF7 Success/Error Messages */
.wqp-rendered-form .wpcf7-response-output {
    margin: 16px 0 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

.wqp-rendered-form .wpcf7-mail-sent-ok {
    background: rgba(16, 185, 129, 0.2) !important;
    border: 1px solid var(--wqp-success) !important;
    color: var(--wqp-success) !important;
}

.wqp-rendered-form .wpcf7-mail-sent-ng,
.wqp-rendered-form .wpcf7-validation-errors {
    background: rgba(239, 68, 68, 0.2) !important;
    border: 1px solid var(--wqp-error) !important;
    color: var(--wqp-error) !important;
}

/* ===== Accessories Selection Step ===== */
.wqp-accessories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.wqp-accessory-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    /* background: rgba(255, 255, 255, 0.08); */
    border: 2px solid var(--wqp-primary);
    border-radius: var(--wqp-radius);
    cursor: pointer;
    transition: var(--wqp-transition);
    backdrop-filter: blur(10px);
}

.wqp-accessory-item:hover {
    background: var(--wqp-primary);
    border-color: var(--wqp-primary);
}

.wqp-accessory-item.selected {
    background: var(--wqp-primary);
    border-color: var(--wqp-primary);
}

.wqp-accessory-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wqp-success);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: var(--wqp-transition);
}

.wqp-accessory-item.selected .wqp-accessory-check {
    opacity: 1;
}

.wqp-accessory-image {
    width: 45%;
    background: var(--wqp-secondary-text-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.wqp-accessory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.wqp-accessory-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wqp-accessory-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    color: var(--wqp-secondary-text-color);
}

.wqp-accessory-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--wqp-primary);
    line-height: 1.3;
}

.wqp-accessory-item:hover .wqp-accessory-name,
.wqp-accessory-item.selected .wqp-accessory-name {
    color: var(--wqp-text-muted) !important;
}

.wqp-accessory-info * {

    color: var(--wqp-secondary-text-color);
}

.wqp-accessory-desc {
    font-size: 12px;
    color: var(--wqp-secondary-text-color);
    line-height: 1.3;
}

.wqp-accessory-item.selected .wqp-accessory-desc {
    color: var(--wqp-success) !important;
}

.wqp-accessory-price {
    font-size: 13px;
    font-weight: 700;
    /* color: var(--wqp-accent); */
}

.wqp-accessory-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;

    background: var(--wqp-primary);

    border-radius: 8px;
    padding: 4px 8px;
    width: fit-content;
}

.wqp-accessory-item.selected .wqp-accessory-qty-wrapper {
    background: rgba(255, 255, 255, 0.08);
}

.wqp-accessory-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--wqp-text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: var(--wqp-transition);
}

.wqp-accessory-qty-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wqp-accessory-qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--wqp-text-main);
}

/* ===== Accessories on Recommendations Page ===== */
.wqp-rec-accessories-section {
    margin-top: 16px;
    padding-top: 16px;
}

.wqp-rec-accessories-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--wqp-text-main);
    margin: 0 0 12px 0;
}

.wqp-rec-accessory-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    margin-bottom: 10px;
    background: var(--wqp-primary);
    border-radius: var(--wqp-radius-sm);
    border: 2px solid var(--wqp-primary);
    width: 100%;
}

.wqp-rec-accessory-card .wqp-rec-product-thumb {
    width: 25%;
    height: 100%;
    background: var(--wqp-secondary-text-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.wqp-rec-accessory-card .wqp-rec-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wqp-rec-accessory-card .wqp-rec-product-details {
    flex: 1;
    min-width: 0;
}



@media (max-width: 768px) {
    .wqp-accessories-grid {
        grid-template-columns: 1fr;
    }

    .wqp-accessory-item {
        padding: 16px;
        gap: 12px;
    }

    .wqp-accessory-image {
        width: 35%;
    }

    .wqp-rec-accessory-card {
        gap: 12px;
        padding: 12px;
    }

    .wqp-rec-accessory-card .wqp-rec-product-thumb {
        width: 60px;
        height: 60px;
    }
}