* {
    direction: rtl;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

body {
    background-color: #6b702e;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
.user-preferences-form-container button:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed !important;
}
.user-preferences-form-container {
    width: 80%;
    margin: 50px auto;
}
::-webkit-scrollbar {
    width: 7px !important;
}
::-webkit-scrollbar-track {
    background: #f1d9ca !important;
}
::-webkit-scrollbar-thumb {
    background: #dd7239cd !important;
}
::-webkit-scrollbar-thumb:hover {
    background: #dd7239 !important;
}
.intro {
    /* min-width: 100vw; */
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    background: #6b702e;
}
.intro .intro-logo img {
    max-width: 240px;
}
/* .intro .intro-image {
     flex-shrink: 0;
    width: calc(50% - 15px);
    max-width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}
.intro .intro-image img {
    width: 100%;
    height: 100%;
}  */
.intro .intro-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(50% - 15px);
    flex-grow: 1;
}
.intro .intro-text.hidden {
    display: none;
}
.intro .intro-text .text-bold-light {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
}
.intro .intro-text .text-bold-dark {
    color: #fff;
    font-size: 20px;
}
.intro .intro-text .text-normal-dark {
    color: #fff;
    font-size: 18px;
}
.intro .intro-text .text-white {
    color: white;
}
.intro .intro-text .start-quiz {
    width: fit-content;
    min-width: 200px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 50px;
    margin-top: 15px;
    background-color: #6b702e;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid #000;
    font-size: 18px;
    border-radius: 9px;
    transition: 0.3s;
}
.intro .intro-text .start-quiz.hidden {
    display: none;
}
.intro .intro-text .start-quiz:hover {
    box-shadow: 0 0 10px 0 #88903c;
}

.intro .intro-text .start-quiz.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.main-heading {
    font-size: 50px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}
.main-heading.hidden {
    display: none;
}
.gender-selection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    user-select: none;
}
.gender-selection.hidden {
    display: none;
}
.gender-selection h2 {
    font-size: 40px;
    text-align: center;
    color: #d46529;
    margin-bottom: 10px;
}
.gender-options {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
}
.gender-options .gender {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 25%;
    min-width: 100px;
    cursor: pointer;
}
.gender-options .img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 2px solid #dd7339;
    border-radius: 25px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: 0.3s;
}
.gender-options .gender.selected .img-wrapper {
    filter: unset;
}
.gender-options .img-wrapper img {
    width: 80%;
}
.gender-options span {
    text-align: center;
    color: #351a0b;
    font-size: 25px;
    font-weight: bold;
}
.gender-selection .show-form {
    width: fit-content;
    min-width: 300px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 50px;
    margin-top: 25px;
    background-color: #dd7339;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid #dd7339;
    font-size: 18px;
    border-radius: 9px;
    transition: 0.3s;
}
.gender-selection .show-form.hidden {
    display: none;
}
.gender-selection .show-form:hover {
    color: #dd7339;
    background-color: #fff;
}
.multistep-form-wrapper {
    opacity: 1;
    width: 100%;
    margin: 0 auto;
    max-width: 900px;
    transition: 0.3s;
    user-select: none;
}
.switch-effect {
    opacity: 0;
}
.hidden {
    display: none;
}
.back-to-gender-selection {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: end;
    color: #dd7239;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}
.back-to-gender-selection svg {
    padding-inline-start: 2px;
    width: 10px;
    height: 10px;
}
.back-to-gender-selection svg path {
    fill: #fff;
}
.steps-header {
    margin: 0 0 5px;
    padding: 15px 5px;
    border: 1px solid #000;
    border-radius: 12px;
}
.steps-header .steps-wrapper {
    width: fit-content;
    margin: 0 auto;
    display: flex;
}
.steps-header .steps-wrapper .step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 25px;
    /* cursor: pointer; */
}
/* .steps-header .steps-wrapper .step.active {
    cursor: initial;
} */
.steps-header .steps-wrapper .step:not(:last-of-type)::after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    background-color: #000;
    border-radius: 2px;
}
.steps-header .steps-wrapper .step .step-icon svg {
    width: 22px;
    height: 22px;
}
.steps-header .steps-wrapper .step .step-icon svg path {
    fill: #f6945fb3;
}
.steps-header .steps-wrapper .step .step-icon {
    color: #fff;
}
.steps-header .steps-wrapper .step.active .step-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #6b702e;
    border: 1px solid #000;
    border-radius: 50%;
}
.steps-header .steps-wrapper .step.active .step-icon svg path {
    fill: #fff;
}
.steps-header .steps-wrapper .step .step-desc {
    display: none;
}
.steps-header .steps-wrapper .step .step-desc .step-num {
    font-size: 15px;
    color: #fff;
}
.steps-header .steps-wrapper .step .step-desc .step-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
.steps-header .steps-wrapper .step.active .step-desc {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.form-container {
    padding: 50px 0;
    transition: 0.5s;
}
.form-step {
    display: none;
}
.form-step.active {
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.question-wrapper {
    width: 100%;
}
.question-wrapper .question {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 25px;
}
.question-wrapper .answers-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.question-wrapper .answers-wrapper .answer-wrapper {
    overflow: hidden;
    width: 100%;
    border: 2px solid #000;
    background-color: #6b702e;
    border-radius: 15px;
    transition: 0.2s;
}
.question-wrapper .answers-wrapper .answer-wrapper:hover {
    box-shadow: 0 0 10px 0 #88903c;
}
.question-wrapper .answers-wrapper .answer-wrapper label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    cursor: pointer;
}
.question-wrapper .answers-wrapper .answer-wrapper .answer {
    color: #fff;
    font-size: 21px;
    text-align: center;
    font-weight: bold;
}
.question-wrapper .answers-wrapper .answer-wrapper .answer-desc {
    text-align: center;
    color: #fff;
    font-size: 18px;
    text-align: center;
}
.question-wrapper .answer-wrapper .answer-img {
    width: 100px;
    height: 100px;
}
.question-wrapper .answer-wrapper .answer-img img {
    width: 100%;
    height: 100%;
}
.question-wrapper .answer-wrapper .answer-inp {
    display: none;
}
.question-wrapper .answers-wrapper .answer-wrapper.selected {
    border: 2px solid #000;
    background-color: #88903c;
}
.form-container .buttons-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 50px 0 0;
}
.form-container .buttons-wrapper .move-to-next-step-btn,
.form-container .buttons-wrapper .submit-form-btn {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px 25px;
    color: white;
    background-color: #6b702e;
    border: 1px solid #000;
    font-size: 18px;
    border-radius: 9px;
}

.form-container .buttons-wrapper .move-to-next-step-btn:hover,
.form-container .buttons-wrapper .submit-form-btn:hover {
    box-shadow: 0 0 10px 0 #88903c;
}

.form-container .buttons-wrapper .submit-form-btn {
    padding: 10px 40px;
    font-weight: 20px;
}
.form-container .buttons-wrapper .back-to-prev-step-btn {
    font-size: 17px;
    color: #fff;
    background-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.form-container .buttons-wrapper.no-prev .back-to-prev-step-btn {
    display: none;
}
.form-container .buttons-wrapper .move-to-next-step-btn.hidden,
.form-container .buttons-wrapper .submit-form-btn.hidden {
    display: none !important;
}
.preferences-test-done {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 25px;
    box-shadow: 0 0 10px 0 #88903c;
    border-radius: 25px;
    transition: 0.5s;
}
.preferences-test-done.hidden {
    display: none;
}
.preferences-test-done .result-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.result-title {
    font-size: 35px;
    text-align: center;
    font-weight: bold;
    color: #fff;
}
.products-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.product-wrapper {
    /* width: calc((100% - 40px) / 2); */
    display: flex;
    align-items: center;
    gap: 20px;
}
.product-wrapper .product-img {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 5px 0 #a15e3a5c;
    flex-shrink: 0;
}
.product-wrapper .product-img img {
    width: 100%;
    height: 100%;
}
.product-wrapper .links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
}
.product-wrapper .product-title {
    color: #fff;
    font-weight: bold;
    font-size: 27px;
}
.product-wrapper .product-desc {
    color: #fff;
    font-size: 16px;
}

.product-wrapper .discount-code {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin: 1rem 0;
}
.product-wrapper .links-wrapper .see-more {
    font-size: 19px;
    color: #fff;
    background-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.preferences-test-done .start-over {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 50px;
    margin-top: 15px;
    background-color: #6b702eff;
    color: #fff;
    border: 1px solid #000;
    font-size: 18px;
    border-radius: 9px;
    transition: 0.3s;
}
.preferences-test-done .start-over:hover {
    color: #fff;
    background-color: transparent;
    box-shadow: 0 0 10px 0 #88903c;
}
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader svg path {
    fill: #6b702e;
}
.spin {
    animation: spinLoader 2s infinite linear;
    -webkit-animation: spinLoader 2s infinite linear;
}
.animate {
    animation: swing 1s ease;
    -webkit-animation: swing 1s ease;
}

.intro-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease-in-out;
}
.intro-loader.hide {
    opacity: 0;
    pointer-events: none;
}
.intro-loader .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #88903c;
    animation: spin 1s infinite linear;
}
@keyframes swing {
    15% {
        transform: translateX(5px);
    }
    30% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(2.5px);
    }
    65% {
        transform: translateX(-2.5px);
    }
    80% {
        transform: translateX(2.5px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes spinLoader {
    0% {
        transform: rotate(0);
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}
