main.account__page {
    margin-top: 48px;
    margin-bottom: 100px;
}


section.account {
    .account__back {
        display:none;
    }
    .account__wrap {
        display: flex;
        column-gap: 20px;
    }

    .account__sidebar {
        flex-shrink: 0;
        width: 305px;

        .sidebar {
            .sidebar__title {
                color: var(--Base-Dark, #171717);
                font-size: 26px;
                font-style: normal;
                font-weight: 600;
                line-height: 130%;
                letter-spacing: 0.52px;
                padding-left: 16px;
                margin-bottom: 16px;
            }
            .sidebar__menu {
                .nav__items {

                    .nav__item {
                        .nav__link {
                            color: var(--Base-Dark, #171717);
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 140%;
                            letter-spacing: 0.16px;
                            display: block;
                            padding: 12px 16px;
                            transition: all .3s ease;
                            border-radius: 8px;

                            &:hover {
                                background-color: var(--Gray-1, #FAFAFA);
                            }                            
                        }

                        &.current-link {
                            .nav__link {
                                color: var(--Dark-wine-2, #770E16);
                                background-color: var(--Gray-1, #FAFAFA);
                            }
                        }
                    }
                }
            }

            &:not(:last-child) {
                margin-bottom: 56px;
            }
        }
    }

    .account__content {
        flex-grow: 1;
        max-width: 955px;
    }

    .section-loyalty {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .status__loyalty-wrap {
        border-radius: 12px;
        border: 1px solid var(--Gray-2, #F2F2F2);
        background-color: var(--Gray-1, #FAFAFA);
        padding: 24px 24px;
        display: flex;
        align-items: center;
        column-gap: 24px;
    }
    
    .status__loyalty-card {
        width: 100%;
        max-width: 276px;

        img {
            border-radius: 8px;
        }
    }

    .status__loyalty-block {
        width: 100%;

        .status__header {
            display: flex;
            column-gap: 24px;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;

            .status__name {
                color: var(--Base-Dark, #171717);
                font-size: 26px;
                font-style: normal;
                font-weight: 600;
                line-height: 130%;
                letter-spacing: 0.52px;
            }

            .status__link {
                a {
                    color: var(--Dark-wine-2, #770E16);
                    fill: var(--Dark-wine-2, #770E16);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%;
                    letter-spacing: 0.16px;
                    display: inline-flex;
                    align-items: center;
                    column-gap: 4px;
                }
            }
        }

        .status__progress {

            .progress__header {
                display: flex;
                column-gap: 24px;
                justify-content: space-between;
                align-items: center;
            }
            
             .progress__text {
                color: var(--Gray-7, #7A7A85);
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                letter-spacing: 0.16px;
            }

            .progress__note {
                color: var(--Gray-7, #7A7A85);
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                letter-spacing: 0.16px;
            }

            .progress__points {
                color: #000000;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                letter-spacing: 0.16px;
                display: inline-flex;
                column-gap: 4px;
            }

            .progress__goal {
                color: var(--Gray-6, #9A9AA2);
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                letter-spacing: 0.16px;
                display: inline-flex;
                column-gap: 4px;
            }

            .progress__footer {
                display: flex;
                column-gap: 24px;
                justify-content: space-between;
                align-items: center;
            }

            .progress__bar {
                position: relative;
                width: 100%;
                height: 12px;
                border-radius: 6px;
                background-color: var(--Gray-3, #E5E5E6);

                &:before {
                    content: "";
                    display: block;
                    width: var(--percent);
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    background-color: var(--Dark-wine-2, #770E16);
                    border-radius: 6px;
                }
            }

            .progress__body {
                margin-top: 6px;
                margin-bottom: 6px;
            }
        }
    }

    .card__number-wrap {
        border-radius: 12px;
        background-color: var(--Dark-wine-3, #5B0B11);
        padding: 16px 24px;
        display: flex;
        align-items: center;
        column-gap: 24px;
        justify-content: space-between;

        .card__number-description {
            color: var(--Base-White, #FFF);
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 140%;
            letter-spacing: 0.16px;
        }

        .card__number-value {
            a {
                color: var(--Base-White, #FFF);
                fill: #BDBDC2;
                font-size: 20px;
                font-style: normal;
                font-weight: 400;
                line-height: 150%;
                letter-spacing: 0.2px;
                display: inline-flex;
                align-items: center;
                column-gap: 8px;

                .finespirits-icon {
                    width: 20px;
                    height: 20px;
                }
            }
        }
    }

    .scale__loyalty-wrap {
        border-radius: 12px;
        border: 1px solid var(--Gray-2, #F2F2F2);
        background-color: var(--Gray-1, #FAFAFA);
        padding: 24px 24px;

        .scale__statuses {
            display: flex;
            justify-content: space-between;
            position: relative;

            .scale__status {
                display: flex;
                flex-direction: column;
                row-gap: 16px;
                position: relative;
                z-index: 1;

                .status__name {
                    color: var(--Base-Dark, #171717);
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: 100%;
                    letter-spacing: 0.42px;
                    text-transform: uppercase;
                    text-align: center;
                }

                .status__point {
                    width: 12px;
                    height: 12px;
                    border-radius: 50%;
                    border: solid 4px var(--Dark-wine-2, #770E16);
                    background-color: #ffffff;
                    align-self: center;
                    opacity: .5;
                }

                .status__percent {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    row-gap: 4px;

                    .status__percent-value {
                        color: var(--Gray-6, #9A9AA2);
                        font-size: 20px;
                        font-style: normal;
                        font-weight: 700;
                        line-height: 150%;
                        letter-spacing: 0.2px;
                    }

                    .status__percent-text {
                        color: var(--Gray-6, #9A9AA2);
                        font-size: 12px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 100%;
                        letter-spacing: 0.24px;
                    }
                }
                &:first-child {
                    .status__name {
                        text-align: left;
                    }

                    .status__percent {
                        align-items: flex-start;
                    }

                    .status__point {
                        align-self: flex-start;
                        opacity: 1;
                    }
                }

                &:last-child {
                    .status__name {
                        text-align: right;
                    }

                    .status__percent {
                        align-items: flex-end;
                    }

                    .status__point {
                        align-self: flex-end;
                    }
                }
            }
        }

        .scale__loyalty-block {
            position: relative;
        }

        .scale__progress {
            position: absolute;
            width: 100%;
            height: 8px;
            top: 32px;
            background-color: #F2EDEE;
            border-radius: 6px;

            &:before {
                content: "";
                display: block;
                width: var(--percent);
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                background-color: var(--Dark-wine-2, #770E16);
                border-radius: 6px;

            }
        }
    }

    .table__loyalty-wrap {
        border-radius: 12px;
        border: 1px solid var(--Gray-2, #F2F2F2);
        background-color: var(--Gray-1, #FAFAFA);
        padding: 24px 24px;

        table {
            width: 100%;
            table-layout: fixed;
        }

        th {
            color: var(--Base-Dark, #171717);
            font-size: 16px;
            font-style: normal;
            font-weight: 600;
            line-height: 150%;
            letter-spacing: 0.16px;
            padding: 12px 12px;

            &:last-child {
                text-align: right;
            }
        }

        td {
            color: var(--Base-Dark, #171717);
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 140%;
            letter-spacing: 0.16px;
            vertical-align: middle;
            border-top: 1px solid var(--Gray-3, #E5E5E6);
            padding: 12px 12px;

            &:last-child {
                text-align: right;
            }

            img {
                display: inline-block;
                vertical-align: middle;
                margin-right: 2px;
            }
        }
    }

    .board__wrap {
        display: flex;
        flex-wrap: wrap;
        column-gap: 24px;
        row-gap: 24px;

        .board__block {
            border-radius: 12px;
            border: 1px solid var(--Gray-2, #F2F2F2);
            background-color: var(--Gray-1, #FAFAFA);
            padding: 24px 24px;
            flex: 1 0 calc(50% - 24px);
            display: flex;
            flex-direction: column;
            row-gap: 8px;

            .board__title {
                color: var(--Base-Dark, #171717);
                font-size: 26px;
                font-style: normal;
                font-weight: 600;
                line-height: 130%;
                letter-spacing: 0.52px;
            }

            .board__description {
                color: var(--Gray-7, #7A7A85);
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                letter-spacing: 0.16px;
            }

            .board__content {
                display: flex;
                flex-direction: column;
                flex: 1;
                margin-top: 24px;
            }
        }
    }

    .barcode {
        margin-top: auto;

        .barcode__value {
            color: var(--Base-Dark, #171717);
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 140%;
            letter-spacing: 0.16px;
            margin-bottom: 8px;
        }

        .barcode__image {
            height: 60px;
            width: 100%;
            overflow: hidden;
        }

        .barcode__image img {
            width: 100%;
            object-fit: contain;
        }
    }

    .joined__users {
        display: flex;
        align-items: center;

        .joined__user {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: var(--Dark-wine-1, #92111C);
            color: var(--Base-White, #FFF);
            font-size: 16px;
            font-style: normal;
            font-weight: 600;
            line-height: 150%;
            letter-spacing: 0.16px;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            &:not(:first-child) {
                margin-left: -6px;
            }
        }
    }

    .joined__text {
        color: var(--Gray-7, #7A7A85);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        letter-spacing: 0.14px;
    }

    .referral__joined {
        display: flex;
        align-items: center;
        column-gap: 16px;
        margin-top: 30px;
    }

    .referral__link {
        a {
            color: var(--Light-Red, #B71522);
            fill: var(--Gray-5, #BDBDC2);
            font-size: 26px;
            font-style: normal;
            font-weight: 600;
            line-height: 130%;
            letter-spacing: 0.52px;
            display: inline-flex;
            align-items: center;
            column-gap: 4px;

            .finespirits-icon {
                width: 20px;
                height: 20px;
            }
        }
    }

    .block-title {
        color: var(--Base-Dark, #171717);
        font-size: 26px;
        font-style: normal;
        font-weight: 600;
        line-height: 130%;
        letter-spacing: 0.52px;
    }
    
    .section-slider__products {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .orders__sort {
        margin-left: auto;

        .custom-select__wrapper {
            border: none;
            
            .custom-select__active {
                min-height: auto;
                padding: 0px;
            }
        }
    }

    .filter__search {
        width: 100%;
        max-width: 334px;

        input[name="s"],
        input[name*="search"] {
            width: 100%;
            min-height: 46px;
        }

        .button__search {
            cursor: default;

            &:hover {
                background-color: var(--Dark-wine-Main, #45080D);
            }
        }
    }

    .account__header {
        display: flex;
        align-items: center;
        column-gap: 24px;
        justify-content: space-between;
        margin-bottom: 24px;

        .account__title {
            &>* {
                color: var(--Base-Dark, #171717);
                font-size: 32px;
                font-style: normal;
                font-weight: 500;
                line-height: 140%;
                letter-spacing: 0.64px;
            }
        }

        .account__link {
            a {
                color: var(--Base-Dark, #202020);
                font-size: 20px;
                font-style: normal;
                font-weight: 400;
                line-height: 150%;
                letter-spacing: 0.2px;

                &:hover {
                    text-decoration: underline;
                }
            }
        }

        .account__subtitle {
            color: var(--Dark-wine-2, #770E16);
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 140%;
            letter-spacing: 0.16px;
        }
    }

    .orders__header {
        display: flex;
        align-items: center;
        column-gap: 24px;
        justify-content: space-between;
        margin-bottom: 24px;
    }


    ul.filters__list {
        display: flex;
        flex-wrap: wrap;
        column-gap: 32px;
        row-gap: 16px;

        li.filter__item {

            label.filter__label  {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                column-gap: 6px;
                cursor: pointer;
                min-height: 56px;
                position: relative;
                
                input[type="radio"] {
                    display: none;
                }

                .filter__name,
                .filter__count {
                    color: var(--Gray-7, #7A7A85);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%;
                    letter-spacing: 0.16px;
                    transition: all .3s ease;
                }

                .filter__border {
                    width: 0%;
                    display: flex;
                    height: 2px;
                    background-color: var(--Base-Dark, #171717);
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    transition: all .3s ease;
                }

                &:hover {
                    .filter__name,
                    .filter__count {
                        color: var(--Base-Dark, #171717);
                    }
                }

                input[type="radio"]:checked {

                    & ~ .filter__name,
                    & ~ .filter__count {
                        color: var(--Base-Dark, #171717);
                    }

                    & ~ .filter__border {
                        width: 100%;
                    }
                }
            }
        }
    }

    .order__element {
        border-radius: 12px;
        border: 1px solid var(--Gray-3, #E5E5E6);
        transition: background-color .3s ease;
        
        
        .order__status {
            align-self: center;
            display: flex;
            align-items: center;

            span {
                background-color: var(--background);
                color: var(--color);
                fill: none;
                stroke: var(--color);
                min-height: 22px;
                display: inline-flex;
                column-gap: 6px;
                align-items: center;
                padding: 2px 8px;
                font-size: 8px;
                font-style: normal;
                font-weight: 700;
                letter-spacing: 0.2px;
                text-transform: uppercase;
                border-radius: 6px;
            }
        }

        .order__preview {
            display: grid;
            grid-template-columns: auto 1fr auto;
            column-gap: 12px;
            padding: 24px 32px;
            cursor: pointer;
            
            .order__arrow {
                fill: none;
                stroke: var(--Gray-8---Main, #383838);
                justify-self: flex-end;
                display: flex;
                align-items: center;
                transform: rotate(180deg);
                transition: transform .3s ease;
            }

            .order__title {
                color: var(--Base-Dark, #171717);
                font-size: 20px;
                font-style: normal;
                font-weight: 500;
                line-height: 140%;
                letter-spacing: 0.2px;
            }

            .order__items {
                margin-top: 16px;
                grid-column: 1/3;
            }

            .order__count {
                color: var(--Gray-7, #7A7A85);
                text-align: right;
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                letter-spacing: 0.16px;
            }

            .order__total {
                color: var(--Base-Dark, #171717);
                text-align: right;
                font-size: 20px;
                font-style: normal;
                font-weight: 500;
                line-height: 140%;
                letter-spacing: 0.2px;
            }

            .order__comment {
                grid-column: 1/4;
                margin-top: 8px;
                color: var(--Gray-7, #7A7A85);
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                letter-spacing: 0.16px;
            }

            .order__summary {
                align-self: flex-end;
            }

            .order__items {
                .order__item {
                    transition: all .3s ease;

                    .order__item-count {
                        top: 0;
                    }
                }
            }
        }

        &.open {
            background-color: var(--Gray-1, #FAFAFA);
            
            .order__preview {
                .order__summary {
                    grid-column: 3/4;
                    grid-row: 2/3;
                }

                .order__comment {
                    grid-row: 2/3;
                }

                .order__items {
                    .order__item {
                        opacity: 0;
                        visibility: hidden;
                    }
                }
            }
        }
        
        &:not(:last-child) {
            margin-bottom: 16px;
        }


        .order__details {
            border-top: solid 1px var(--Gray-3, #E5E5E6);
            width: calc(100% - 64px);
            margin: 0 auto;
            padding: 24px 0 32px;
            display: none;
            

            .order__info {
                .order__info-title {
                    color: var(--Gray-8---Main, #383838);
                    font-size: 20px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 150%;
                    letter-spacing: 0.2px;
                    margin-bottom: 4px;
                }

                .order__info-content {
                    color: var(--Gray-8---Main, #383838);
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%;
                    letter-spacing: 0.16px;
                }
            }

            .order__meta {
                display: flex;
                column-gap: 64px;
            }
        }

        .order__content-items {
            margin-top: 32px;

            .order__content-item {
                border-radius: 12px;
                border: 1px solid var(--Gray-4, #D1D1D2);
                background-color: var(--Base-White, #FFF);
                padding: 24px 16px;
                display: grid;
                grid-template-columns: auto 1fr auto;
                grid-template-rows: 1fr auto;
                row-gap: 16px;
                column-gap: 16px;

                .order__content-discount {
                    color: #ffffff;
                    font-size: 12px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 12px;
                    border-radius: 4px;
                    background-color: var(--Dark-wine-1, #92111C);
                    display: inline-flex;
                    min-height: 20px;
                    align-items: center;
                    padding: 6px 8px;
                }

                .order__content-image {
                    width: 100px;
                    height: 100px;
                    grid-row: 1/3;
                    position: relative;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }

                    .order__content-discount {
                        position: absolute;
                        top: 0;
                        right: 0;
                    }
                }

                .order__content-info {
                    align-self: flex-start;
                    grid-column: 2/4;

                    .order__content-name {
                        a {
                            color: var(--Base-Dark, #171717);
                            font-size: 14px;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 140%;
                            letter-spacing: 0.16px;
                        }
                    }

                    .order__content-sku {
                        color: var(--Gray-6, #9A9AA2);
                        font-size: 14px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 140%;
                        letter-spacing: 0.14px;
                        margin-top: 8px;
                    }
                }

                .order__content-total {
                    color: var(--Gray-6, #9A9AA2);
                    font-size: 12px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%;
                    letter-spacing: 0.14px;
                }

                .order__content-subtotal {
                    display: inline-flex;
                    align-items: center;
                    column-gap: 12px;

                    .order__content-subtotal-regular {
                        color: var(--Base-Dark, #171717);
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 600;
                        line-height: 150%;
                        letter-spacing: 0.2px;
                    }

                    .order__content-subtotal-new {
                        color: var(--Dark-wine-1, #92111C);
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 600;
                        line-height: 150%;
                        letter-spacing: 0.2px;
                    }

                    .order__content-subtotal-old {
                        color: var(--Gray-6, #9A9AA2);
                        font-size: 12px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 20px;
                        text-decoration-line: line-through;
                    }
                }

                .order__content-price {
                    margin-left: auto;
                    text-align: right;
                    align-self: flex-end;
                }

                .order__content-quantity {
                    display: flex;
                    align-self: self-end;
                }

                .order__content-button {
                    align-self: flex-end;

                    .button {
                        min-height: 40px;
                    }
                }

                .order__content-message {
                    color: var(--Dark-wine-1, #92111C);
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%;
                    letter-spacing: 0.14px;
                    align-self: self-end;
                    margin-bottom: 1.5vh;
                }

                .order__content-remove {
                    display: flex;
                    width: 24px;
                    height: 24px;
                    align-items: center;
                    justify-content: center;
                    align-self: flex-start;
                    fill: #BDBDC2;
                    margin-left: auto;
                }

                &:not(:last-child) {
                    margin-bottom: 16px;
                }
            }
        }
    }

    .account__contact {
        .contact__info {
            border-radius: 12px;
            border: 1px solid var(--Gray-3, #E5E5E6);
            padding: 32px 32px;
            display: flex;
            column-gap: 64px;
        }

        .contact__content {
            max-width: 350px;
        }

        .block-title {
            color: var(--Base-Dark, #171717);
            font-size: 32px;
            font-style: normal;
            font-weight: 500;
            line-height: 140%;
            letter-spacing: 0.64px;
        }
        
        .contact__items {
            column-gap: 40px;
        }

        .contact__form {
            margin-top: 32px;

            .wpcf7-form {
                padding: 40px 32px;
            }
        }
    }


    .account__favorites {

        .favorites__container {
            &:not(:last-child) {
                margin-bottom: 60px;
            }
        }

        .favorites__sort {
            margin-left: auto;

            .custom-select__wrapper {
                border: none;
                
                .custom-select__active {
                    min-height: auto;
                    padding: 0px;
                }
            }
        }

        .favorites__filter {
            .filter__wrap {
                & .filter__section {
                    .filter__section-content {
                        padding-top: 12px;
                        padding-bottom: 12px;
                        display: block;
                    }
                }
            }
        }

        .favorites__header {
            display: flex;
            align-items: center;
            column-gap: 24px;
            justify-content: space-between;
            margin-bottom: 24px;
        }

        .favorites__items {
            display: flex;
            flex-wrap: wrap;
            row-gap: 20px;
        }

        [data-entities="brand"] {
            .favorites__items {
                display: flex;
                flex-wrap: wrap;
                row-gap: 20px;
                column-gap: 20px;
                
                
                
                

                .brand {
                max-width: 305px;
                }
            }
        }

        .favorites__empty {
            border-radius: 12px;
            border: 1px solid var(--Gray-2, #F2F2F2);
            background-color: var(--Gray-1, #FAFAFA);
            padding: 32px 24px;

            .favorites__empty-title {
                color: var(--Base-Dark, #171717);
                font-size: 26px;
                font-style: normal;
                font-weight: 600;
                line-height: 130%;
                letter-spacing: 0.52px;
                margin-bottom: 8px;
            }

            .favorites__empty-text {
                color: var(--Gray-6, #9A9AA2);
                font-size: 20px;
                font-style: normal;
                font-weight: 400;
                line-height: 150%;
                letter-spacing: 0.2px;
            }

            .favorites__empty-button {
                margin-top: 40px;

                .button {
                    min-width: 250px;
                }
            }
        }

        .favorites__footer {
            display: flex;
            justify-content: center;
            margin-top: 40px;
        }
        
    }
    
    .account__details {
        max-width: 628px;

        .details__group {
            .details__header {
                margin-bottom: 32px;
                .details__title {
                    color: var(--Base-Dark, #171717);
                    font-size: 26px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 130%;
                    letter-spacing: 0.52px;
                }
            }

            &:not(:last-child) {
                margin-bottom: 40px;
            }

            .form__button {
                margin-top: 32px;
                .button {
                    width: 100%;
                }
            }

            .details__frame {
                border-radius: 12px;
                border: 1px solid var(--Gray-3, #E5E5E6);
                background-color: var(--Base-White, #FFF);
                padding: 32px 24px;

                &:not(:last-child) {
                    margin-bottom: 16px;
                }
            }

            .details__preview {
                .preview__header {
                    display: flex;
                    justify-content: space-between;
                    column-gap: 24px;
                    margin-bottom: 24px;

                    .preview__title {
                        color: var(--Base-Dark, #171717);
                        font-size: 20px;
                        font-style: normal;
                        font-weight: 600;
                        line-height: 150%;
                        letter-spacing: 0.2px;
                    }

                    .preview__trigger {
                        color: var(--Gray-8---Main, #383838);
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 140%;
                        letter-spacing: 0.16px;

                        .details-trigger {
                            display: inline-flex;
                            align-items: center;
                            column-gap: 4px;
                            cursor: pointer;
                        }
                    }
                }

                .preview__blocks {
                    display: flex;
                    column-gap: 24px;
                    row-gap: 24px;
                    flex-wrap: wrap;

                    .preview__block {
                        flex: 1 0 calc(50% - 24px);

                        .preview__block-title {
                            color: var(--Base-Dark, #171717);
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 600;
                            line-height: 140%;
                            letter-spacing: 0.16px;
                            margin-bottom: 8px;
                        }
                        
                        .preview__block-body {
                            color: var(--Gray-8---Main, #383838);
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 140%;
                            letter-spacing: 0.16px;
                        }
                    }
                }
            }
            .details__preview + .details__form {
                display: none;
            }
        }
    }
}

@media (max-width: 1400px) {
    section.account {
        .account__wrap {
            .account__content {
                flex-grow:0;
                max-width:100%;
                width:calc(100% - 325px);
            }
        }
    }
}

@media (max-width: 992px) {
    main.account__page {
        padding-top:0;
        margin-top:40px;
        margin-bottom:0;

        &.account__page-welcome {
            section.account {
                .account__wrap {
                    flex-direction: column-reverse;
                    .account__sidebar {
                        display: block;
                        width:100%;

                        .sidebar {
                            margin-bottom:32px;
                            .sidebar__title {
                                color: var(--Base-Dark, #171717);
                                font-size: 22px;
                                font-weight: 500;
                                line-height: 150%;
                                letter-spacing: 0.22px;
                                margin-bottom:8px;
                                padding-left:0;
                            }
                            .sidebar__menu {
                                .navigation {
                                    .nav__items {
                                        .nav__item {
                                            a {
                                                color: var(--Base-Dark, #171717);
                                                font-size: 16px;
                                                font-weight: 400;
                                                line-height: 140%;
                                                letter-spacing: 0.16px;
                                                padding:13px 15px 13px 0;
                                                display:flex;
                                                justify-content:space-between;
                                                align-items:center;

                                                &:after {
                                                    content:"";
                                                    display:block;
                                                    width:12px;
                                                    height:12px;
                                                    background:url("../../icons/arrow-right.svg") center center no-repeat;
                                                    background-size:100%;
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        .account__back {
            display:block;
            margin-bottom:32px;

            .account__back-block {
                .account__back-link {
                    display:flex;
                    align-items:center;
                    gap:12px;
                    color: var(--Base-Dark, #171717);
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 100%;
                    letter-spacing: 0.42px;
                    text-transform: uppercase;
                }
            }
        }
        section.account {
            .account__wrap {
                .account__sidebar {
                    display: none;
                }
                .account__content {
                    width: 100%;

                    .account__header {
                        margin-bottom:24px;
                        .account__title {
                            h1 {
                                color: var(--Base-Dark, #171717);
                                font-size: 28px;
                                font-weight: 500;
                                line-height: 140%;
                                letter-spacing: 0.56px;
                            }
                        }
                        .account__subtitle {
                            display:none;
                        }
                    }
                    .section-card__number {
                        margin-bottom:16px;

                        .card__number-wrap {
                            padding:16px 24px;
                            flex-direction:column;
                            gap:8px;
                            justify-content:start;
                            align-items:start;

                            .card__number-description {
                                color: var(--Base-White, #FFF);
                                font-size: 16px;
                                line-height: 140%;
                                letter-spacing: 0.16px;
                            }
                            .card__number-value {
                                a {
                                    color: var(--Base-White, #FFF);
                                    font-size: 20px;
                                    line-height: 150%;
                                    letter-spacing: 0.2px;
                                }
                            }
                        }
                    }

                    .section-loyalty {
                        margin-top: 16px;
                        margin-bottom: 16px;

                        .scale__loyalty-wrap {
                            padding:24px 16px;

                            .scale__loyalty-block {
                                .scale__statuses {
                                    .scale__status {
                                        .status__name {
                                            color: var(--Base-Dark, #171717);
                                            font-size: 12px;
                                            font-weight: 400;
                                            line-height: 150%;
                                            letter-spacing: 0.12px;
                                            text-transform: uppercase;
                                        }
                                        .status__point {
                                            margin-top:-4px;
                                        }
                                        .status__percent {
                                            .status__percent-value {
                                                color: var(--Gray-6, #9A9AA2);
                                                font-size: 14px;
                                                font-weight: 600;
                                                line-height: 140%;
                                                letter-spacing: 0.14px;
                                            }
                                            .status__percent-text {
                                                color: var(--Gray-6, #9A9AA2);
                                                font-size: 12px;
                                                line-height: 100%;
                                                letter-spacing: 0.24px;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                        .status__loyalty-wrap {
                            padding:24px 16px;
                            flex-direction: column-reverse;
                            align-items: start;

                            .status__loyalty-block {
                                .status__header {
                                    .status__name {

                                    }
                                }
                                .status__progress {
                                    .progress__header {
                                        flex-direction:column;
                                        align-items:start;
                                        justify-content:start;
                                        row-gap:24px;

                                        .progress__text {
                                            color: var(--Gray-7, #7A7A85);
                                            font-size: 12px;
                                            font-weight: 400;
                                            line-height: 150%;
                                        }
                                        .progress__note {
                                            color: var(--Gray-7, #7A7A85);
                                            font-size: 12px;
                                            font-weight: 400;
                                            line-height: 150%;
                                        }
                                    }
                                    .progress__body {
                                        margin-top:8px;
                                        margin-bottom:8px;

                                        .progress__bar {
                                            height: 8px;
                                        }
                                    }
                                    .progress__footer {
                                        margin-bottom:24px;

                                        .progress__points {
                                            color: #000;
                                            font-size: 12px;
                                            line-height: 150%;
                                        }
                                        .progress__goal {
                                            color: var(--Gray-6, #9A9AA2);
                                            font-size: 12px;
                                            font-weight: 400;
                                            line-height: 150%;
                                        }
                                    }
                                }
                            }
                            .status__loyalty-card {
                                max-width:100%;
                                text-align:center;
                            }
                        }

                        .list__loyalty-wrap {
                            border-radius: 12px;
                            border: 1px solid var(--Gray-2, #F2F2F2);
                            background-color: var(--Gray-1, #FAFAFA);
                            padding:16px 24px;
                            margin-bottom:60px;

                            .list__loyalty-block {
                                .list__loyalty-items {
                                    .list__loyalty-item {
                                        padding:8px 0;
                                        min-height:52px;
                                        border-bottom: 1px solid var(--Gray-3, #E5E5E6);

                                        .item__loyalty-head {
                                            display:flex;
                                            justify-content:space-between;
                                            align-items:center;

                                            .item__loyalty-bonus {
                                                width:30%;
                                                box-sizing:border-box;
                                                padding:0 8px;
                                                display:flex;
                                                align-items:center;
                                                gap:4px;
                                                color: var(--Base-Dark, #171717);
                                                font-size: 14px;
                                                font-weight: 400;
                                                line-height: 140%;
                                                letter-spacing: 0.14px;
                                                img {
                                                    width:16px;
                                                    height:16px;
                                                }
                                            }
                                            .item__loyalty-date {
                                                width:30%;
                                                box-sizing:border-box;
                                                padding:0 8px;
                                                color: var(--Base-Dark, #171717);
                                                font-size: 12px;
                                                font-weight: 400;
                                                line-height: 150%;
                                            }
                                            .item__loyalty-status {
                                                width:30%;
                                                box-sizing:border-box;
                                                padding:0 8px;
                                                color: var(--Base-Dark, #171717);
                                                font-size: 12px;
                                                line-height: 150%;
                                            }
                                            .item__loyalty-icon {
                                                width:10%;

                                                svg {
                                                    width:26px;
                                                    height:26px;
                                                    color:#383838;
                                                    transform:rotate(0deg);
                                                }
                                            }
                                        }
                                        .item__loyalty-content {
                                            display:none;
                                            padding:8px;
                                            box-sizing:border-box;

                                            .item__loyalty-block {
                                                display:flex;
                                                justify-content:space-between;

                                                .item__loyalty-block--title {
                                                    color: var(--Gray-7, #7A7A85);
                                                    font-size: 12px;
                                                    font-weight: 400;
                                                    line-height: 150%;
                                                    margin-bottom:4px;
                                                }
                                                .item__loyalty-block--value {
                                                    color: var(--Base-Dark, #171717);
                                                    font-size: 12px;
                                                    font-weight: 400;
                                                    line-height: 150%;
                                                }
                                            }
                                        }

                                        &.active {
                                            .item__loyalty-icon {
                                                svg {
                                                    transform:rotate(-180deg);
                                                }
                                            }
                                        }
                                        &:last-child {
                                            border-bottom:0;
                                        }
                                    }
                                }
                            }
                        }
                    }

                    .section__board-mobile {
                        display:flex;
                        gap:16px;
                        flex-direction:column;
                        margin-bottom:60px;

                        .board__block {
                            background-color: var(--Gray-1, #FAFAFA);
                            border: 1px solid var(--Gray-2, #F2F2F2);
                            padding: 24px 16px;
                            border-radius: 12px;
                            margin-bottom:0;

                            .board__title {
                                color: var(--Base-Dark, #171717);
                                font-size: 22px;
                                font-weight: 500;
                                line-height: 150%;
                                letter-spacing: 0.22px;
                                margin-bottom:4px;
                            }
                            .board__description {
                                color: var(--Gray-7, #7A7A85);
                                font-size: 12px;
                                font-weight: 400;
                                line-height: 150%;
                                margin-bottom:55px;
                            }
                            .board__content {
                                .barcode {
                                    .barcode__value {
                                        color: var(--Base-Dark, #171717);
                                        font-size: 16px;
                                        font-weight: 400;
                                        line-height: 140%;
                                        letter-spacing: 0.16px;
                                        margin-bottom:8px;
                                    }
                                    .barcode__image {
                                        max-width:326px;
                                        position:relative;

                                        img {
                                            width:100%;
                                            height:100%;
                                            position:absolute;
                                            top:50%;
                                            left:50%;
                                            transform:translate(-50%, -50%);
                                            object-fit: cover;
                                        }
                                    }
                                }
                            }

                            .referral__joined {
                                margin-top:0;
                                margin-bottom:16px;

                                .joined__users {
                                    .joined__user {
                                        width:32px;
                                        height:32px;
                                        color: var(--Base-White, #FFF);
                                        font-size: 10px;
                                        font-weight: 400;
                                        line-height: 140%;
                                        letter-spacing: 0.1px;
                                    }
                                }
                                .joined__text {
                                    display:none;
                                }
                            }
                        }
                        .board__block-referral {
                            .board__content-wrap {
                                display:flex;
                                align-items:center;
                                justify-content: space-between;

                                .board__content {
                                    .board__title {
                                        margin-bottom:4px;
                                    }
                                    .board__description {
                                        margin-bottom:0;
                                    }
                                }
                                .referral {
                                    .referral__link {
                                        a {
                                            color: var(--Light-Red, #B71522);
                                            font-size: 16px;
                                            font-style: normal;
                                            font-weight: 600;
                                            line-height: 150%;
                                            letter-spacing: 0.16px;

                                            span {
                                                border-bottom: 1px solid var(--Light-Red, #B71522);
                                            }
                                        }
                                    }
                                }
                            }
                        }
                        .section-loyalty {
                            .status__loyalty-wrap {
                                padding: 24px 16px;

                                .status__loyalty-block {
                                    .status__header {
                                        margin-bottom:0;

                                        .status__name {
                                            color: var(--Base-Dark, #171717);
                                            font-size: 20px;
                                            font-weight: 500;
                                            line-height: 140%;
                                            letter-spacing: 0.2px;
                                            margin-bottom:4px;
                                        }
                                    }
                                    .status__progress {
                                        .progress__header {
                                            flex-direction:column;
                                            align-items:start;
                                            justify-content:start;
                                            row-gap:24px;

                                            .progress__text {
                                                color: var(--Gray-7, #7A7A85);
                                                font-size: 12px;
                                                font-weight: 400;
                                                line-height: 150%;
                                            }
                                            .progress__note {
                                                color: var(--Gray-7, #7A7A85);
                                                font-size: 12px;
                                                font-weight: 400;
                                                line-height: 150%;
                                            }
                                        }
                                        .progress__body {
                                            margin-top:8px;
                                            margin-bottom:8px;

                                            .progress__bar {
                                                height: 8px;
                                            }
                                        }
                                        .progress__footer {
                                            margin-bottom:32px;

                                            .progress__points {
                                                color: #000;
                                                font-size: 12px;
                                                line-height: 150%;
                                            }
                                            .progress__goal {
                                                color: var(--Gray-6, #9A9AA2);
                                                font-size: 12px;
                                                font-weight: 400;
                                                line-height: 150%;
                                            }
                                        }
                                    }
                                    .status__link {
                                        .button {
                                            display:flex;
                                            align-items:center;
                                            gap:8px;
                                            min-height: 48px;
                                            text-align: center;
                                            font-size: 12px;
                                            line-height: 100%;
                                            letter-spacing: 0.24px;
                                            text-transform: uppercase;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    .account__favorites {
                        .favorites__container {
                            margin-bottom:60px;

                            .account__header {
                                margin-bottom:24px;
                                .account__title {
                                    h1 {
                                        color: var(--Base-Dark, #171717);
                                        font-size: 28px;
                                        font-weight: 500;
                                        line-height: 140%;
                                        letter-spacing: 0.56px;
                                    }
                                }
                                .account__link {
                                    display:none;
                                }
                            }
                            .favorites__wrap {
                                .favorites__empty {
                                    padding:24px 16px;

                                    .favorites__empty-title {
                                        color: var(--Base-Dark, #171717);
                                        font-size: 20px;
                                        font-style: normal;
                                        font-weight: 500;
                                        line-height: 140%;
                                        letter-spacing: 0.2px;
                                        margin-bottom:8px;
                                        max-width:260px;
                                    }
                                    .favorites__empty-text {
                                        color: var(--Gray-6, #9A9AA2);
                                        font-size: 14px;
                                        line-height: 140%;
                                        letter-spacing: 0.14px;
                                    }
                                    .favorites__empty-button {
                                        margin-top:24px;
                                        a {
                                            min-height:48px;
                                            font-size: 12px;
                                            width:100%;
                                        }
                                    }
                                }
                                .favorites__result {
                                    .favorites__items {
                                        row-gap:16px;
                                        column-gap: 24px;
                                        .brand {
                                            min-width: 0;
                                            max-width:100%;
                                            flex:1 0 calc(calc(100% / 2) - 16px)

                                        }
                                    }
                                }
                                .favorites__result--products {
                                    .favorites__items {
                                        row-gap:60px;
                                        column-gap: 12px;
                                        .product-card {
                                            padding:6px 10px;
                                            min-width: 0;
                                            max-width:100%;
                                            flex:1 0 calc(calc(100% / 2) - 12px);

                                            .product-card__top {
                                                .product-card__image {
                                                    height:175px;
                                                }
                                            }
                                            .product-card__info {
                                                margin-top:24px;

                                                .product-card__price {
                                                    margin-bottom:4px;

                                                    .product-card__price-regular {
                                                        color: var(--Base-Dark, #171717);
                                                        font-size: 18px;
                                                        font-weight: 700;
                                                        line-height: normal;
                                                    }
                                                    .product-card__price-new {
                                                        color: var(--Dark-wine-1, #92111C);
                                                        font-size: 18px;
                                                        font-weight: 700;
                                                        line-height: normal;
                                                    }
                                                    .product-card__price-old {
                                                        color: var(--Gray-6, #9A9AA2);
                                                        font-size: 12px;
                                                        line-height: 20px;
                                                        text-decoration-line: line-through;
                                                    }
                                                }
                                                .product-card__name {
                                                    margin-bottom:4px;
                                                    a {
                                                        color: var(--Base-Dark, #171717);
                                                        font-size: 14px;
                                                        font-weight: 600;
                                                        line-height: 150%;
                                                        letter-spacing: 0.14px;
                                                    }
                                                }
                                                .product-card__attributes {
                                                    height:auto;
                                                    margin-top:0;
                                                    display: flex;
                                                    flex-wrap: wrap;
                                                    column-gap: 6px;

                                                    .product-card__attribute-name {
                                                        color: var(--Gray-7, #7A7A85);
                                                        font-size: 12px;
                                                        line-height: 150%;
                                                        letter-spacing: 0.12px;
                                                    }
                                                }
                                            }
                                            .product-card__bottom {
                                                margin-top:0;
                                                .product-card__button {
                                                    margin-top:16px;
                                                    .button {
                                                        min-height:36px;
                                                        font-size:12px;
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                                .account__link {
                                    margin-top:32px;
                                    .button {
                                        width:100%;
                                        min-height:48px;
                                        font-size:12px;
                                    }
                                }
                            }
                        }
                    }
                    .account__contact {
                        .contact__content {
                            .contact__content-title {
                                .block-title {
                                    font-size: 32px;
                                    font-weight: 500;
                                    line-height: 140%;
                                    letter-spacing: 0.64px;
                                    margin-bottom:16px;
                                }
                            }
                            .contact__content-description {
                                font-size: 16px;
                                line-height: 140%;
                                letter-spacing: 0.16px;
                            }
                        }
                        .contact__info {
                            gap:40px;
                            flex-direction:column;
                            .contact__items {
                                gap:24px;

                                & > *  {
                                     grid-column: 1 / -1;
                                }

                                .contact__item {
                                    .contact__item__name {

                                    }
                                    .contact__item__value, .contact__item__value a {
                                        font-size: 16px;
                                        font-weight: 400;
                                        line-height: 140%;
                                        letter-spacing: 0.16px;
                                    }
                                }
                            }
                        }
                        .contact__form {
                            margin-top:32px;
                            .wpcf7-form {
                                padding:24px 16px;
                                .form__title {
                                    font-size: 26px;
                                    font-weight: 600;
                                    line-height: 130%;
                                    letter-spacing: 0.52px;
                                    margin-bottom:16px;
                                }
                                .form__description {
                                    font-size: 16px;
                                    font-weight: 400;
                                    line-height: 140%;
                                    letter-spacing: 0.16px;
                                    margin-bottom:32px;
                                }
                                .form__fields {
                                    .form__element-full {
                                        span {

                                        }
                                        .wpcf7-form-control-wrap {

                                        }
                                    }
                                 }
                            }
                        }
                    }
                    .section-orders {
                        .orders__container {
                            .orders__header {
                                flex-direction:column-reverse;
                                gap:16px;
                                margin-bottom:24px;

                                .orders__filter {
                                    width:100%;

                                    .filters__form {
                                        .filter__section {
                                            .filter__section-content {
                                                .filters__list {
                                                    gap:16px;
                                                    display: flex;
                                                    overflow-x: auto;
                                                    overflow-y: hidden;
                                                    -webkit-overflow-scrolling: touch;
                                                    scrollbar-width: none;
                                                    flex-wrap: nowrap;

                                                    .filter__item {
                                                        .filter__label {
                                                            flex-wrap:nowrap;
                                                            min-height:54px;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                                .filter__search {
                                    max-width:100%;
                                }
                            }
                            .orders__result {
                                .order__list {
                                    .order__element {
                                        &.open {
                                            .order__preview {
                                                padding-bottom:12px;
                                            }
                                            .order__details {
                                                padding:12px 16px;
                                                width:100%;
                                                margin:0;

                                                .order__content-items {
                                                    .order__content-item {
                                                        padding:16px;

                                                        .order__content-image {
                                                            width:70px;
                                                            height:70px;
                                                        }
                                                        .order__content-button {
                                                            .button {
                                                                min-height:40px;
                                                                font-size:12px;
                                                            }
                                                        }
                                                        .order__content-total {
                                                            text-align: right;
                                                            font-size: 10px;
                                                            line-height: 130%;
                                                            letter-spacing: 0.1px;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                        .order__preview {
                                            padding:24px 16px;

                                            .order__title {
                                                color: var(--Base-Dark, #171717);
                                                font-size: 16px;
                                                font-weight: 500;
                                                line-height: 150%;
                                                letter-spacing: 0.16px;
                                                order: 1;
                                            }
                                            .order__status {
                                                order: 2;
                                            }
                                            .order__arrow {
                                                order: 3;
                                            }
                                            .order__items {
                                                display:none;
                                                order: 4;
                                            }
                                            .order__summary {
                                                order: 6;
                                                grid-column: 1 / 4;
                                                padding-top:7px;

                                                .order__count {
                                                    color: var(--Gray-7, #7A7A85);
                                                    text-align: right;
                                                    font-size: 12px;
                                                    font-weight: 400;
                                                    line-height: 150%;
                                                }
                                                .order__total {
                                                    color: var(--Base-Dark, #171717);
                                                    font-size: 16px;
                                                    font-weight: 500;
                                                    line-height: 140%;
                                                    letter-spacing: 0.16px;
                                                }
                                            }
                                        }
                                        .order__details {

                                        }
                                    }
                                }
                                .orders__footer {
                                    margin-bottom:60px;
                                }
                            }
                        }
                    }
                }
                .section-slider__products {
                    .product__slider {
                        .product__slider-header {
                            .block-title {
                                color: var(--Base-Dark, #171717);
                                text-align: center;
                                font-size: 28px;
                                font-weight: 500;
                                line-height: 140%;
                                letter-spacing: 0.56px;
                                margin-bottom:32px;
                            }
                            .slider__buttons {
                                display:none;
                            }
                        }
                    }
                }
            }
        }
    }
}