input.error[type="checkbox"] + label {
    border: 2px solid #d9534f;
    padding: 3px 5px;
    border-radius: 4px;
    background-color: #ffe6e6;
}

.countdown__badge  .h2 {
    font-size: 20px;
}

.input-content {
    margin-bottom: 20px;
}

.header__address:has(div.elem) {
    display: flex;
    align-items: center;
}

.header__time {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.header__address .elem {
    display: flex;
    flex-direction: column;
}

span.error {
    color: #d9534f !important;
}

span.error a {
    color: #d9534f !important;
}

#telephone-error.error {
    color: #d9534f;
    margin-top: 5px;
    display: block;
    font-size: 11px;
}

.popup-offer-assets__item-values .text-muted {
    text-decoration: line-through;
}

.form-check-label.text-body {
    line-height: normal;
}

.level-item__card {
    position: relative;
    overflow: hidden;
    z-index: 0;
    min-height: 12.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .level-item__card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 140%;
    height: 140%;
    top: 3rem;
    left: 10%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(ellipse farthest-side at center, var(--bs-theme-gradient-2) 100%);
    opacity: 0.5;
    transition: all 0.3s ease;
  }
  
/* Hover стили */
.level-item__card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.level-item__card:hover::before {
opacity: 0.7;
transform: translate(-50%, -50%) scale(1.05);
}
.level-item__card:hover .level-item__title {
color: var(--bs-primary);
}
.level-item__card:hover .level-item__subtitle {
color: var(--bs-theme-color-3);
}
.level-item__card:hover .level-item__tags .badge {
background: var(--bs-primary);
color: white;
border-color: var(--bs-primary);
}


/* Hover стили */
.level-item__card.active {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.level-item__card.active::before {
opacity: 0.7;
transform: translate(-50%, -50%) scale(1.05);
}
.level-item__card.active .level-item__title {
color: var(--bs-primary);
}
.level-item__card.active .level-item__subtitle {
color: var(--bs-theme-color-3);
}
.level-item__card.active .level-item__tags .badge {
background: var(--bs-primary);
color: white;
border-color: var(--bs-primary);
}

/* Анимация тряски */
@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    20%,
    60% {
        transform: translateX(-5px);
    }
    40%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Подсветка label при неотмеченном чекбоксе */
.form-check-label.highlighted {
    color: #d9534f !important;
    transition: color 0.3s;
}

/* Подсветка ссылки внутри label, если она есть */
.form-check-label.highlighted a {
    color: #d9534f !important;
    text-decoration: underline;
}

/* Подсказка-ошибка рядом с чекбоксом (если используешь) */
.policy-hint {
    color: #ff0000;
    font-size: 12px;
    margin-left: 10px;
    font-weight: normal;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.section-header {
    margin-bottom: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 40px;
}
.section-header__heading {
    color: #000;
    font-size: 48px;
    font-weight: 500;
    line-height: 48px;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 20px;
    font-family: inherit;
    text-align: center;
}
.section-header__addons {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.section-header .btn {
    height: 46px;
    min-width: 190px;
}
.section-policy {
    padding: 60px 0;
}
.section-policy a {
    display: inline;
    text-decoration: underline;
}
.section-policy h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.section-policy h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
}
.section-policy p {
    margin-bottom: 15px;
    text-align: justify;
}
.section-policy ul {
    margin-bottom: 15px;
    padding-left: 20px;
}
.section-policy li {
    margin-bottom: 8px;
}
.section-policy .section {
    margin-bottom: 30px;
}
@media (max-width: 768px) {
    .countdown__badge .h2 {
        font-size: 14px;
    }
    
    .section-policy {
        padding: 40px 0;
    }
    .section-header__heading {
        font-size: 24px;
        line-height: 30px;
        text-align: center;
    }
    .section-header__heading:before {
        display: none;
    }
    .section-policy p {
        font-size: 16px;
    }
}

.person__photo img{
    max-width: 100%;
}

.large-checks label {
    cursor: pointer;
}
span.error {
    font-size: 12px;
    color: red;
}

.credit-banner {
    background-image: var(--banner-color);
}

.credit-bg {
    background-color: var(--body-bg-secondary-color);
}

.callback-button {
    background-color: var(--main-btn-color);
    color: var(--main-btn-text-color);
}
.callback-button:before {
    border: solid var(--main-btn-color) 1px;
}
.callback-button:after {
    background-color: var(--main-btn-color);
}
.callback-button__icon {
    background: currentColor;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 0 48 48' width='48'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath fill='white' d='M13.25 21.59c2.88 5.66 7.51 10.29 13.18 13.17l4.4-4.41c.55-.55 1.34-.71 2.03-.49 1.24.74 4.65 1.14 7.14 1.14 1.11 0 2 .89 2 2v7c0 1.11-.89 2-2 2-18.78 0-34-15.22-34-34 0-1.11.9-2 2-2h7c1.11 0 2 .89 2 2 0 2.49.4 4.9 1.14 7.14.22.69.06 1.48-.49 2.03l-4.4 4.42z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 90%;
}


/*phone btn*/
.callback-button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background-color: var(--app-primary);
    color: #fff;
    cursor: pointer;
    display: block;
    position: fixed;
    font-size: inherit;
    right: 2em;
    bottom: 2em;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    text-align: center;
    transition: all .2s;
    border: none;
    z-index: 100;
}

.callback-button:hover {
    width: 2.7em;
    height: 2.7em;
    line-height: 2.7em;
    right: 2em;
    bottom: 2em;
}

.callback-button i {
    color: inherit;
    position: relative;
    z-index: 1;
    animation: callback-button-phone 2s infinite;
    animation-timing-function: ease-out;
}

.callback-button:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 50%;
    border: solid var(--app-primary) 1px;
    width: 5em;
    height: 5em;
    animation: callback-button-border 2s infinite
}

.callback-button:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 50%;
    background-color: var(--app-primary);
    opacity: .1;
    width: 4em;
    height: 4em;
    animation: callback-button-border1 2s infinite;
    animation-delay: 1s
}

@keyframes callback-button-phone {
    0% {
        transform: rotate(0)
    }

    3% {
        transform: rotate(10deg)
    }

    6% {
        transform: rotate(0)
    }

    9% {
        transform: rotate(-10deg)
    }

    12% {
        transform: rotate(0)
    }

    15% {
        transform: rotate(10deg)
    }

    18% {
        transform: rotate(0)
    }

    21% {
        transform: rotate(-10deg)
    }

    24% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(0)
    }
}

@keyframes callback-button-border {
    0% {
        width: 2.5em;
        height: 2.5em;
        opacity: 1
    }

    100% {
        width: 5em;
        height: 5em;
        opacity: 0
    }
}

@keyframes callback-button-border1 {
    0% {
        width: 2.5em;
        height: 2.5em;
        opacity: .3
    }

    100% {
        width: 5em;
        height: 5em;
        opacity: 0
    }
}

.callback-button__icon {
    background: url('data:image/svg+xml,<%3Fxml version="1.0" %3F><svg height="48" viewBox="0 0 48 48" width="48" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h48v48h-48z" fill="none"/><path fill="white" d="M13.25 21.59c2.88 5.66 7.51 10.29 13.18 13.17l4.4-4.41c.55-.55 1.34-.71 2.03-.49 1.24.74 4.65 1.14 7.14 1.14 1.11 0 2 .89 2 2v7c0 1.11-.89 2-2 2-18.78 0-34-15.22-34-34 0-1.11.9-2 2-2h7c1.11 0 2 .89 2 2 0 2.49.4 4.9 1.14 7.14.22.69.06 1.48-.49 2.03l-4.4 4.42z"/></svg>') center no-repeat;
    width: 100%;
    height: 100%;
    display: block;
    background-size: 27px;
}


.header {
    position: sticky;
    z-index: 2;
    top: 1rem;
    width: 100%;
}

#popup-dynamic .popup-cost-asset img {
    max-width: 100%;
}