html {
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    position: fixed;
    z-index: 1003;
}

.header.scrolled {
    background: #fff;
    transition: 0.2s;
    border-bottom: 1px solid #f0eded;
}

.header.one_course {
    background: #fff;
}

.header.one_course .header3_container {
    padding: 10px 0;
    transition: 0.2s;
}

.header3_container.scrolled {
    padding: 10px 0;
    transition: 0.2s;
}

.header3_container {
    margin: 0 auto;
    width: 85%;
    display: flex;
    align-items: center;
    padding: 30px 0;
    justify-content: space-between;
}

.header3_logo_container {
    display: flex;
    text-decoration: none;
    flex-direction: row;
    align-items: center;
    transition: 0.2s;
    width: 35%;

}

.header3_logo_container:hover {
    transform: scale(1.01);
}

.header3_logo_container img {
    display: block;
    width: 65px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
    margin-right: 10px;
}

.header3_logo_text {
    font-size: 25px;
    font-weight: 100;
}

.logo_gray {
    color: #333333;
}

.logo_orange {
    color: #fc6c00;
}

.header3_nav_container {
    display: flex;
    align-items: center;
    padding-top: 4px;
}

.header3_nav {
    display: flex;
    align-items: center;
}

.header3_nav a {
    display: block;
    text-decoration: none;
    margin: 0 25px;
    color: #333333;
    transition: 0.2s;
    font-size: 18px;
}

.header3_nav a:hover {
    color: #fc6c00;
    cursor: pointer;
}

.header3_login {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fc6c00;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
    margin: 0 20px;
}

.header3_login:hover {
    color: orange;
    transform: scale(1.02);
}

.header3_login_icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}


.header3_separator {
    width: 1px;
    height: 30px;
    margin: 0 20px;
    background: #dcdcdc;
}

.login_title {
    font-size: 18px;
}

.nav_length,
.header3_logo_text{
    min-width: 175px;
}

.promo3 {
    width: 100%;
    overflow: hidden;
}

.promo3__container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-width: 1940px;
    aspect-ratio: 47 / 22;
    margin: 0 auto;
    background: url("/includes/assets/img/banner5.png")
    center center / cover
    no-repeat;
    border: 1px solid #f0f0f0;
}

.promo3__container::before,
.promo3__container::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.promo3__container::before {
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.01) 0%,
            rgba(255, 255, 255, 0.3) 30%,
            rgba(255, 255, 255, 1) 100%
    );
    opacity: 1;
}

.promo3__container::after {
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.3) 30%,
            rgba(255, 255, 255, 0.01) 100%
    );

    opacity: 0;
}

.promo3__container:has(.promo3__button:hover)::before {
    opacity: 0;
}

.promo3__container:has(.promo3__button:hover)::after {
    opacity: 0;
}

.promo3__content {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: #333333;
}

.promo3__content h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 1px;
}

.promo3__offer {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin: 22px 0;
    font-size: clamp(16px, 1.8vw, 26px);
}

.promo3__offer strong {
    color: #f47721;
}

.promo3__button-wrapper {
    width: 100%;
    margin-top: 27px;
}

.promo3__button {
    display: inline-flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    gap: 14px;
    min-width: 220px;
    height: 90px;
    padding: 0 50px;
    box-sizing: border-box;
    border-radius: 14px;
    background: linear-gradient(
            135deg,
            #ff8a3d 0%,
            #f47721 100%
    );
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow:
            0 7px 18px rgba(244, 119, 33, 0.25);
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            background 0.2s ease;
}

.promo3__button span {
    display: block;
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.promo3__button:hover {
    background: linear-gradient(
            135deg,
            #ff934d 0%,
            #f47721 100%
    );
    box-shadow:
            0 10px 24px rgba(244, 119, 33, 0.32);
    transition: 0.2s;
}

.promo3__button:hover span {
    transform: translateX(12px);
}

.promo3__button:active {
    transform: translateY(0);
    box-shadow:
            0 5px 12px rgba(244, 119, 33, 0.22);
}

.courses-filter {
    width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.courses-filter__search-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025);
    transition: 0.2s;
}

.courses-filter__search:hover {
    border-color: #ffd1b1;
}

.courses-filter__search {
    position: relative;
    flex: 1;
    height: 46px;
    display: flex;
    align-items: center;
    border: 1px solid #eeeeee;
    border-radius: 11px;
}

.courses-filter__search-icon {
    position: absolute;
    left: 14px;
    width: 21px;
    height: 21px;
    color: #ff7418;
    pointer-events: none;
}

.courses-filter__search input {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 18px 0 47px;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    outline: none;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
}

.courses-filter__search input::placeholder {
    color: #969696;
}

.courses-filter__search input:focus {
    border-color: #ff9a54;

    box-shadow: 0 0 0 3px rgba(255, 116, 24, 0.08);
}

.courses-filter__button {
    flex: 0 0 120px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: #ff791b;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
            background 0.2s ease,
            transform 0.15s ease;
}

.courses-filter__button:hover {
    background: #f56d0c;
}

.courses-filter__button:active {
    transform: translateY(1px);
}

.courses-filter__filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
}


.courses-filter__item {
    min-width: 0;
    height: 62px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025);
    transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
}

.courses-filter__item:hover {
    border-color: #ffd1b1;
    box-shadow: 0 3px 12px rgba(255, 116, 24, 0.07);
}

.courses-filter__item-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-right: 22px;
    color: #ff791b;
}

.courses-filter__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.courses-filter__text span {
    color: #303030;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 500;
}

.courses-filter__text small {
    color: #444;
    font-size: 14px;
    line-height: 1.15;
}

.courses-filter__arrow {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-left: auto;
    color: #222;
}

.courses-filter__sort {
    position: relative;
    cursor: pointer;
}

.courses-filter__sort-menu {
    position: absolute;
    z-index: 1002;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.10),
            0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition:
            opacity 0.18s ease,
            visibility 0.18s ease,
            transform 0.18s ease;
}

.courses-filter__sort.is-open
.courses-filter__sort-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.courses-filter__sort-option {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition:
            background 0.15s ease,
            color 0.15s ease;
}

.courses-filter__sort-option:hover {
    background: #fff3ea;
    color: #f47721;
}

.courses-filter__sort-option.is-active {
    background: #fff1e6;
    color: #f47721;
    font-weight: 500;
}

.courses-filter__sort .courses-filter__arrow {
    transition: transform 0.2s ease;
}

.courses-filter__sort.is-open .courses-filter__arrow {
    transform: rotate(180deg);
}

.courses-filter__overlay {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
            opacity 0.2s ease,
            visibility 0.2s ease;
}

.courses-filter__overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.courses-filter__sort.is-open {
    z-index: 1001;
}

.courses-filter__sort-menu {
    z-index: 1002;
}

.bonus3 {
    width: 100%;
    margin: 0 0 30px 0;
    min-height: 115px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 10px 28px;
    border: 1px solid #f1e6da;
    border-radius: 14px;
    background:
            linear-gradient(
                    90deg,
                    #edae66 0%,
                    #ffffff 100%
            );

    text-decoration: none;

}

.bonus3:hover .bonus3__button {
    background: #f28c28;
    color: #fff;
    transform: translateX(5px);
}

.bonus3__icon {
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 28px;
    border-radius: 50%;
    background: #ffe5ad;
    color: #ff8500;
}

.bonus3__icon svg {
    width: 43px;
    height: 43px;
}

.bonus3__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}


.bonus3__title {
    margin-bottom: 5px;
    color: #ff7415;
    font-size: 16px;
    font-weight: 700;
}


.bonus3__headline {
    color: #2d2d2d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}


.bonus3__description {
    margin-top: 3px;
    color: #333;
    font-size: 15px;
    font-weight: 400;
}

.bonus3__button {
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 173px;
    height: 44px;
    padding: 0 18px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #ff791b;
    border-radius: 11px;
    background: transparent;
    color: #f47721;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
            background 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease,
            box-shadow 0.2s ease;
}

.bonus3__button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.bonus3__button:hover {
    background: #ff791b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow:
            0 5px 14px rgba(244, 119, 33, 0.18);
}

.bonus3__button:hover svg {
    transform: translateX(3px);
}

.bonus3__button:active {
    transform: translateY(0);
}

.course-card3 {
    width: 48%;
    min-width: 0;
    display: block;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(
            300deg,
            #ebebeb 0%,
            #ffffff 30%
    );
    border: 1px solid #ffe1c2;
    border-radius: 12px;
    color: #252525;
    text-decoration: none;
    box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.04);
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease;
    margin-bottom: 30px;
}

.course-card3:hover {
    color: #252525;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow:
            0 6px 18px rgba(0, 0, 0, 0.08);
}

.course-card3_image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #eeeeee;
    opacity: 0.6;
}

.course-card3_image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.course-card3:hover,
.course-card3_image > img {
    transform: scale(1.015);
}

.course-card3_badge {
    position: absolute;
    top: 11px;
    left: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 6px;
    background: #ff8500;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow:
            0 2px 6px rgba(0, 0, 0, 0.12);
}

.course-card3_duration {
    position: absolute;
    right: 12px;
    bottom: 11px;
    height: 31px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    box-sizing: border-box;
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.78);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    backdrop-filter: blur(3px);
}

.course-card3_duration svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.course-card3_body {
    padding: 11px 15px 9px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 52%;
}

.course-card3_title {
    margin: 0;
    overflow: hidden;
    color: #333333;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}

.course-card3_teacher {
    min-height: 66px;
    display: flex;
    align-items: center;
    margin-top: 8px;
    margin-left: -16px;
    padding: 0 20px;
    background: linear-gradient(
            135deg,
            #ffd1b1 0%,
            #ffffff 90%
    );
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    min-width: 250px;
}

.course-card3_teacher.one_course {
    background: none;
    margin-left: 0;
    padding: 0;
}

.course-card3_teacher-photo {
    width: 59px;
    height: 59px;
    flex: 0 0 59px;
    overflow: hidden;
    border-radius: 50%;
    background: #eeeeee;
}

.course-card3_teacher-photo.one_course {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    overflow: hidden;
    border-radius: 50%;
    background: #eeeeee;
}

.course-card3_teacher-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card3_teacher-info {
    min-width: 0;
    margin-left: 11px;
}

.course-card3_teacher-name {
    color: #292929;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
}

.course-card3_teacher-name.one_course {
    color: #292929;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
}

.course-card3_teacher-position {
    margin-top: 4px;
    color: #555555;
    font-size: 13px;
    line-height: 1.3;
}

.course-card3_teacher-position.one_course {
    margin-top: 4px;
    color: #555555;
    font-size: 15px;
    line-height: 1.3;
}

.course-card3_bottom {
    min-height: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 3px;
}

.course-card3_date {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333333;
    font-size: 12px;
    white-space: nowrap;
}

.course-card3_date svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.course-card3_action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-left: auto;
}

.course-card3_price {
    text-align: right;
}

.course-card3_old-price {
    color: #999999;
    font-size: 16px;
    line-height: 1;
    text-decoration: line-through;
    letter-spacing: 1px;
}

.course-card3_new-price {
    margin-top: 5px;
    color: #f47721;
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
}

.course-card3_button {
    width: 140px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1.5px solid #ff9148;
    border-radius: 9px;
    background: #ffffff;
    color: #f47721;
    font-size: 14px;
    font-weight: 600;
    transition:
            background 0.2s ease,
            color 0.2s ease,
            box-shadow 0.2s ease;
}

.course-card3:hover .course-card3_button {
    background: #f47721;
    color: #ffffff;
    box-shadow:
            0 4px 10px rgba(244, 119, 33, 0.18);
}

#search_container {
    font-size: clamp(28px, 4vw, 60px);
    text-align: center;
    margin-top: 30px;
    color: #f56d0c;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 1px;
}

.course-card3_teacher_container{
    display: flex;
    justify-content: space-between;
    align-items: end
}

.course-card3_bottom_container{
    display: flex;
    flex-direction: column;
    align-items: end
}

.promo3_course {
    margin-top: 0;
    width: 100%;
    overflow: hidden;
}

.promo3__course_container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-width: 1940px;
    aspect-ratio: 47 / 22;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.promo3__course_content {
    position: absolute;
    left: 8%;
    top: 50%;
    right: 40%;
    transform: translateY(-50%);
    color: #333333;
}

.promo3__course_content h1{
    margin: 0;
    font-size: clamp(28px, 3vw, 55px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 1px;
}

.promo3__course_offer {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin: 22px 0;
    font-size: clamp(16px, 1.8vw, 26px);
}

.promo3__course_offer strong {
    color: #f47721;
}

.promo3__benefits {
    position: absolute;
    top: 50%;
    right: 4.5%;
    transform: translateY(-50%);
    width: 330px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 5;
}

.promo3__benefit {
    position: relative;
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    padding: 13px 17px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(244, 119, 33, 0.15);
    border-radius: 14px;
    box-shadow:
            0 6px 22px rgba(0, 0, 0, 0.055);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(7px);
    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
}

.promo3__benefit:hover {
    transform: translateX(-5px);
    border-color: rgba(244, 119, 33, 0.28);
    box-shadow:
            0 9px 27px rgba(0, 0, 0, 0.08);
}

.promo3__benefit-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    color: #f47721;
    border-radius: 12px;
    background:
            linear-gradient(
                    135deg,
                    rgba(255, 244, 235, 0.95),
                    rgba(255, 232, 213, 0.7)
            );
}

.promo3__benefit-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.promo3__benefit-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.promo3__benefit-title {
    margin-bottom: 4px;
    color: #292929;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.promo3__benefit-text {
    color: #666666;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 400;
}

.promo3_price_block {
    width: 82%;
    max-width: 1430px;
    min-height: 126px;

    margin: 0 auto;
    padding: 18px 28px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 45px;

    background: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.025);
}


/* =========================
   ЛЕВАЯ ЧАСТЬ
========================= */

.promo3_price_info {
    width: 190px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.promo3_old_price {
    position: relative;

    margin-bottom: 3px;

    color: #a7a7a7;

    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;

    line-height: 1.1;
}


/* Перечеркивание старой цены */

.promo3_old_price::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    height: 1px;

    background: #a7a7a7;

    transform: rotate(-3deg);
}


.promo3_current_price {
    color: #f47700;

    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -0.5px;
}


.promo3_discount {
    margin-top: 7px;

    color: #4f4f4f;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;

    white-space: nowrap;
}


/* =========================
   ПРАВАЯ ЧАСТЬ
========================= */

.promo3_action {
    flex: 1;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
}


/* =========================
   КНОПКА
========================= */

.promo3_access_btn {
    position: relative;

    width: 100%;
    height: 64px;

    padding: 0 65px 0 30px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: linear-gradient(
            180deg,
            #ff9700 0%,
            #ff7600 100%
    );

    color: #ffffff;

    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;

    line-height: 1;

    box-shadow:
            0 4px 10px rgba(255, 126, 0, 0.18);

    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            filter 0.2s ease;
}


.promo3_access_btn_text {
    display: block;

    text-align: center;
}


.promo3_access_btn_lock {
    position: absolute;

    right: 24px;

    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ffffff;
}

.promo3_access_btn_lock_shackle {
    transform-box: fill-box;
    transform-origin: right center;

    transform: rotate(0deg);

    transition:
            transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.promo3_access_btn:hover {
    background: linear-gradient(
            180deg,
            #ff7600 0%,
            #ff9700 100%
    );
}

.promo3_access_btn:hover .promo3_access_btn_lock_shackle {
    transform: rotate(30deg);
}


/* Небольшое движение всего замка */
.promo3_access_btn_lock {
    transition: transform 0.2s ease;
}

.promo3_access_btn:hover
.promo3_access_btn_lock {
    transform: translateY(-1px);
}


/* =========================
   БЕЗОПАСНАЯ ОПЛАТА
========================= */

.promo3_secure {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 9px;

    color: #666666;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;

    line-height: 1.2;
}


.promo3_secure_icon {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    color: #ff8a3d;
}

.main_course_program_inner_container {
    width: 82%;
    margin: 0 auto;
}

.video_notify_title {
    margin-bottom: 30px;
    text-align: left;
    width: 82%;
    font-size: 24px;
    color: #2d2d2d;
}

.mobile_benefits_container {
    margin-top: 30px;
}

.mobile_benefits_list {
    display: none;
    flex-direction: row;
    font-size: 14px;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
}

.mobile_benefits_list li {
    padding: 8px 11px;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #f0eded;
}

.mobile_benefits_list li:after {
    content: '\2714';
    font-weight: bold;
    color: orange;
    margin-left: 10px;
}

.certificate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 13px 33px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 30px;
    margin-left: 15px;
}

.certificate-btn:hover {
    background: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px #007bff;
}

.certificate-btn__icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.certificate-form-main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    box-sizing: border-box;
}

.certificate-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 28px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.certificate-form__header {
    margin-bottom: 22px;
}

.certificate-form__title {
    margin-bottom: 6px;
    color: #222;
    font-size: 21px;
    font-weight: 600;
}

.certificate-form__description {
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.certificate-form__body {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.certificate-form__field {
    flex: 1;
}

.certificate-form__field label {
    display: block;
    margin-bottom: 7px;
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.certificate-form__field input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    outline: none;
    color: #222;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.certificate-form__field input::placeholder {
    color: #aaa;
}

.certificate-form__field input:focus {
    border-color: #f28c28;
    box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.12);
}

.certificate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.certificate-btn:hover {
    background: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px #007bff;
}

.certificate-btn:active {
    transform: translateY(0);
}

.certificate-btn__icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.certificate-btn:hover .certificate-btn__icon {
    transform: translateY(2px);
}

.create-paylink-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 168px 20px 70px;
    box-sizing: border-box;
}

.paylink-form-wrapper {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 35px 40px 40px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    box-shadow: 10px 18px 30px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.paylink-form-title {
    margin: 0 0 30px;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    color: #252525;
}

.paylink-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.paylink-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.paylink-form-group label {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    color: #333333;
}

.paylink-form-group select,
.paylink-form-group input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 15px;
    color: #252525;
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
}

.paylink-form-group select {
    width: 100%;
    height: 48px;
    padding: 0 45px 0 14px;
    font-family: inherit;
    font-size: 15px;
    color: #252525;
    background-color: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 6px;
    cursor: pointer;
}

.paylink-form-group select:hover,
.paylink-form-group input:hover {
    border-color: #bcbcbc;
}

.paylink-form-group select:focus,
.paylink-form-group input:focus {
    border-color: #e58a25;
    box-shadow: 0 0 0 3px rgba(229, 138, 37, 0.12);
}

.price-input-wrapper {
    position: relative;
    width: 100%;
}

.price-input-wrapper input {
    padding-right: 45px;
}

.price-currency {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 15px;
    color: #777777;
    pointer-events: none;
}

.paylink-submit {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: #e58a25;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition:
            background 0.2s ease,
            transform 0.1s ease,
            box-shadow 0.2s ease;
}

.paylink-submit:hover {
    background: #d77c19;
    box-shadow: 0 5px 15px rgba(229, 138, 37, 0.2);
}

.paylink-submit:active {
    transform: translateY(1px);
}

.ts-wrapper {
    width: 100%;
}

.ts-control {
    min-height: 48px !important;
    padding: 0 40px 0 14px !important;
    display: flex;
    align-items: center;
    font-family: inherit !important;
    font-size: 15px !important;
    color: #252525 !important;
    background: #fff !important;
    border: 1px solid #d7d7d7 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.ts-wrapper.focus .ts-control {
    border-color: #e58a25 !important;
    box-shadow: 0 0 0 3px rgba(229, 138, 37, 0.12) !important;
}

.ts-control input {
    font-family: inherit !important;
    font-size: 15px !important;
}

.ts-control input::placeholder {
    color: #888;
}

.ts-dropdown {
    margin-top: 5px;
    border: 1px solid #d7d7d7 !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.ts-dropdown .option {
    padding: 11px 14px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.ts-dropdown .option:hover,
.ts-dropdown .active {
    background: #fff4e8 !important;
    color: #d77c19 !important;
}

.ts-dropdown .no-results {
    padding: 12px 14px;
    color: #888;
}

.main_payment-card {
    min-height: calc(100vh - 228px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 20px 100px 20px;
    box-sizing: border-box;
}

.payment-card {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
    box-shadow:
            0 10px 35px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eeeeee;
}

.payment-card__header {
    text-align: center;
    margin-bottom: 32px;
}

.payment-card__icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f8f3;
    color: #35a264;
    font-size: 25px;
    font-weight: 600;
}

.payment-card__header h1 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
    color: #222222;
}

.payment-card__header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #888888;
}

.payment-info {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 6px 0;
}

.payment-info__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 0;
}

.payment-info__label {
    flex-shrink: 0;
    font-size: 14px;
    color: #888888;
}

.payment-info__value {
    text-align: right;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
    word-break: break-word;
    max-width: 228px;
}

.payment-info__item--price {
    align-items: center;
}

.payment-info__price {
    font-size: 25px;
    line-height: 1;
    font-weight: 700;
    color: #222222;
    white-space: nowrap;
}

.payment-card__footer {
    margin-top: 30px;
}

.payment-button {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    border-radius: 12px;
    background: #222222;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
            background-color 0.2s ease,
            transform 0.2s ease,
            box-shadow 0.2s ease;
}

.payment-button:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.15);
}

.payment-button:active {
    transform: translateY(0);
}

.payment-button__arrow {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.payment-button:hover .payment-button__arrow {
    transform: translateX(4px);
}

.payment-secure {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #999999;
}


@media screen and (max-width: 1400px) {

    .promo3__benefits {
        right: 3%;
        width: 300px;
    }

    .promo3__benefit {
        min-height: 76px;
        padding: 11px 14px;
    }

    .promo3__benefit-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;

        margin-right: 12px;
    }

    .promo3__benefit-icon svg {
        width: 31px;
        height: 31px;
    }

    .promo3__benefit-title {
        font-size: 14px;
    }

    .promo3__benefit-text {
        font-size: 11.5px;
    }
}


@media screen and (max-width: 1200px) {
    .header3_container, .header1_mob {
        padding: 10px 0;
    }

    .promo3__content {
        margin-top: 30px;
    }

    .promo3__container {
        height: auto;
    }

    .promo3__course_container {
        height: auto;
        min-height: 90vh;
    }

    .promo3_course{
        margin-top: 0;
    }

    .promo3__benefits {
        right: 2.5%;
        width: 270px;
        gap: 9px;
    }

    .promo3__benefit {
        min-height: 70px;
        padding: 9px 12px;
        border-radius: 12px;
    }

    .promo3__benefit-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        margin-right: 10px;
        border-radius: 10px;
    }

    .promo3__benefit-icon svg {
        width: 28px;
        height: 28px;
    }

    .promo3__benefit-title {
        font-size: 13px;
    }

    .promo3__benefit-text {
        font-size: 10.5px;
    }
}

@media screen and (max-width: 1000px) {
    .header3_container, .header1_mob {
        margin: 0 auto;
        width: 94%;
    }

    .promo3__content,
    .promo3__course_content {
        left: 4%;
    }

    .promo3_price_block,
    .main_course_program_inner_container {
        width: 90%;
    }

    .search_container {
        width: 93%;
    }

    .promo3__button {
        height: 60px;
    }

    .promo3__course_container {
        min-height: 590px;
    }

    .promo3__benefits {
        display: none;
    }

    .promo3__course_content {
        right: 10%;
    }

    .promo3__course_content h1 {
        max-width: 600px;
    }

    .mobile_benefits_list {
        display: flex;
    }
}

@media screen and (max-width: 830px) {
    .header3_nav a {
        margin: 0 15px;
        font-size: 17px;
    }

    .promo3__container {
        aspect-ratio: 38 / 17;
    }

    .promo3__button-wrapper {
        margin-top: 0;
    }

    .promo3__button {
        width: 255px;
        height: 48px;
        padding: 0 18px;
        border-radius: 12px;
        font-size: 15px;
    }

    .promo3__button span {
        font-size: 20px;
    }

    .promo3__offer {
        margin-top: 13px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 800px) {
    .header {
        position: relative;
    }

    .promo3__content {
        margin-top: 0;
    }

    .promo3__course_container {
        min-height: 450px;
    }

    #search_container {
        font-size: 1px;
        padding: 0;
        margin-top: 0;
        opacity: 0;
        line-height: 0;
    }

    .courses-filter__search-row {
        padding: 5px 0;
    }

    .search_container {
        margin:10px 0 20px 0;
    }

    .header1_mob {
        padding: 3px 0;
    }

    .header3_nav a {
        margin: 0 15px;
        font-size: 17px;
    }

    .header1_mob {
        display: flex;
    }

    .header3 {
        display: none;
    }

    .header3_logo_container img {
        width: 55px;
        max-height: 55px;
    }

    .header3_logo_text {
        font-size: 21px;
    }

    .courses-filter__filters {
        grid-template-columns: 1fr 1fr;
    }

    .courses-filter__item:last-child {
        grid-column: 1 / -1;
    }

    .course-card3 {
        width: 100%;
    }

    .promo3_course {
        margin-top: 0;
    }

    .promo3__course_content h1 {
        margin-top: 30px;
    }

    .course-card3_teacher-name.one_course {
        font-size: 15px;
    }

    .course-card3_teacher-position.one_course {
        font-size: 13px;
    }

    .course-card3_teacher-photo.one_course {
        height: 60px;
        width: 60px;
        flex: 0 0 60px;
    }
}

@media screen and (max-width: 700px) {

    .bonus3 {
        padding: 12px 20px;
    }

    .bonus3__icon {
        width: 62px;
        height: 62px;
        margin-right: 18px;
    }

    .bonus3__icon svg {
        width: 36px;
        height: 36px;
    }

    .bonus3__title {
        font-size: 14px;
    }

    .bonus3__headline {
        font-size: 17px;
    }

    .bonus3__description {
        font-size: 14px;
    }

    .bonus3__button {
        min-width: 145px;
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .video_notify_title {
        font-size: 20px;
    }

    .promo3_price_block {
        padding: 18px 20px;

        gap: 25px;
    }

    .promo3_price_info {
        width: 160px;
    }

    .promo3_current_price {
        font-size: 28px;
    }

    .promo3_access_btn {
        font-size: 16px;
    }

    .mobile_benefits_list li {
        min-width: 56px;
    }

    .mobile_benefits_list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .main_payment-card {
        min-height: calc(100vh - 328px);
        padding: 0 16px;
    }

    .payment-card {
        padding: 30px 25px;
        border-radius: 18px;
    }

    .payment-card__header h1 {
        font-size: 25px;
    }
}

@media screen and (max-width: 600px) {
    .promo3__container {
        aspect-ratio: 38 / 21;
    }

    .courses-filter__search-row {
        gap: 8px;
    }

    .courses-filter__search {
        height: 44px;
    }

    .courses-filter__button {
        flex: 0 0 80px;
        height: 44px;
    }

    .courses-filter__filters {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .courses-filter__item:last-child {
        grid-column: auto;
    }

    .courses-filter__item {
        height: 60px;
    }

    .promo3__button-wrapper {
        margin-top: 0;
    }

    .promo3__button {
        text-align: left;
        justify-content: left;
    }

    .promo3__button span {
        font-size: 19px;
    }

    .promo3__button:hover {
        transform: translateY(-1px);
    }


    .promo3__course_content h1 {
        margin-top: 46px;
    }

    .video_notify_title {
        font-size: 18px;
    }

    .certificate-form {
        padding: 20px;
        border-radius: 12px;
    }

    .certificate-form__title {
        font-size: 19px;
    }

    .certificate-form__body {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .certificate-btn {
        margin-left: 0;
    }

    .certificate-form-main {
        padding: 50px 10px;
        min-height: 62vh;
    }

    .create-paylink-container {
        padding: 25px 15px 40px;
    }

    .paylink-form-wrapper {
        padding: 25px 20px 30px;
        border-radius: 12px;
    }

    .paylink-form-title {
        margin-bottom: 25px;
        font-size: 22px;
    }

    .paylink-form {
        gap: 18px;
    }

    .paylink-form-group select,
    .paylink-form-group input {
        height: 46px;
    }

    .paylink-submit {
        height: 48px;
    }
}

@media (max-width: 560px) {

    .promo3_price_block {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }

    .promo3_price_info {
        width: 100%;
        align-items: center;
    }

    .promo3_old_price {
        font-size: 17px;
    }

    .promo3_current_price {
        font-size: 30px;
    }

    .promo3_discount {
        white-space: normal;
        text-align: center;
    }

    .promo3_action {
        width: 100%;
    }

    .promo3_access_btn {
        height: 60px;
        padding-left: 20px;
        padding-right: 55px;
        font-size: 15px;
    }

    .promo3_access_btn_lock {
        right: 18px;
        width: 22px;
        height: 22px;
    }

    .promo3_secure {
        font-size: 11px;
        text-align: center;
    }
}

@media screen and (max-width: 550px) {
    
    .promo3__course_content h1 {
        margin-top: 0;
    }
    
    .bonus3 {
        min-height: auto;
        padding: 15px;
        flex-wrap: wrap;
    }

    .bonus3__icon {
        width: 58px;
        height: 58px;
        margin-right: 14px;
    }

    .bonus3__icon svg {
        width: 34px;
        height: 34px;
    }

    .bonus3__content {
        flex: 1;
    }

    .bonus3__title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .bonus3__headline {
        font-size: 16px;
    }

    .bonus3__description {
        font-size: 13px;
    }

    .bonus3__button {
        width: 100%;
        margin-top: 14px;
        margin-left: 0;
        height: 42px;
    }

    .promo3__button-wrapper {
        display: none;
    }

    .promo3__container {
        aspect-ratio: 38 / 17;
        opacity: 1;
    }

    .promo3__container::after,
    .promo3__container::before{
        background: linear-gradient(
                to right,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0.01) 100%
        );
    }

    .promo3__container::before {
        opacity: 1;
    }

    .promo3__container::after {
        opacity: 0;
    }

    .promo3__content h1 {
        font-size: clamp(30px, 4vw, 60px);
    }

    .course-card3_teacher {
        padding: 0 2px;
        min-width: 210px;
    }

    .promo3__course_container {
        min-height: 430px;
    }

    .personal_account_main {
        margin: 60px auto;
    }
}

@media (max-width: 480px) {

    .main_payment-card {
        padding: 20px 12px;
    }

    .payment-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .payment-card__header {
        margin-bottom: 25px;
    }

    .payment-card__icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
        font-size: 22px;
    }

    .payment-card__header h1 {
        font-size: 22px;
    }

    .payment-card__header p {
        font-size: 14px;
    }

    .payment-info__item {
        gap: 15px;
        padding: 15px 0;
    }

    .payment-info__label {
        font-size: 13px;
    }

    .payment-info__value {
        font-size: 14px;
    }

    .payment-info__price {
        font-size: 22px;
    }

    .payment-button {
        min-height: 54px;
        font-size: 15px;
    }
}

@media (max-width: 413px) {
    .promo3__course_content {
        top: 56%;
    }
}

@media (max-width: 400px) {

    .create-paylink-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .paylink-form-wrapper {
        padding: 22px 15px 25px;
    }

    .paylink-form-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 389px) {
    .course-card3_teacher_container {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-card3_bottom_container {
        width: 98%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
    }

    .course-card3_teacher {
        background: none;
    }

    .promo3__course_offer {
        flex-direction: column;
    }

    .promo3__course_container {
        min-height: 460px;
    }

    .certificate-form {
        padding: 16px;
    }

    .certificate-form__description {
        font-size: 13px;
    }

    .certificate-btn {
        padding: 0 15px;
    }
}

@media screen and (max-width: 370px) {
    .header3_logo_text {
        display: none;
    }

    .header3_logo_container img {
        width: 50px;
        max-height: 50px;
    }

    .promo3__content h1 {
        font-size: 22px;
    }

    .mobile_benefits_list .tp {
        display: none;
    }
}

@media (max-width: 360px) {

    .promo3_price_block {
        padding: 16px;
    }

    .promo3_access_btn {
        font-size: 14px;
    }

    .promo3_secure {
        align-items: flex-start;
    }

    .payment-card {
        padding: 22px 16px;
    }

    .payment-info__item {
        flex-direction: column;
        gap: 6px;
    }

    .payment-info__value {
        text-align: left;
    }

    .payment-info__item--price {
        flex-direction: row;
        align-items: center;
    }
}