:root {
    --primary-color: #4D4645;
    --warm-sand: #CAC0B0;
    --warm-cream: #E9E4D6;
    --warm-khaki: #998B70;
    --warm-khaki-dark: #8C826A;
    --warm-mist: #EFE5E1;
    --warm-divider: #D6CCCA;
    --error: #D9523F;
    --main-bg: linear-gradient(132.05deg, #F4EEE5 0%, #EBD9C4 95.17%);
    --br: 4px;
    --shadow: 0 4px 20px 0 #00000012
}

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth
}

body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--primary-color);
    background-color: #F4EEE5 ;
    background-image: var(--main-bg)
}

section:not(:first-of-type) {
    padding-top: 132px
}

p {
    line-height: 1
}

img {
    border-radius: 4px
}

h2 {
    line-height: 1;
    font-size: 58px;
    font-family: 'Playfair Display', sans-serif
}

h3 {
    font-size: 36px;
    line-height: 1;
    font-family: 'Playfair Display', sans-serif
}

h4 {
    font-size: 24px
}

h5 {
    font-size: 24px
}

.body-overflow {
    overflow: hidden
}

.main {
    flex-grow: 1;
    padding-bottom: 66px;
    overflow: hidden
}

.mb {
    margin-bottom: 50px
}

.ls {
    letter-spacing: -.05em
}

.p-20 {
    font-size: 20px
}

.p-24 {
    font-size: 24px
}

.title--center {
    text-align: center
}

.pt-m {
    padding-top: 80px
}

.text-playfair {
    color: var(--warm-khaki);
    font-family: 'Playfair Display', sans-serif;
    font-weight: 600
}

.container {
    width: 100%;
    max-width: 1584px;
    padding: 0 32px;
    margin: 0 auto
}

.box {
    padding: 20px;
    box-shadow: var(--shadow);
    border-radius: var(--br)
}

.header__content {
    height: 104px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 20
}

.header__menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px
}

.header__nav, .header__actions {
    display: flex;
    gap: 32px
}

.header__link--active {
    font-weight: 700;
    color: var(--warm-khaki)
}

.header__right {
    display: flex;
    gap: 20px
}

.header__lang {
    position: relative
}

.header__lang-button {
    color: var(--warm-sand);
    display: flex;
    gap: 4px;
    align-items: center
}

.header__lang-flag {
    margin-left: 4px
}

.header__lang-list {
    display: none;
    position: absolute;
    top: 102%;
    left: 10px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    background: var(--main-bg)
}

.header__lang-button--active + .header__lang-list {
    display: block
}

.header__lang-list-button {
    padding: 5px 10px
}

.header__mobile {
    display: none
}

.logo {
    font-family: 'Playfair Display', sans-serif;
    font-size: 28px;
    font-weight: 600
}

.login {
    padding: 66px 128px
}

.top {
    height: calc(100vh - 104px);
    background: url(../images/top-bg.jpg) no-repeat center / cover;
    position: relative;
    overflow: hidden
}

.top__content {
    position: absolute;
    width: 740px;
    height: 740px;
    bottom: -248px;
    background-color: color-mix(in srgb, var(--warm-mist) 57%, transparent);
    z-index: 2;
    left: 51%;
    transform: translateX(-50%);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    text-align: center;
    padding: 118px 30px 0
}

.top__title {
    font-size: 78px;
    line-height: 1;
    font-family: 'Playfair Display', sans-serif
}

.top__title span {
    font-style: italic;
    display: block
}

.top__text {
    line-height: 1.2;
    margin: 15px 0 30px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0 40px;
    height: 62px;
    border-radius: var(--br);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    background: linear-gradient(142deg, #998b70 0%, #877e68 100%);
    color: var(--warm-cream)
}

.button--ghost {
    background: #fff0;
    color: var(--warm-khaki);
    border: 1px solid var(--warm-khaki)
}

.button--light {
    color: var(--warm-khaki-dark);
    background: linear-gradient(142deg, #e9e4d6 0%, #dbd4be 100%)
}

.button--small {
    font-size: 18px;
    height: 39px;
    padding: 0 24px
}

.how-it-works__top {
    text-align: center
}

.how-it-works__minutes {
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--warm-sand)
}

.how-it-works__list {
    display: flex;
    gap: 40px 91px;
    list-style: none
}

.how-it-works__item {
    flex-grow: 1;
    counter-increment: counter
}

.how-it-works__item::before {
    content: "0" counter(counter);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--warm-cream);
    background: linear-gradient(91.57deg, #998B70 -.72%, #877E68 100%)
}

.how-it-works__wrapper {
    position: relative
}

.how-it-works__line {
    position: absolute;
    top: 36px;
    left: -100%;
    right: -100%;
    height: 1px;
    z-index: -1;
    background-color: var(--warm-divider)
}

.how-it-works__item-title {
    margin: 32px 0 20px
}

.how-it-works__text span {
    display: inline-block;
    width: 48px
}

.results__inner {
    display: grid;
    align-items: center;
    gap: 50px 20px;
    grid-template-columns:auto auto;
    justify-content: space-between
}

.results__list {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px
}

.results__item {
    box-shadow: var(--shadow);
    border-radius: var(--br)
}

.results__img {
    width: 100%
}

.results__item-title {
    letter-spacing: -.05em
}

.results__item-wrapper {
    padding: 20px
}

.results__item-link {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.results__item-text {
    margin: 30px 0 12px;
    font-style: italic
}

.results__item-bottom {
    text-align: end;
    font-size: 16px;
    font-weight: 500;
    color: var(--warm-sand)
}

.results__button {
    margin-left: auto
}

.why-us__list {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px
}

.circle {
    display: block;
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    background-color: var(--warm-khaki);
    border-radius: 50%
}

.why-us__item-circle {
    margin-left: auto;
    margin-bottom: 64px
}

.why-us__item-title {
    color: var(--warm-khaki);
    margin-bottom: 20px
}

.begin {
    padding-bottom: 66px
}

.begin__banner {
    padding: 200px 87px 144px;
    background: url(../images/begin-bg.jpg) no-repeat center / cover;
    border-radius: var(--br)
}

.begin__text {
    max-width: 410px;
    margin: 32px 0
}

.overlay {
    position: fixed;
    height: 100dvh;
    backdrop-filter: blur(9px);
    inset: 0;
    background: rgb(10 10 10 / .44);
    z-index: 30;
    overflow-y: auto;
    display: none;
    padding: 50px 32px
}

.overlay--active {
    display: flex
}

.modal {
    display: none;
    margin: auto;
    background: var(--warm-mist);
    border-radius: 4px;
    opacity: 0;
    transform: scale(.7);
    transition: opacity 0.2s ease, transform 0.2s ease;
    position: relative
}

.modal .modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px
}

.modal--active {
    display: block
}

.modal--showed {
    opacity: 1;
    transform: scale(1)
}

.login, .register {
    padding: 66px 122px;
    max-width: 750px;
    width: 100%
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px
}

.modal-form__button {
    margin-top: 12px
}

.error-text {
    color: var(--error);
    font-size: 24px
}

.error-text span {
    font-weight: 700
}

.modal-form__error {
    text-align: center
}

.modal-form__error--active {
    display: block
}

.login button, .register button {
    width: 100%
}

.input {
    width: 100%;
    height: 61px;
    padding: 0 20px;
    border-radius: 4px;
    border: 1px solid var(--warm-sand);
    font-family: 'Montserrat', sans-serif
}

.input::placeholder {
    color: var(--warm-sand)
}

.register__question {
    margin: 40px 0 12px;
    font-size: 24px;
    text-align: center
}

.register__login {
    margin-bottom: 32px
}

.quiz__passed-text {
    font-weight: 500;
    color: var(--warm-sand)
}

.quiz__steps {
    display: flex;
    gap: 12px
}

.quiz__steps-current {
    color: var(--warm-khaki)
}

.quiz__steps-line {
    height: 3px;
    background-color: var(--warm-sand);
    position: relative
}

.quiz__steps-line-active {
    position: absolute;
    transition: .3s ease-in width;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: var(--warm-khaki)
}

.quiz__answers {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px
}

.quiz__answer {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: start
}

.quiz__check {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: var(--warm-sand)
}

.quiz__answer:hover .quiz__check {
    background-color: var(--warm-khaki)
}

.quiz__ok {
    margin-top: 32px
}

.unique-testing {
    padding-top: 127px
}

.unique-testing__inner {
    display: grid;
    gap: 20px;
    grid-template-rows:repeat(2, auto);
    grid-template-columns:repeat(2, 1fr)
}

.unique-testing__text {
    max-width: 627px;
    margin-top: 32px;
    letter-spacing: -.05em
}

.unique-testing__img {
    height: 100%;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    object-fit: cover
}

.unique-testing__quiz {
    padding: 32px 50px;
    min-height: 518px
}

.unique-testing__quiz-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-bottom: 70px
}

.unique-testing__quiz-line {
    position: absolute;
    left: -50px;
    right: 0;
    bottom: 48px
}

.unique-testing__img-m {
    display: none
}

.quiz__answers + .unique-testing__quiz-bottom {
    margin-top: 49px;
    padding-top: 32px;
    border-top: 1px solid var(--warm-sand)
}

.pricing__list {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    margin-top: 71px;
    gap: 42px 19px;
    list-style: none
}

.pricing__item {
    counter-increment: counter;
    position: relative;
    padding: 59px 64px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 554px
}

.pricing__item::before {
    content: '0' counter(counter);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 600;
    color: var(--warm-cream);
    background: linear-gradient(91.57deg, #998B70 -.72%, #877E68 100%)
}

.pricing__item--premium {
    background: linear-gradient(142deg, #998b70 0%, #877e68 100%);
    color: var(--warm-cream)
}

.pricing__item--premium::before {
    background: linear-gradient(170.25deg, #998B70 -34.63%, #E9E4D6 50.83%);
    color: var(--warm-khaki-dark)
}

.pricing__points {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px
}

.pricing__point {
    line-height: 1
}

.pricing__point-circle {
    width: 12px;
    height: 12px;
    margin: 0 auto 8px
}

.pricing__item--premium .pricing__point-circle {
    background-color: var(--warm-cream)
}

.pricing__item-bottom {
    margin-top: 42px
}

.pricing__price {
    color: var(--warm-khaki);
    font-weight: 600;
    margin-bottom: 20px
}

.pricing__item--premium .pricing__price {
    color: var(--warm-cream)
}

.pricing__item-plan {
    letter-spacing: -.05em;
    margin-top: auto;
    color: var(--warm-sand)
}

.pricing__button {
    width: 100%
}

.account {
    padding: 46px 0 66px;
    flex-grow: 1;
    overflow: hidden
}

.account__banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 290px;
    z-index: 3;
    background: url(../images/banner.jpg) no-repeat center / cover
}

.account__content {
    display: grid;
    grid-template-columns:264px 1fr;
    position: relative;
    z-index: 5;
    gap: 32px 64px
}

.account__content > div:nth-child(n+3) {
    grid-column: 1 / 3
}

.account__sidebar {
    display: flex;
    flex-direction: column
}

.account__right {
    padding-top: 34px
}

.account__tabs, .account__thumbnails {
    max-width: calc(100dvw - 398px);
    margin: 78px 0 20px;
    padding-bottom: 24.5px;
    border-bottom: 1px solid var(--warm-divider)
}

.account__overlay {
    display: none
}

.account__step-title {
    margin-bottom: 26px
}

.user {
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.user__img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 13px
}

.user__block {
    flex-grow: 1;
    max-height: 550px;
    min-height: 465px
}

.user--h-fixed .user__block {
    max-height: 465px
}

.user__text {
    margin-top: 20px;
    font-family: "Parisienne", sans-serif;
    color: dimgray
}

.user__nav {
    margin-top: 38px;
    display: flex;
    flex-direction: column
}

.user__profile {
    margin-top: 55px
}

.user__profile--active {
    font-weight: 700
}

.user__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--warm-divider);
    --arrow-right-color: var(--warm-sand);
    letter-spacing: -.05em
}

.user__link--active {
    --arrow-right-color: var(--primary-color);
    --arrow-right-width: 2px;
    font-weight: 600
}

.user__name {
    font-size: 32px
}

.user__button, .user__button-close {
    display: none
}

.tabs, .thumbnails {
    margin-bottom: 32px;
    overflow-x: auto;
    gap: 32px;
    display: flex;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.thumbnails {
    gap: 12px
}

.thumbnails svg {
    flex-shrink: 0;
    --arrow-right-width: 2px
}

.tabs::-webkit-scrollbar, .thumbnails::-webkit-scrollbar {
    display: none
}

.thumbnails__item, .tabs__item {
    font-size: 20px;
    font-weight: 500;
    color: var(--warm-sand);
    text-wrap: nowrap
}

.tabs__item {
    padding-bottom: 2px;
    border-bottom: 1px solid #fff0
}

.thumbnails__item--active, .tabs__item--active {
    color: var(--warm-khaki);
    font-weight: 600
}

.tabs__item--active {
    border-bottom: 1px solid var(--warm-khaki)
}

.tabs-panel {
    display: none
}

.tabs-panel--active {
    display: block
}

.my-person__top {
    display: flex;
    gap: 40px;
    align-items: center;
    padding-top: 16px
}

.my-person__title, .my-person__primary-title {
    font-family: 'Playfair Display', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 12px;
    line-height: 1
}

.my-person__title {
    color: var(--warm-khaki);
    align-items: center
}

.my-person__title-khaki {
    color: var(--warm-khaki);
    font-size: 36px
}

.my-person__percent {
    margin-top: 12px;
    color: var(--warm-sand);
    font-weight: 500
}

.my-person__main-text {
    margin: 18px 0 52px;
    line-height: 1.2;
    letter-spacing: -.04em
}

.my-person__wrapper-bottom {
    display: flex;
    align-items: center;
    gap: 32px 42px;
    justify-content: space-between
}

.my-person__wrapper-bottom .button {
    min-width: 253px
}

.my-person__bottom-text span {
    font-size: 18px;
    display: block;
    margin-top: 5px
}

.my-person__boxes {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 20px
}

.my-person__list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.my-person__item span {
    font-weight: 700
}

.my-person__button, .basic-style__button {
    margin: 32px auto 0;
    display: flex
}

.questions {
    max-width: 1264px;
    width: 100%;
    padding: 32px
}

.questions__top {
    padding: 20px 0;
    border-top: var(--warm-divider) 1px solid;
    border-bottom: var(--warm-divider) 1px solid;
    color: #524740;
    display: flex;
    align-items: center;
    gap: 20px
}

.questions .questions__modal-close {
    position: static;
    margin-left: auto;
    flex-shrink: 0
}

.questions__content {
    margin-top: 33px;
    display: flex;
    align-items: center;
    gap: 32px
}

.questions__passed-text {
    text-wrap: nowrap;
    margin-left: 145px;
    color: var(--primary-color);
    font-weight: 400
}

.questions__passed-text span {
    font-weight: 600;
    color: var(--warm-khaki);
    margin-left: 10px
}

.questions__img {
    width: 100%
}

.questions__wrapper {
    flex-grow: 1;
    min-height: 532px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%
}

.questions__bottom {
    display: flex;
    justify-content: space-between
}

.questions__bottom-text {
    color: var(--warm-khaki);
    margin-top: 12px
}

.questions__bottom-right {
    text-align: end
}

.questions .questions__save-stop {
    width: auto;
    position: static
}

.basic-style__top {
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 40px
}

.basic-style__item {
    display: flex;
    gap: 12px;
    align-items: baseline
}

.basic-style__circle {
    width: 12px;
    height: 12px
}

.basic-style__flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px
}

.basic-style__flex .basic-style__item {
    text-wrap: nowrap
}

.basic-style__list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.basic-style__text {
    margin: 32px 0;
    line-height: 1.4
}

.basic-style__titles {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.basic-style__titles-h3 span {
    color: var(--warm-sand);
    margin-left: 5px;
    font-family: "Inter", sans-serif
}

.basic-style__boxes {
    width: 100%;
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 20px;
    margin-top: 32px
}

.basic-style__image-title {
    color: var(--warm-khaki)
}

.basic-style__box-flex {
    margin-top: 32px;
    display: flex;
    gap: 62px
}

.basic-style__box-flex .basic-style__list {
    margin-top: 10px
}

.basic-style__box-wrapper {
    width: 269px
}

.basic-style__box-bottom {
    margin-top: 60px;
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between
}

.basic-style__box-bottom-title {
    margin-bottom: 20px
}

.basic-style__textareas {
    display: flex;
    gap: 20px
}

.basic-style__textarea {
    width: 111px;
    height: 89px;
    border-radius: 4px;
    padding: 12.5px;
    border: 1px solid var(--warm-sand);
    resize: none
}

.colors__items {
    display: flex;
    gap: 20px;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center
}

.colors__block {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 12px
}

.generate-image {
    padding: 20px;
    max-width: 750px;
    width: 100%
}

.generate-image__top {
    padding: 20.5px 0;
    display: flex;
    justify-content: space-between;
    border-top: var(--warm-divider) 1px solid;
    border-bottom: var(--warm-divider) 1px solid
}

.generate-image .generate-image__back {
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--warm-khaki);
    font-weight: 500;
    position: static;
    font-family: 'Montserrat', sans-serif
}

.generate-image .generate-image__close {
    position: static
}

.generate-image__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 108px 0;
    text-align: center
}

.generate-image__text.p-24 {
    margin: 20px 0 12px
}

.generate-image__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.generate-image__buttons .button {
    width: 100%
}

.message {
    margin-bottom: 40px
}

.cards {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 20px
}

.cards-according {
    gap: 52px 20px
}

.card {
    box-shadow: var(--shadow);
    border-radius: 4px
}

.cards-according .card {
    box-shadow: none
}

.card__top {
    margin-bottom: 12px;
    text-align: center
}

.card__image {
    width: 100%
}

.card__content {
    padding: 20px;
    text-align: center
}

.cards-according .card__content {
    padding: 20px 0 0
}

.card__bottom {
    color: var(--warm-sand)
}

.card__title {
    margin-bottom: 12px;
    line-height: 1
}

.cards-according .card__title {
    margin-bottom: 0
}

.card-new {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    font-size: 24px;
    border-radius: 4px;
    text-align: center;
    color: var(--warm-khaki);
    box-shadow: var(--shadow)
}

.capsule__title {
    margin-bottom: 32px
}

.capsule__block {
    display: flex;
    align-items: flex-start;
    gap: 32px 20px
}

.capsule__item-title {
    color: var(--warm-khaki)
}

.capsule__list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.capsule__text {
    margin-top: 8px;
    line-height: 1.4;
    letter-spacing: -.04em
}

.capsule__colors-title {
    margin: 8px 0
}

.capsule__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 20px
}

.capsule__block--second {
    text-align: end;
    margin-top: 100px
}

.capsule__block--second .capsule__bottom {
    text-align: start
}

.capsule__button {
    height: 54px;
    margin-bottom: 25px
}

.wishlist {
    max-width: 951px;
    width: 100%;
    padding: 52px
}

.wishlist__top {
    display: flex;
    gap: 20px;
    align-items: flex-start
}

.wishlist__situation {
    margin: 28px 0 20px
}

.wishlist__text {
    margin-top: 15px;
    line-height: 1.4
}

.wishlist__top-title {
    margin: 20px 0
}

.wishlist__products {
    display: grid;
    gap: 20px;
    grid-template-columns:repeat(3, 1fr)
}

.wishlist__product {
    text-align: center
}

.wishlist__product-title {
    margin: 20px 0 10px
}

.wishlist__product-button {
    width: 100%
}

.wishlist__purchased-title {
    margin: 52px 0 20px
}

.prices {
    padding: 52px;
    max-width: 950px;
    width: 100%
}

.prices__top {
    display: flex;
    align-items: center;
    gap: 20px
}

.prices__name {
    margin: 16px 0 11px
}

.prices__list-title {
    margin: 62px 0 32px;
    text-align: center
}

.prices__list {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.prices__item {
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--warm-divider)
}

.prices__item-price {
    margin: 0 80px 0 auto;
    font-size: 24px;
    font-weight: 600;
    color: var(--warm-khaki)
}

.prices__discount {
    margin-top: 14px;
    font-size: 20px;
    color: var(--warm-sand)
}

.prices__button {
    height: 54px
}

.my-wardrobe__wishlist-top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.my-wardrobe__add-button {
    --plus-color: var(--warm-cream);
    display: flex;
    gap: 12px
}

.my-wardrobe__add-button svg {
    flex-shrink: 0
}

.my-wardrobe__swiper {
    max-width: 1192px;
    margin-top: 20px;
    padding-bottom: 2px
}

.my-wardrobe__swiper .swiper-slide {
    max-width: calc(25% - 15px)
}

.my-wardrobe__product {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center
}

.my-wardrobe__product-button {
    width: 100%
}

.my-wardrobe__purchased-title {
    margin-top: 66px
}

.my-stylist__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px
}

.my-stylist__top-right {
    text-align: end
}

.my-stylist__top-text {
    margin-bottom: 5px
}

.my-stylist .card__title {
    margin-bottom: 0
}

.season-location__content {
    display: flex;
    align-items: center;
    gap: 52px;
    justify-content: space-between
}

.season-location__text {
    margin-top: 20px
}

.season-location__new-selected {
    color: var(--warm-divider);
    margin: 34px 0 12px
}

.season-location__bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 24px
}

.season-location__picture {
    width: 100%
}

.desired-image__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px
}

.desired-image__text {
    margin-bottom: 20px
}

.desired-image__button-wrapper {
    display: flex;
    align-items: center;
    gap: 12px
}

.desired-image .card__title {
    margin-bottom: 0
}

.desired-image__back, .new-image__back {
    margin-top: 32px
}

.new-image__info {
    max-width: 368px
}

.new-image__content {
    display: flex;
    align-items: center;
    gap: 20px 32px
}

.new-image__list {
    margin: 32px 0 42px;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.new-image__img {
    min-height: 431px
}

.new-image__item span {
    font-weight: 700
}

.new-image__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.new-image__buttons .new-image__button {
    width: 100%
}

.check-online__step-title {
    margin-top: 80px;
}

.check-online__title {
    font-weight: 600
}

.check-online__form {
    display: flex;
    gap: 52px
}

.check-online__item {
    width: 100%;
    max-width: 319px;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.image-box {
    box-shadow: var(--shadow);
    border-radius: var(--br);
    display: grid;
    place-items: center;
    color: var(--warm-sand);
    position: relative;
    text-align: center;
    padding: 20px
}

.check-online__item .button {
    width: 100%
}

.check-online__item .image-box {
    height: 316px
}

.upload {
    display: none
}

.check-online__button {
    width: 100%;
    gap: 10px
}

.check-online__textarea {
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--warm-sand);
    min-height: 178px;
    resize: none;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500
}

.check-online__textarea::placeholder {
    color: var(--warm-sand)
}

.check-online__result {
    height: 431px;
    max-width: 319px
}

.check-online__textarea-item {
    flex-grow: 1
}

.check-online__textarea {
    width: 100%
}

.preview, .check-online__img {
    width: 100%;
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover
}

.preview {
    display: none
}

.preview--active {
    display: block
}

.profile__content {
    display: flex;
    gap: 20px;
    margin-top: 90.5px
}

.profile__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 220px;
    width: 100%
}

.profile__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 20px;
    font-weight: 600
}

.profile__item .image-box {
    height: 236px;
    padding: 28px
}

.profile__inputs {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 23px;
    max-width: 262px;
    margin-left: 70px
}

.profile__inputs-wrapper .profile__button {
    justify-content: start
}

.profile__input-item {
    margin-top: 20px;
    position: relative
}

.profile__icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%)
}

.profile__input-item--active {
    --edit-color: var(--warm-khaki)
}

.profile__input {
    padding-right: 85px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.profile-info {
    max-width: 870px;
    width: 100%;
    padding: 20px
}

.profile-info__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: var(--warm-divider) 1px solid;
    border-bottom: var(--warm-divider) 1px solid;
    margin-bottom: 32px
}

.profile-info .profile-info__close {
    position: static
}

.profile-info__text {
    line-height: 1.4
}

.footer__content {
    padding: 48px 0 40px;
    border-top: 1px solid var(--warm-sand);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer__wrapper {
    display: flex;
    width: 200px;
    flex-direction: column;
    gap: 22px
}

.footer__wrapper:last-child {
    text-align: end
}

.footer__link {
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    font-size: 18px
}

@media (max-width: 1480px) {
    .pricing__item {
        padding: 59px 20px 20px
    }

    .my-person__top, .basic-style__top {
        flex-direction: column;
        align-items: flex-start
    }

    .basic-style__boxes {
        grid-template-columns:1fr;
        margin-top: 20px
    }

    .cards {
        grid-template-columns:repeat(3, 1fr)
    }

    .capsule__block {
        flex-direction: column
    }

    .profile__inputs {
        margin-left: 0
    }
}

@media (max-width: 1280px) {
    .results__list, .why-us__list {
        max-width: 760px;
        margin: 0 auto;
        grid-template-columns:repeat(2, 1fr)
    }

    .pricing__list {
        max-width: 900px;
        grid-template-columns:1fr;
        margin-left: auto;
        margin-right: auto
    }

    .pricing__button {
        max-width: 365px;
        margin-left: auto;
        margin-right: auto
    }

    .unique-testing__inner {
        max-width: 900px;
        margin: 0 auto;
        grid-template-columns:1fr;
        gap: 32px
    }

    .unique-testing__wrapper {
        text-align: center
    }

    .unique-testing__img {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        margin: 0 auto
    }

    .unique-testing__text {
        margin: 28px auto 0
    }

    .questions__top-text {
        font-size: 18px
    }

    .my-wardrobe__swiper .swiper-slide {
        max-width: 283px
    }

    .check-online__textarea-item {
        margin-left: 0
    }

    .check-online__form {
        flex-wrap: wrap;
        justify-content: center
    }

    .check-online__textarea-item {
        order: -1;
        width: 100%
    }

    .profile__content {
        flex-wrap: wrap;
        justify-content: center
    }
}

@media (max-width: 1000px) {
    .header--logo-primary .logo {
        color: var(--primary-color)
    }

    .body-account-overflow {
        overflow: hidden
    }

    .account__tabs, .account__thumbnails {
        max-width: 100%
    }

    .account__content {
        display: flex;
        flex-direction: column;
        position: static
    }

    .account__banner {
        display: none;
        height: 181px
    }

    .account__overlay {
        height: 100dvg;
        backdrop-filter: blur(9px);
        inset: 0;
        z-index: 2;
        background: rgb(10 10 10 / .44);
        overflow-y: auto;
        padding: 50px 32px;
        position: fixed
    }

    .account--user-opened .account__overlay {
        display: block
    }

    .account--user-opened .account__banner {
        display: block
    }

    .user {
        flex-direction: row;
        position: relative;
        align-items: center;
        z-index: 10;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow);
        transition: transform .2s
    }

    .user--active {
        background-color: var(--warm-mist);
        display: grid;
        grid-template-columns:200px 1fr;
        align-items: center;
        max-height: calc(100dvh - 201px);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(70px)
    }

    .user--active .user__block {
        display: contents
    }

    .user__profile {
        display: block;
        margin-top: 32px
    }

    .user__button {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px
    }

    .user--active .user__button-close {
        display: block
    }

    .user--active .user__button-settings {
        display: none
    }

    .user__img {
        width: 200px;
        height: 200px;
        margin-bottom: 0
    }

    .user__nav {
        top: 100%;
        background-color: var(--warm-mist);
        display: none;
        margin-top: 13px
    }

    .user--active .user__nav {
        display: block;
        position: static;
        grid-column: 1 / -1
    }

    .user__block {
        min-height: auto;
        box-shadow: none;
        padding: 0
    }

    .questions {
        max-width: 700px
    }

    .questions__img {
        max-height: 400px;
        object-fit: cover
    }

    .questions__content {
        flex-direction: column
    }

    .questions__wrapper {
        min-height: auto;
        gap: 30px
    }

    .questions__passed-text {
        margin-left: 0;
        font-size: 16px
    }
}

@media (max-width: 900px) {
    .how-it-works__list {
        gap: 30px
    }

    .basic-style__titles {
        flex-direction: column;
        gap: 12px
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px
    }

    h2 {
        font-size: 26px
    }

    h3 {
        font-size: 24px
    }

    h4 {
        font-size: 20px
    }

    h5 {
        font-size: 16px
    }

    section:not(:first-of-type) {
        padding-top: 62px
    }

    .main {
        padding-bottom: 62px
    }

    .p-20 {
        font-size: 16px
    }

    .p-24 {
        font-size: 20px
    }

    .mb {
        margin-bottom: 32px
    }

    .pt-m {
        padding-top: 47px
    }

    .body-menu-overflow {
        overflow: hidden
    }

    .header__content {
        height: 81px
    }

    .header__overlay {
        height: 100dvh;
        position: fixed;
        z-index: 12;
        inset: 0;
        backdrop-filter: blur(9px);
        background: rgb(10 10 10 / .44);
        display: none
    }

    .header--menu-opened .header__overlay {
        display: block
    }

    .header__mobile {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--warm-khaki)
    }

    .header__menu-button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        box-shadow: 0 4px 20px 0 rgb(0 0 0 / .07);
        background: color-mix(in srgb, var(--warm-mist) 12%, transparent)
    }

    .header__menu-button--active {
        background: var(--warm-khaki)
    }

    .header__line {
        display: block;
        position: relative
    }

    .header__line, .header__line::before, .header__line::after {
        width: 16px;
        height: 1px;
        background-color: #998B70;
        border-radius: 5px;
        transition: .2s ease-in-out background-color, .3s ease-in-out transform
    }

    .header__line::before, .header__line::after {
        content: '';
        position: absolute;
        left: 0;
        transform-origin: center
    }

    .header__line::before {
        transform: translateY(-4px)
    }

    .header__line::after {
        transform: translateY(4px)
    }

    .header__menu-button--active .header__line {
        background-color: #fff0
    }

    .header__menu-button--active .header__line::before {
        transform: rotate(45deg);
        background-color: var(--warm-mist)
    }

    .header__menu-button--active .header__line::after {
        transform: rotate(-45deg);
        background-color: var(--warm-mist)
    }

    .header__logo, .header__menu {
        display: none
    }

    .header--menu-opened .header__content {
        background-color: var(--warm-mist)
    }

    .header--menu-opened .header__menu {
        background-color: var(--warm-mist);
        padding: 40px 32px;
        width: 100%;
        top: 99%;
        left: 0;
        position: absolute;
        display: flex;
        gap: 32px;
        flex-direction: column
    }

    .header__nav, .header__actions, .header__right {
        flex-direction: column;
        gap: 32px
    }

    .header__link, .header__login-button {
        text-align: center;
        font-size: 18px
    }

    .logo {
        font-size: 24px
    }

    .top__title {
        font-size: 32px
    }

    .top__content {
        width: 480px;
        height: 480px;
        bottom: -104px
    }

    .button, .button--ghost, .button--light {
        font-size: 16px;
        height: 51px
    }

    .button--small {
        height: 39px
    }

    .how-it-works__minutes {
        margin-bottom: 12px
    }

    .how-it-works__line {
        display: none
    }

    .how-it-works__list {
        flex-direction: column;
        text-align: center
    }

    .how-it-works__item::before {
        width: 58px;
        height: 58px;
        font-size: 24px;
        margin: 0 auto
    }

    .results__inner {
        gap: 32px
    }

    .results__item-bottom {
        font-size: 14px
    }

    .why-us__item-circle {
        margin-bottom: 20px
    }

    .begin {
        padding-bottom: 0
    }

    .results__button, .begin__button {
        font-size: 18px
    }

    .begin__banner {
        padding: 164px 20px;
        text-align: center
    }

    .begin__text {
        margin: 32px auto
    }

    .modal {
        max-width: 480px
    }

    .register, .login {
        padding: 46px 20px
    }

    .input {
        height: 50px
    }

    .register__question {
        font-size: 16px
    }

    .error-text {
        font-size: 18px
    }

    .pricing__list {
        margin-top: 63px
    }

    .pricing__points {
        margin-top: 20px
    }

    .pricing__item {
        min-height: auto;
        padding: 40px 20px 20px
    }

    .pricing__item::before {
        width: 58px;
        height: 58px;
        font-size: 24px
    }

    .pricing__item-plan, .pricing__item-bottom {
        margin-top: 32px
    }

    .unique-testing {
        padding-top: 32px
    }

    .unique-testing__quiz {
        padding: 20px;
        min-height: auto
    }

    .unique-testing__quiz-top {
        font-size: 16px;
        padding-bottom: 40px
    }

    .unique-testing__quiz-line {
        left: 0;
        right: 0;
        bottom: 20px
    }

    .quiz__answers + .unique-testing__quiz-bottom {
        margin-top: 20px;
        padding-top: 20px
    }

    .quiz__answers {
        margin-top: 20px;
        gap: 12px;
        font-size: 16px
    }

    .account {
        padding: 32px 0 36px
    }

    .account__content {
        gap: 28px
    }

    .account__title {
        font-size: 32px;
        text-align: center
    }

    .account__right {
        padding-top: 0
    }

    .account__tabs, .account__thumbnails {
        margin: 32px 0 20px;
        padding-bottom: 10px
    }

    .tabs__item {
        font-size: 14px
    }

    .user--active {
        grid-template-columns:77px 1fr;
        transform: translateY(80px)
    }

    .user__img {
        width: 77px;
        height: 86px
    }

    .user__link {
        padding: 8px 0
    }

    .user__name {
        font-size: 24px
    }

    .my-person__tabs {
        margin-bottom: 28px
    }

    .my-person__img, .basic-style__img, .capsule__img {
        max-width: 451px;
        width: 100%;
        margin: 0 auto
    }

    .my-person__wrapper-bottom {
        flex-direction: column;
        text-align: center
    }

    .my-person__bottom-text, .my-person__bottom-text span {
        font-size: 14px
    }

    .my-person__primary-title, .my-person__title {
        justify-content: center
    }

    .my-person__percent {
        text-align: center
    }

    .my-person__title-khaki {
        font-size: 28px
    }

    .my-person__main-text {
        margin: 32px 0
    }

    .my-person__boxes {
        grid-template-columns:1fr
    }

    .questions {
        padding: 0;
        display: flex;
        flex-direction: column
    }

    .questions__bottom {
        flex-direction: column;
        gap: 20px
    }

    .questions__picture {
        order: -1
    }

    .questions__top {
        margin: 12px 20px 0;
        padding: 20px 0;
        flex-wrap: wrap
    }

    .questions__content {
        display: contents
    }

    .questions__bottom-right {
        text-align: center
    }

    .questions__bottom button, .questions .questions__save-stop {
        width: 100%
    }

    .questions__wrapper {
        padding: 20px
    }

    .questions__top-text {
        font-size: 16px;
        max-width: 175px
    }

    .questions__passed-text {
        order: 1;
        text-align: center;
        width: 100%
    }

    .questions__passed-text span {
        font-size: 18px
    }

    .questions__bottom-text {
        font-size: 15px
    }

    .questions__answers {
        margin-top: 30px
    }

    .basic-style__top {
        margin-top: 32px
    }

    .basic-style__flex {
        flex-direction: column
    }

    .basic-style .tabs {
        display: none
    }

    .basic-style__wrapper {
        text-align: center
    }

    .basic-style__titles-h2 {
        font-size: 32px
    }

    .basic-style__titles-h3 {
        font-size: 20px
    }

    .basic-style__box-bottom {
        flex-direction: column;
        align-items: center;
        margin-top: 20px
    }

    .basic-style__box-flex {
        flex-direction: column;
        margin-top: 20px;
        gap: 20px
    }

    .generate-image__top {
        flex-wrap: wrap;
        text-align: center;
        gap: 20px
    }

    .generate-image__top-title {
        order: 1;
        width: 100%
    }

    .generate-image .generate-image__back {
        font-size: 18px
    }

    .generate-image__content {
        padding: 32px 0 0
    }

    .generate-image__text.p-24 {
        font-size: 16px
    }

    .generate-image__text.p-20 {
        font-size: 14px
    }

    .generate-image__new-button {
        height: 61px
    }

    .message {
        margin-bottom: 28px
    }

    .account__step-title {
        font-size: 18px;
        margin-bottom: 20px
    }

    .cards {
        grid-template-columns:repeat(2, 1fr)
    }

    .cards-according {
        gap: 20px
    }

    .card__content {
        padding: 12px
    }

    .card-new {
        height: 168px;
        font-size: 18px
    }

    .capsule__title {
        font-size: 32px;
        padding-top: 10px
    }

    .capsule__bottom {
        flex-direction: column;
        align-items: center;
        gap: 32px
    }

    .capsule__block--second {
        text-align: start;
        margin-top: 10px
    }

    .wishlist__top {
        flex-direction: column;
        align-items: center
    }

    .wishlist {
        text-align: center;
        padding: 42px 20px
    }

    .wishlist__products {
        grid-template-columns:repeat(2, 1fr)
    }

    .wishlist__season, .wishlist__situation {
        font-size: 18px
    }

    .wishlist__purchased-title {
        margin-top: 32px
    }

    .prices {
        text-align: center;
        padding: 42px 20px
    }

    .prices__top {
        flex-direction: column;
        align-items: center
    }

    .prices__list-title {
        margin: 32px 0 46px
    }

    .prices__item {
        flex-direction: column;
        align-items: center
    }

    .prices__item-price {
        margin: 28px 0 20px;
        font-size: 18px
    }

    .prices__discount {
        font-size: 16px
    }

    .my-wardrobe__wishlist-top {
        flex-direction: column;
        gap: 20px;
        align-items: center
    }

    .my-wardrobe__swiper .swiper-slide {
        max-width: 172px
    }

    .my-wardrobe__product-button {
        padding: 0 5.5px
    }

    .my-wardrobe__product-title {
        font-size: 18px
    }

    .my-wardrobe__purchased-title {
        text-align: center;
        margin-top: 32px
    }

    .my-stylist__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px
    }

    .my-stylist__top-right {
        text-align: center
    }

    .my-stylist__top-text, .my-stylist__top-title {
        font-size: 18px
    }

    .my-stylist__top-text + .p-20 {
        font-size: 14px
    }

    .my-stylist .message {
        text-align: center;
        margin-bottom: 40px
    }

    .thumbnails__item {
        font-size: 14px
    }

    .season-location {
        text-align: center
    }

    .season-location__content {
        flex-direction: column;
        gap: 20px
    }

    .season-location__new-selected {
        margin-top: 20px
    }

    .season-location h4 {
        font-size: 18px
    }

    .season-location__picture {
        order: -1
    }

    .desired-image {
        text-align: center
    }

    .desired-image__buttons {
        margin-bottom: 28px
    }

    .desired-image__button-text {
        font-size: 18px;
        text-align: start
    }

    .desired-image__back {
        margin-top: 28px
    }

    .new-image {
        text-align: center
    }

    .new-image__content {
        flex-direction: column
    }

    .new-image__img {
        display: block;
        min-height: auto;
        max-height: 360px
    }

    .new-image__list {
        margin: 20px 0 28px;
        font-size: 16px
    }

    .check-online {
        text-align: center
    }

    .check-online__form {
        gap: 32px;
    }

    .check-online__step-title {
        margin-top: 26px;
    }

    .check-online__textarea-item {
        order: 1
    }

    .check-online__item, .check-online__result, .check-online__textarea-item {
        max-width: 400px;
        width: 100%
    }

    .check-online__result {
        height: 303px
    }

    .profile__content {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        margin-top: 20px
    }

    .profile__button {
        font-size: 18px;
        gap: 12px
    }

    .image-box {
        font-size: 16px
    }

    .profile .image-box {
        height: 318px
    }

    .profile__item, .profile__inputs {
        max-width: 400px
    }

    .footer__content {
        padding: 20px 0;
        flex-direction: column;
        gap: 32px;
        text-align: center
    }

    .footer__wrapper {
        gap: 32px
    }

    .footer__link {
        font-size: 16px
    }

    .footer__logo {
        order: -1;
        font-weight: 400;
        font-family: 'GFS Didot', sans-serif
    }

    .footer__wrapper:last-child {
        text-align: center
    }
}

@media (max-width: 600px) {
    .results__inner {
        grid-template-columns:1fr
    }

    .results__list {
        grid-template-columns:1fr;
        grid-column: 1 / 2;
        grid-row: 2 / 3
    }

    .results__button {
        margin: 0 auto
    }

    .why-us__list {
        grid-template-columns:1fr
    }

    .why-us__item {
        min-height: 173px
    }
}

@media (max-width: 480px) {
    .top {
        background: url(../images/top-bg-m.jpg) no-repeat center / cover
    }

    .top__content {
        left: 50%;
        width: 380px;
        height: 380px;
        padding: 48px 41px 0
    }

    .button, .button--ghost, .button--light {
        width: 100%;
        padding: 0 5.5px
    }

    .begin__banner {
        background: url(../images/begin-bg-m.jpg) no-repeat center / cover
    }

    .pricing__button {
        max-width: 100%
    }

    .unique-testing__quiz-title {
        text-align: center
    }

    .unique-testing__img {
        display: none
    }

    .unique-testing__img-m {
        display: block;
        width: 100%;
        margin-bottom: 20px
    }

    .unique-testing__passed-text {
        max-width: 133px
    }

    .account__banner {
        background: url(../images/banner-m.jpg) no-repeat center / cover
    }

    .colors__items {
        gap: 20px 38px
    }

    .capsule .colors__items {
        gap: 20px 54px
    }

    .season-location__bottom {
        flex-direction: column;
        margin-top: 32px;
        gap: 20px
    }

    .desired-image__button {
        width: auto;
        padding: 0 24px
    }

    .new-image__info {
        width: 100%;
        max-width: 100%
    }
}