@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Regular.woff') format('woff'),
    url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Medium.woff') format('woff'),
    url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-SemiBold.woff') format('woff'),
    url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Bold.woff') format('woff'),
    url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OCR-B 10 BT';
    src: url('../fonts/OCR-B10BT.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-border {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.view-cabinet.active {
    width: 100%;
    max-width: 1085px;
}

.slbOverlay,
.slbWrapOuter,
.slbContentOuter {
    z-index: 2225;
}

.slbContentOuter:has(.cupon-card.cupon-card--fullscreen) .slbCloseBtn {
    color: #1A1A1C;
    right: -3px;
    top: -17px;
}

.text-accent {
    color: #660099;
    font-weight: 600;

}

.loyal {
    padding: 24px 0;
    font-family: "Montserrat", sans-serif;
}

.loyal svg {
    flex-shrink: 0;
}

.loyal__title {
    display: flex;
    align-items: center;
    min-width: fit-content;
    gap: 8px;
    color: #1A1A1C;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.loyal__title svg {
    flex-shrink: 0;
    max-width: 18px;
    max-height: 18px;
}

.loyal__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loyal__grid-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-trigger {
    position: relative;
}

.info-trigger__label {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 4px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.info-trigger--bg .info-trigger__label {
    background-color: rgba(102, 0, 153, 0.4);
    color: #ffffff;
    padding: 7px 10px;
}

.info-trigger__label svg {
    fill: rgba(255, 255, 255, 0.8);
}

.info-trigger--bg .info-trigger__label svg {
    fill: #ffffff;
}

.info-trigger__content {
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    display: none;
    opacity: 0;
    pointer-events: none;
    color: #1A1A1C;
    transition: all 0.3s ease-in;
    z-index: 2;
}

.info-trigger__content li:not(:last-of-type) {
    margin-bottom: 7px;
}

.info-trigger__content.active {
    display: block;
    opacity: 1;
    min-width: calc(100% - 20px);
    width: 200px;
    height: auto;
    padding: 10px;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid rgba(102, 0, 153, 0.4);;
}

.loyal__categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loyal__categories-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loyal__categories-empty-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 50%;
}

.loyal__categories-empty-text {
    font-size: 16px;
    color: #1A1A1C;
}

.loyal__categories-empty-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 180px;
    max-height: 180px;
}

.loyal__categories-empty-picture img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.loyal__categories-block-scroll {
    height: 460px;
    min-width: 100%;
    width: calc(100% + 13px);
    padding-right: 4px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    grid-template-rows: minmax(120px, 153px);
    gap: 4px;
    grid-auto-flow: dense;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.16) transparent;
    scrollbar-gutter: stable;
}

/*.loyal__categories-block-scroll:before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    display: block;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 42px;*/
/*    z-index: 1;*/
/*    background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));;*/
/*}*/


.loyal__categories-block-scroll::-webkit-scrollbar {
    width: 5px;
}

.loyal__categories-block-scroll::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.loyal__categories-block-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.16);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.loyal__categories-block-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.24);
}

.loyal__categories-block-scroll::-webkit-scrollbar-thumb:active {
    background-color: rgba(0, 0, 0, 0.32);
}

.selected-cat {
    padding-top: 16px;
    border-top: 1px solid #E4E4E4;
}

.selected-cat__title {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #1A1A1C;
    margin-bottom: 16px;
}


.selected-cat__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selected-cat__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #96C926;
}

.selected-cat__item img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
}

.selected-cat__item-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #1A1A1C;
}

.selected-cat__item-percent {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #660099;
}

.loyal__result-cat {
    font-weight: 600;
    font-size: 16px;
    border-top: 1px solid #E4E4E4;
    padding-top: 17px;
}

.loyal__bonuses {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bonuses-item {
    position: relative;
    flex: 0 1 50%;
    max-width: 235px;
    border-radius: 8px;
    padding: 2px;
    overflow: hidden;
}

.bonuses-item:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-radius: 8px;
    animation: spin-border 4s linear infinite;
    user-select: none;
    pointer-events: none;
}

.bonuses-item:first-child:before {
    background-image: url('../image/loyalty-program/gradient-1.jpg');
}

.bonuses-item:last-child:before {
    background-image: url('../image/loyalty-program/gradient-2.jpg');
}

.bonuses-item__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-radius: 8px;
    padding: 16px;
    background-color: #FFFFFF;
}

.bonuses-item__content {
    display: flex;
    flex-direction: column;
}

.bonuses-item span {
    color: #1A1A1C;
}

.bonuses-item span:first-child {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 4px;
}

.bonuses-item span:last-child {
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
}

.loyal__info-block {
    display: contents;
}

.loyal__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 1 50%;
    max-width: 50%;
    min-height: -webkit-fill-available;
    height: 100%;
    padding: 16px 0;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid;
}

.loyal__item--wide {
    width: 100%;
    max-width: 100%;
    flex: 0 1 100%;
}

.loyal__item-header {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.loyal__item-header:has(.slider__controls) {
    padding-right: 16px;
}

.loyal__item-inner {
    padding: 0 16px;
}

.loyal__item-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 16px;
}

.loyal__item-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 0 16px;
    margin-top: auto;
}

.loyal__item--accent-first {
    border-color: #C299D6;
}

.loyal__item--accent-second {
    border-color: #D5E9A8;
}

.loyal__item--accent-mute {
    border-color: #E7D6EF;
}

.loyal__info-card {
    display: flex;
    gap: 5px;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid rgba(102, 0, 153, 0.16);
}

.loyal__info-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.loyal__info-card-content small {
    font-size: 13px;
}

.loyal__info-card svg {
    fill: #EB4C43;
}

.loyal__info-card span {
    color: #EB4C43;
}

.button-c {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: -webkit-fill-available;
    gap: 4px;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.button-c--first-accent svg {
    fill: #ffffff;
}

.button-c--first-accent {
    background-color: #660099;
    color: #ffffff;
}

.button-c--first-accent:hover {
    background-color: rgba(102, 0, 153, 0.4);
}

.button-c--first-accent-mute svg {
    fill: #ffffff;
}

.button-c--first-accent-mute {
    background-color: rgba(102, 0, 153, 0.4);
    color: #ffffff;
}

.button-c--first-accent-mute:hover {
    background-color: #660099;
}

.button-c--second-accent {
    background-color: #96C926;
    color: #1A1A1C;
}

.button-c--second-accent svg {
    fill: #1A1A1C;
}

.button-c--outline {
    padding: 13px 14px;
    gap: 6px;
    background-color: #FFFFFF;
    border: 1px solid #660099;
    color: #660099;
}

.button-c[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

.form-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../image/loyalty-program/add-card-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    overflow: hidden;
    padding: 16px;
    min-height: 312px;
    width: 100%;
}

.form-banner__form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-banner__submit-btn {
    width: fit-content;
}

.form-banner p {
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: #1A1A1C;
    margin-bottom: 16px;
}

.form-banner__col {
    position: relative;
    flex: 0 1 50%;
    height: 100%;
    min-height: 280px;
}

.form-banner__img {
    display: block;
    height: auto;
    width: 100%;
    max-width: 477px;
    object-fit: contain;
    position: absolute;
    right: -16px;
    bottom: -16px;
}

.form-banner__form-notification {
    margin-top: 10px;
}

.form-banner__submit-btn {
    margin-top: 8px;
}

.form-notification {
    display: none;
    opacity: 0;
}

.form-notification.active {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 1;
}

.form-notification--error {
    color: #EB4C43;
}

.form-notification--error svg {
    fill: #EB4C43;
}

.form-notification--loading {
    color: #660099;
}

.form-notification__loader-img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    animation: spin 1s linear infinite;
}

.form-notification--short-input {
    color: #EC8A38;
}

.form-notification--short-input svg {
    fill: #EC8A38;
}

.marker-required {
    color: #EB4C43;
}

.input-cover {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.input-cover__label {
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: #1A1A1C;
}

.input-cover input,
.input-cover textarea {
    flex-grow: 1;
    /*width: 100%;*/
    min-height: 40px;
    padding: 0 12px;

    color: #1A1A1C;
    background-color: #ffffff;
    border: 1px solid rgba(102, 0, 153, 0.4);
    border-radius: 10px;
    outline: none;

    transition: border-color, background-color 0.3s ease-in;
}

.input-cover input:hover,
.input-cover textarea:hover {
    background-color: #ffffff;
    outline: 1px solid #660099;
    border-color: transparent;
}

.input-cover input:focus,
.input-cover textarea:focus {
    background-color: #ffffff;
    outline: 1px solid #660099;
    border-color: transparent;
}

.input-cover input::placeholder,
.input-cover textarea::placeholder {
    color: #BABABB;
}

.bonus-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: 16px;
    border-radius: 8px;
    background-image: url('../image/loyalty-program/card-bg.jpg');
    /*background-size: auto 100%;*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    border: 1px solid #C299D6;
    color: #ffffff;
    height: 275px;
    width: 100%;
    /*max-width: 433px;*/
}

.bonus-card__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bonus-card__level {
    text-transform: uppercase;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    color: #1A1A1C;
}

.bonus-card__number {
    display: inline-block;
    width: fit-content;
    font-family: 'OCR-B 10 BT', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #1A1A1C;
    padding: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    margin-left: -3px;
}

.bonus-card .info-trigger__label {
    color: #1A1A1C;
}

.bonus-card .info-trigger__label svg {
    fill: #1A1A1C;
}

.slider {
    position: relative;
}

.slider__slide {
    user-select: none;
    height: auto;
}

.slider__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
}

.slider__controls--static {
    position: static;
    transform: none;
    justify-content: normal;
    gap: 10px;
    width: fit-content;
}

.slider__button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: rgba(102, 0, 153, 0.4);
    backdrop-filter: blur(10px);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    padding: 0 0;
    transition: all 0.3s ease;
}

.slider__button svg {
    fill: #FFFFFF;
}

.slider__button.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

.slider__button--prev svg {
    transform: rotate(180deg);
}

.slider__button--min {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #EDEDED;
}

.slider__button--min svg {
    fill: #1A1A1C;
}

.loyal__slider {
    width: 100%;
    max-width: 100%;
    margin: 16px auto 33px;
    padding-left: 16px;
}

.cupon-block__slider {
    max-width: 100%;
    padding-left: 16px;
}

.loyal__slider-controls {
    transform: translate(15px, -50%);
    width: 90%;
}

.cat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #ffffff;
    position: relative;
    width: 100%;
    min-height: 120px;
    max-height: 153px;
    overflow: hidden;
    border: 1px solid #E4E4E4;
    transition: all 0.2s ease-in;
}

.cat-item:has(input:checked),
.cat-item:hover {
    border-color: #96C926;
    background-color: #F4FAE9;
}

.cat-item[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

.checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    color: #1A1A1C;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox--img {
    width: 100%;
    height: 100%;
    padding: 10px 8px;
    align-items: center;
    justify-content: center;
}

.checkbox__label {
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    text-align: center;
}

.checkbox__label--column {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 18px;
}

.checkbox__label--column span:first-child {
    color: #1A1A1C;
    -ms-word-break: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.checkbox__label--column span:last-child {
    color: #660099;
}

.checkbox__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 40px;
    max-height: 40px;
    flex-shrink: 0;
    margin: 0 auto;
    object-fit: contain;
}

.checkbox__marker {
    position: absolute;
    top: 18px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background-color: #96C926;
    opacity: 0;
    transition: all 0.2s ease-in;
}

.checkbox__marker:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-image: url('../image/loyalty-program/icon-ok.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.checkbox input {
    position: absolute;

    width: 1px;
    height: 1px;
    margin: -1px;

    clip: rect(0 0 0 0);
}

.checkbox input:checked + .checkbox__marker {
    opacity: 1;
}

.add-card-form {
    transition: all 0.3s ease-in;
}

.add-card-form form {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(100px, 200px);
    align-items: end;
    gap: 10px;
}

.add-card-form__form-notification {
    grid-column: span 2;
}

.add-card-form--hide {
    display: none;
    visibility: hidden;
    height: 0;
}

.add-card-form--hide.open {
    display: block;
    visibility: visible;
    height: fit-content;
}

.modal-response {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-response__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.22);
}

.modal-response__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.modal-response__modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background-color: #ffffff;
    width: 100%;
    max-width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    padding: 32px;
}

.modal-response__title {
    font-size: 18px;
    font-weight: 600;
}

.modal-response__text {
    font-size: 16px;
}

.modal-response__modal--success .modal-response__title {
    color: #469D49;
}

.modal-response__modal--error .modal-response__title {
    color: #EB4C43;
}

.modal-response__button-close {
    width: fit-content;
    margin: 0 auto;
}

.view:has(.form-bg) {
    padding: 80px 16px 16px 16px;
}

.form-bg {
    position: relative;
}

.form-bg__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #E4E4E4;
}

.form-bg__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-bg__title h4 {
    color: #660099;
    font-weight: 600;
}

.form-bg__btn-close {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #EDEDED;
    border: none;
    outline: none;
}


.form-bg__btn-close::after,
.form-bg__btn-close::before {
    content: '';
    position: absolute;
    width: 16px;
    background-color: #444444;
    height: 2px;
    display: inline-block;
}

.form-bg__btn-close::before {
    transform: rotate(45deg);
}

.form-bg__btn-close::after {
    transform: rotate(-45deg);
}

.form-bg__link-to {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    padding: 16px 0;
    font-size: 16px;
}

.form-bg__link-to a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1A1A1C;
    font-weight: 500;
}

.form-bg__color-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 8px;
    background-color: #F4FAE9;
    margin-bottom: 8px;
}

.form-bg__color-block .field {
    margin-bottom: 0;
}

.form-bg__color-block .field label {
    margin-bottom: 0;
}

.form-bg__color-block:last-of-type {
    margin-bottom: 0;
}

.form-bg__reset-pass {
    position: absolute;
    top: 0;
    right: 0;
    color: #8C8C8D;
    font-size: 14px;
}

.form-bg .field .form-field-radio {
    display: flex;
    align-items: center;
    gap: 4px;
}

.field__textfield {
    height: 40px;
    width: 100%;
    line-height: normal;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid rgba(150, 201, 38, 0.4);
    padding: 0 20px;
}

.form-field-radio input {
    display: none !important;
}

.form-field-radio__checker {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #FFFFFF;
    border: 1px solid rgba(150, 201, 38, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-field-radio__checker:before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150%;
    transform: translate(-50%, -50%);
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFFFFF;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.form-field-radio input:checked + .form-field-radio__checker {
    background-color: #96C926;
}

.form-field-radio input:checked + .form-field-radio__checker:before {
    left: 50%;
}

.form-bg .field .form-field-input {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-bg .form-field-input + .error {
    margin-top: 0;
}

.form-bg .checkbox label {
    margin-bottom: 0;
}

.form-bg .checkbox label a {
    color: #1A1A1C;
}

.form-field-input__label,
.form-field-radio__label {
    font-size: 14px;
    color: #1A1A1C;
}

.form-field-input__label--required {
    position: relative;
    width: fit-content;
}

.form-field-input__label--required:before {
    content: '*';
    position: absolute;
    top: 0;
    right: -10px;
    color: #EB4C43;
    font-size: inherit;
}

.form-bg .field:not(.inline) {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
}

.form-bg__submit-input {
    width: 100%;
    min-width: 100%;
    background-color: #660099;
    border: none;
    outline: none;
    padding: 13px;
    border-radius: 10px;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
}

.checkbox label::after {
    content: url('../image/loyalty-program/check.svg') !important;
}

.form-bg .selectric-select-wrapper .selectric-select {
    border-color: rgba(150, 201, 38, 0.4);
    border-radius: 10px;
}

.form-bg .selectric-select-wrapper.selectric-select-open .selectric-select {
    border-color: rgba(150, 201, 38, 0.7);
}

.form-bg .selectric-select-wrapper .selectric-select-items li:hover {
    color: #96C926;
}

.form-bg .selectric-select-wrapper .selectric-select::after {
    background-image: url("../image/loyalty-program/arrow-down.svg");
}

.bonus-table {
}

.loyal__item-inner .bonus-table__body {
    padding: 10px 0;
    margin-bottom: 16px;
    margin-right: -4px;
    max-height: 270px;
    overflow-y: auto;
}

.bonus-table__body::-webkit-scrollbar-track,
.bonus-table__body::-webkit-scrollbar-thumb {
    display: none;
}

.bonus-table__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: #F0E5F5;
}

.bonus-table__header:has(.bonus-table__header-green) {
    background-color: #F4FAE9;
}

.bonus-table__header span {
    font-size: 18px;
    color: #1A1A1C;
}

.bonus-table__header span:last-child {
    font-weight: 600;
    color: #660099;
}

.bonus-table__row {
    width: 100%;
    display: flex;
    gap: 25px;
    padding: 16px;
    font-size: 16px;
    font-weight: 400;
}

.bonus-table__row[hidden],
.bonus-table__block[hidden] {
    display: none;
    visibility: hidden;
    height: 0;
    width: 0;
}

.bonus-table__row + .bonus-table__row {
    border-top: 1px solid #E4E4E4;
}

.bonus-table__row:last-child {
    border-bottom: 1px solid #E4E4E4;
}

.bonus-table__date {
    color: #8C8C8D;

}

.bonus-table__status {
    color: #1A1A1C;
}

.bonus-table__amount {
    margin-left: auto;
    font-weight: 600;
    font-size: 18px;
}

.bonus-table__amount--plus {
    color: #469D49;
}

.bonus-table__amount--minus {
    color: #EB4C43;
}

.bonus-table__button {
    width: fit-content;
    min-width: 273px;
}

.cupon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cupon-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    padding: 5px;
    border: none;
    color: #1A1A1C;
    background-color: transparent;
    font-size: 30px;
    cursor: pointer;
    z-index: 1;
}

.cupon-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    height: 100%;
    /*width: 100%;*/
    /*max-width: 350px;*/
    border-radius: 8px;
}

.cupon-card--fullscreen {
    gap: 7px;
    position: relative;
    background-color: #FFFFFF;
    max-width: 500px;
    width: 100%;
    height: fit-content;
    max-height: 90vh;
    padding: 30px 16px 16px;
    overflow-y: auto;
}

.cupon-card__title {
    font-size: 18px;
    font-weight: 600;
}

.cupon-card__text {
    font-size: 16px;
}

.cupon-card__text-code {
    color: #1A1A1C;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-top: auto;
    display: none;
}

.cupon-card__code {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: auto;
}

.cupon-card--fullscreen .cupon-card__code {
    width: 100%;
}

.slider__slide:nth-child(3n+1) > .cupon-card {
    background-color: #DFF2C8;
}

.slider__slide:nth-child(3n+2) > .cupon-card {
    background-color: #FFEFDC;
}

.slider__slide:nth-child(3n+3) > .cupon-card {
    background-color: #DCDDFF;
}

.bonus-list {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
}

.bonus-list.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.bonus-list__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #EDEDED;
    border: none;
    outline: none;
}

.bonus-list__close svg {
    flex-shrink: 0;
}

.bonus-list__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.2);
}

.bonus-list__header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #E4E4E4;
    padding: 16px;
}

.bonus-list__header .loyal__title {
    margin-bottom: 0;
}

.bonus-list__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    z-index: 15;
    border-radius: 16px;
    height: 100%;
    max-height: 775px;
    width: calc(100% - 30px);
    max-width: 1024px;
    overflow-y: scroll;
}

.bonus-list__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.bonus-history__sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.radio-tab-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 4px;
    border-radius: 12px;
    background-color: #EDEDED;
}

.radio-tab {
    position: relative;
    height: fit-content;
    max-height: 40px;
}

.radio-tab input:checked + .radio-tab__label {
    background-color: rgba(150, 201, 38, 0.4);
}

.radio-tab input {
    appearance: none;
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.radio-tab__label {
    display: flex;
    width: fit-content;
    padding: 9px 12px;
    border-radius: 10px;
    background-color: #EDEDED;
    color: #1A1A1C;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.select-c .selectric-select-wrapper.selectric-select-open .selectric-select {
    border: none;
}

.select-c .selectric-select-wrapper .selectric-select {
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    height: 100%;
    max-height: 44px;
    line-height: 1;
    border-radius: 10px;
    background-color: #EDEDED;
    padding: 13px 14px;
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1C;
}

.select-c .selectric-select-wrapper .selectric-select::after {
    position: static;
    width: 18px;
    height: 18px;
    background-image: url("../image/loyalty-program/arrow-down.svg");
}

.select-c .selectric-select-wrapper .selectric-select-items {
    padding-top: 32px;
}

.select-c .selectric-select-wrapper .selectric-select-items li {
    color: #1A1A1C;
    font-size: 16px;
    font-weight: 500;
    padding: 13px 14px;
}

.select-c .selectric-select-wrapper .selectric-select-items li.selected {
    opacity: 0.5;
    pointer-events: none;
}

.select-c .selectric-select-wrapper .selectric-select-items li:hover {
    color: #1A1A1C;
    background-color: rgba(150, 201, 38, 0.4);
}

input[data-pass] {
    padding-right: 40px;
}

.pass-visible-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 5px;
    top: 26px;
    width: fit-content;
    height: fit-content;
    max-height: 40px;
    border: none;
    outline: none;
    background-color: transparent;
}

.pass-visible-btn svg {
    width: 100%;
    height: 100%;
    max-width: 25px;
    max-height: 25px;
    fill: rgba(26, 26, 28, 0.7);
}

input[disabled] {
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.error-text {
    font-size: 12px;
    color: #EB4C43;
}

@media screen and (max-width: 1670px) {
    .bonus-card {
        height: 230px;
    }
}

@media screen and (max-width: 1440px) {
    .bonus-card {
        max-width: 433px;
    }

    .slider__slide:has(.bonus-card) {
        width: 100%;
        max-width: 433px;
    }

    .loyal__info-block {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .loyal__bonuses {
        flex: 1 1 60%;
    }

    .loyal__info-card {
        flex: 1 1 40%;
    }
}

@media screen and (max-width: 1024px) {
    .loyal__categories-empty-container {
        margin-top: 0;
    }

    .loyal__grid-block {
        flex-direction: column;
    }

    .loyal__item {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media screen and (max-width: 768px) {
    .cupon-block__slider {
        padding-right: 16px;
    }

    .loyal__slider {
        padding-right: 16px;
    }

    .loyal__info-block {
        display: contents;
    }

    .form-banner {
        flex-direction: column;
    }

    .form-banner__col {
        min-height: 0;
    }

    .form-banner__img {
        display: none;
        height: 0;
        width: 0;
    }

    .bonus-table__row {
        flex-wrap: wrap;
        gap: 10px 25px;
    }

    .bonus-table__date {
        width: 100%;
    }
}

@media screen and (max-width: 425px) {
    .bonus-card {
        height: 210px;
    }

    .loyal__bonuses {
        flex-direction: column;
        align-items: normal;
    }

    .bonuses-item {
        flex: 1 1 100%;
    }

    .loyal__categories-block-scroll {
        grid-template-columns: minmax(150px, 1fr);
    }
}
