.g-loyalty-hidden {
    display: none;
}

.b-loyalty-popup {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    position: relative;
    width: 520px;
}
.b-loyalty-popup a {
    color: #f00;
}
.b-loyalty-popup__close {
    position: absolute;
    right: 25px;
    top: 30px;
}
.b-loyalty-popup__title {
    font-weight: 400;
    font-size: 36px;
    line-height: 122%;
    margin: 0 0 30px;
    text-align: center;
    text-transform: capitalize;
}
.b-loyalty-form__agreements {
    color: rgba(102, 102, 102, 1);
    font-weight: 300;
    font-size: 16px;
    line-height: 122%;
}
.b-loyalty-form__field {
	margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}
.b-loyalty-form__field input[type="text"] {
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #000;
    font-weight: 300;
    font-size: 16px;
    line-height: 122%;
    padding: 12px 20px;
    width: 100%;
}
.b-loyalty-form__field input[type="text"]::placeholder {
    color: #666;
    font-weight: 300;
    font-size: 16px;
    line-height: 122%;
}
.b-loyalty-form__field__error {
    color: red;
    display: none;
    font-weight: 300;
    font-size: 12px;
    line-height: 122%;
    position: absolute;
    right: 10px;
    top: 14.5px;
}
.b-loyalty-form__field.error .b-loyalty-form__field__error {
    display: block;
}
.b-loyalty-form__field__error__sign {
    border-radius: 9px;
    border: 1px solid red;
    display: inline-block;
    height: 18px;
    line-height: 18px;
    text-align: center;
    width: 18px;
}
.b-loyalty-form__field__icon {
    background: url(i/calendar.svg) no-repeat;
    height: 20px;
    margin-top: -10px;
    position: absolute;
    right: 10px;
    top: 50%;
    width: 21px;
}
.b-loyalty-form__field:has(.b-loyalty-form__field__icon) input[type="text"] {
    padding-right: 40px;
}

.b-loyalty-form__btn {
    background: rgba(255, 210, 72, 1);
    border-radius: 4px;
    border: 0;
    color: #fff;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    padding: 16px 20px;
    transition: background-color 0.3s ease-out;
    width: 100%;
}
.b-loyalty-form__btn:hover {
    background: rgba(255, 210, 72, 1);
}
.b-loyalty-form__btn_off {
    color: rgba(102, 102, 102, 1);
    cursor: default;
    background: rgba(221, 221, 221, 1) !important;
}

.b-loyalty-form__code {

}
.b-loyalty-form__code__label {
    font-family: Roboto;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    margin: 0 0 16px;
}
.b-loyalty-form__code__input {

}
.b-loyalty-form__code__input > input {
    margin-right: 10px;
    padding: 12px 5px !important;
    text-align: center;
    width: 39px !important;
}

.b-loyalty-checkbox {
    padding-left: 36px;
    position: relative;
}
.b-loyalty-checkbox__input {
    border: 1px solid rgba(102, 102, 102, 1);
    border-radius: 2px;
    height: 20px;
    left: 0;
    position: absolute;
    width: 20px;
}
.b-loyalty-checkbox__label {
    color: rgba(102, 102, 102, 1);
    font-weight: 300;
    font-size: 16px;
    line-height: 122%;
}
.b-loyalty-checkbox__label a {
    color: red;
    font-size: 16px;
    line-height: 122%;
    text-decoration: underline;
}

.b-loyalty-form__timer {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.b-loyalty-form__timer .js-timer-seconds {
    font-weight: bold;
    color: #ff6b00;
    font-size: 16px;
}

@media (max-width: 960px) {
    .b-loyalty-popup {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    .b-loyalty-popup__close {
        right: -5px;
        top: 25px;
    }
}
