/* @font-face {
    font-family: 'roboto';
    src: url('../fonts/balqis.woff2') format('woff2'), url('../fonts/balqis.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
} */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    src: url("../../fonts/MontserratAlternates-Regular.ttf");
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
    src: url("../../fonts/Manrope-Regular.ttf");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 600;
    src: url("../../fonts/Manrope-SemiBold.ttf");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700;
    src: url("../../fonts/Manrope-Bold.ttf");
}

:root {
    /* --page-header-bgColor-hover: #212529;
  --page-header-txtColor: #fff; */
    --dark-gray: #8b91a7;
    --blue: #228ffc;
    --text-gray: #b2b4bd;
    --text-darkgray: #747578;
    --white: #fff;
    --black: #21232b;
    --gray: #d4d4d4;
    --border-radius: 16px;
    --box-shadow: 0px 2px 6px rgba(187, 196, 219, 0.5);
}

/* GENERAL CLASSES */

*,
*::after,
*::before {
    box-sizing: border-box;
}

body {
    color: var(--black);
    font-size: 16px;
    line-height: 150%;
    font-family: "Manrope";
    font-weight: 400;
    position: relative;
    margin: 0;
    /* width: 100vw; */
    min-height: 100vh;
    scroll-behavior: smooth;
}
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(2px) saturate(100%);
    background: rgba(255, 255, 255, 0.2);
    z-index: 100;
    display: flex;
    justify-content:center;
    align-items: center;
}

.preloader-gif img {
    width: 200px;
}
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}
.container {
    max-width: 1190px;
    margin: 0 auto;
    padding: 0 15px;
}
.container1 {
    max-width: max-content;
    margin: 0 auto;
}
    .nav-item.active a{
    color: var(--blue);
} 
.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.flex-around {
    display: flex;
    justify-content: space-around;
    /*   align-items: center;*/
    align-items: stretch;
    flex-wrap: wrap;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}
.content {
    flex-grow: 1;
}
[class^="icon-"],
[class*=" icon-"] {
    color: var(--black);
}
.section-title {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 125%;
    /* margin-bottom: 40px; */
}
.section-title-span{
    font-size: 14px;
    color: red;
}
.back-top {
    width: 60px;
    height: 60px;
    background: var(--blue);
    border-radius: 8px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 8px;
    bottom: 70px;
    z-index: 10;
    cursor: pointer;
    display: none;
}
.back-top-show {
    display: block;
}
.back-top .icon-up {
    color: var(--white);
    font-size: 24px;
}
.mt-114 {
    margin-top: 114px;
}
.mb-40 {
    margin-bottom: 40px;
}
.ml-55{
    margin-left: 55px;
}

.border-red{
    border-color: red;
}
.pagination{
    display: flex;
    flex-wrap: wrap;
}
.pagination li{
    /*padding: 6px 9px;
    border-radius: 3px;*/
    margin: 5px;
        /*border: 1px solid var(--gray);*/
   /* line-height: 1;
    box-shadow: var(--box-shadow);*/
    cursor: pointer;
}
    .pagination li a {
        padding: 4px 9px;
        border-radius: 3px;
        line-height: 1;
        box-shadow: var(--box-shadow);
        text-decoration: none;
        color: var(--dark-gray);
    }
/*.pagination li.page-active{
    background-color: var(--blue);
}*/
    .pagination li.page-active a {
        color: var(--white);
        background-color: var(--blue);
    }
/* HEADER */
.header {
    padding: 16px 0;
}
.header-logo {
    width: 43px;
   /* overflow: hidden;*/
    position: relative;
}
    .header-logo a {
        color: var(--black);
        cursor: pointer;
        height: 100%;
        display: inline-block;
        line-height: 1;
    }
/*    .header-logo img{
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }*/
    .header-logo img {
        position: absolute;
        top: -15px;
        left: 0;
        width: 70px;
        z-index: 100;
    }
    .header-search {
        flex-grow: 1;
        max-width: 690px;
        margin: 0 20px;
        /*  overflow: hidden;*/
        transition: all 0.6s;
        position: relative;
    }
.header-search-form-wrapper form {
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid var(--gray);
    border-radius: 9px;
    font-size: 16px;
    z-index: 10;
}
.header-search__button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    overflow: hidden;
    width: 35px;
    height: 26px;
}
#header-search__button-copy {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    overflow: hidden;
    width: 35px;
    height: 26px;
    padding: 1px 6px;
    z-index: -1;
}
.header-search__button img, #header-search__button-copy img {
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}
.header-search__button .icon-search {
    color: var(--black);
    font-size: 24px;
}
#search-results{
    position:absolute;
    left: 0; 
    top: 45px;
    min-width: 330px;
    max-width: 700px;
    background: var(--white);
    z-index: 20;
    border: 1px solid var(--blue);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}
 /*   #search-results ul {
        height: 300px;
    }*/
#search-results li{
    padding: 7px 10px;
    cursor: pointer;
}
#search-results li span {
    padding: 5px 10px;
    background: var(--blue);
    color: var(--white);
    border-radius: 8px;       
}
#search-results li:hover {
    background: var(--gray);
}
#search-results a {
    color: var(--black);
    display: inline-block;
    width: 100%;
}
#search-results table{
    width: 100%;
}
#search-results p {
    border-top: 1px solid var(--gray);
    padding: 10px 5px;
    font-weight: 700;
    background: var(--gray);
    cursor: pointer;
}
#search-results tr{
    cursor: pointer;
}
#search-results tr:hover {
    background: var(--gray);
}
#search-results td:first-child {
    padding: 5px;
    vertical-align: middle;
}
.td-price {
    padding: 5px;
    height: 100%;
    vertical-align: bottom;
    cursor: default;
}
#search-results td span {
    display: inline-block;
    padding: 5px 10px;
    background: var(--blue);
    color: var(--white);
    border-radius: 8px;
    width: 100%;
    text-align: center;
    white-space: nowrap;        
}
.header-basket {
    position: relative;
    display: flex;
    align-items: center;
}
#header-basket-count {
    position: absolute;
    height: 22px;
    font-size: 12px;
    top: -8px;
    left: -15px;
    line-height: 1;
    background: rgba(227, 11, 51, 0.8);
    padding: 4px 8px;
    border-radius: 13px;
    color: var(--white);
    align-items: center;
    display: flex;
    justify-content: center;
}
.header-basket a{
    display: inline-block;
    line-height: 100%;
}
.header-basket img {
    width: 23px;
    cursor: pointer;
    object-position: center;
    object-fit: cover;
}
.header-basket .icon-shopping-bag-svgrepo {
    color: #454959;
    font-size: 24px;
    font-weight: 900;
}
.busket-add {
    max-width: 430px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 15px;
    right: 10px;
    background: var(--white);
   /* display: none;*/
    z-index: 20;
}
.busket-add-title {
    font-size: 24px;
    font-weight: 700;
}
.busket-add-title .icon-circle_checked {
    color: #34c759;
    margin-right: 8px;
}
.busket-info {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}
.busket-card {
    width: 93px;
    height: 130px;
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
    border-radius: 8px;
}
.busket-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.text-block-title,
.busket-price {
    font-weight: 600;
}
.text-block-text {
    margin: 8px 0;
}
.busket-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.busket-buttons-link {
    padding: 12px 18px;
    font-weight: 600;
    font-size: 12px;
    color: var(--white);
    flex-basis: 49%;
    border-radius: 9px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.continue {
    background: var(--blue);
}
.to-busket {
    background: var(--dark-gray);
}
/* END HEADER */

.product-card,
.card {
    /*flex-basis: 18%;*/
    flex-basis: 18.5%;
    margin-right: 16px;
    margin-bottom: 16px;
    flex-shrink: 0;
    position: relative;
}

.popular {
    flex-basis: 23%;
}
/* PRODUCT CARD */
.product-card {
    padding: 16px;
    /* flex-basis: 215px; */
    overflow: hidden;
    min-height: 320px;
    background: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    transition: all 0.6s;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
}
.product-card__info{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card__category {
    text-align: center;
    font-size: 16px;
}
.product-card__img {
    margin: 36px auto;
    width: 85px;
    height: 120px;
    overflow: hidden;
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.product-name {
    font-weight: 600;
    color: var(--black);
/*    white-space: nowrap;*/
    overflow: hidden;
/*    text-overflow: ellipsis;*/
}
.product-text {
    font-size: 12px;
}
.product-type {
    font-size: 12px;
    text-transform: capitalize;
}
.product-price {
    font-size: 18px;
    font-weight: 700;
    margin-top: 5px;
}
.product-card:hover {
    /* box-shadow: 0 5px 15px 0 rgba(0,0,0,0.2); */
    box-shadow: 0 6px 15px rgba(82, 97, 137, 0.45);
}
/* END PRODUCT CARD */

/* CARD */
.card {
    max-height: 320px;
    overflow: hidden;
    border: 1px solid #f1eeee;
    border-radius: var(--border-radius);
    position: relative;
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.card-text {
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    color: var(--white);
    background: rgba(151, 151, 157, 0.6);
    backdrop-filter: blur(54.3656px);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}
.card-text-absolut {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    color: var(--white);
    background: rgba(0,0,0,0.2);
    padding: 30px 15px;
}
.item-card {
    max-height: 200px;
}
/* END CARD */
/* FOOTER */
.footer {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: #c5c8d3;
    box-shadow: 0px -2px 13px rgba(187, 196, 219, 0.3);
    margin-top: 30px;
}
.copyright {
    margin-right: 10px;
}
.address,
.copyright {
    line-height: 150%;
}
.address {
    text-align: center;
}
/* END FOOTER */

/* SLIDER */
.cards-slider {
    margin-top: 10px;
    position: relative;
}
.cards-slider__wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.cards-slider__items {
    display: flex;
    transition: transform 0.5s ease;
}

.cards-slider__item {
    flex: 0 0 20%;
    max-width: 20%;
}
/*.slick-list.draggable {
    padding: 0 !important;
}*/
/*.slider .slick-track {
    padding: 20px 0;
}*/
    .cards-slider__item .slider-card{
        height: 100%;
    }
    .cards-slider__item .product-card {
        width: 210px;
        /*margin: 0 8px;*/
        margin: 0 auto;
        height: 100%;
    }

.slider-arrows {
    width: 70px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: -40px;
    right: 17px;
}
.slider-arrows #prev,
.slider-arrows #next {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: #c5c8d3;
    text-align: center;
    color: var(--white);
    line-height: 1;
}
.slider-arrows .icon-left,
.slider-arrows .icon-right {
    color: var(--white);
    font-size: 14px;
}
/* END SLIDER */

/*END GENERAL CLASSES */

.banner {
    width: 100%;
    height: 447px;
    background-image: url(../images/SLIDER.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner-text {
    font-size: 32px;
    text-align: center;
    line-height: 150%;
}
.navigation {
    min-height: 72px;
    box-shadow: 0px 2px 6px rgba(187, 196, 219, 0.5);
    margin-bottom: 64px;
    /* position: relative; */
}
.nav-block {
    position: relative;
}
.nav {
    /* padding: 18px 0; */
    padding-top: 5px;
    padding-bottom: 18px;
}
.nav-list {
    margin-left: -10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
}
.nav-item {
    margin-top: 13px;
    padding: 10px;
    vertical-align: baseline;
    color: var(--text-gray);
    font-weight: 700;
}
.nav-item:not(:last-child) {
    margin-right: 40px;
}
.nav-item span {
    cursor: pointer;
}
.nav-item a {
    color: var(--text-gray);
    font-weight: 700;
}
    .nav-item a:hover {
        color: var(--blue);
    }
.nav-item .icon-down,
.nav-item .icon-up {
    padding: 5px 7px;
    font-size: 12px;
    cursor: pointer;
    color: var(--text-gray);
}
.nav-alphabet-links {
    text-align: center;
    padding: 16px 30px;
    border-radius: 16px;
    max-width: 580px;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(116, 114, 114, 0.15);
    position: absolute;
    top: 100%;
    left: 10px;
    z-index:5;
}
.nav-alphabet-links hr {
    width: 90%;
    margin: 16px auto;
}
.hidden {
    display: none;
}
.hidden-opasity {
    opacity: 0;
}
.show-opasity {
    opacity: 1;
}
.hidden.show {
    display: block;
}
.nav-alphabet-links a {
    font-weight: 600;
    line-height: 200%;
    padding: 5px;
    color: var(--dark-gray);
}
.popular-publications__block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}
.product-cards {
    flex-grow: 1;
    flex-basis: 80%;
}
.sidebar {
    /* max-width: 220px; */
    flex-basis: 20%;
    padding: 24px 0;
    border-radius: var(--border-radius);
    background-color: #7fd9fe;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
}
.sidebar-content {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sidebar-title {
    text-align: center;
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
    position: relative;
    margin-top: 32px;
}
.sidebar-text {
    padding: 10px 10px 20px 46px;
    line-height: 150%;
    margin-top: 10%;
}
.sidebar-text ul li {
    list-style: inside;
}
.sidebar-img img {
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.popular-publications,
.lately-added,
.cards-section {
    margin-bottom: 40px;
}
.lately-added__cards {
    margin-right: -16px;
    margin-top: 30px;
}

/* ERROR PAGE */
.error-container {
    max-width: 1190px;
    height: calc(100vh - 250px);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.error-body hr {
    width: calc(100% - 30px);
    height: 1px;
    background-color: #c5c8d3;
    position: absolute;
    top: 241px;
}
.error-body {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}
.books {
    width: 250px;
    height: 270px;
    position: relative;
}
.books::before,
.books::after {
    content: "";
    width: 500px;
    height: 1px;
    background-color: #c5c8d3;
}
.error-number {
    color: var(--blue);
    font-size: 98px;
    font-weight: 700;
    position: absolute;
    bottom: 162px;
    left: 0;
}
.number-success{   
    left: 50%;
    transform: translateX(-50%);
}
.book-top {
    position: absolute;
    bottom: 60px;
    left: -1px;
    z-index: 5;
}
.book-center {
    position: absolute;
    bottom: 48px;
    left: 40px;
}
.book-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.books .icon-dragon-left {
    color: var(--black);
    font-size: 60px;
    position: absolute;
    bottom: 13px;
    left: -130px;
}
.books .icon-dragon-right {
    color: var(--black);
    font-size: 60px;
    position: absolute;
    bottom: 86px;
    right: -7px;
}
.error-text {
    margin-top: 35px;
    text-align: center;
    font-size: 20px;
    line-height: 150%;
}
.error-button {
    padding: 12px 25px;
    font-size: 18px;
    line-height: 150%;
    font-weight: 700;
    color: var(--white);
    background-color: var(--blue);
    border-radius: 8px;
    text-transform: capitalize;
    margin-top: 80px;
    cursor: pointer;
}
/* END ERROR PAGE */

/* SEARCH PAGE */
.search-count {
    font-weight: 600;
    color: #626880;
    max-width: 490px;
    /* font-size: 20px; */
}
.search-count-null {
    margin-top: 56px;
    margin-bottom: 30px;
}
.search-count a {
    color: var(--blue);
}
.search-results hr {
    width: 100%;
    height: 1px;
    background-color: #c5c8d3;
}
.product-info {
    display: flex;
    flex-wrap: wrap;
    margin: 24px 0;
}
.card-fixed, item-card {
    /* width: 220px; */
    height: 310px;
    flex-basis: 220px;
    margin-right: 32px;
    margin-bottom: 0;
    flex-shrink: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
}
.card-fixed img, .item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.product-info-text {
    display: flex;
    /*  width: 100%;*/
    /*flex-basis: 250px;*/
    flex-basis: 60%;
    padding: 25px 0;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    /* flex-shrink: 0;*/
}
.product-info__title {
    font-size: 20px;
    font-weight: 700;
}
.product-info__subtitle {
    font-weight: 600;
    margin-top: 16px;
}
    .product-info__subtitle::first-letter{
        text-transform:uppercase;
    }
    .product-info__description {
        margin-top: 16px;
    }
.product-info__description span{
    font-weight: 600;
}
.product-info__button {
    text-align: left;
    border: none;
    background: none;
    min-height: 45px;
    margin-top: 16px;
    padding: 0;
}
.product-info__button a {
    padding: 12px 24px;
    background: var(--blue);
    border-radius: 8px;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}
a.product-info__button {
    padding: 12px 24px;
    background: var(--blue);
    border-radius: 8px;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    width: max-content;
    cursor: pointer;
    text-align: center;
}
.result-group {
    position: relative;
}
.letter {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    position: absolute;
    top: 0;
    left: 0;
}
.topic-list {
    margin-left: 30px;
}
.topic-list-item {
    margin-top: 16px;
}
.topic-list-item a {
    color: var(--dark-gray);
}
.topic-list-item a:hover {
    color: var(--blue);
}
/* END SEARCH PAGE */

/* PRODUCT PAGE */
.product-add-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 45px;
}
.product-add-card-block {
    /*flex-basis: 40%;*/
    flex-basis: 400px;
    padding-right: 15px;
    /*margin-bottom: 15px;*/
}
.product-add-text-block {
    /*flex-basis: 60%;*/
    flex-basis: 400px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: #8b91a7;
}
.order-card {
    width: 150px;
    height: 210px;
    overflow: hidden;
    border: 1px solid #f1eeee;
    border-radius: var(--border-radius);
    position: relative;
    margin: 0 auto;
}
.product-add-card {
    width: 280px;
    height: 420px;
    overflow: hidden;
    border: 1px solid #f1eeee;
    border-radius: var(--border-radius);
    position: relative;
    margin: 0 auto;
}
    .product-add-card img, .order-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
.full-screen-img {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
 /*   display: flex;
    justify-content: center;
    align-items: center;*/
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
}
.full-screen-img-container {
    height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .full-screen-img-container div{
        position: relative;
    }
    .full-screen-img img {
        max-width: 80vw;
        max-height: 80vh;
    }

#close-img {
    font-weight: 600;
    border: none;
    border-radius: 5px;
    background: var(--blue);
    color: var(--white);
    padding: 5px 7px;
    cursor: pointer;
    text-align: center;
    position: absolute;
    right: 0;
    top: -30px;
}
    #close-img:hover {
        opacity: 0.8;
    }
.product-add-category {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
}
.product-form-message{
    color: red;
}
.product-add-name {
    font-weight: 600;
    font-size: 32px;
    margin-top: 12px;
    color: var(--black);
    line-height: 120%;
}
.product-add-theme {
    margin-top: 12px;
}
.product-add-theme a{
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    margin-right: 15px;
    margin-top: 12px;
    color: var(--blue);
    cursor: pointer;
}
.product-add-description {
    margin-top: 8px;
}
.product-description {
    word-break: break-word;
    margin-bottom: 8px;
}
.product-add-description p {
    /*margin-bottom: 8px;*/
    font-weight: 600;
}
.product-add-text-block #sum,
.product-add-text-block #count,
.product-add-text-block #subscription-period {
    color: var(--black);
}
#sum,
#count {
    border: none;
    font-weight: 600;
    background: none;
    color: var(--black);
}
#count {
    width: 35px;
    outline: none;
    text-align: center;
    font-size: 16px;
}
input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    display: none;
}
#sum {
    font-size: 20px;
    max-width: 60px;  
}
.product-add-price {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 600;
}
.product-add-price span {
    color: var(--black);
}
.product-add-count {
    font-size: 20px;
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
}
.product-add-count p{
    margin-right: 5px;
}
.product-add-count button {
    border: none;
    background: var(--blue);
    color: var(--white);
    border-radius: 4px;
    width: 20px;
    height: 20px;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;

}
.product-add-theme-list{
    display: flex;
    flex-wrap: wrap;
}
.product-add-period {
    font-size: 20px;
    font-weight: 600;
    margin-top: 8px;
}
.product-form-buttons {
    display: flex;
    margin-top: 30px;
}
/*    .product-form-buttons a{
        display: flex;
        justify-content: center;
        align-items: center;
    }*/
    .product-form-button {
        padding: 13px 20px;
        border: none;
        border-radius: 8px;
        flex-basis: 230px;
        margin-right: 8px;
        color: var(--white);
        cursor: pointer;
        font-size: 14px; 
        height: 100%;
        align-self:stretch;
    }
a.product-form-button {
     /* display: inline-block;*/
    text-align: center;
    /*vertical-align:baseline;*/
    /*flex-basis: 230px;*/
 /*   line-height: 1;*/
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-form-button:hover {
    opacity: 0.8;
}
.pay {
    background: var(--blue);
    padding: 13px 20px;
    border: none;
    border-radius: 8px;
   /* flex-basis: 230px;
    margin-right: 8px;*/
    color: var(--white);
    cursor: pointer;
    font-size: 14px;
}
#to-busket{
    background: var(--dark-gray);
}
.form-period {
    margin-top: 40px;
    margin-bottom: 45px;
}
.form-period input:disabled~label{
    opacity: 0.4;
}
.form-year {
    font-size: 20px;
    margin-top: 16px;
}
   
    .form-year #thisYearSpan, .form-year #nextYearSpan {
        font-size: 20px;
        color: var(--blue);

        line-height: 1;
    }
.form-period-minmonth {
    font-family: 'Montserrat';
    font-size: 14px;
}
.form-year span {
    color: var(--blue);
}
.form-month {
    display: flex;
    flex-wrap: wrap;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-darkgray);
    margin-top: 32px;
    margin-bottom: 5px;
}
.form-month span {
    padding: 8px;
    display: inline-block;
}

.first-half {
    margin-right: 10px;
}
.first-half,
.second-half {
    margin-bottom: 30px;
    position: relative;
   /* flex-basis: 49%;*/
}
.first-half > span,
.second-half > span {
    position: absolute;
    bottom: -12px;
    left: 0;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    color: #8b91a7;
}
.form-month-group {
    display: flex;
    flex-wrap: wrap;
}
.form-month-group div {
    position: relative;
    margin-bottom: 4px;
}
/*
div[data-group="2"] {
    border: 1px solid black;
}*/
.form-month label {
    display: inline-block;
    border-radius: 8px;
    padding: 8px;
    margin-right: 2px;
}
.form-month input[type="checkbox"] {
    width: 40px;
    height: 15px;
    position: absolute;
    top: 10px;
    left: 7px;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 100;
}
.form-month input[type="checkbox"]:checked ~ label {
    background: var(--blue);
    color: var(--white);
}
/*.form-month-group label:not(:last-child){
    margin-right: 2px;
}*/
    .form-period-price {
        display: flex;
        flex-wrap: wrap;
        color: var(--dark-gray);
        font-size: 24px;
        font-weight: 700;
    }
.form-period-price-span {
    font-size: 16px;
    font-weight: 400;
    position: absolute;
    bottom: -25px;
    left: 0;
}
.for-month,
.for-half {
    flex-basis: 160px;
    border-bottom: 1px solid #c5c8d3;
    margin-bottom: 25px;
    padding-bottom: 8px;
    position: relative;
}
.for-month input,
.for-half input {
    border: none;
    width: 60px;
    color: var(--dark-gray);
    font-size: 24px;
    font-weight: 700;
}
.cards-section {
    margin-top: 45px;
}
/* END PRODUCT PAGE */
.alphabet {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
}
.alphabet-links {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    max-width: 440px;
    line-height: 160%;
    text-align: center;
}
.alphabet-links a {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-gray);
  padding: 0 3px;
}
    .alphabet-links a:hover {
        color: var(--blue);
    }
.alphabet hr {
    width: 70%;
}
/* ORDERING */
.mt-30 {
    margin-top: 30px;
}
.order-address,
.order-contacts {
    margin-bottom: 50px;
}
.input-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.input-block .input-group:first-child {
    margin-right: 10px;
}
.double-block {
    display: flex;
}
.double-block .input-group {
    flex-basis: 40%;
    flex-grow: 1;
}
.double-block,
.input-group {
    width: 400px;
}
.input-group {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    position:relative;
}
.input-group label {
    font-size: 14px;
    text-align: left;
}
.input-group input,
.input-group select {
    font-family: "Manrope";
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    padding: 12px;
    background: none;
    border-radius: 8px;
    border: 1px solid var(--gray);
    margin: 7px 0;
}
.input-group select {
    padding-right: 20px; 
    appearance: none;
    background-image: url(../images/select-down.svg);
    background-repeat: no-repeat, repeat;
    background-position: right 5px top 50%, 0 0;
    background-size: 30px, 100%;
}
    .input-group input:hover,
    .input-group select:hover {
        border: 1px solid var(--blue);
    }
    .input-group input:focus,
    .input-group select:focus {
        border: 1px solid var(--blue);
        outline: 1px solid var(--blue);
    }
    .input-group option {
        font-family: "Manrope" !important;
        font-weight: 400;
        font-size: 16px;
        padding: 12px;
    }
.input-block-message {
    background: #e5faff;
    color: var(--blue);
    padding: 12px;
    border-radius: 8px;
    line-height: 135%;
}
.message-error{
    font-size: 12px;
    color: red;
    position: absolute;
    left: 12px;
    top: 20px;
    background: var(--white);
    padding: 0 4px;
}
#agree-message{
    margin: 10px 0;
    color: red;
}
/* END ORDERING */
/*CART*/
.cart {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}
#clockdiv{
    margin-top: 20px;
    margin-left: 50px;
    font-weight:900;
    color:var(--dark-gray);
}
    #clockdiv p{
        margin-top: 8px;
    }
    .clock-time {
        display: inline-block;
        width: 25px;
        text-align: center;
        /*  padding:3px;*/
        border-radius: 4px;
        background-color: var(--blue);
        color: #fff;
    }
#cart-message {
    margin-top: 30px;
    font-size: 20px;
}
.cart-items {
    /*flex-basis: 450px;*/
    flex-basis: 600px;
    flex-grow: 1;
}
.item {
    display: flex;
    flex-wrap: wrap;
}
.item-check {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.checkbox-wrapper {
    position: relative;
    margin-right: 20px;
}
.item-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 22px;
    height: 22px;
    cursor: pointer;
}
.checkbox-wrapper label {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 2px solid var(--gray);
}
.item-checkbox:checked ~ label {
    background: var(--blue);
    border: 1px solid var(--blue);
    background-image: url(../images/check-bold.png);
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
}
.item-description {
    flex-basis: 350px;
    flex-grow: 1;
    position: relative;
}
.item-description-message{
color: red;
font-weight:600;
margin-top: 20px;
}
.delete-magazine {
    background: none;
    border: none;
    cursor: pointer;
    width: 20px;
    padding: 0;
    position: absolute;
    top: 3px;
    right: 0;
}
.delete-magazine:hover{
    color: red;
}
.delete-magazine img {
    object-fit: cover;
    object-position: center;
    width: 100%;
}
.item-description__type {
    text-transform:capitalize;
}
.item-description__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-right: 20px;
}
.item-description__period {
    margin-bottom: 15px;
}
.item-period-title{
    font-weight: 600;
}
.item-description__text {
    color: var(--dark-gray);
    margin-bottom: 15px;
}
.item-description__sum {
    font-weight: 600;
    margin-bottom: 15px;
}
.item-description__count {
    color: var(--blue);
    font-weight: 600;
}
    .item-description__count button {
        width: 20px;
        height: 20px;
        color: var(--white);
        background: var(--blue);
        border-radius: 4px;
        border: none;
        margin: 0 3px;
        text-align: center;
        vertical-align: baseline;
    }
.item-count {
    color: var(--black);
}
.cart-total {
    flex-basis: 300px;
    margin-left: 55px;
}
.product-add-price {
    color: var(--dark-gray);
}
.product-add-price #sum-span {
    color: var(--black);
    line-height: 150%;
}
/* END CART */
/* VIEW PRODUCT IMAGES SLIDER */
.product-add-card-block {
    display: flex;
    flex-direction: column;
}
.product-img-min {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.card-img-min {
    width: 50px;
    height: 70px;
    overflow: hidden;
    border: 1px solid #f1eeee;
    border-radius: 8px;
    cursor: pointer;
}
.card-img-min:not(:last-child) {
    margin-right: 15px;
}
.card-img-min img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}
.img-active {
    border: 2px solid var(--blue);
}
/*END VIEW PRODUCT IMAGES SLIDER*/
/* PAIMENT PAGE*/
.pay-header-line {
    height: 25px;
    background-color: #0066b3;
    margin-bottom: 45px;
}
.pay-header-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pay-header-logo {
    max-height: 100px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
    /* .pay-header-agroprom-logo svg {
  width: 100%;
} */
    /* .pay-header-sys-logo {
  max-width: 130px;
  overflow: hidden;
} */
.pay-header-logo img {
    /* width: 100%; */
    max-height: 80px;
    object-fit: cover;
    object-position: center;
}
.sum-line {
    min-height: 55px;
    background-color: #f1f2f2;
    padding: 16px;
    color: #58595b;
    display: flex;
    justify-content: flex-end;
    margin-top: 34px;
}   
.sum-line-text {
    margin-right: 30px;
}
#currency {
    border: none;
    background: none;
    color: #58595b;
    outline: none;
}
#currency option {
    color: #58595b;
    padding-left: 20px;
}
.icon-ru {
    background: url("../images/flag_rus.png") no-repeat;
    background-size: 20px;
    padding-left: 20px;
    background-position: 0 1px;
}
.position-line {
    display: flex;
    margin-top: 40px;
    align-items: center;
    justify-content: space-between;
}
.position-line-item {
    height: 10px;
    flex-basis: 21%;
    flex-grow: 1;
    background-color: #d8e2e7;
}
.position-line-item:not(:last-child) {
    margin-right: 10px;
}
.position-line-item.current {
    background-color: #00abe6;
}
.pay-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
    color: #58595b;
    margin-right: -10px;
}
.pay-info-block {
    margin-top: 50px;
    margin-right: 10px;
    padding: 60px 50px;
    box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.15);
}
.pay-block-qr {
    padding-left: 100px;
    padding-right: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.pay-block-description {
    flex-basis: 50%;
    flex-grow: 1;
}
.pay-info-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 35px;
    text-align: center;
}
.pay-info-table td {
    padding-bottom: 10px;
}
.pay-info-table-attr {
    color: var(--black);
    font-weight: 600;
    padding-right: 20px;
    width: 50%;
}
.pay-info-table-sum {
    font-size: 17px;
}
.pay-info-table-sum,
.pay-info-table-currency,
.pay-info-qr-text a {
    color: #0066b3;
}
.pay-info-qr {
    width: 180px;
    height: 180px;
    overflow: hidden;
}
.pay-info-qr img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
.pay-info-qr-text {
    margin-top: 23px;
    text-align: center;
}
.pay-info-qr-text a {
    display: block;
}
.pay-buttons {
    margin-top: 27px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#pay-btn-next {
    margin-bottom: 15px;
    padding: 20px 35px;
    width: 400px;
    background-color: #228ffc;
    color: var(--white);
    font-size: 34px;
    text-transform: uppercase;
    border-radius: 16px;
    border: none;
    cursor: pointer;
}
#pay-btn-next:hover {
    opacity: 0.9;
}
.pay-buttons a {
    cursor: pointer;
    color: #0066b3;
    font-size: 14px;
}
.pay-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #181819;
    color: var(--white);
    padding: 5px 15px;
    min-height: 25px;
}
/* END PAIMENT PAGE */
/*ORDER SLIDER*/
.order-slider {
    position: relative;
    margin-top: 20px;
}
.slider__container {
    overflow: hidden;
}
.slider__wrapper {
    overflow: hidden;
}
.slider__items {
    display: flex;
    justify-content: flex-start;
    transition: transform 0.5s ease;
    will-change: transform;
    word-break: break-all;
}
.slider_disable-transition {
    transition: none;
}
.slider__item {
    flex: 0 0 20%;
    max-width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}
.slider-item-wrapper {
    box-shadow: var(--box-shadow);
    height: 100%;
    width: 100%;
    color: #58595b;
    font-size: 12px;
    overflow: hidden;
    display: flex;
    flex-direction:column;
}
.slider-item-header{
    text-transform:capitalize;
}
.slider-item-header,
.slider-item-footer {
    padding: 5px 10px;
}
.slider-item-footer {
    background: rgba(0, 0, 0, 0.03);
}
.slider-item-body {
    padding: 5px 10px;
    font-weight: 600;
    flex-grow:1;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    word-break: normal;
}
/*    .slider-item-body p:last-child{
        align-self:end;
    }*/
    .slider-item-footer {
        display: flex;
    }
.item-column:not(:last-child) {
    padding-right: 10px;
}
.slider__control {
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    width: 20px;
    height: 25px;
    color: #fff;
    text-align: center;
    line-height: 1;
    background: rgb(0 0 0 / 20%);
    border: none;
    transform: translateY(-50%);
    cursor: pointer;
}
.slider__control_hide {
    display: none;
}
.slider__control[data-slide="prev"] {
    left: 0;
}
.slider__control[data-slide="next"] {
    right: 0;
}
.slider__control:hover,
.slider__control:focus {
    color: #fff;
    text-decoration: none;
    background: rgb(0 0 0 / 30%);
    outline: 0;
}
/*END ORDER SLIDER*/