@font-face {
    font-family: 'Verdana';
    src: url('../fonts/Verdana.eot');
    src: local('../fonts/Verdana'),
    url('../fonts/Verdana.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Verdana.woff') format('woff'),
    url('../fonts/Verdana.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'VerdanaBold';
    src: url('../fonts/Verdana-Bold.eot');
    src: local('../fonts/Verdana Bold'), local('Verdana-Bold'),
    url('../fonts/Verdana-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Verdana-Bold.woff') format('woff'),
    url('../fonts/Verdana-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Nautilus-script-Swashes';
    src: url('../fonts/Nautilus-script-Swashes.eot');
    src: local('../fonts/Nautilus-script-Swashes'), local('Nautilus-script-Swashes'),
    url('../fonts/Nautilus-script-Swashes.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Nautilus-script-Swashes.woff') format('woff'),
    url('../fonts/Nautilus-script-Swashes.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*,
::before,
::after {
    box-sizing: border-box;
}

html {
    /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
    font-family:
            system-ui,
            'Segoe UI',
            Roboto,
            Helvetica,
            Arial,
            sans-serif,
            'Apple Color Emoji',
            'Segoe UI Emoji';
    line-height: 1.15; /* 1. Correct the line height in all browsers. */
    -webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
    -moz-tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
    tab-size: 4; /* 3 */
    font-size: 62.5%;
}


body {
    margin: 0; /* Remove the margin in all browsers. */
    font-size: 1rem;
    background-color: #fff;
    font-family: 'Verdana', 'system-ui';
}

hr {
    height: 0; /* 1 */
    color: inherit; /* 2 */
}

abbr[title] {
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp,
pre {
    font-family:
            ui-monospace,
            SFMono-Regular,
            Consolas,
            'Liberation Mono',
            Menlo,
            monospace; /* 1 */
    font-size: 1em; /* 2 */
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

table {
    text-indent: 0; /* 1 */
    border-color: inherit; /* 2 */
}


button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}


button,
select {
    text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
}

::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

:-moz-focusring {
    outline: 1px dotted ButtonText;
}

:-moz-ui-invalid {
    box-shadow: none;
}

legend {
    padding: 0;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type='search'] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

summary {
    display: list-item;
}


/*DEFAULT*/

img {
    max-width: 100%;
    height: auto;
}

button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

button, a {
    cursor: pointer;
}

p, ul {
    margin: 0;
}

.container-content {
    margin: 0 1rem 1rem;
    border-radius: .5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.container-content__with-shadow {
    box-shadow: 5px -4px 30px 5px rgba(0,0,0,0.11);
}

@media screen and (min-width: 720px) {
    .container-content {
        margin: 0 3rem 1rem;
    }
}

@media screen and (min-width: 1220px) {
    .container-content {
        max-width: 120rem;
        margin: 0 auto;
    }
}

.body {
    background: #fff url("../images/background.png") repeat-y;
}

.section__title {
    font-family: 'VerdanaBold', 'system-ui';
    font-size: 1.6rem;
    font-weight: bold;
    color: #756660;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    padding: .5rem .8rem;
    background: #ffed00;
    border-radius: 2rem;
}

@media screen and (min-width: 1220px) {
    .section__title {
        font-size: 2.4rem;
        padding: 1rem 2rem;
    }
}

/*HEADER*/
.header {
    width: 100%;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 11;
    transition: all .3s;
    background-color: #feef41;
}

.header.relative {
    position: relative;
}

.header__container {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #bd1590;
    box-shadow: 0 -4px 30px 0 rgba(0,0,0,0.11);
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 9.2rem;
}

.header__logo img {
    width: 180px;
}

.header__logo.hidden {
    display: none;
}

.header-logo__link {
    display: flex;
    justify-content: center;
    /*color: #bd1590;*/
    color: #000;
    gap: .5rem;
    text-decoration: none;
}

.header-logo-img__wrapper {
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    position: relative;
    bottom: -1rem;
    z-index: 2;
}

.header-logo__text {
    /*font-family: 'Nautilus-script-Swashes', 'system-ui';*/
    font-family: Tahoma, sans-serif;
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin-left: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 15rem;
    flex-wrap: wrap;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 100%;
}

.nav__burger_btn {
    background-color: #feef41;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    border-radius: 1.5rem;
    margin-left: 1rem;
}

.nav__burger_line {
    height: .5rem;
    width: 3rem;
    background-color: #bd1590;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .5s;
}

.nav__list {
    transform: translateX(-100%);
    position: absolute;
    top: 7.9rem;
    width: 100%;
    box-shadow: 0 -4px 30px 0 rgba(0,0,0,0.11);
    background-color: rgba(250, 236, 79, .9);
    display: flex;
    flex-direction: column;
    padding: 2.3rem 0;
    gap: .7rem;
    list-style: none;
    opacity: 0;
    transition: all .3s;
    z-index: 1;
}

.nav.active .nav__burger_line:nth-child(1) {
    transform: rotate(45deg) translate(.6rem,.8rem);
}
.nav.active .nav__burger_line:nth-child(2) {
    transform: translate(-4rem);
    background-color: transparent;
}
.nav.active .nav__burger_line:nth-child(3) {
    transform: rotate(-45deg) translate(.6rem,-.8rem);
}

.nav.active .nav__list {
    transform: translateX(0);
    opacity: 1;
}

.nav__link {
    font-size: 1.6rem;
    padding: .8rem;
    color: #000;
    text-decoration: none;
    text-align: center;
    width: 100%;
    display: inline-block;
    transition: all .3s;
}

.nav__link:hover, .nav__link.active {
    background-color: #bd1590;
    color: #fff;
}

.download-catalog-btn {
    background-color: #fff9a3;
    font-size: 1.2rem;
    color: #bd1590;
    border-radius: 1.6rem;
    text-decoration: none;
    padding: .8rem .5rem;
    max-width: 14rem;
    text-align: center;
    transition: all .3s;
}
.download-catalog-btn:hover {
    background-color: #feef41;
    color: #010101;
}

.lang-switcher {
    margin: 0 1rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background-color: #fff9a3;
    padding: .5rem;
    border-radius: 3rem;
}

.lang-switcher__icon {
    filter: grayscale(100);
    opacity: .7;
    transition: all .2s;
    min-width: 2.2rem;
    height: 2.2rem;
}

.lang-switcher__link.active .lang-switcher__icon, .lang-switcher__link:hover .lang-switcher__icon {
    filter: none;
    opacity: 1;
}

@media  screen and (min-width: 720px) {
    .header {
        box-shadow: 0 -4px 30px 0 rgba(0,0,0,0.11);
        height: 10.5rem;
    }
    .header__container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header__logo {
        height: auto;
        position: absolute;
        left: 62%;
        top: 1rem;
        transform: translateX(-50%);
    }

    .header-logo__link {
        align-items: flex-start;
    }

    .header-logo-img__wrapper {
        width: 18rem;
        height: 16rem;
    }

    .header-logo__text {
        font-size: 2.5rem;
        max-width: 18rem;
        line-height: 2.5rem;
        margin-top: 15px;
        margin-left: 20px;
    }

    .header__actions {
        box-shadow: none;
        position: static;
        justify-content: space-between;
        background-color: transparent;
    }

    .nav__burger_btn {
        position: absolute;
        left: 1.5rem;
        background-color: #bd1590;
        width: 6rem;
        height: 6rem;
    }

    .nav__burger_line {
        background-color: #fff;
        width: 4rem;
    }

    .nav__list {
        left: 0;
        top: 10.5rem;
    }

    .download-catalog-btn {
        border-top: 5px solid #bd1590;
        background-color: #ffdd00;
        border-radius: 0 0 2rem 2rem;
        position: absolute;
        top: 0;
        left: 17%;
        font-size: 1.6rem;
        padding: 1.2rem .5rem;
    }

    .download-catalog-btn:hover {
        background-color: #bd1590;
        color: #fff;
    }


    .lang-switcher {
        margin: 0 3rem 0 4rem;
    }
    .lang-switcher__icon {
        min-width: 3.5rem;
        height: 3.5rem;
    }
}

@media screen and (min-width: 992px) {
    .header__logo {
        left: 50%;
    }
}

@media screen and (min-width: 1220px) {
    .header__container {
        max-width: 120rem;
        margin: 0 auto;
    }

    .header {
        height: 10rem;
    }

    .header__logo {
        position: relative;
        left:0;
        transform: none;
        margin-left: 0;
        top: 3rem;
        width: auto;
    }

    .header-logo__text {
        font-size: 2.8rem;
        padding-top: 1rem;
        line-height: 2.5rem;
        margin-top: 14px;
        margin-left: 20px;
    }

    .header__actions {
        flex: 0;
    }

    .nav__burger_btn {
        display: none;
    }

    .nav .nav__list {
        transform: translateX(0);
        position: static;
        opacity: 1;
        flex-direction: row;
        box-shadow: none;
        background-color: transparent;
        gap: 1rem;
        margin:0;
        padding: 0;
    }

    .nav__link {
        display: flex;
        align-items: flex-end;
        padding: 1.5rem 2rem;
        border-radius: 3rem;
        margin-bottom: .5rem;
    }

    .nav__link:hover, .nav__link.active {
        background-color: #bd1590;
        color: #fff;
    }

    .download-catalog-btn {
        position: relative;
        left: unset;
        top: -1.5rem;
        padding: 1.5rem 2.4rem;
        max-width: 25rem;
        margin-left: 5rem;
    }

    .lang-switcher {
        margin: 0 0 0 2rem;
    }
}

/*PROMO*/
.promo-section .container-content {
    margin: 0;
}

.promo-section .bx-wrapper {
    border: none;
    margin: 0;
    background: transparent;
}

.promo-section .bx-viewport {
    border-radius: .5rem .5rem 0 0;
    overflow: hidden;
}

.promo-slider__slide {
    min-height: 21rem;
    object-fit: cover;
}

.promo-section .bx-pager {
    display: flex;
    justify-content: center;
    background-color: #feef41;
    bottom: 1.5rem;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    padding: .5rem;
    border-radius: 2rem;
}

.promo-section .bx-pager.bx-default-pager a {
    background-color: #fff9a3;
    width: .8rem;
    height: .8rem;
    margin: 0 .2rem;
    border-radius: 50%;
}

.promo-section .bx-pager.bx-default-pager a.active, .promo-section .bx-pager.bx-default-pager a:hover {
    background: #bd1590;
}

.promo__content {
    background-color: #fff;
    padding: 1rem;
    position: relative;
    margin: 0 1rem;
}

.promo__title {
    font-family: 'VerdanaBold', 'system-ui';
    font-size: 1.6rem;
    color: #756660;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin:0 0 1rem;
}

.promo__title span:first-of-type {
    color: #bd1590;
}

.promo__title span:nth-of-type(2) {
    color: #ffd90d;
}

.promo__description * {
    font-size: 1.6rem;
    color: #756660;
    line-height: 2.4rem;
}

.promo__description p {
    margin: .5rem 0;
}

.promo__description b {
    padding: 1rem 0;
    display: inline-block;
}

.promo__description p {
    text-indent: 3rem;
}

.promo__description ul {
    list-style: none;
    padding-left: 4rem;
}

.promo__description li {
    position: relative;
}

.promo__description li:before {
    content: '';
    position: absolute;
    width: 1.6rem;
    height: 1rem;
    left: -2.5rem;
    top: .3rem;
    background-image: url("../images/icons/arrow.png");
}

.promo__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 4rem;
    height: 4rem;
    background-color: #feef41;
    border-radius: 50%;
    transform: translateX(-50%);

    svg {
        width: 2.5rem;
        height: 2.5rem;
        fill: #bd1590;
    }
}

@media screen and (min-width: 720px) {
    .promo-section .container-content {
        margin: 0;
        box-shadow: none;
        max-width: 100%;
    }
    .promo-section .bx-viewport {
        border-radius: 0;
    }

    .promo-slider__slide {
        min-height: 41rem;
    }

    .promo-section .bx-pager {
        bottom: 2rem;
    }

    .promo-section .bx-pager.bx-default-pager a {
        width: 1.8rem;
        height: 1.8rem;
        margin: 0 .5rem;
    }

    .promo__content {
        padding: 2rem;
        margin: 0 3rem;
        box-shadow: 5px -4px 30px 5px rgba(0,105,180,0.18);
        border-radius: 0 0 2rem 2rem;
    }
    .promo__title {
        font-size: 2.4rem;
        max-width: 50rem;
        margin: 0 auto 7rem;
    }

    .promo__description b {
        font-size: 1.8rem;
    }
    .promo__arrow {
        display: none;
    }
}

@media screen and (min-width: 1220px) {
    .promo-section {
        position: relative;
    }

    .promo__content {
        width: 90rem;
        margin: 0 auto;
        border-radius: 2rem;
        background-color: rgba(255,255,255,.9);
        padding: 8rem 7rem;
    }
    .promo__title {
        font-size: 3.5rem;
        max-width: 100%;
        line-height: 6rem;
    }

    .promo-section .bx-wrapper {
        height: 47vw;
    }

    .promo-section .bx-pager {
        display: flex;
        bottom: 4rem;
    }

    .promo-slider__slide {
        min-height: 80rem;
    }
}

@media screen and (min-width: 1440px) {
    .promo__content {
        width: 100rem;
    }
}
@media screen and (min-width: 1919px) {
    .promo__content {
        width: 120rem;
        padding: 5rem 8rem;
    }
}

/*PRODUCT SECTION*/
.product .section__title {
    margin: 5rem auto 2rem;
}

.product__list {
    background-color: #fff;
    padding: 0 .8rem;
    border-radius: 2rem;
}

.product__row {
    display: flex;
    flex-direction: column;
}

.product__item {
    padding: 1.5rem 0;
    border-bottom: 1px dashed #8e8e8e;
    position: relative;
}

.product__item-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 2rem;
    z-index: 2;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.product__item:hover .product__item-hover {
    background-color: rgba(255, 255, 255, 0.7);
    pointer-events: all;
}

.product__item-hover button {
    width: 4rem;
    height: 4rem;
    background-color: #bd1590;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product__item-hover svg {
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
}

.product__row:last-child .product__item:last-child {
    border-bottom: none;
}

.product__image-wrapper {
    width: 100%;
    border-radius: 2rem;
    overflow: hidden;
}

.product__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.product__item-stub {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10rem;
}

.product__item-stub div {
    background-color: #ffde03;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product__item-stub svg {
    color: #fff;
    width: 3rem;
    height: 3rem;
}

@media screen and (min-width: 720px) {
    .product .section__title {
        margin: 5rem auto 5rem;
    }
    .product__list {
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
    }

    .product__row {
        flex-direction: row;
        gap: 4rem;
        position: relative;
    }

    .product__row::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        height: 100%;
        border-left: 1px dashed #8e8e8e;
    }

    .product__row:not(:last-child) {
        padding-bottom: 2.5rem;
        border-bottom: 1px dashed #8e8e8e;
    }

    .product__row:not(:first-child) {
        padding-top: 2.5rem;
    }

    .product__item {
        padding: 0;
        border: none;
        position: relative;
        flex-basis: calc(50% - 2rem);
    }
    .product__image-wrapper {
        position: relative;
    }
}


@media screen and (min-width: 1220px) {

    .product__item {
        flex-direction: column;
        justify-content: center;
        border: 1px solid transparent;
        box-sizing: border-box;
    }

    .product__item-hover button {
        width: 7rem;
        height: 7rem;
    }
    .product__item-hover svg {
        width: 6rem;
        height: 5rem;
    }
}

.transparent {
    height: 50px;
    width: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

/*BRANCHES SECTION*/
.branches {
    position: relative;
}

.branches .container-content {
    margin: 0;
}

.branches .section__title {
    margin: 2rem auto 2.5rem;
}

.branches__content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 0 1rem;
}

.branches__item {
    border-radius: 2rem;
    padding: 8rem 4rem;
    color: #756660;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.branches__item--head {
    background-color: #ffed00;
    font-family: 'VerdanaBold', 'system-ui';
    font-size: 3rem;
    text-transform: uppercase;
}

.branches__item--info {
    background-color: #eaeaea;
    font-size: 1.4rem;
    line-height: 2.3rem;
}

.branches__item--info b {
    font-weight: bold;
    font-family: 'VerdanaBold', 'system-ui';
}

.branches__item--head-small {
    background-color: #bd1590;
    color: #fff;
    font-family: 'VerdanaBold', 'system-ui';
    font-size: 2.4rem;
}

.branches__item--contacts {
    font-size: 2.4rem;
    font-family: 'Verdana', 'system-ui';
    background-color: #fff9a3;
    padding: 8rem 1rem;
}

.branches__item--contacts b {
    font-weight: bold;
    max-width: 20rem;
    display: inline-block;
}

.branches__item--contacts a {
    font-size: 2rem;
    color: #756660;
    display: block;
    text-decoration: none;
}

.branches__bg {
    height: 86vw;
    background-color: #fff;
    background-image: url("../images/partners-mobile.png");
    background-size: cover;
}

.branches__image {
    display: none;
}

@media screen and (min-width: 720px) {

    .branches .section__title {
        margin: 5rem auto 4rem;
    }

    .branches__content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4rem;
        margin: 0 5.5rem 3rem;
    }

    .branches__item {
        width: calc(50% - 2rem);
        padding: 7.5rem 2rem;
    }

    .branches__item--head {
        text-align: left;
    }

    .branches__item--head-small {
        text-align: right;
        padding-right: 6rem;
    }
}

@media screen and (min-width: 1220px) {
    .branches .container-content {
        margin: 0 auto;
        max-width: none;
    }

    .branches .section__title {
        margin: 6rem auto 9rem;
    }

    .branches__content {
        margin: 0 auto;
        gap: 2rem;
        max-width: 120rem;
    }

    .branches__item {
        width: auto;
        flex: 1;
    }

    .branches__item--contacts {
        padding: 7rem .5rem;
        font-size: 1.6rem;
        line-height: 2.5rem;
    }

    .branches__item--contacts a {
        font-size: 1.6rem;
        color: #bd1590;
        font-weight: bold;
    }

    .branches__bg {
        background-image: none;
        height: auto;
    }

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

/*CONTACTS*/
.contacts {
    background-color: #fff;
    padding-bottom: 2rem;
}

.contacts .container-content {
    margin: 0 1rem 3rem;
}

.contacts__content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contacts .section__title {
    margin: 2rem auto 2.5rem;
}

.contacts__block {
    background-color: #fff9a3;
    color: #756660;
    text-align: center;
    padding: 3rem .5rem;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    font-size: 1.4rem;
    border-radius: 2rem;
    p {
        margin: 0;
    }
    a {
        color: #bd1590;
        text-decoration: none;
        white-space: nowrap;
        font-family: 'VerdanaBold', 'system-ui';
        font-weight: bold;
    }
    a:hover {
        color: #bd1590;
        text-decoration: underline;
    }
}
.contacts__block-title {
    font-family: 'VerdanaBold', 'system-ui';
    font-weight: bold;
    text-transform: uppercase;
}
.contacts__block-text {
    font-size: 1.2rem;
}
.contacts__map {
    width: 100%;
    height:  43rem;
}
@media screen and (min-width: 720px) {
    .contacts {
        padding-bottom: 3rem;
    }
    .contacts .container-content {
        margin: 0 0 4rem;
    }

    .contacts .section__title {
        margin: 5rem auto 4rem;
    }
    .contacts__content {
        flex-direction: row;
    }

    .contacts__block {
        width: 100%;
        padding: 3rem 2rem;
        text-align: left;
        font-size: 1.6rem;
        line-height: 2.5rem;
        &:nth-child(odd) {
            text-align: right;
            border-radius: 0 2rem 2rem 0;
        }
        &:nth-child(even) {
            border-radius: 2rem 0 0 2rem;
        }
    }
    .contacts__block-title, .contacts__block-text {
        font-size: 1.6rem;
    }

    .contacts__block-title {
        min-height: 4rem;
    }
    .contacts__map {
        height: 56rem;
    }
}
@media screen and (min-width: 1220px) {
    .contacts {
        padding-bottom: 4rem;
    }
    .contacts .container-content {
        max-width: 100%;
        margin-bottom: 6rem;
    }
    .contacts .section__title {
        margin: 6rem auto 5rem;
    }

    .contacts__block {
        gap: 3.2rem;
        padding-bottom: 5rem;
    }
    .contacts__block-title, .contacts__block-text {
        font-size: 1.6rem;
    }
    .contacts__map {
        height: 76rem;
        border-top: 2px solid #fff9a3;
        border-bottom: 2px solid #fff9a3;
    }
}

/*FOOTER*/
.footer {
    background-color: #fff;
}
.footer__social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}
.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 3rem 0;
}
.footer__menu-link {
    font-size: 1.4rem;
    padding: .5rem;
    color: #000;
    text-decoration: none;
    width: 100%;
    display: inline-block;
    text-align: center;
}
.footer__menu-link:hover {
    color: #393633;
    text-decoration: underline;
}

.copyright {
    background-color: #feef41;
    padding: 1rem;
    display: flex;
    justify-content: center;
}
.copyright__text {
    font-size: 1.6rem;
    color: #000;
    text-transform: uppercase;
}

@media  screen and (min-width: 720px) {
    .footer__social {
        margin-bottom: 3rem;
    }
    .footer__menu {
        margin: 4.5rem 0;
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
    .footer__menu-link {
        font-size: 1.6rem;
    }
}

@media  screen and (min-width: 1220px) {
    .footer__social {
        margin-bottom: 3rem;
    }
    .footer__menu {
        margin: 4rem 0;
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }
    .footer__menu-link {
        font-size: 1.6rem;
    }
    .copyright {
        padding: 2.75rem;
    }
}

.arrow__top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 4rem;
    height: 3.3rem;
    background-color: #bd1590;
    border-radius: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform: translateY(0);
    transition: .3s ease-in-out;
}

.arrow__top svg {
    width: 2rem;
    height: 2rem;
    fill: #fff;
}

.arrow__top--hidden {
    transform: translateY(40rem);
}

@media screen and (min-width: 720px) {
    .arrow__top {
        bottom: 4rem;
        right: 4rem;
        width: 6rem;
        height: 5rem;
    }

    .arrow__top svg {
        width: 3rem;
        height: 3rem;
    }
}

/*MODAL*/
.jquery-modal.blocker {
    background-color: rgba(255,255,255,.7);
    padding: 2rem 0;
    z-index: 100;
}
.modal a.close-modal {
    top: -1rem;
    right: -1rem;
    width: 3rem;
    height: 3rem;
    line-height: 1.25;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    background: #bd1590 url('../images/icons/clos.png') no-repeat center;
    background-size: 1.5rem 1.5rem;
    font-size: 0;
    padding: 1rem;
}

.product-details__modal.modal, .product-categories__modal.modal {
    box-shadow: 5px -4px 30px 5px rgba(0,105,180,0.18);
    padding: 0;
    width: calc(100% - 2rem);
    margin-top: 4rem;
    max-height: calc(100vh - 12rem);
}

.product__categories {
    display: flex;
    max-height: calc(100% - 17rem);
    overflow: hidden;
}

.product__categories__list {
    overflow: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 1rem;
}

.product__category {
    background-color: #ffed00;
    border-radius: 2rem;
    color: #000;
    text-decoration: none;
}

.product__category:hover  {
    background-color: #bd1590;
    color: #fff;
}

.product-category__img-wrapper {
    border-radius: 2rem 2rem 0 0;
    overflow: hidden;
}

.product-category__img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.product-category__name {
    text-align: center;
    text-transform: uppercase;
    padding: 1.5rem 0;
    font-family: 'VerdanaBold', 'system-ui';
    font-size: 1.2rem;
    border-radius: 0 0 2rem 2rem;
}

.product-details__list {
    display: flex;
    flex-direction: column;
    margin: 4rem 0 2rem;
    gap: .2rem;
    overflow: auto;
    max-height: calc(100% - 15rem);
}

.product-details__name {
    color: #000;
    font-size: 1.4rem;
    background-color: #ffdd00;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    transition: background-color .3s;
}
.product-details__name:hover,
.product-details__item.open .product-details__name {
    background-color: #bd1590;
    color: #fff;
}
.product-details__content {
    height: 0;
    overflow: hidden;
}
.product-details__image-wrapper {
    margin-bottom: 2rem;
}
.product-details__item.open .product-details__content {
    height: auto;
}
.product-details__text {
    font-size: 1.4rem;
    color: #000;
    padding: 0 1.5rem;
    p {
        margin-bottom: 2.5rem;
    }
    a {
        color: #000;
        text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
    }
}
.product-details__title {
    font-family: 'VerdanaBold', 'system-ui';
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 30px;
}
.product-details__download {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
}
.product-details__download-link {
    background-color: #bd1590;
    border-radius: 1rem;
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    width: 100%;
    max-width: 23rem;
    text-align: center;
}
.product-details__download-link:hover {
    background-color: #feef41;
    color: #010101;
}
@media screen and (min-width: 550px) {
    .product-details__modal.modal, .product-categories__modal.modal {
        max-height: calc(100vh - 21rem);
    }

    .product__categories {
        max-height: calc(100% - 27rem);
    }
    .product-details__list {
        max-height: calc(100% - 25rem);
    }
}
@media screen and (min-width: 720px) {
    .product-details__modal.modal, .product-categories__modal.modal {
        max-width: 70rem;
    }

    .product__categories__list {
        gap: 2rem;
        padding: 2rem 2rem 0 2rem;
        margin-bottom: 2rem;
    }

    .product__category {
        width: calc(50% - 1rem);
    }

    .product-category__name {
        font-size: 1.4rem;
    }
}

@media screen and (min-width: 1220px) {

    .product-details__modal.modal, .product-categories__modal.modal {
        height: 90vh;
        max-width: 117rem;
        border-radius: 2rem;
    }

    .product__categories {
        max-height: calc(100vh - 21rem);
    }

    .product__categories__list {
        gap: 2.5rem;
    }

    .product__category {
        width: calc(33% - 1.33rem);
    }

    .product-category__name {
        font-size: 1.6rem;
    }

    .product-details__list {
        flex-direction: row;
        padding: 0;
        margin: 0 5rem 0 1rem;
        min-height: 6.2rem;
        height: auto;
    }
    .product-details__name {
        height: 6.2rem;
    }
    .product-details__item:nth-child(1) .product-details__name {
        border-top-left-radius: 2rem;
    }
    .product-details__item.open .product-details__name {
        background-color: #fff;
        color: #000;
    }
    .product-details__name:hover {
        background-color: #fff;
        color: #000;
    }
    .product-details__content {
        position: absolute;
        overflow: auto;
        top: 8rem;
        left: 0;
        right: .2rem;
        max-height: calc(90vh - 25rem);
        opacity: 0;
        z-index: -1;
        padding: 2rem 3rem 2rem 2rem;
        display: flex;
        flex-wrap: wrap;
        transition: opacity .4s ease-in-out;
    }
    .product-details__item.open .product-details__content {
        opacity: 1;
        z-index: 1;
        max-height: calc(90vh - 25rem);
    }
    .product-details__image-wrapper {
        width: 49%;
        order: 2;
        margin: 0;
    }
    .product-details__text {
        width: 51%;
        order: 1;
        font-size: 1.6rem;
    }
    .product-details__download {
        order: 3;
        display: flex;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 0;
    }
    .product-details__download-link {
        font-size: 1.6rem;
        max-width: 15rem;
        align-self: flex-end;
        border-radius: 2rem;
        color: #fff !important;
    }
    .product-details__download-link:hover {
        font-size: 1.6rem;
        max-width: 15rem;
        align-self: flex-end;
        border-radius: 2rem;
        color: #000 !important;
    }
}


.custom-scrollbar {
    scrollbar-width: auto;
    scrollbar-color: #756660 #ccc;
}

/* Chrome, Edge, and Safari */
.custom-scrollbar::-webkit-scrollbar {
    width: .6rem;
    height: .6rem;
}

.custom-scrollbar--horizontal::-webkit-scrollbar {
    height: .6rem;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #ccc;
    border-radius: .5rem;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #756660;
    border-radius: .5rem;
    border: none;
}


#debug td { color: #000 !important; }
#debug a { color: #ff0000 !important; }
.nobr p { padding: 0px; margin: 0px; }
.clr { clear: both; }
.rel { position: relative; }
.error { font-size: 11px; color: #900; background-color: #FFECEC; padding: 1px 2px 1px 2px; border: 1px solid #930; position: absolute; height: auto; top: -15px; left: 10px; z-index: 3; white-space: nowrap;}
.error b { background-image: url('/images/error.gif'); background-repeat: no-repeat; position: absolute; height: 8px; width: 9px; left: -1px; bottom: -7px; display: block; z-index: 3;}

.counters {
    display: none;
}