﻿@font-face {
    font-family: 'Circe';
    src: local('Circe Light'), local('Circe-Light'),
    url('../fonts/Circe-Light.woff') format('woff'),
    url('../fonts/Circe-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Circe';
    src: local('Circe Bold'), local('Circe-Bold'),
    url('../fonts/Circe-Bold.woff') format('woff'),
    url('../fonts/Circe-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html {
    color: #000;
    font-size: 1rem;
    line-height: 1.5;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: 120px;
}

html:focus-within {
    scroll-behavior: smooth;
}
/*	Если делать фикс шапку через pos: sticky, то нужно задавать min-height 100vh.
	Высота нужна, если нам нужно на ПК прибить книзу footer с помощью flex для коротких стр. */
html, body {
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

main {
    flex: 1;
}

::-moz-selection {
    color: #fff;
    background: #555;
    text-shadow: none;
}

::selection {
    color: #fff;
    background: #555;
    text-shadow: none;
}

:lang(en) {
    quotes: "“" "”";
}

:lang(ru) {
    quotes: "«" "»";
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #e5e5e5;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: auto;
    display: none;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body, input, textarea {
    background-color: #fff;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    font-family: 'Circe', sans-serif;
    font-weight: 300;
	overscroll-behavior-y: contain;
}

@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
}

button, input, textarea {
    border: 0;
    border-radius: 0;
    background-color: transparent;
}

button:not(:disabled),
label,
[role="button"],
[role="link"],
[class*="btn"] {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea,
button,
button:focus {
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (max-width:576px) {
    select,
    textarea,
    input {
        font-size: 16px !important;
    }
}

:invalid {
    box-shadow: none;
}

select {outline: none;}

[class*="container-"], .mx-n20, .scroller {
    --bs-gutter-x: 2.5rem;
}

h1,
.h1 {
    font-size: 2rem;
    line-height: 1.2;
}

h2,
.h2 {
    font-size: 1.5rem;
    line-height: 1.2;
}

h3,
.h3 {
    font-size: 1.25rem;
}

@media (min-width: 576px) {
    h1,
    .h1	{
        font-size: 2.375rem;
    }
    h2,
    .h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 992px) {
    h1,
    .h1 {
        font-size: 2.625rem;
    }
    h3,
    .h3 {
        font-size: 1.375rem;
    }
}

.small, small {
    font-size: 80%;
}

a, img, button, input, textarea, svg, [class*="btn"], [role="link"], .p-link, .o-hover, .dropdown-menu, .dropdown-ico, .dropdown-item, .block-radio {
    -webkit-transition: all .15s ease;
    transition: all .15s ease;
}

a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: .2em;
    text-decoration-thickness: 1px;
}

.scroller {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

@media (min-width: 576px) {
    .scroller-sm {
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
}

@media (min-width: 768px) {
    .scroller-md {
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
}

[class*="scroller"]::-webkit-scrollbar {
    display: none;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.p-link {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: .25em;
    text-decoration-thickness: 1px;
}

.u-line {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.no-u-line {
    text-decoration: none;
}

.stretched-link:before {
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.hr-dashed {
    border-top: 1px dashed #d1d1d1;
}

[class*="border"] {
    --border-color: #717171;
}

.border,
.border-y,
.border-top {
    border-top: 1px solid var(--border-color);
}

.border,
.border-y,
.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.border,
.border-x,
.border-left {
    border-left: 1px solid var(--border-color);
}

.border,
.border-x,
.border-right {
    border-right: 1px solid var(--border-color);
}

.radius-1 {
    border-radius: 8px;
}

.radius-2 {
    border-radius: 16px;
}

.object-fit {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.gap-10 {
    gap: .625rem;
}

.gap-20 {
    gap: 1.25rem;
}

.gap-30 {
    gap: 1.875rem;
}

.gap-40 {
    gap: 2.5rem;
}

.gap-50 {
    gap: 3.125rem;
}

.c-black {
    color: #000;
}

.c-white {
    color: #fff;
}

.c-gray {
    color: #717171;
}

.c-gray-2 {
    color: #959595;
}

.c-gray-dark {
    color: #5b5b5b;
}

.c-brown {
    color: #aa7d68;
}

.c-pink {
    color: #c34e95;
}

.c-orange {
    color: #e58d4d;
}

.bg-black {
    background-color: #161616;
}

.bg-white {
    background-color: #fff;
}

.bg-gray {
    background-color: #f9f9f9;
}

.bg-gray-2 {
    background-color: #f2f2f2;
}

.bg-pink {
    background-color: #fff4f4;
}

.bg-lilac {
    background-color: #fcf1ff;
}

.bg-gold {
    background-color: #ffe588;
}

.bg-gradient-pink {
    background: linear-gradient(180deg, #f7e7fd 0%, #fff4ed 100%);
}

.bg-gradient-pink-2 {
    background: linear-gradient(160deg, #f7e7fd 0%, #fff4ed 100%);
}

.font-accent {
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: italic;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16,
.fs-16-18 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20,
.fs-20-22 {
    font-size: 20px;
}

.fs-22 {
    font-size: 22px;
}

.fs-24 {
    font-size: 24px;
}

.fs-26 {
    font-size: 26px;
}

.fs-28 {
    font-size: 28px;
}

.fs-30 {
    font-size: 30px;
}

@media (min-width: 768px) {
    .fs-16-18 {
        font-size: 18px;
    }

    .fs-20-22 {
        font-size: 22px;
    }
}

.fw-300 {
    font-weight: 300;
}

.fw-350 {
    font-weight: 350;
}

.fw-400 {
    font-weight: 400;
}

b,
strong,
.fw-700 {
    font-weight: bold;
}

.lh-1 {
    line-height: 1;
}

.lh-1_2 {
    line-height: 1.2;
}

.lh-1_5 {
    line-height: 1.5;
}

.lh-1_75 {
    line-height: 1.75;
}

.o-10 {
    opacity: .1;
}

.o-15 {
    opacity: .15;
}

.o-25 {
    opacity: .25;
}

.o-5 {
    opacity: .5;
}

.o-75 {
    opacity: .75;
}

.o-8 {
    opacity: .8;
}

@media (max-width: 575px) {
    .mx-n20 {
        margin-left: calc(-.5 * var(--bs-gutter-x));
        margin-right: calc(-.5 * var(--bs-gutter-x));
    }
    .tac-sm {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mx-md-n20 {
        margin-left: calc(-.5 * var(--bs-gutter-x));
        margin-right: calc(-.5 * var(--bs-gutter-x));
    }
    .tac-md {
        text-align: center;
    }
}

@media (max-width: 992px) {
    .tac-lg {
        text-align: center;
    }
}

.mh-360 {
    min-height: 360px;
}

.mw-360 {
    max-width: 360px;
}

.mw-440 {
    max-width: 440px;
}

.mw-540 {
    max-width: 540px;
}

.mw-600 {
    max-width: 600px;
}

.mw-800 {
    max-width: 800px;
}

/* кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    background-image: none;
    background-color: transparent;
    white-space: nowrap;
    z-index: 5;
    line-height: normal;
    transition: color .15s ease-in-out,
    background-color .15s ease-in-out,
    border-color .15s ease-in-out,
    box-shadow .15s ease-in-out,
    opacity .15s ease-in-out;
}

.btn-disabled,
.btn:disabled {
    cursor: default;
    opacity: .5;
    pointer-events: none;
}

.btn-primary {
    color: #fff;
    background-color: #c34e95;
    border-radius: 9px;
    padding: 15px 30px 14px;
}

.btn-primary.ttu {
    font-size: 14px;
    padding: 13px 20px 10px;
}

.btn-blank {
    color: #aa7d68;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    padding: 4px 14px;
}

.btn-arrow {
    color: #aa7d68;
    background-color: #fff;
    border-radius: 6px;
    font-size: 14px;
    padding: 4px 16px;
}

.btn-arrow.active {
    color: #fff;
    background-color: #aa7d68;
    border-color: #aa7d68;
}

.link-arrow:after,
.btn-arrow:after {
    content: "";
    position: relative;
    display: inline-block;
    border-top: 2px solid;
    border-right: 2px solid;
    width: 8px;
    height: 8px;
    top: 3px;
    margin-left: 4px;
    transform: rotate(45deg) translateY(-50%);
}

.btn-fulltext {
    gap: 8px;
}

.btn-fulltext:after {
    content: "";
    display: inline-block;
    position: relative;
    border: solid;
    border-width: 0 2px 2px 0;
    padding: 3px;
    top: -3px;
    vertical-align: middle;
    transform: rotate(45deg);
    transition: all .15s ease .1s;
    transform-origin: center;
}

.btn-fulltext.active:after {
    transform: rotate(-135deg);
    top: 2px;
}

.btn-menu-more span {
    border-bottom: 1px dotted;
}

.btn-180 {
    min-width: 180px;
}

.btn-100,
.btn-m100 {
    width: 100%;
}

@media (min-width: 576px) {
    .btn-m100 {
        width: auto;
    }
}

@media (min-width: 768px) {
    .btn-arrow {
        font-size: 16px;
    }
}

/* hovers */
@media (any-hover: hover) {
    a:not(.btn):hover,
    a.c-brown:hover,
    .c-brown[role="button"]:hover {
        color: #000;
    }

    .c-brown-hover:hover,
    a.c-brown-hover:hover,
    a.c-white:hover {
        color: #aa7d68;
    }

    .o-hover:hover {
        opacity: .6;
    }

    .btn-primary:hover {
        background-color: #2f2f2f;
        box-shadow: 0 0 14px 0 #af4686 inset;
    }

    .btn-primary:active,
    .btn-primary.active	{
        background-color: #2f2f2f;
        box-shadow: none;
    }

    .btn-blank:hover {
        color: #fff;
        background-color: #aa7d68;
        border-color: #c8957e;
    }

    .btn-arrow:hover {
        color: #fff;
        background-color: #aa7d68;
        border-color: #aa7d68;
    }
}

/* форма */
::placeholder {
    color: #717171;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-inline {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: .75rem;
}

.form-check-input {
    padding: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    z-index: 100;
    width: 16px;
    height: 16px;
    border: none;
    left: 0;
    top: 7px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.form-check-label .radio {
    display: inline-block;
    border: 1px solid #222;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border-radius: 50%;
    -webkit-transform: translateY(15%);
    -ms-transform: translateY(15%);
    transform: translateY(15%);
}

.form-check-label [type='radio']:checked + span {
    -webkit-box-shadow: inset 0 0 0 4px #fff,inset 0 0 0 10px #222;
    box-shadow: inset 0 0 0 4px #fff,inset 0 0 0 10px #222;
}

.block-radio {
    border: 1px solid transparent;
}

.block-radio.selected {
    border-color: #222;
}

.block-radio:not(.selected) {
    opacity: .5;
}

.block-radio .radio-group {
    top: 0;
    left: -7px;
    bottom: 0;
    height: 14px;
    margin: auto;
}

.block-radio .radio {
    transform: none;
}

.form-check-label .checkbox {
    display: inline-block;
    border: 1px solid #222;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    -webkit-transform: translateY(15%);
    -ms-transform: translateY(15%);
    transform: translateY(15%);
}

.form-check-label [type='checkbox']:checked + span:after {
    content: "";
    position: absolute;
    display: block;
    width: 5px;
    height: 10px;
    border-bottom: 2px solid #222;
    border-right: 2px solid #222;
    top: 0;
    left: 4px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.form-row > .col,
.form-row > [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: .625rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border: 1px solid #f2f2f2;

    -webkit-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control:focus,
.form-group:focus-within .form-control,
.form-control.input-filled {
    background-color: #fff;
    box-shadow: 0 0 0 2px var(--input-focus);
    border-color: #999;
}

textarea.form-control {
    height: auto;
}

.search-input {
    display: block;
    width: 100%;
    padding: 1rem 2.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background: #fff url(../img/ico-search.svg) no-repeat 15px center;
    box-shadow: 0 0 0 1px #e5e5e5;
    border-radius: 8px;

    -webkit-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

@media (max-width: 575px) {
    .search-input {
        padding: .8rem 6.25rem .8rem 2.75rem;
    }

    .search-input + .search-btn {
        position: absolute;
        top: 3px;
        bottom: 3px;
        right: 3px;
    }

    .search-btn .btn-primary {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.form-inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}

.form-inline .form-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
}

.form-inline label {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-control:focus + .placeholder,
    /* .form-control:valid + .placeholder, */
.form-control.input-filled + .placeholder {
    top: -12px;
    font-size: 12px;
    opacity: .75;
}

.placeholder {
    position: absolute;
    left: 0;
    top: 7px;
    color: #888;
    pointer-events: none;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.input-error,
.input-error:focus,
.form-error .form-control:invalid{
    border-color: #ff3f28;
}

.error-msg {
    color: #ff3f28;
    font-size: 14px;
    line-height: 1;
    margin-top: 6px;
    animation: Hint_show .15s ease-in forwards;
}

@keyframes Hint_show {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ul-columns {
    margin: -5px 0;
}

.ul-columns li {
    padding: 5px 0;
}

@media (min-width: 576px) {
    .ul-columns {
        columns: 2
    }
}

@media (min-width: 768px) {
    .ul-columns {
        columns: 3
    }
}

@media (min-width: 992px) {
    .ul-columns {
        columns: 4
    }
}

/* ------------------------------------------------ */

/* Крошки */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.breadcrumb-item:not(:last-child):after {
    content: "/";
    opacity: .4;
    padding-right: .5rem;
    padding-left: .5rem;
}

.breadcrumb-item:first-child {
    display: none;
}

.breadcrumb-item + .breadcrumb-item {
    display: flex;
}

/* -- Шапка -- */
.header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header .header-inner {
    background-color: #fff;
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    padding: 10px calc(var(--bs-gutter-x) * .5);
    position: relative;
    z-index: 10;
}

.header .header-menu .active {
    color: #c34e95;
}

.header .header-menu li:last-child a {
    color: #C34E95;
}

@media (any-hover: hover) {
    .header .logo:hover {
        opacity: .6;
    }

    .header .header-menu a:hover {
        text-decoration: underline;
    }
}

/* кнопка меню */
.header-hamburger {
    display: block;
    background-color: transparent;
    width: 20px;
    height: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.header-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #c34e95;
    border-radius: 10px;
    position: absolute;
    left: 0;

    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.header-hamburger span:first-child {
    top: 2px;
}

.header-hamburger span:nth-child(2) {
    top: 9px;
    width: 70%;
}

.header-hamburger span:last-child {
    top: 16px;
}

.header-hamburger.open span:first-child {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
}

.header-hamburger.open span:last-child {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    top: 10px;
}

.header-hamburger.open span:nth-child(2) {
    opacity: 0;
}

/* Фон-подложка под шапкой и частью контента */
.bg-header {
    background-color: #f9f9f9;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

@media (max-width: 991px) {
    .header .header-bottom {
        position: absolute;
        background-color: #fff;
        border-top: 1px solid #e7e7e7;
        max-height: calc(100vh - 72px);
        min-height: calc(100vh - 72px);
        height: 100vh;
        overscroll-behavior-y: contain;
        overflow-y: auto;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 555;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        -webkit-overflow-scrolling: touch;
        transition: all .2s ease-in-out;
    }

    .open-menu {
        overflow: hidden;
        max-width: 100%;
        width: 100%;
    }

    .open-menu .header .header-bottom {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    /* меню */
    .header .header-menu li.more > a span {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 47px;
        z-index: 100;
    }

    .header .header-menu li.more > a span:after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 20px;
        bottom: 0;
        width: 7px;
        height: 7px;
        margin: auto;
        border: 2px solid;
        border-bottom: none;
        border-right: none;
        transform: rotate(135deg);
        transition: all .1s ease-in-out;
    }

    .header .header-menu li.more > a.active span:after {
        transform: rotate(45deg);
    }

    .header .header-bottom nav > ul > li a {
        display: block;
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }

    .header .header-menu > li > a {
        border-bottom: 1px solid #e7e7e7;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .header .header-menu li.more > a {
        display: block;
        position: relative;
    }

    .header .header-menu li.more > ul {
        display: block;
        max-height: 0;
        visibility: hidden;
        opacity: 0;
        transition: all .3s ease;
    }

    .header .header-menu li.more > ul.dn {
        background-color: #f5f5f5;
        border-bottom: 1px solid #e7e7e7;
        margin-top: -1px;
    }

    .header .header-menu li.more > ul.dn > li:first-child {
        padding-top: 7px;
    }

    .header .header-menu li.more > ul.dn > li:last-child {
        padding-bottom: 7px;
    }

    .header .header-menu li.more > ul.dn > li a {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .header .header-menu li.more > ul.dn ul {
        padding-left: 10px;
    }

    /* -- menu show -- */
    .header .header-menu li.more .active + ul {
        display: block;
        max-height: 100rem;
        visibility: visible;
        opacity: 1;
    }

    .header .header-menu li.more .active + ul.dn {
        margin-top: 0;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0, .35);
        z-index: 2;
        visibility: hidden;
        opacity: 0;
    }

    .menu-overlay.show {
        visibility: visible;
        opacity: 1;
        -webkit-transition: all .25s ease-in-out .25s;
        -moz-transition: all .25s ease-in-out .25s;
        transition: all .25s ease-in-out .25s;
    }
}

@media (min-width: 992px) {
    main,
    body:not(.compensate-for-scrollbar) {
        overflow-x: hidden;
    }

    .bg-header {
        top: -100vh;
        left: -100%;
        right: -100%;
        /* bottom: -20px; */
    }

    .bg-header.bg-header-image {
        top: -100%;
    }

    .bg-header.bg-header-image {
        background: var(--bg-header-image) no-repeat center /cover;
        filter: brightness(.5);
    }

    .bg-header.bg-header-image + .page-header .breadcrumb-wrap,
    .bg-header.bg-header-image + .page-header .page-title,
    .bg-header.bg-header-image + .page-header .page-description {
        color: #fff;
    }

    .header .logo {
        transform: translateY(-7px);
    }

    .header .header-inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* -- Главная -- */
/* Слайдер на главной */
.main-slider {
    padding-top: 48px;
}

.main-slider .swiper-pagination-bullets {
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 9;
}

.main-slider .swiper-pagination-bullet {
    position: relative;
    --swiper-pagination-bullet-size: 22px;
    --swiper-pagination-bullet-horizontal-gap: 0;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-inactive-color: transparent;
}

.main-slider .swiper-pagination-bullet-active {
    --swiper-pagination-color: transparent;
}

.main-slider .swiper-pagination-bullet:after {
    content: "";
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d9d9d9;
    width: 9px;
    height: 9px;
    border: 2px solid transparent;
    opacity: 1;
    transition: all .15s ease;
}

.main-slider .swiper-pagination-bullet-active:after {
    background-color: transparent;
    border-color: #aa7d68;
    width: 12px;
    height: 12px;
}

.main-slider .offer-promotion {
    position: relative;
    z-index: 2;
}

.main-slider .offer-promotion .title {
    font-size: 40px;
    line-height: 1;
}

.main-slider .offer-promotion .price div:first-child {
    font-size: 28px;
}

.main-slider .offer-promotion .price div:last-child {
    font-size: 14px;
}

.main-slider .offer-promotion .price,
.main-slider .offer-promotion .btn-primary {
    padding: 20px;
}

.main-slider .offer-promotion .btn-primary {
    border-radius: 4px;
    line-height: 1;
}

.main-slider .offer-promotion .expires {
    color: #363636;
}

.main-slider .slide-image .leaf {
    z-index: 1;
}

.main-slider .slide-image .leaf-1 {
    /* width: 100px; */
    width: clamp(100px, 30%, 126px);
    bottom: 100px;
    left: -80px;
}

.main-slider .slide-image .leaf-2 {
    /* width: 135px; */
    width: clamp(135px, 40%, 282px);
    bottom: 0;
    left: 180px;
    margin: auto;
    right: 0;
}

.main-slider .slide-image .leaf-3 {
    /* width: 120px; */
    width: clamp(120px, 45%, 320px);
    top: 0;
    right: -50px;
}

@media (min-width: 576px) {
    .main-slider .swiper-pagination-bullets {
        --swiper-pagination-bottom: 20px;
    }

    .main-slider .offer-promotion .title {
        font-size: 48px;
    }
}

@media (min-width: 768px) {
    .main-slider .offer-promotion .title {
        font-size: 62px;
    }

    .main-slider .offer-promotion .text {
        font-size: 20px;
    }

    .main-slider .offer-promotion .price div:first-child {
        font-size: 42px;
        line-height: 1;
    }

    .main-slider .offer-promotion .price div:last-child {
        font-size: 18px;
    }

    .main-slider .slide-image .leaf-1 {
        bottom: 100px;
        left: -80px;
    }

    .main-slider .slide-image .leaf-2 {
        bottom: 0;
        left: 180px;
        margin: auto;
        right: 0;
    }

    .main-slider .slide-image .leaf-3 {
        top: 0;
        right: -100px;
    }
}

@media (min-width: 991px) {
    .main-slider {
        margin-top: -237px;
        padding-top: 337px;
        border-radius: 0 0 50% 50% / 0 0 7% 7%;
    }

    .main-slider .swiper-pagination-bullets {
        --swiper-pagination-bottom: 40px;
    }

    .main-slider .slide {
        padding-bottom: 100px;
    }

    .main-slider .slide-image {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 1;
        user-select: none;
    }

    .main-slider .offer-promotion .title {
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .main-slider .offer-promotion .title {
        font-size: 72px;
    }
}
/* /Слайдер на главной */

/* Описание и локация клиники */
.location-clinic p + p {
    margin-top: 16px;
}

.location-clinic .location-desc {
    top: 50%;
    left: 28%;
    right: 20%;
    transform: translateY(-45%);
}

/* глобальные [табы] */
.scroller.tabs {
    white-space: wrap;
}

.tab-pane + .tab-pane {
    display: none;
}

/* Направления услуг [табы] */
.clinic-services-tabs .tabs .tab-btn {
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.clinic-services-tabs .tabs .tab-btn.active {
    background-color: #f7e7fd;
    border-radius: 10px 10px 0 0;
}

.clinic-services-tabs .tabs .tab-btn .tab-ico svg {
    width: 40px;
}

.clinic-services-tabs .tabs .tab-btn.active .tab-ico {
    color: #c594d8;
}

.clinic-services-tabs .tabs .tab-btn.active .tab-title {
    color: #000;
    font-weight: 700;
}

/* контент в табе */
.clinic-services-tabs .tab-pane {
    z-index: 1;
}

.clinic-services-tabs .tab-pane .title {
    font-size: 36px;
    line-height: 1;
}

.clinic-services-tabs .tab-pane .subtitle {
    font-size: 22px;
    line-height: 1.2;
}

.clinic-services-tabs .tab-pane .tab-image {
    right: 0;
    bottom: 0;
    z-index: -1;
    transform: translateX(40%);
}

@media (min-width: 768px) {
    .clinic-services-tabs .tabs-content {
        border-radius: 10px;
    }

    .clinic-services-tabs .tabs .tab-btn {
        font-size: inherit;
        gap: 10px;
    }
    .clinic-services-tabs .tabs .tab-btn .tab-ico svg {
        width: auto;
    }

    .clinic-services-tabs .tab-pane .title {
        font-size: 48px;
    }

    .clinic-services-tabs .tab-pane .subtitle {
        font-size: 28px;
    }

    .clinic-services-tabs .tab-pane .text {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .clinic-services-tabs .tab-pane .tab-image {
        transform: none;
    }
}

/* Фото клиники на главной [cлайдер] */
.clinic-photos .clinic-photos-slider .carousel__slide {
    --carousel-slide-width: 70%;
    padding-left: 5px;
    padding-right: 5px;
}

.clinic-photos .photo:after {
    content: "Увеличить";
    color: #826906;
    position: absolute;
    background: #fff url("../img/ico-plus.svg") no-repeat 10px center;
    border-radius: 50rem;
    padding: 10px 20px 8px 46px;
    width: max-content;
    height: max-content;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transform: scale(.9);
    transition: opacity .4s ease, transform .2s ease;
}

@media (any-hover: hover) {
    .clinic-photos .photo:hover img {
        filter: brightness(0.5);
    }

    .clinic-photos .photo:hover:after {
        transform: scale(1);
        visibility: visible;
        opacity: 1;
    }
}

@media (min-width: 576px) {
    .clinic-photos .clinic-photos-slider .carousel__slide {
        --carousel-slide-width: calc(100% / 2);
    }
}

@media (min-width: 768px) {
    .clinic-photos .clinic-photos-slider .carousel__slide {
        --carousel-slide-width: calc(100% / 3);
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (min-width: 992px) {
    .clinic-photos .clinic-photos-slider .carousel__slide {
        --carousel-slide-width: calc(100% / 5);
    }
}

/* Карта клиники на главной */
.clinic-map  {
    height: 100%;
    min-height: 300px;
    min-width: 350px;
}

@media (min-width: 768px) {
    .clinic-map  {
        min-height: 520px;
    }
}

@media (min-width: 992px) {
    .clinic-map  {
        min-height: 600px;
    }
}

/* Плитка спец. предложений [секция] */
.spec-offers-tile .offer-item .offer-title {
    font-size: 20px;
    line-height: 1.2;
}

.spec-offers-tile .offer-item .offer-price .price-new {
    font-size: 24px;
}

.price-old {
    text-decoration: line-through;
}

.spec-offers-tile .offer-item .badge-percent {
    display: inline-block;
    flex-shrink: 0;
    background-color: #ffedae;
    border-radius: 50rem;
    width: 28px;
    height: 28px;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
}

.tooltip {
    background-color: #fff;
    box-shadow: 0 4px 9px 0 rgba(0,0,0, .13);
    max-width: 220px;
    padding: 10px 15px;
    display: none;
}

.tooltip[data-show] {
    display: block;
}

.arrow,
.arrow:before {
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
}

.arrow {
    visibility: hidden;
}

.arrow:before {
    content: "";
    visibility: visible;
    transform: rotate(45deg);
}

.tooltip[data-popper-placement^='top'] > .arrow {
    bottom: -4px;
}

.tooltip[data-popper-placement^='bottom'] > .arrow {
    top: -4px;
}

.tooltip[data-popper-placement^='left'] > .arrow {
    right: -4px;
}

.tooltip[data-popper-placement^='right'] > .arrow {
    left: -4px;
}

@media (any-hover: hover) {
    .spec-offers-tile .offer-item:hover {
        border-color: #e9c1af;
        box-shadow: 0px 4px 14px 0px rgba(170, 125, 104, 0.18);
        transition: border-color .15s ease, box-shadow .15s ease;
    }
}

@media (min-width: 768px) {
    .spec-offers-tile .offer-item .offer-title {
        font-size: 22px;
    }

    .spec-offers-tile .offer-item .offer-price .price-new {
        font-size: 26px;
    }
}

/* Баннер - бесплатная консультация [блок] */
.clinic-free-consult .title {
    font-size: 24px;
    line-height: 1.2;
}

.clinic-free-consult .bg-image {
    background: url(../img/free-consult-bg.png) no-repeat bottom / contain;
    background-size: 120%;
}

.clinic-free-consult .right {
    margin-top: 40%;
}

@media (min-width: 480px) {
    .clinic-free-consult .bg-image {
        background-size: contain;
    }
}

@media (min-width: 768px) {
    .clinic-free-consult .title {
        font-size: 28px;
    }

    .clinic-free-consult .desc {
        font-size: 20px;
    }

    .clinic-free-consult .bg-image {
        background-position: right;
    }

    .clinic-free-consult .right {
        margin-top: 0;
    }
}

/* Баннер - доктор консультация [секция] */
@media (min-width: 1200px) {
    .clinic-doctor-consult .photo-wrap {
        margin-top: -80px;
        margin-left: 40px;
    }
}

/* Отзывы о клинике [слайдер] */
.clinic-reviews .reviews-video-slider .carousel__slide {
    --carousel-slide-width: 70%;
}

.clinic-reviews .reviews-video-slider .carousel__nav {
    display: none;
}

/* Закругленный outline не работает в iOS сафари и хром (старый баг) */
/* .clinic-reviews .review-item { */
/* border-radius: 50%; */
/* outline: 4px solid rgba(255,255,255,.33); */
/* outline-offset: -14px; */
/* } */

.clinic-reviews .reviews-video-slider .review-item:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.33);
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    transition: border .15s;
}

.clinic-reviews .review-item .photo {
    border-radius: 50%;
}

.ico-play {
    color: #826906;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    width: 70px;
    height: 70px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    margin: auto;
    transition: all .15s;
}

@media (any-hover: hover) {
    .video:hover .ico-play,
    .clinic-reviews .reviews-video-slider .review-item:hover .ico-play {
        background-color: #c34e95;
        box-shadow: 0px 4px 24px 0px #ffa0c2 inset;
    }

    .video:hover .ico-play svg,
    .clinic-reviews .reviews-video-slider .review-item:hover .ico-play svg {
        color: #fff;
    }

    .clinic-reviews .reviews-video-slider .review-item:hover:before {
        border-color: #c34e95;
    }

    .video:hover img {
        filter: brightness(.75);
    }
}

@media (min-width: 576px) {
    .clinic-reviews .reviews-video-slider .carousel__slide {
        --carousel-slide-width: 60%;
    }

    .ico-play {
        width: 90px;
        height: 90px;
    }
}

@media (min-width: 768px) {
    .clinic-reviews .reviews-video-slider .carousel__slide {
        --carousel-slide-width: calc(100% / 3);
    }
}

@media (min-width: 992px) {
    .clinic-reviews .reviews-video-slider .carousel__nav {
        display: block;
    }

    .clinic-reviews .reviews-video-slider .carousel__dots {
        display: none;
    }
}

/* Результаты работы [слайдер] */
.service-results .service-results-slider .result-photos img,
.service-results .service-results-slider .result-desc {
    border-radius: 10px;
}

.service-results .service-results-slider .result-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background-color: #363636;
    border-radius: 80px;
    font-size: 14px;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
}

.service-results .service-results-slider .result-badge:before {
    content: "\2194\FE0E"; /* \FE0E - убирает превращение стрелки "↔" в эмозди на мобилах */
    position: absolute;
    font-size: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.service-results .service-results-slider .result-badge span {
    flex: 1;
    padding: 0 5px;
}

.service-results .service-results-slider .result-badge span:last-child {
    padding-left: 10px;
}

.service-results .service-results-slider .f-carousel__nav .f-button.is-next,
.service-results .service-results-slider .f-carousel__nav .f-button.is-prev {
    top: auto;
    transform: translateY(50%);
}

@media (max-width: 991px) {
    .service-results .service-results-slider .carousel__button.is-prev,
    .service-results .service-results-slider .carousel__button.is-next {
        top: auto;
        transform: translateY(50%);
    }
}

@media (min-width: 768px) {
    .service-results .service-results-slider .result-photos img,
    .service-results .service-results-slider .result-desc {
        border-radius: 40px;
    }

    .service-results .service-results-slider .result-badge {
        width: 180px;
        font-size: 18px;
        bottom: 45px;
    }
}

@media (min-width: 991px) {
    .service-results .service-results-slider .f-carousel__nav .f-button.is-next,
    .service-results .service-results-slider .f-carousel__nav .f-button.is-prev {
        display: none;
    }
}

/* Баннер - журнала/блога [блок] */
.banner-magazine .bg-image {
    /* background: url(../img/banner-magazine-bg.png) no-repeat right / contain; */
    background: url(../img/banner-magazine-bg2.png) no-repeat right -100px bottom -160px;
    background-size: 300px;
    height: 100%;
}

.banner-magazine .content {
    padding-bottom: 140px;
}

.clinic-banners [class*="col"] .banner-magazine .content {
    max-width: 360px;
}

.banner-magazine .content {
    max-width: 800px;
}

/* смещение на главной стр. */
.main-page.clinic-banners {
    position: relative;
    z-index: 1;
    margin-bottom: -80px;
}

@media (min-width: 576px) {
    .banner-magazine .bg-image {
        background-size: auto;
    }

    .banner-magazine .content {
        padding-bottom: 100px;
    }
}

@media (min-width: 768px) {
    .banner-magazine .content {
        padding-bottom: 0;
    }
}

/* Баннер - узнать точную стоимость [блок] */
.banner-request .content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.clinic-banners [class*="col"] .banner-request .content {
    max-width: 360px;
}

.banner-request .title {
    font-size: 32px;
    line-height: 1.2;
}

.banner-request .bg-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 77px;
    height: 77px;
    border-radius: 50%;
    right: -10px;
    transform: translate(10px, 15px) scale(.7);
}

/* круги */
.banner-request .bg-image .circle,
.banner-request .bg-image .circle:before,
.banner-request .bg-image .circle:after {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
}

.banner-request .bg-image .circle {
    --circle-size: 230px;
    width: var(--circle-size);
    height: var(--circle-size);
    border-color: rgba(255,255,255, .7)
}

.banner-request .bg-image .circle:before,
.banner-request .bg-image .circle:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-request .bg-image .circle:before {
    --circle-size: 330px;
    content: "";
    width: var(--circle-size);
    height: var(--circle-size);
    border-color: rgba(255,255,255, .5)
}

.banner-request .bg-image .circle:after {
    --circle-size: 430px;
    content: "";
    width: var(--circle-size);
    height: var(--circle-size);
    border-color: rgba(255,255,255, .3)
}

@media (min-width: 576px) {
    .banner-request .bg-image {
        transform: none;
    }
}

@media (min-width: 768px) {
    .banner-request .title {
        font-size: 36px;
    }

    .clinic-banners [class*="col"] .banner-request .title {
        font-size: 26px;
    }
}

/* Баннер - промо услуг [блок] */
.banner-promo {
    z-index: 1;
}

.banner-promo .title {
    font-size: 26px;
    line-height: 1.2;
}

.banner-promo .bg-image {
    background: linear-gradient(270deg, #fafafa, transparent); /* убрать если не надо */
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    filter: blur(3px) contrast(.5) brightness(1.5);
    transition: filter 1s ease, opacity 1s ease;
}

.banner-promo .slide-content {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0, 0, .2, 1);
}

.banner-promo.is-selected .slide-content {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 575px) {
    .banner-promo .bg-image {
        filter: blur(3px) contrast(.5) brightness(1.5);
    }
}

@media (min-width: 576px) {
    .banner-promo .bg-image {
        opacity: 0;
    }

    .banner-promo.is-selected .bg-image {
        filter: none;
        opacity: 1;
    }
}

/* [слайдер] */
.promo-services-slider .carousel__dots {
    top: calc(100% - 3rem);
}

@media (min-width: 768px) {
    .banner-promo .title {
        font-size: 36px;
    }

    .banner-promo .text {
        font-size: 20px;
    }
}

/* Баннер - промо внешних услуг [блок] */
.theme-green {
    --banner-color: #fff;
    --price-color: #f0d4bc;
    --banner-bg: #09333b;
    --content-bg: linear-gradient(285deg, #08323b 0.36%, #35505b 100%);
    --btn-bg: linear-gradient(90deg, #32cea9 0%, #00bcc3 100%);
    --btn-hover-bg: linear-gradient(90deg, #04b8a3 0%, #008da6 100%);
}

.theme-cream {
    --banner-color: #fff;
    --content-color: #314d66;
    --banner-bg: #314d66;
    --content-bg: linear-gradient(285deg, #e6d7fc 0.36%, #f4e9e0 100%);
    --btn-bg: linear-gradient(90deg, #ff9add 0%, #ffb3a6 100%);
    --btn-hover-bg: linear-gradient(90deg, #ed76c5 0%, #e5a47b 100%);
    --cloud-opacity-1: .5;
    --cloud-opacity-2: 1;
}

.theme-pink {
    --banner-color: #fff;
    --content-color: #705269;
    --banner-bg: #463852;
    --content-bg: linear-gradient(285deg, #b16d76 0.36%, #fedecb 100%);
    --btn-bg: linear-gradient(90deg, #80aff5 0%, #8bc5e9 100%);
    --btn-hover-bg: linear-gradient(90deg, #6793d4 0%, #73b1d8 100%);
    --cloud-opacity-1: .5;
    --cloud-opacity-2: 1;
}

.banner-promo-partner {
    color: var(--banner-color);
    background: var(--banner-bg);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-right: calc(-.5 * var(--bs-gutter-x));
}

.banner-promo-partner .banner-middle {
    background: var(--content-bg);
    overflow: hidden;
}

.banner-promo-partner .banner-middle::before,
.banner-promo-partner .banner-middle::after  {
    content: "";
    position: absolute;
    -mix-blend-mode: overlay;
}

.banner-promo-partner .banner-middle::before {
    background: url(../img/cloud-1.png) no-repeat 0 0;
    width: 1280px;
    height: 197px;
    left: -500px;
    bottom: -50px;
    opacity: var(--cloud-opacity-1, .2);
}

.banner-promo-partner .banner-middle::after {
    background: url(../img/cloud-2-1.png) no-repeat 0 0 /contain;
    width: 305px;
    height: 368px;
    right: 0;
    bottom: 0;
    opacity: var(--cloud-opacity-2, .2);
}

.banner-promo-partner .banner-top .text,
.banner-promo-partner .banner-bottom .text {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
}

.banner-promo-partner .banner-content {
    color: var(--content-color, var(--banner-color));
    padding-top: 30px;
    padding-bottom: 30px;
    z-index: 1;
}

.banner-promo-partner .banner-content .title {
    font-size: 1.125rem;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    margin-bottom: 30px;
}

.banner-promo-partner .banner-content .title div {
    font-size: 3rem;
}

.banner-promo-partner .banner-content .price-wrap {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
}

.banner-promo-partner .banner-content .price-new {
    color: var(--price-color);
    font-size: 2.625rem;
}

.banner-promo-partner .banner-content .price-old {
    font-size: 1.125rem;
    opacity: .6;
}

.banner-promo-partner .banner-content .btn-banner {
    position: relative;
    color: var(--btn-color, #fff);
    background: var(--btn-bg);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 8px;
    min-height: 60px;
    overflow: hidden;
}

.banner-promo-partner .banner-content .btn-banner::after {
    content: "";
    position: absolute;
    background: var(--btn-hover-bg);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: -1;
}

.banner-promo-partner .banner-content .badge {
    font-size: 1.125rem;
}

.banner-promo-partner .banner-content .badge div {
    font-weight: 700;
}

.banner-promo-partner .banner-content .badge span {
    font-weight: 300;
}

/* тултип маркировки рекламы */
.adv-marking-info {
    position: absolute;
    z-index: 5;
}

.adv-marking-info.top-left,
.adv-marking-info.top-right {
    top: 12px;
}

.adv-marking-info.top-right,
.adv-marking-info.bottom-right {
    right: 15px;
}

.adv-marking-info.bottom-right,
.adv-marking-info.bottom-left {
    bottom: 12px;
}

.adv-marking-info.top-left,
.adv-marking-info.bottom-left {
    left: 15px;
}

.adv-marking-popup {
    color: #000;
    background-color: #fff;
    position: absolute;
    font-size: 10px;
    white-space: nowrap;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 2px 2px 9px rgb(0,0,0, .1);
}

.adv-marking-info.top-left .adv-marking-popup,
.adv-marking-info.top-right .adv-marking-popup {
    top: calc(100% + 10px);
}

.adv-marking-info.top-right .adv-marking-popup,
.adv-marking-info.bottom-right .adv-marking-popup {
    right: 0;
}

.adv-marking-info.bottom-right .adv-marking-popup,
.adv-marking-info.bottom-left .adv-marking-popup {
    bottom: calc(100% + 10px);
}

.adv-marking-info.top-left .adv-marking-popup,
.adv-marking-info.bottom-left .adv-marking-popup {
    left: 0;
}

.adv-marking-info .adv-btn {
    background-color: rgba(255,255,255, .4);
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 10px;
}

.adv-marking-info summary {
    list-style: none;
}

.adv-marking-info summary::-webkit-details-marker {
    display: none;
}

@media (any-hover: hover) {
    .banner-promo-partner .banner-content .btn-banner:hover::after {
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .banner-promo-partner {
        border-radius: 16px;
        margin-left: 0;
        margin-right: 0;
    }

    .banner-promo-partner .banner-content {
        padding-top: 40px;
        padding-bottom: 60px;
    }
}

@media (min-width: 992px) {
    .banner-promo-partner .banner-middle::before {
        left: 0;
        bottom: 0;
    }

    .banner-promo-partner .banner-middle::after {
        background: url(../img/cloud-2.png) no-repeat 0 0 /contain;
        width: 890px;
        height: 350px;
    }

    .banner-promo-partner .bg-image {
        background: url("../img/woman.png") no-repeat right -100px bottom -200px;
    }

    .banner-promo-partner .banner-content .title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .banner-promo-partner .banner-content .title div {
        font-size: 4rem;
    }

    .banner-promo-partner .banner-content .price-old {
        margin-right: 35px;
    }

    .banner-promo-partner .banner-content .badge {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #344750;
        background: url(../img/badge.png) no-repeat 0 0 /contain;
        position: absolute;
        overflow: hidden;
        right: -60%;
        bottom: 10%;
        width: 205px;
        height: 109px;
        padding: 10px;
        font-size: .875rem;
        transform: rotate(-5deg) translateZ(0);

        mask: url(../img/badge.png) no-repeat 0 0 /contain;
    }

    .banner-promo-partner .banner-content .badge::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(295deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 80%);
        animation: btn-shine 5s infinite;
    }

    @keyframes btn-shine {
        0%, 60% {
            transform: translateX(-100%);
        }
        100% {
            transform: translateX(100%);
        }
    }

    .banner-promo-partner .banner-content .badge div {
        font-size: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .banner-promo-partner .bg-image {
        background-position: right bottom -220px;
    }

    .banner-promo-partner .banner-content .title {
        font-size: 2rem;
        margin-bottom: 60px;
    }

    .banner-promo-partner .banner-content .title div {
        font-size: 5rem;
    }

    .banner-promo-partner .banner-content .badge {
        right: -47%;
    }
}

/* Доктора клиники */
.clinic-doctors .doctor-item .photo {
    border-radius: 50%;
    max-width: 295px;
    width: 100%;
}

.clinic-doctors .doctors-slider .doctor-item .photo {
    outline: 3px solid transparent;
    outline-offset: -13px;
}

.clinic-doctors .doctor-item .spec {
    font-size: 14px;
}

/* [слайдер] */
.clinic-doctors .doctors-slider .carousel__slide {
    --carousel-slide-width: 70%;
}

.clinic-doctors .doctors-slider .carousel__nav {
    display: none;
}

.clinic-doctors .doctors-slider .carousel__button.is-prev,
.clinic-doctors .doctors-slider .carousel__button.is-next {
    transform: translateY(calc(-50% - 40px));
}

@media (any-hover: hover) {
    .clinic-doctors .doctors-slider .doctor-item:hover  {
        color: #c34e95;
    }

    .clinic-doctors .doctors-slider .doctor-item:hover .photo {
        outline-color: #c34e95;
    }
}

@media (min-width: 576px) {
    .clinic-doctors .doctors-slider .carousel__slide {
        --carousel-slide-width: 60%;
    }
}

@media (min-width: 768px) {
    .clinic-doctors .doctors-slider .carousel__slide {
        --carousel-slide-width: calc(100% / 3);
    }

    .clinic-doctors .doctor-item .name {
        font-size: 18px;
    }

    .clinic-doctors .doctor-item .spec {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .clinic-doctors .doctors-slider .carousel__nav {
        display: block;
    }

    .clinic-doctors .doctors-slider .carousel__dots {
        display: none;
    }

    .has-dots {
        margin-bottom: 0;
    }
}

/* Общие настройки слайдера (для докторов, видео-отзывов и т.п.) */
.carousel__slide {
    padding-top: 0;
    padding-bottom: 0;
}

.carousel__nav .carousel__button {
    --carousel-button-color: #fff;
    --carousel-button-bg: #c34e95;
    --carousel-button-width: 45px;
    --carousel-button-height: 45px;
    z-index: 2;
}

.carousel__nav .carousel__button svg {
    --carousel-button-svg-stroke-width: 2;
    --carousel-button-svg-width: auto;
    --carousel-button-svg-height: auto;
}

.f-carousel__nav .f-button svg {
    --f-button-svg-stroke-width: 2;
    --f-button-svg-width: auto;
    --f-button-svg-height: auto;
}

@media (any-hover: hover) {
    .carousel__nav .carousel__button:hover {
        color: #c34e95;
        background-color: #fff;
        border: 2px solid;
    }
}

.carousel__button.is-prev,
.is-horizontal .f-carousel__nav .f-button.is-prev {
    left: 0;
}

.carousel__button.is-next,
.is-horizontal .f-carousel__nav .f-button.is-next {
    right: 0;
}

.carousel__dots,
.f-carousel__dots {
    top: calc(100% + 2rem);
}

.carousel__dots .carousel__dot:after {
    background-color: #d9d9d9;
    width: 9px;
    height: 9px;
    border: 2px solid transparent;
    opacity: 1;
    transition: all .15s ease;
}

.carousel__dots .carousel__dot.is-selected:after,
.f-carousel__dots li.is-current .f-carousel__dot {
    background-color: transparent;
    border: 2px solid #aa7d68;
    width: 12px;
    height: 12px;
}

.f-carousel__dots {
    --f-carousel-dot-opacity: 1;
    --f-carousel-dot-color: #d9d9d9;
    --f-carousel-dot-width: 9px;
    --f-carousel-dot-height: 9px;
    --f-carousel-dots-width: 22px;
    --f-carousel-dots-height: 22px;
}

.carousel__nav .carousel__button {
    --carousel-button-color: #fff;
    --carousel-button-bg: #c34e95;
    --carousel-button-width: 45px;
    --carousel-button-height: 45px;
    z-index: 2;
}

.f-carousel__nav .f-button {
    --f-button-color: #fff;
    --f-button-bg: #c34e95;
    --f-button-active-bg: #c34e95;
    --f-button-width: 45px;
    --f-button-height: 45px;
    --f-button-border-radius: 50%;
}

@media (min-width: 768px) {
    .carousel__nav .carousel__button {
        --carousel-button-width: 65px;
        --carousel-button-height: 65px;
    }
}

@media (min-width: 1200px) {
    .carousel__button.is-prev {
        left: 35px;
    }

    .carousel__button.is-next {
        right: 35px;
    }
}

/* О клинике [секция] */

/* Приемущества клиники [секция] */
.clinic-benefits .benefits-item:before {
    content: url(../img/ico-benefits-marker.svg);
}

/* Приемущества процедуры [секция] */
.clinic-benefits-procedure .benefits-procedure-item .title {
    font-size: 20px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .clinic-benefits-procedure .benefits-procedure-item .title {
        font-size: 22px;
    }

    .clinic-benefits-procedure .benefits-procedure-item .desc {
        font-size: 18px;
    }
}

/* Табы услуг [секция] */
.clinic-promo-tabs .tabs .tab-btn {
    color: inherit;
    border-bottom: 1px solid #e5e5e5;
}

.clinic-promo-tabs .tabs .tab-btn.active {
    color: #aa7d68;
    border-color: #aa7d68;
}

.clinic-promo-tabs .tabs .tabs-inner {
    /* вариант подчеркивания без border у кнопки */
    /* box-shadow: inset 0px -1px 0 0 #e2e2e2; */
}

/* v2 */
.clinic-promo-tabs-v2 .tabs .tab-btn {
    color: inherit;
}

.clinic-promo-tabs-v2 .tabs .tab-btn.active {
    color: #aa7d68;
    background-color: #fff;
}

@media (min-width: 768px) {
    .clinic-promo-tabs-v2 .tabs .tab-btn {
        text-align: left;
    }

    .clinic-promo-tabs-v2 .tabs-content .ul-columns {
        columns: 2;
    }
}

@media (min-width: 992px) {
    .clinic-promo-tabs-v2 .tabs-content .ul-columns {
        columns: 3;
    }
}

/* плитка карточек услуг */
.services-tile .services-item {
    min-height: 275px;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.services-tile .services-item .title {
    font-size: 22px;
}

.services-tile .services-item .links li {
    padding: 5px 0;
}

.services-tile .services-item .cover {
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    z-index: -1;
}

.services-tile .services-item .cover:before {
    content: "";
    position: absolute;
    background: linear-gradient(90deg, #F9F9F9 0%, rgba(249, 249, 249, 0) 100%);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

@media (min-width: 768px) {
    .page-description {
        font-size: 18px;
    }

    .services-tile .services-item .title {
        font-size: 26px;
    }
}

@media (min-width: 992px) {
    .services-tile .services-item {
        padding: 30px;
    }

    .services-tile .services-item .links-columns {
        columns: 2;
        max-width: 80%;
    }
}

@media (min-width: 1200px) {
    .services-tile .services-item .links-columns {
        max-width: 70%;
    }
}

/* -- Акции (стр. акции) -- */
.clinic-promo-price {
    background-color: #fff;
    box-shadow: 0 4px 4px 0 rgba(0,0,0, .05);
}

.clinic-promo-price .price-wrap {
    background-image: linear-gradient(to right, #999 50%, transparent 0%);
    background-position: bottom;
    background-size: 6px 1px;
    background-repeat: repeat-x;
}

.clinic-promo-price .price-wrap .price-sale {
    background-color: #ffe588;
    padding: 6px 10px 3px;
}

.clinic-promo-price .price-wrap .price-sale .badge-percent {
    display: inline-block;
    background-color: #fff;
    border-radius: 50rem;
    width: 28px;
    height: 28px;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
}

.badge-discount {
    color: #fff;
    display: inline-block;
    background-color: #fb5ebd;
    border-radius: 50rem;
    font-size: 14px;
    line-height: 1;
    padding: 6px;
}

.clinic-promo-price .price-wrap .price-actual {
    font-size: 22px;
}

@media (min-width: 768px) {
    .clinic-promo-price .price-wrap .price-actual {
        font-size: 26px;
    }
}

/* Оформление текстового контента стр. и блога */
.section-py {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.clinic-blog-page > div:nth-child(n+3):not(.page-author):nth-child(even) {
    background-color: #f9f9f9;
}

.content-section .row {
    row-gap: 30px;
}

.content-section .content-unit .scroller {
    margin-right: calc(-.5 * var(--bs-gutter-x));
    padding-right: calc(.5 * var(--bs-gutter-x));
}

.content-section .price-table > div {
    padding: 10px 0;
}

.content-section .price-table > div:first-child {
    padding-top: 0;
}

.content-section .price-table > div:last-child {
    padding-bottom: 0;
}

.content-section .price-table > div + div {
    border-top: 1px solid #d9d9d9;
}

.clinic-blog-page .page-author .ava-doc {
    border-radius: 50%;
    width: 60px;
}

.page-text h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.page-text h3:not(:first-child) {
    font-size: 20px;
    line-height: 1.2;
    margin-top: 16px;
    margin-bottom: 5px;
}

.page-text h2:not(:first-child) {
    margin-top: 30px;
}

.page-text h2:not(:first-child) + h2,
.page-text h3 + h2:not(:first-child) {
    margin-top: 0;
}

.page-text p:not(:last-child),
.page-text ul:not(:last-child),
.page-text ol:not(:last-child),
.page-text img:not(:last-child) {
    margin-bottom: 16px;
}

.page-text li:not(:last-child) {
    margin-bottom: 10px;
}

.page-text p:empty {
    min-height: 0;
    margin: 0;
    padding: 0
}

.page-text li ul {
    margin-top: 16px;
}

.page-text:not(.sitemap) ul:not(.ul-styled-positive),
.page-text:not(.sitemap) ol {
    display: flow-root;
}

.page-text ul:not([class]) li {
    position: relative;
    padding-left: 20px;
}

.page-text ul:not([class]) li:before {
    content: "";
    position: absolute;
    background-color: #c34e95;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    left: 0;
    top: 6px;
}

.page-text ol {
    counter-reset: myCounter;
}

.page-text ol li {
    position: relative;
    padding-left: 35px;
}

.page-text ol li:before {
    --marker-size: 25px;
    counter-increment: myCounter;
    content: counter(myCounter);
    position: absolute;
    background: linear-gradient(160deg, #f7e7fd 0%, #fff4ed 100%);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    line-height: var(--marker-size);
    text-align: center;
    width: var(--marker-size);
    height: var(--marker-size);
    left: 0;
    top: 0;
}

.page-text .ul-styled-positive > li {
    background-color: #f1f9f0;
    border-radius: 10px;
    position: relative;
    padding: 10px;
    padding-left: 46px;
}

.page-text .ul-styled-positive > li:before {
    position: absolute;
    content: url(../img/ico-check.svg);
    margin-left: -34px;
}

.page-text .ul-styled-negative > li {
    border-radius: 10px;
    padding-left: 35px;
}

.page-text .ul-styled-negative > li:before {
    position: absolute;
    content: url(../img/ico-cancel.svg);
    margin-left: -35px;
}

.page-text .ul-styled-steps {
    counter-reset: myCounter2;
}

.page-text .ul-styled-steps h3 {
    font-size: 22px;
    line-height: 1.2;
}

.page-text .ul-styled-steps h3:before {
    --marker-size: 42px;
    counter-increment: myCounter2;
    content: counter(myCounter2);
    display: block;
    background: linear-gradient(160deg, #f7e7fd 0%, #fff4ed 100%);
    border-radius: 50%;
    font-size: 14px;
    line-height: var(--marker-size);
    text-align: center;
    width: var(--marker-size);
    height: var(--marker-size);
    margin-bottom: 12px;
}

.page-text .ul-styled-steps > li {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 24px 35px;
    margin-bottom: 24px;
}

.page-text .ul-styled-steps > li p {
    color: #8e8e8e;
    margin-top: 12px;
}

.page-text:not(.sitemap) p a {
    color: #aa7d68;
    text-decoration: underline;
}

.page-text blockquote {
    position: relative;
    background: linear-gradient(180deg, #f7e7fd 0%, #fff4ed 100%);
    border-radius: 10px;
    font-size: 20px;
    text-align: center;
    padding: 40px 20px;
    margin: 24px 0;
}

.page-text blockquote:before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border: 1px solid #fff;
    border-radius: 6px;
}

.page-text img {
    width: 100%;
}

@media (any-hover: hover) {
    .page-text:not(.sitemap) p a:hover {
        color: #000;
    }
}

@media (min-width: 576px) {
    .page-text img {
        border-radius: 16px;
    }
}

@media (min-width: 768px) {
    .page-text h2 {
        font-size: 28px;
    }

    .page-text p,
    .page-text ul,
    .page-text ol {
        font-size: 18px;
    }

    .page-text ul:not([class]) li:before {
        top: 8px;
    }

    .page-text .ul-styled-steps h3 {
        display: flex;
        align-items: center;
        font-size: 24px;
        gap: 12px;
    }

    .page-text .ul-styled-steps h3:before {
        margin-bottom: 0;
    }

    .page-text blockquote {
        font-size: 24px;
    }

    .page-text img {
        border-radius: 24px;
    }

    .page-text img.fl,
    .page-text img.fr {
        width: 50%;
    }

    .page-text img.fr {
        margin-left: 40px;
    }

    .page-text img.fl {
        margin-right: 40px;
    }

    .clinic-blog-page .page-author .ava-doc {
        width: 90px;
    }
}

@media (min-width: 992px) {
    .section-py {
        padding-top: 3.125rem;
        padding-bottom: 3.125rem;
    }

    .content-section .row {
        row-gap: 40px;
    }

    .content-section .unit-image {
        margin-top: -45px;
    }

    .page-text img.fl,
    .page-text img.fr {
        width: 40%;
    }
}

/* Отзывы текстовые [слайдер] + [колонки] */
.review-item .review-footer:before {
    content: "";
    display: block;
    border-top: 1px solid #e5e5e5;
    width: 65px;
    margin-bottom: 16px;
}

.reviews-text-tile .review-item + .review-item {
    margin-top: 16px;
}

.review-item .review-text {
    position: relative;
    min-height: 100px;
    max-height: 100px;
    overflow: hidden;
    transition: all .5s ease-out;
}

.review-item .review-text:after {
    content:"";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 40px;
    transition: all .35s ease .1s;
    background: linear-gradient(0deg, #fff 20%, rgba(255,255,255, 0));
}

.review-item .review-text.opened:after {
    opacity: 0;
    visibility: hidden;
}

.review-item .review-text.opened {
    max-height: 100vh;
}

.grid-col-2 {
    display: none;
}

@media (min-width: 768px) {
    .grid-col-2 {
        display: block;
    }

    .reviews-text-tile .review-item + .review-item {
        margin-top: 24px;
    }
}

/* слайдер */
.clinic-reviews .reviews-text-slider .carousel__slide {
    --carousel-slide-width: 100%;
    padding: 0;
    margin: 0 .75rem;
}

.clinic-reviews .reviews-text-slider .carousel__nav {
    display: none;
}

.reviews-text-slider .carousel__nav .carousel__button {
    --carousel-button-width: 55px;
    --carousel-button-height: 55px;
}

@media (min-width: 768px) {
    .clinic-reviews .reviews-text-slider .carousel__slide {
        --carousel-slide-width: 70%;
    }

    .reviews-text-slider .carousel__viewport:before,
    .reviews-text-slider .carousel__viewport:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20%;
        z-index: 1;
    }

    .reviews-text-slider .carousel__viewport:before {
        background: linear-gradient(to right, #fff 10%, rgba(249, 249, 249, 0) 100%);
        left: 0;
    }

    .reviews-text-slider .carousel__viewport:after {
        background: linear-gradient(to left, #fff 10%, rgba(249, 249, 249, 0) 100%);
        right: 0;
    }

    .clinic-reviews .reviews-text-slider .carousel__nav {
        display: block;
    }

    .reviews-text-slider .carousel__dots {
        display: none;
    }
}

@media (min-width: 768px) {
    .clinic-reviews .reviews-text-slider .carousel__slide {
        --carousel-slide-width: 60%;
    }
}

@media (min-width: 1200px) {
    .reviews-text-slider .carousel__button.is-prev {
        left: 0;
    }

    .reviews-text-slider .carousel__button.is-next {
        right: 0;
    }
}

/* -- Блог -- */
.blog-categories {
    gap: 5px;
}

.clinic-blog-other-posts .blog-posts-tile + .blog-posts-tile {
    margin-top: 20px;
}

.blog-doctors-slider .carousel__dots {
    position: static;
    margin-top: 40px;
}

.blog-doctors-slider .carousel__slide {
    --carousel-slide-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

@media (any-hover: hover) {
    .blog-post-item:hover .cover img {
        transform: scale(1.05);
    }
}

@media (max-width: 575px) {
    .blog-post-item .cover {
        --bs-gutter-x: 2.5rem;
        margin-left: calc(-.5 * var(--bs-gutter-x));
        margin-right: calc(-.5 * var(--bs-gutter-x));
    }
}

@media (min-width: 576px) {
    .blog-post-item .cover {
        border-radius: 8px;
        aspect-ratio: 15/ 10;
    }

    .blog-doctors-slider .carousel__slide {
        --carousel-slide-width: calc(100% / 2.2);
    }

    .blog-doctors-slider {
        margin-right: calc(-.5 * var(--bs-gutter-x));
    }

    .blog-doctors-slider .carousel__viewport {
        padding-right: calc(.5 * var(--bs-gutter-x));
    }
}

@media (min-width: 768px) {
    .blog-categories {
        gap: 10px;
    }
}

@media (min-width: 992px) {
    .blog-posts-tile {
        --bs-gutter-x: 2.5rem;
    }

    .blog-doctors-slider .carousel__viewport {
        overflow: visible;
    }

    .blog-doctors-slider .carousel__slide {
        --carousel-slide-width: calc(100% / 4);
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* -- Футер -- */
.footer [class*="border"] {
    --border-color: #d9d9d9;
}

@media (min-width: 768px) {
    .footer .link-address {
        font-size: 20px;
    }
}

/* -- 404 -- */
.page-404 .bg-flowers {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    height: 458px;
    padding-bottom: 50px;
}

.page-404 .bg-flowers:before,
.page-404 .bg-flowers:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: right top;
    background-repeat: no-repeat;
    background-size: contain;
}

.page-404 .bg-flowers:before {
    background-image: url(../img/bg-flowers.png);
    mix-blend-mode: color-burn;
}

.page-404 .bg-flowers:after {
    background-image: url(../img/bg-flowers-2.png);
    opacity: .6;
    z-index: -1;
}

.page-404 .bg-flowers > div {
    z-index: 5;
}

/* -- Кнопка беспл. консультакция -- */
.widget-free-cousult {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
}

.btn-free-cousult {
    color: #fff;
    position: relative;
    background: linear-gradient(90deg, #00a8e5 0%, #00c990 100%);
    border-radius: 10rem;
    padding: 19px;
    overflow: hidden;
    gap: 8px;
}

.btn-free-cousult::after {
    content: "";
    position: absolute;
    background: linear-gradient(90deg, #46b7ef 0%, #810add 100%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: -1;
    animation: fadeGradient 4s infinite;
}

@keyframes fadeGradient {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@media (any-hover: hover) {
    .btn-free-cousult:hover {
        color: #00b6c1;
        background: #fff;
        box-shadow: inset 0 0 0 3px #00b6c1;
        transition: none;
    }

    .btn-free-cousult:hover::after {
        display: none;
    }
}

@media (min-width: 992px) {
    .widget-free-cousult {
        right: 30px;
        bottom: 30px;
    }

    .widget-free-cousult .btn-free-cousult {
        font-size: 1.375rem;
        padding: 19px 28px;
    }
}

/* -- Fancybox -- */
.fancybox__container {
    --fancybox-bg: rgba(39,36,23, .82);
    --fancybox-content-color: #000;
    z-index: 10100;
}

.fancybox__thumbs .carousel__slide .fancybox__thumb:after {
    --fancybox-accent-color: #c34e95;
    border-width: 4px;
}

.fancybox__container .fancybox__nav .carousel__button {
    --carousel-button-bg: #97ae08;
    --carousel-button-border-radius: 8px;
    --carousel-button-svg-filter: none;
    transition: all .15s ease;
}

@media (any-hover: hover) {
    .fancybox__container .fancybox__nav .carousel__button:hover {
        --carousel-button-bg: #b6cf1c;
    }
}

/* modal window */
.fancybox__content :focus {
    outline: 0 !important;
}

.modal-box > .carousel__button.is-close {
    --carousel-button-bg: rgba(0,0,0,.5);
    --carousel-button-svg-filter: none;
    --carousel-button-width: 32px;
    --carousel-button-height: 32px;
    --carousel-button-svg-width: 14px;
    --carousel-button-svg-height: 14px;
    --carousel-button-svg-stroke-width: 3;
    top: 20px;
    right: 20px;
}

/* -- Доп. кастом -- */
/* анимация */
@keyframes float {
    0%,to {
        transform: rotate(-1deg) translate(-.1rem,1rem)
    }

    50% {
        transform: rotate(2deg)
    }

    75% {
        transform: rotate(.5deg) translate(.25rem,.5rem)
    }
}

.animate-float {
    animation: float 8s ease infinite;
}

@keyframes string {
    25% {
        transform: translate(.02rem,-.05rem) scaleY(1.03) scaleX(1.02)
    }

    50% {
        transform: translate(.1rem,.1rem) scaleY(1.05) scaleX(.95)
    }

    75% {
        transform: translate(.05rem,.05rem) scaleY(.96) scaleX(1)
    }
}

.animate-string {
    animation: string .25s ease-in-out infinite;
}

@keyframes blur-in {
    0% {
        filter: brightness(1) blur(10px);
        transform: scale(.94)
    }

    10% {
        filter: brightness(1.15) blur(5px);
        transform: scale(.98)
    }

    to {
        filter: brightness(1) blur(0);
        transform: scale(1)
    }
}

.animate-blur-in {
    animation: blur-in 1s cubic-bezier(0,.55,.45,1);
}