
:root {
    --bg-primary-main: #fff;
    --bg-primary-second: #f4f4f4;
    --bg-primary-third: #e9e9e9;
    --bg-primary-stroke: #ddd;
    --bg-alt-main: #1f1f1f;
    --bg-alt-second: #2a2a2a;
    --bg-alt-third: #353535;
    --bg-alt-stroke: #4c4c4c;
    --text-primary-head: #1f1f1f;
    --text-primary-main: #626262;
    --text-primary-second: #8f8f8f;
    --text-alt-head: #fff;
    --text-alt-main: #f4f4f4;
    --text-alt-second: #e9e9e9;
    --colors-main: #ff8c1f;
    --colors-second: #cc7019;
    --hover-main: #cc7019;
    --hover-second: #d8812f;
    --fancybox-bg: #1f1f1f;
}

.policy-checkbox input {
    width: fit-content !important;
}
.policy-checkbox {
    display: flex;
    align-items: center;

}

/* ============== MODAL Start ============= */
.theme-modal {
    display: none;
    position: relative;
}

.theme-modal .title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 32px;
    line-height: 110%;
    color: var(--bg-alt-main);
    text-align: left;
    color: var(--bg-alt-main);
    margin-bottom: 15px;
}

#modal-success.theme-modal.fancybox__content .title {
    font-size: 31px;
}

.theme-modal .subtitle {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 20px;
    line-height: 130%;
    color: var(--bg-alt-main);
    margin-bottom: 30px;
}

.theme-modal .btn {
    width: 100%;
}

.fancybox__content > .f-button.is-close-btn {
    top: 20px !important;
    right: 20px !important;
    --f-button-width: 18px !important;
    --f-button-height: 18px !important;
    --f-button-border-radius: unset !important;
    --f-button-color: #1f1f1f !important;
    --f-button-hover-color: unset !important;
    --f-button-bg: transparent !important;
    --f-button-hover-bg: transparent !important;
    --f-button-active-bg: transparent !important;
    --f-button-svg-width: 100% !important;
    --f-button-svg-height: 100% !important;
}

.f-button svg {
    stroke: #fff !important;
    fill: var(--bg-alt-main);
}

.fancybox__content > .f-button.is-close-btn:hover path {
    fill: var(--bg-primary-second) !important;
    transition: 0.3s !important;
}

.hero-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.hero-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    height: auto;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fancybox__content > .f-button.is-close-btn:hover path {
    stroke: transparent !important;
}

.theme-modal.fancybox__content {
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    padding: 25px 35px;
    background: var(--bg-primary-main);
    overflow: auto;
    top: 0;
}

#modal-success.theme-modal.fancybox__content {
    width: 100%;
}

.theme-modal.fancybox__content .f-button.is-close-btn svg path {
    transition: stroke 0.3s ease-in;
}

.theme-modal.fancybox__content .f-button.is-close-btn:hover svg path {
    fill: var(--primary);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-top-modal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button {
    border: unset;
}

button,
input {
    outline: none;
}

.form input,
.form select,
.form textarea {
    border: 1px solid var(--bg-primary-stroke);
    border-radius: 10px;
    padding: 22px;
    background: var(--bg-primary-main);
    transition: 0.3s;
    outline: none;
    cursor: pointer;
    width: 100%;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    color: var(--text-primary-second);
    resize: none;
    height: 60px;
}

.form input:hover,
.form textarea:hover {
    background: var(--bg-primary-second);
    border-color: var(--bg-primary-second);
    color: var(--text-primary-main);
}

.form select:hover {
    background: var(--bg-primary-second);
    border-color: var(--bg-primary-second);
}

.form input,
.form textarea {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--text-primary-main);
}

.form input.error,
.form textarea.error {
    border: 1px solid red !important;
}

.form input::placeholder,
.form textarea::placeholder .form select::placeholder {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--text-primary-main);
}

.form input:hover::placeholder,
.form input:hover::placeholder {
    color: var(--head_primary);
}

.form select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-color: #fff;
    display: block;
    width: 100%;
    border: 1px solid var(--bg-primary-second);
    vertical-align: top;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none !important;
    background-position: right 13px center;
    padding-right: 30px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--text-primary-main);
}

.form .btn {
    width: 100%;
    margin-top: 20px;
}

.form .privacy-policy {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: var(--main_text_primary);
    text-align: center;
    margin-top: 10px;
}

.form .privacy-policy a {
    text-decoration: underline;
    color: var(--background);
}

.form .privacy-policy a:hover {
    color: var(--primary);
}

.theme-modal #file {
    display: none;
}

.theme-modal .file span {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--background);
    cursor: pointer;
    transition: 0.3s;
}

.theme-modal .file span:hover {
    color: var(--primary);
}

.fancybox__container {
    --fancybox-bg: #ffffffb9 !important;
}

/* ============== MODAL End ============= */