:root {
    --color-brand: #1ba84f;
    --color-brand-dark: #1a9f4b;
    --color-brand-hover: #169445;
    --color-danger: #c0392b;
    --color-danger-hover: #a93226;
    --color-muted: #909090;
    --color-dark-bg: #323232;
    --color-panel-bg: #4c4c4c;
    --color-border: #d4d4d4;
    --section-py: 80px;
    --section-py-mobile: 50px;
    --btn-font-size: 15px;
    --btn-font-size-sm: 14px;
    --btn-min-height: 44px;
    --btn-min-height-sm: 36px;
    --btn-padding-x: 24px;
    --btn-padding-x-sm: 16px;
    --btn-radius: 6px;
}

@font-face {
    font-family: "OpenSansLight";
    src: url("/tools/fonts/OpenSansLight.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "OpenSansRegular";
    src: url("/tools/fonts/OpenSansRegular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "OpenSansSemiBold";
    src: url("/tools/fonts/OpenSansSemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

span,
a,
p,
div,
ul {
    font-family: OpenSansRegular;
}

body {
    margin: 0 !important;
}

.loader {
    display: none;
    position: fixed;
    width: 170px;
    top: 50%;
    left: 50%;
    margin-left: -85px;
    margin-top: -60px;
    z-index: 10200;
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
}

.loader_img {
    height: 40px;
    background: url("/tools/images/loader.gif") center 49% no-repeat;
}

.transparentModal {
    display: none;
    position: fixed;
    z-index: 10300;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Buttons (public site + личный кабинет; конструктор — btnType5/7 ниже) --- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: var(--btn-min-height);
    padding: 0 var(--btn-padding-x);
    font-family: OpenSansSemiBold, sans-serif;
    font-size: var(--btn-font-size);
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

a.button,
button.button,
div.button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

a.button::before,
button.button::before,
div.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        transparent 100%
    );
    transform: translateX(-160%) skewX(-15deg);
    transition: transform 0.95s ease;
    pointer-events: none;
}

a.button:hover:not(:disabled)::before,
button.button:hover:not(:disabled)::before,
div.button:hover:not(:disabled)::before {
    transform: translateX(280%) skewX(-15deg);
}

input.button,
button.button {
    display: inline-flex;
}

.button:hover {
    text-decoration: none;
}

.button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none !important;
}

.button:disabled::before {
    display: none;
}

.button.btn--primary,
.button.btnColor1 {
    color: #fff;
    background-color: var(--color-brand);
    border-color: var(--color-brand);
    box-shadow: 0 2px 8px rgba(27, 168, 79, 0.2);
}

.button.btn--primary:hover:not(:disabled),
.button.btnColor1:hover:not(:disabled) {
    color: #fff;
    background-color: var(--color-brand-hover);
    border-color: var(--color-brand-hover);
    box-shadow: 0 4px 14px rgba(27, 168, 79, 0.3);
}

.button.btn--secondary {
    color: var(--color-brand);
    background-color: #fff;
    border-color: var(--color-brand);
    box-shadow: 0 2px 8px rgba(27, 168, 79, 0.08);
}

.button.btn--secondary:hover:not(:disabled) {
    color: #fff;
    background-color: var(--color-brand-hover);
    border-color: var(--color-brand-hover);
    box-shadow: 0 4px 14px rgba(27, 168, 79, 0.3);
}

.button.btn--danger {
    color: var(--color-danger);
    background-color: #fff;
    border-color: var(--color-danger);
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.1);
}

.button.btn--danger:hover:not(:disabled) {
    color: #fff;
    background-color: var(--color-danger-hover);
    border-color: var(--color-danger-hover);
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.26);
}

.button.btn--ghost {
    color: var(--color-brand);
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    min-height: auto;
    padding: 8px 4px;
}

.button.btn--ghost:hover:not(:disabled) {
    color: var(--color-brand-hover);
    background-color: rgba(27, 168, 79, 0.08);
    border-color: transparent;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    a.button::before,
    button.button::before,
    div.button::before {
        display: none;
    }
}

.button.btn--sm,
.button.btnType4,
.button.btnType7 {
    min-height: var(--btn-min-height-sm);
    padding: 0 var(--btn-padding-x-sm);
    font-size: var(--btn-font-size-sm);
}

.button.btn--wide,
.button.btnType1 {
    min-width: 200px;
}

.button.btnType2 {
    min-width: 160px;
}

.button.btnType3,
.button.btnType6 {
    min-height: var(--btn-min-height);
    height: auto;
    padding: 10px var(--btn-padding-x);
    white-space: normal;
}

.button.btnType5 {
    position: absolute;
    right: 0;
    top: 15px;
    min-height: auto;
    padding: 8px 16px;
    font-size: var(--btn-font-size-sm);
    white-space: nowrap;
}

.button.btnType6 {
    min-width: 200px;
}

.heading-line {
    font-family: OpenSansLight;
    width: 100%;
    padding: 0 0 10px 0;
    border-bottom: 1px solid var(--color-brand);
}

.heading-line--page {
    font-size: 30px;
    margin: 15px 0 30px 0;
}

.hatModal,
.heading-line--modal {
    font-size: 24px;
}

.box {
    width: 100%;
}

.goUp {
    display: none;
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 70px;
    height: 70px;
    background-color: #1ba84f;
    border-radius: 50%;
    z-index: 90;
}

.goUp:hover {
    opacity: 0.7;
    cursor: pointer;
}

.goUp::before {
    content: '';
    position: absolute;
    border-left: 6px solid #fff;
    border-top: 6px solid #fff;
    width: 25px;
    height: 25px;
    top: 27px;
    left: 22px;
    transform: rotate(45deg);
}

.flip-container {
    perspective: 1000px;
    transform-style: preserve-3d;
    margin: 0 auto;
}

.turn_over .back {
    transform: rotateY(0deg);
}

.turn_over .front {
    transform: rotateY(180deg);
}

.flip-container,
.front,
.back {
    width: inherit;
    height: inherit;
}

.flipper {
    transition: transform 0.08s ease-out;
    transform-style: preserve-3d;
    width: inherit;
    height: inherit;
    position: relative;
}

.front,
.back {
    backface-visibility: hidden;
    transition: 1s;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    overflow: hidden;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(-180deg);
}

.langPanel {
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 90;
    font-size: 14px;
    color: #fff;
}

.headerUtils {
    position: absolute;
    right: max(20px, env(safe-area-inset-right));
    top: max(15px, env(safe-area-inset-top));
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
}

.headerUtils .langPanel {
    position: static;
    right: auto;
    top: auto;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.langPanel a {
    font-size: 14px;
    color: #fff;
    margin: 0 5px;
}

.langPanel a:hover {
    color: #1ba84f;
}

.langPanel a.active {
    font-size: 14px;
    color: #fff;
    text-decoration: underline;
}

.langPanel a.active:hover {
    color: #1ba84f;
    text-decoration: underline;
}

.size12 {
    font-size: 12px;
}

.size14 {
    font-size: 14px;
}

.size16 {
    font-size: 16px;
}

.size18 {
    font-size: 18px;
}

.hrefType1 {
    color: #fff;
}

.hrefType1:hover {
    color: #1ba84f;
}

.hrefType2 {
    color: #1ba84f;
}

.hrefType2:hover {
    color: #fff;
}

.hrefType3 {
    color: #08c;
}

.hrefType3:hover {
    color: #08c;
}

.hrefType4 {
    color: #1ba84f;
}

.hrefType4:hover {
    color: #1ba84f;
}


.div_hide {
    display: none;
}

.boxPaginator {
    position: relative;
    width: 100%;
    display: block;
    min-height: 0;
    margin: 0;
}

.boxPaginator:has(.pagination) {
    min-height: 40px;
    margin-bottom: 12px;
}

.boxPaginator--bottom:has(.pagination) {
    margin-top: 12px;
    margin-bottom: 0;
}

.boxPaginator--centered:has(.pagination) {
    text-align: center;
}

.boxPaginator--centered .paginator {
    position: static;
    display: inline-block;
    float: none;
}

.paginator {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
}

.pagiItem {
    display: block;
    padding: 5px 0;
    margin: 5px;
    float: left;
    width: 35px;
    text-align: center;
    border: 1px solid #1ba84f;
}

.pagiActive {
    background-color: #1ba84f;
    color: #fff;
}

.pagiSep {
    display: block;
    padding: 5px 10px;
    margin: 5px;
    float: left;
}

.sharedType1 {
    width: 285px;
    margin: 0 auto;
}

.sharedType2 {
    width: 215px;
    margin: 0 auto;
}

.sharedType3 {
    width: 100%;
}

.sharedType1 .ya-share2__icon, .sharedType3 .ya-share2__icon {
}
.sharedType2 .ya-share2__icon {
}

.sharedType1 .ya-share2__container_size_m .ya-share2__icon_more:before {
    font-size: 20px !important;
    line-height: 44px !important;
}

.sharedType1 .ya-share2__container_size_m .ya-share2__title {
    line-height: 42px !important;
}

.sharedType1 .ya-share2__container_size_m .ya-share2__popup_direction_bottom {
    top: 48px !important;
}

.sharedType2 .ya-share2__container_size_m .ya-share2__icon_more:before {
    font-size: 16px !important;
    line-height: 32px !important;
}

.sharedType2 .ya-share2__container_size_m .ya-share2__title {
    line-height: 30px !important;
}

.sharedType2 .ya-share2__container_size_m .ya-share2__popup_direction_bottom {
    top: 36px !important;
}

.sharedType3 .ya-share2__container_size_m .ya-share2__icon_more:before {
    font-size: 20px !important;
    line-height: 44px !important;
}

.sharedType3 .ya-share2__container_size_m .ya-share2__title {
    line-height: 42px !important;
}

.sharedType3 .ya-share2__container_size_m .ya-share2__popup_direction_bottom {
    top: 48px !important;
}




@media screen and (max-width: 768px) {
    .langPanel {
        top: 10px;
    }

    .langPanel a {
        font-size: 12px;
    }

    .langPanel a.active {
        font-size: 12px;
    }
}

@media screen and (max-width: 690px) {
    .goUp {
        width: 61px;
        height: 60px;
    }

    .goUp::before {
        width: 20px;
        height: 20px;
        top: 24px;
        left: 20px;
    }

    .sharedType2 {
        width: 110px;
    }
}