/* Intro */
/* Intro Image */
div[oke-quiz][oke-channel-quiz-id='bbf37fc3-2916-494c-b2c8-038a815c277f'] .okeConnect.okeQuizzes.okeQuiz {
    .c-header--logo {
        border-width: 0;
        padding: 24px;
    }

    .c-header-image {
        border-width: 0;
        padding: 24px 0 24px 24px;
    }

    /* Intro Text */
    .c-startPanel {
        max-width: 744px;
        padding: 0;
    }

    .c-startPanel-title {
        font-family: 'InputMonoCondensed';
        line-height: 120%;
        text-transform: uppercase;
    }

    .c-startPanel-subtitle {
        margin: 0 auto 24px;
    }

    .c-questionNavigationButtons {
        border-width: 0;
        display: flex;
        padding: 0;
        flex-flow: column wrap;
    }

    .l-button-center--showBackButton.c-questionNavigationButtons--stacked.c-questionNavigationButtons--singleButton.l-button-center.c-questionNavigationButtons.l-button-center--withDivider.l-button-center--withProgressBar.l-button-center--withProgressText {
        gap: 16px;
    }

    .l-button-center--showBackButton.c-questionNavigationButtons--stacked.l-button-center.c-questionNavigationButtons.l-button-center--withDivider.l-button-center--withProgressBar.l-button-center--withProgressText {
        gap: 16px;
    }

    .c-startPanel-button.c-button {
        color: #fff;
        font-family: 'InputMonoCondensed';
        font-size: 0;
        font-weight: 300;
        margin: 0 auto;
        padding: 16px;
        max-width: 160px;
        text-transform: uppercase;
        width: 100%;

        &:after {
            background-image: unset;
            content: "Let's Go";
            font-size: var(--oke-quiz-button-font-size);
        }
    }

    /* Questions Image */
    .c-header-image {
        object-fit: contain !important;
        background-image: unset;
        display: block;
        margin: 0;
        padding: 0;
    }

    #question-2-image {
        display: none;
    }

    #question-3-image {
        content: url('/cdn/shop/files/okendo-styling-quiz-q3-desktop.png?v=1789446644');
    }

    #question-4-image {
        content: url('/cdn/shop/files/okendo-styling-quiz-q4-desktop.png?v=1789446644');
    }

    #question-5-image {
        content: url('/cdn/shop/files/okendo-styling-quiz-q5-desktop.png?v=1789446644');
    }

    /* Questions */
    .l-content {
        padding: 24px;
    }

    .c-pageContent .c-questionsForm {
        padding: 0;
    }

    .c-pageContent .c-questionsForm .c-questions {
        margin-bottom: 32px;
        max-width: 648px;
        padding: 0;
    }

    .c-pageContent .c-questions-header-title {
        line-height: 120%;
        margin-bottom: 8px;
    }

    .c-pageContent .c-questions-header-subtitle {
        line-height: 120%;
    }

    .c-questions-question {
        margin-top: 32px;
    }

    .c-questionContent {
        max-width: unset;
    }

    /* Error Text */
    .c-questions-error {
        font-size: 12px;
        margin-top: 24px;
    }

    .c-tagInput-container {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .c-tagInput-tag {
        padding: 0;
    }

    .c-tagInput-label {
        flex-direction: column;
        gap: 24px;
        margin: 0;
        padding: 16px;
        text-align: center;
        max-width: unset;
        width: 100%;
    }

    .c-tagInput-label-image {
        border-width: 0;
        margin: 0;
        object-fit: contain;
        /* height: 100% !important; */
        max-width: 100%;
        /* width: 100% !important; */
    }

    .c-tagInput-label-text {
        padding: 0;
        text-align: center;
        text-transform: unset;
    }

    .c-tagInput-container--tags .c-tagInput-input:checked + .c-tagInput-label,
    .c-tagInput-container--tags .c-tagInput-label:hover {
        border-color: #815d36;
    }

    /* Question Specific Changes */
    .c-pageContent .c-questionsForm fieldset[aria-label='How Thick is Your Hair Strand?'].c-questions {
        max-width: 1200px;

        .c-tagInput-tag {
            width: auto;
        }

        .c-tagInput-label {
            border-width: 0;
            text-transform: uppercase;
            width: unset;
        }
    }

    /* Question Specific Changes */
    .c-pageContent .c-questionsForm fieldset[aria-label='Describe Your Hair Type'].c-questions {
        max-width: 1200px;

        .c-tagInput-tag {
            width: auto;
        }

        .c-tagInput-label {
            border-width: 0;
            gap: 0;
            justify-content: flex-start;
            width: unset;
        }

        .c-tagInput-label-text {
            font-weight: 500;
            margin-top: 24px;
            text-transform: none;
        }

        label:after {
            display: block;
            font-weight: 500;
            text-transform: none;
            width: 100%;
            max-width: 154px;
        }

        label[for='singleTag-d4524642-08cb-4de0-a572-dd5951930399-0']:after {
            content: 'straight from root to tip';
        }

        label[for='singleTag-d4524642-08cb-4de0-a572-dd5951930399-1']:after {
            content: 'slight bend in the midshaft to ends, resembles an “S” shape';
        }

        label[for='singleTag-d4524642-08cb-4de0-a572-dd5951930399-2']:after {
            content: 'has a spiral definition or strong “S” pattern';
        }

        label[for='singleTag-d4524642-08cb-4de0-a572-dd5951930399-3']:after {
            content: 'a more intense “C” shape and tight spiral';
        }

        label[for='singleTag-d4524642-08cb-4de0-a572-dd5951930399-4']:after {
            content: 'when stretched, they resemble a or zig-zag pattern';
        }
    }

    /* Q: Email */
    fieldset[aria-label="What's your email address?"] .c-questions-header-subtitle {
        font-size: 0;

        &:after {
            content: 'Optional';
            display: block;
            font-size: var(--oke-quiz-subtitle-font-size);
            line-height: 1;
        }
    }

    .c-input,
    .c-input:hover {
        background: transparent;
        border-width: 0 0 1px;
        padding: 0;
    }

    .c-input:focus {
        box-shadow: none;
        outline: 0;
        border: 1px solid #2b2829;
        border-radius: var(--oke-quiz-question-text-field-focus-border-radius);
        border-width: 0 0 1px;
    }

    .c-checkbox {
        margin-top: 24px;
    }

    .c-checkbox-inner {
        width: 16px;
        height: 16px;
    }

    .c-checkbox-bg {
        border-radius: 0;
        width: 16px;
        height: 16px;
    }

    .c-checkbox-check {
        width: 16px;
        height: 16px;
    }

    .c-questionsForm .c-terms {
        font-size: 12px;
        margin: 0 auto 32px;
        padding: 0;
    }

    .c-questionsForm .c-terms a {
        text-decoration: underline;
    }

    /* Nav */
    .l-button-holder {
        flex-flow: row wrap;
        row-gap: 16px;
        justify-content: unset;
        max-width: 1200px;
        width: 100%;
    }

    .c-questionNavigationButtons--singleButton .l-button-holder {
        justify-content: center;
    }

    /* Back */
    .c-questionNavigationButtons-left {
        flex-grow: unset;
        order: 2;
    }

    .c-questionsForm-back {
        box-shadow: unset;
    }

    /* Single Button Only */
    .c-questionNavigationButtons--singleButton .c-questionNavigationButtons-left {
        justify-self: right;
        flex-grow: unset;
    }

    .c-questionsForm .c-button {
        background-color: transparent;
        border-width: 0;
        color: #2b2829;
        display: inline-flex;
        gap: 0;
        padding: 0;
        flex-wrap: nowrap;
        align-items: center;
    }

    .c-questionsForm .c-questionsForm-back.c-button:before {
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0704 16.8906L6 11.8202L11.0704 6.74978M6 11.8202H18' stroke='%232B2829'/%3E%3C/svg%3E%0A");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        content: '';
        display: inline-block;
        height: 24px;
        width: 24px;
        margin-right: 0;
    }

    /* Button States Removed */
    .c-questionsForm .c-button:hover,
    .c-questionsForm .l-button-center--showBackButton .c-questionsForm-back:not(:hover),
    .c-questionsForm .c-button:focus-visible,
    .c-questionsForm .c-button:active {
        background-color: transparent;
        border-color: #e2d9c7;
        box-shadow: unset;
        color: #2b2829;
        font-size: 0;
    }

    /* Next */
    .c-questionNavigationButtons-right {
        display: inline-block;
        flex-grow: unset;
        margin: 0 0 0 auto;
        order: 3;
        /* width: 100%; */
    }

    .c-questionsForm-next.c-button {
        font-size: 0;
        padding: 0;
    }

    .c-button.c-questionsForm-next:after {
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0704 16.8906L6 11.8202L11.0704 6.74978M6 11.8202H18' stroke='%232B2829'/%3E%3C/svg%3E%0A");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        content: '';
        display: inline-block;
        height: 24px;
        width: 24px;
        transform: rotate(180deg);
    }

    /* Progress Bar */
    .c-questionNavigationButtons-content--between {
        flex-basis: 100%;
        margin-top: 8px;
        order: 1;
        width: 100%;
    }

    /* Progress Bar - Mobile */
    .c-questionNavigationButtons-content.c-questionNavigationButtons-content--below {
        order: -1;
        margin-top: 0;
        width: 100%;
    }

    .c-progressBar:not(.c-progressBar--bar-long) {
        border: 0;
        border-radius: 0;
        height: 4px;
        width: 100%;
        max-width: unset;
        margin-bottom: 10px;
        margin-top: 0;
        order: -1;
    }

    .c-progressBar-progress {
        border-radius: 0;
    }

    .c-progressText {
        color: #2b2829;
        font-size: 14px;
        font-weight: 350;
        line-height: 120%;
        margin-bottom: 0;
        text-transform: lowercase;
    }

    @media (min-width: 769px) {
        .c-header--logo {
            padding: 0;
        }

        .c-header-image {
            padding: 50px 0 50px 48px;
        }

        .c-startPanel-title {
            font-size: 40px;
        }

        .l-content {
            padding: 48px;
        }

        .c-pageContent .c-questions-header-title {
            font-size: 24px;
        }
    }

    @media all and (max-width: 470px) {
        .c-header--withDivider.c-header--alignedLeft {
            padding: 0 24px;
        }

        .c-header-image {
            content: url('/cdn/shop/files/okendo-styling-quiz-intro-mobile.png?v=1789446644');
        }

        #question-3-image {
            content: url('/cdn/shop/files/okendo-styling-quiz-q3-mobile.png?v=1789446644');
        }

        #question-4-image {
            content: url('/cdn/shop/files/okendo-styling-quiz-q4-mobile.png?v=1789446644');
        }

        #question-5-image {
            content: url('/cdn/shop/files/okendo-styling-quiz-q5-mobile.png?v=1789446644');
        }

        .l-content {
            padding: 24px;
        }

        .c-pageContent .c-questionsForm fieldset[aria-label='Describe Your Hair Type'].c-questions {
            .c-tagInput-tag {
                flex-basis: 48%;
            }

            .c-tagInput-label-text {
                margin-top: 0;
            }
        }
    }
}

#oke-star-filled path {
    fill: #2b2829;
}

/* Recommendations / Result Page */
div[oke-quiz][oke-channel-quiz-id='bbf37fc3-2916-494c-b2c8-038a815c277f'] .okeConnect.okeQuizzes.okeQuiz {
    .c-resultPanel-section {
        border-width: 0;
    }

    .c-resultPanel-footer {
        padding: 0 0 32px;
    }

    /* Recommendations */
    .c-icon.c-resultButton-icon {
        display: none;
    }

    .c-resultBlock-title.c-title {
        font-family: 'InputMonoCondensed';
        font-size: 32px;
        line-height: 120%;
        padding-bottom: 20px;
        text-align: center;
        text-transform: uppercase;
    }

    .l-products {
        gap: 48px;
        margin: 0;
    }

    .l-productRow--grid.l-productRow {
        gap: 1rem;
        margin-bottom: 32px;
        padding: 24px;

        &:last-of-type {
            border: 1px solid #2b2829;
        }
    }

    .l-productRow-item:empty {
        display: none !important;
    }

    .c-recommendedProduct-detail {
        gap: 24px;
        padding-left: 0;
        padding-right: 0;
    }

    .c-recommendedProduct-nameAndPrice {
        align-items: flex-start;
        gap: 4px;
        margin-top: 24px;
    }

    .c-recommendedProduct .c-recommendedProduct-name {
        font-family: 'InputMonoCondensed';
        font-size: 24px;
        font-weight: 300;
        line-height: 120%;
        margin: 0;
        text-align: left;
        text-transform: uppercase;
    }

    .c-recommendedProduct .c-recommendedProduct-price {
        font-family: 'InputMonoCondensed';
        font-size: 20px;
        font-weight: 300;
        margin: 0;
        text-align: center;
    }

    .c-resultProductRating {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .c-recommendedProduct-rating {
        line-height: 1;
        margin-top: 15px;
        text-align: center;
    }

    .c-resultProductRating-reviewsCount {
        display: inline;
        font-size: 14px;
        font-weight: 300;
        margin: 1px 0 0;
    }

    .c-recommendedProduct .c-resultProductRating svg {
        height: 18px;
    }

    .c-variantSelector-optionList {
        margin-bottom: 0;
    }

    .c-recommendedProduct-sellingPlans-planGroups label {
        border-color: #2b2829;
        padding: 15px;
        padding-right: 16px;
        padding-left: 40px;
    }

    .c-recommendedProduct-sellingPlans-planGroups label:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .c-recommendedProduct-sellingPlans-planGroups label:last-child {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .c-recommendedProduct-description {
        line-height: normal;
    }

    .c-resultPanel-sections {
        max-width: 1440px;
    }

    .c-resultPanel-section:not(.c-resultPanel-footer) {
        border-width: 0;
        padding: 24px 0 32px;
    }

    .c-resultBlock--compact {
        padding: 0;
    }

    .c-resultPanel-section {
        padding-top: 0;
    }

    .c-resultPanel-section .c-recommendedProduct-ctas {
        margin-top: auto;
        width: 100%;
    }

    .c-resultPanel-section .c-button,
    .c-resultButton-primary.c-button.c-resultButton.c-addToCart {
        font-family: 'InputMonoCondensed';
        font-weight: 300;
        height: auto;
        padding: 19px 24px;
        width: 100% !important;
    }

    .c-resultPanel-section .c-button:before {
        display: none;
    }

    .c-resultPanel-section .c-button span,
    .c-resultPanel-section .c-button:hover,
    .c-resultPanel-section .c-button:not(:hover),
    .c-resultPanel-section .c-button:focus-visible,
    .c-resultPanel-section .c-button:active {
        box-shadow: unset;
        outline: 0;
    }

    .c-resultPanel-footer .c-resultButton.c-resultButton-primary {
        width: 100% !important;
    }

    @media all and (min-width: 769px) {
        .c-resultPanel-section:not(.c-resultPanel-footer) {
            padding: 48px 100px;
        }

        .c-resultPanel-footer {
            padding: 0 24px 32px;
        }

        .c-resultBlock-title.c-title {
            font-size: 40px;
            font-weight: 300;
            padding-bottom: 30px;
        }

        .l-products {
            gap: 48px;
        }

        .l-productRow--grid.l-productRow {
            margin-bottom: 48px;
            padding: 48px;

            &:last-of-type {
                margin-bottom: 0;
            }
        }

        .c-resultButton.c-resultButton-primary,
        .c-resultPanel-section.c-resultPanel-footer .c-button {
            max-width: 372px;
            min-width: 330px;
            width: 100% !important;
        }
    }

    @media all and (min-width: 450px) {
        .l-productRow {
            flex-direction: row;
        }
    }

    @media all and (max-width: 450px) {
        .l-productRow-item {
            max-width: unset;
            width: 100% !important;
        }
    }
}

div.okeConnect.okeQuizzes .c-bubbleCard {
    width: auto;
}