input.header_search {
    background-image: none;
}

.splide__list {
    height: initial !important;
}

.book_buy_btn a {
    text-decoration: none;
    color: #fff;
    display: block;
}

.textblock {
    font-size: 14px;
}

.category_show_more {
    cursor: pointer;
}
.main_text li::marker {
    font-size: 12px;
}
.main_text li {
    list-style: disc;
    color: #000;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 25px;
    margin-left: 20px;
}
.pagination_page:hover {
    text-decoration: none;
}
.pagination_page {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination_pages {
    display: flex;
    gap: 10px;
}
.category_pagination {
    margin-top: 20px;
}
.category_more_wrap + .category_pagination {
    margin-top: 0 !important;
}

.book_buy_btn a:hover {
    text-decoration: none;
    color: white;
}

#loading_screen {
    position: fixed;
    z-index: 1150;
    left: 50%;
    top: 50%;
    margin-left: -32px;
    margin-top: -32px;
    width: 64px;
    height: 64px;
}
.bx-step-opacity {
    opacity: 0;
    -webkit-animation: animationBorderStepOpacity ease 1s;
    -moz-animation: animationBorderStepOpacity ease 1s;
    -o-animation: animationBorderStepOpacity ease 1s;
    animation: animationBorderStepOpacity ease 1s;
    -webkit-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
    -o-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@-webkit-keyframes animationBorderStepOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}
@-moz-keyframes animationBorderStepOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}
@-ms-keyframes animationBorderStepOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}
@-o-keyframes animationBorderStepOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}
@keyframes animationBorderStepOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}

.popup_close {
    cursor: pointer;
}

.product_images {
    /* width: 460px; */
    width: 100%;
}

.catalog_index {
    display: flex;
    flex-wrap: wrap;
    alignment-baseline: ideographic;
    gap: 32px;
}

.cart_item_name {
    text-decoration: none !important;
}

#add_to_cart_popup .form_button {
    cursor: pointer;
}

.page_banners .splide__slide a {
    width: 100%;
}

.page_banners .splide__pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
}

.page_banners .splide__pagination .splide__pagination__page {
    height: 8px;
    width: 8px;
    border: none;
    background: #d9d9d9;
    border-radius: 100%;
    padding: 0;
}

.page_banners .splide__pagination .splide__pagination__page.is-active {
    background: none;
    border: 1px solid #d9d9d9;
    width: 10px;
    height: 10px;
}

.category_show_more {
    max-width: 800px;
    margin-bottom: 0;
}

@media (max-width: 800px) {
    .book_buy_btn {
        padding: 5px 0;
    }
}

.product_about_left ul {
    list-style: none !important;
}

.product_about_left ul li {
    background-size: 9px;
    background-image: url("/local/templates/family_book/img/ico/check-ico2x.png") !important;
    background-repeat: no-repeat;
    padding-left: 18px;
    background-position: left center;
}

.cart_top {
    gap: 0;
    flex-direction: column;
}

.cart_totals {
    display: flex;
    justify-content: space-between;
    background: #faf8f5;
    margin-top: 0;
    padding: 18px 20px;
    box-sizing: border-box;
    max-width: 100% !important;
}

.cart_totals_bold {
    margin-top: 0;
    color: #000;
    font-family: Manrope;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.cart_totals_bold:last-child {
    flex-shrink: 0;
    height: fit-content;
    margin-top: auto;
}

.cart_forms {
    margin-top: 77px;
}

@media (max-width: 650px) {
    .cart_totals_bold {
        font-size: 18px;
    }

    .cart_item_img {
        width: 98px;
    }

    .cart_item_btns {
        margin-right: 0;
    }

    .cart_forms {
        margin-top: 45px;
    }
}

.basket-items-list {
    padding: 0 !important;
}

@media (max-width: 350px) {
    .cart_item_img {
        width: 100%;
    }
}

.cart_item {
    z-index: 1;
}

.book_item_img {
    height: 350px;
}

@media (max-width: 600px) {
    .book_item_img {
        height: 250px;
    }
    .product-video {
        height: 250px;
    }
}

.book_item_box {
    width: 240px;
}

.main_news_item {
    width: 100%;
}

.main_news_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .main_news_list {
        display: flex;
        flex-direction: column;
    }
}

.main_news_title {
    word-break: break-word;
}

#catalog_container div[data-entity="container-1"] {
    display: flex;
    flex-direction: column;
}

.book_slider {
    margin-bottom: 50px;
}

@media (max-width: 600px) {
    .book_slider {
        margin-top: 20px;
    }
}

#title-search-input {
    border-bottom: none !important;
    height: auto !important;
}

.page_content div[data-entity="container-2"] {
    display: flex;
    flex-direction: column;
}

@media (max-width: 560px) {
    .book_slider > .splide__track {
        margin: 0;
    }

    .book_slider > .splide__arrows button {
        width: 20px;
        background-size: contain;
    }

    .book_slider > .splide__arrows {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% + 44px);
    }
}

footer .feedback_block {
    width: 100%;
    background-color: rgba(218, 62, 65, 1);
    padding: 8px 9px;
    box-shadow: 6px -9px #fff;
    margin-top: 32px;
    margin-bottom: 38px;
}

footer .feedback_block .topper {
    font-family: Manrope;
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
    color: #fff;
}

footer .feedback_block .text {
    font-family: Manrope;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
    color: #fff;
}

footer .feedback_block .feedback_input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    font-family: Manrope;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: left;
    color: rgba(255, 255, 255, 1);
    padding: 2px 4px;
    outline: none;
}

footer .feedback_block .feedback_input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.footer_red_input::placeholder {
    opacity: 1;
}

footer .feedback_block .fields {
    display: flex;
    align-items: center;
    gap: 8px;
}

footer .feedback_block .fields .input_fields {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 11px;
    justify-self: stretch;
    width: 100%;
}

footer .feedback_block .fields .checkbox_block {
    flex-shrink: 0;
}

footer .feedback_block .fields .send_btn {
    font-family: Manrope;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0em;
    text-align: left;
    color: #fff;
    background-color: rgba(87, 75, 59, 1);
    border: none;
    padding: 4px 9px;
    border-radius: 30px;
    text-transform: uppercase;
    transition: background-color 0.2s;
    cursor: pointer;
}

footer .feedback_block .fields .send_btn:hover {
    background-color: #be6a4a;
}

footer .feedback_block .fields .reversible {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
}

@media (max-width: 850px) {
    footer .feedback_form {
        margin: 0;
    }

    footer .feedback_block {
        box-shadow: none;
        margin-top: 17px;
        margin-bottom: 21px;
        padding-left: 23px;
        padding-right: 23px;
        padding: 22px 23px;
    }

    footer .feedback_block .fields {
        flex-direction: column;
        align-items: flex-start;
    }

    footer .feedback_block .fields .input_fields {
        display: flex;
        flex-direction: column;
    }

    footer .feedback_block .fields .input_fields .feedback_input {
        max-width: 180px;
    }

    footer .feedback_block .fields .input_fields .feedback_input.__comment {
        max-width: 100%;
    }

    footer .footer_reversible {
        display: flex;
        flex-direction: column-reverse;
    }

    footer .footer_red_block {
        background-color: rgba(87, 75, 59, 1);
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 62px;
        padding-left: 23px;
        padding-right: 23px;
    }

    footer .footer_red_block .footer_red_wrap {
        width: 100%;
    }

    footer .footer_red_block .footer_red_wrap .block_bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    footer .footer_red_block .footer_red_wrap .brown_button {
        background-color: rgba(218, 62, 65, 1);
    }

    footer .footer_red_block .footer_red_wrap .brown_button:hover {
        background-color: #f17072;
    }

    footer .footer_red_input {
        max-width: 100%;
        margin: 10px 0;
    }

    footer .feedback_block .fields .reversible {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 10px;
    }
}

.main_news_item {
    transition: box-shadow 0.2s;
}

@media (max-width: 980px) {
    .header_bottom #library_btn {
        display: none;
    }

    .header_bottom #onorder_btn {
        display: none;
    }

    .header_bottom noindex {
        display: none;
    }

    .header_bottom_btn,
    .header_bottom_btn.__no_open,
    .header_bottom_btn.__active {
        background-image: none;
        padding: 6px 0;
        max-width: 101px;
        justify-self: center;
        width: 100%;
    }

    .header_bottom_btn.__active {
        background: none;
        color: #000;
    }

    /*
    .header_bottom_btn.__orange:hover {
        color: #DA3E41;
    }
    */

    .header_bottom {
        background: #fff;
        border: none;
    }

    .header_bottom .header_bottom_content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
        height: fit-content;
        margin-bottom: 10px;
    }

    .header_bottom_btn {
        display: flex;
        justify-content: center;
        height: 37px;
    }

    .header_bottom_btn:hover,
    .header_bottom_btn:active {
        background: rgba(218, 62, 65, 1);
        color: #fff;
    }

    .header_bottom_content.hidden {
        display: grid !important;
    }

    .catalog_header {
        display: none;
    }

    .header_mid_wrap.scrolled {
        padding: 23px 0px;
    }
}

@media (max-width: 359px) {
    .product_unique_box {
        overflow-x: hidden;
    }

    .product_green_arrow {
        display: none;
    }
}

.sidebar_section .filter_clear {
    background: none;
    border: none;
    padding: 0;
    font-size: 12;
    color: #d9d9d9;
    margin-top: 10px;
    width: fit-content;
}

.sidebar_section .filter_clear:hover {
    text-decoration: underline;
    color: DA3E41;
}

.wa_floating {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 10;
}

.wa_floating .wa_logo {
    height: 65px;
    width: 65px;
    object-fit: contain;
}

footer {
    padding-bottom: 90px;
}

@media (max-width: 850px) {
    footer {
        padding-bottom: 0;
    }
}

@media (max-width: 500px) {
    .author_box {
        word-break: break-word;
    }

    .mobile_filters_wrap {
        height: 100%;
        padding: 24px 30px;
    }

    .mobile_filters_wrap .popup_close {
        top: 30px;
        right: 30px;
    }

    .mobile_filters_wrap .popup_close .close_icon g {
        fill: #000;
    }

    .author_filter_box {
        /* max-height: calc(100% - 40px); */
    }

    .author_filter {
        /* height: calc(100svh - 250px); */
    }
}

.category_sorting select {
    -webkit-appearance: none;
    border-radius: 0;
    background-image: url("/local/templates/family_book/img/ico/select_arrow.svg");
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding: 7px;
    padding-right: 21px;
    line-height: 100%;
    color: #000;
}

.page_header h1 {
    line-height: 48px;
}

.sidebar .close_mobile_filter {
    display: none;
    padding: 0;
    background: none;
    border: none;
    margin-left: auto;
}

@media (max-width: 1120px) {
    .sidebar {
        display: flex !important; /* TODO: remove display none from main */
        flex-direction: column;
        position: fixed;
        height: 100%;
        width: 100%;
        background-color: #fff;
        z-index: 100;
        top: 0;
        left: 0;
        padding: 10px;
        padding-top: 15px;
        transition: opacity 0.3s;
        display: flex;
        opacity: 0;
        pointer-events: none;
    }

    .sidebar.__mobile_filter_open {
        opacity: 1;
        pointer-events: all;
    }

    .sidebar .sidebar_section:not(.bx-filter-parameters-box) {
        display: none;
    }

    .sidebar .close_mobile_filter {
        display: block;
    }

    .sidebar .smartfilter {
        max-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .sidebar .bx-filter-parameters-box {
        max-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .sidebar .bx-filter-parameters-box-container {
        max-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .sidebar .author_filter_box {
        max-height: 100%;
    }

    /* TODO: remove max-height rule from top on deploy */
    .sidebar .author_filter {
        max-height: calc(100% - 250px);
        display: flex;
        flex-direction: column;
    }
}

.search-page.theme-red input[type="submit"] {
    padding: 6px 15px;
    border-radius: 30px;
    background-color: var(--red);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
    width: fit-content;
    text-transform: uppercase;
}

.search-page.theme-red input[type="text"] {
    height: 36px;
    border-radius: 30px;
    border: 2px solid #d9d9d9;
    padding-left: 24px;
    outline: none;
}

.product_img_full {
    height: fit-content;
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 900px;
}

.img_full_popup {
    max-width: 900px;
    aspect-ratio: 1/1;
    max-height: calc(100dvh - 110px);
    height: fit-content;
}

@media (min-width: 761px) {
    .popup_close {
        top: -30px;
        right: 0px;
    }
}

.price_box .cart_item_price {
    line-height: 100%;
}

.cart_item_details .price_box {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.price_box .discount_box {
    display: none;
    position: relative;
    gap: 3px;
}

.price_box .discount_box.__shown {
    display: flex;
}

.price_box .discount_bubble {
    font-size: 10px;
    font-weight: 700;
    line-height: 8px;
    color: #fff;
    background-color: #da3e41;
    border-radius: 30px;
    padding: 3px 4px;
    width: fit-content;
    height: fit-content;
}

.price_box .old_price {
    font-size: 18px;
    font-weight: 600;
    line-height: 24.59px;
    color: #c4c4c4;
    text-decoration: line-through;
    flex-shrink: 0;
}

@media (max-width: 980px) {
    .cart_item_details .price_box {
        grid-row: 2;
    }
}

.cart_item_btns {
    display: grid;
    grid-template-columns: 120px 120px 22px;
}

@media (max-width: 980px) {
    .cart_item_btns {
        grid-template-columns: 1fr 15px;
    }
}

.cart_item_name {
    line-height: 100%;
}

.switch_wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.switch_wrap .input {
    display: none;
}

.switch_wrap .switch_text {
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
}

.switch_wrap .switch_slider {
    border: 1px solid #000;
    border-radius: 30px;
    width: 40px;
    height: 20px;
    display: flex;
}

.switch_wrap .switch_slider::before {
    content: "";
    height: 18px;
    width: 18px;
    border-radius: 100%;
    background-color: var(--red-light);
    align-items: center;
}

.switch_wrap .input:checked ~ .switch_slider::before {
    background-color: #46ad54;
}

.switch_wrap .input:checked ~ .switch_slider {
    justify-content: flex-end;
}

.page_content .filter_btns {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    margin-top: 15px;
    gap: 15px;
}

.page_content .filter_btns .open_filter_btn {
    margin-top: 0;
    margin-bottom: 0;
}

.category_sorting {
    margin-bottom: 20px;
}

@media (max-width: 460px) {
    .page_content .filter_btns {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

}


.bx-changepass-table div.bx-auth input.bx-auth-input{padding: 19px 24px;
    border-radius: 30px;
    border: 2px solid #D9D9D9;
    font-family: Manrope;
    font-size: 12px;
    font-weight: 300;
    line-height: 12px;
    width: 300px;
    outline: none;
    transition: border 0.1s;}

input[name="change_pwd"]{padding: 6px 15px;border-radius: 30px;    border: none;
    background-color: var(--red);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
    width: fit-content;
    text-transform: uppercase;}

.textblock {max-width: 970px;}

.author_filter .bx-ag-search-page.search-page.theme-red{display: none;}

@media (max-width: 980px) {
    .menu_sert { grid-column: span 3; }
	.splide.page_banners{    margin-top: 10px;
}
}


@media (min-width: 980px) {
    .mobile_menu_sert {
        display: none;
    }
}
.mobile_menu_sert{color: var(--green);font-size: 18px;text-decoration: none;margin-left: 20%;}


.header_bottom_btn.__no_open.menu_sert{color: var(--green);}
.header_bottom_btn.__no_open.menu_sert:hover{background-color:var(--green);color:#FFF;}


.share-container {
    position: relative;
}

.ya-share2.ya-share2_inited {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ya-share2__link.ya-share2__link_more {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
}

.ya-share2__item_more.ya-share2__item_has-pretty-view {
    position: static;
}

.ya-share2__badge.ya-share2__badge_more {
    opacity: 0;
}

.btn-wish {
    cursor: pointer;

    border: 2px solid var(--brown-dark);
    background-color: transparent;
    color: var(--brown-dark);
    font-family: Manrope;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 12px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 30px;
    transition: 0.2s;
}

.btn-wish:hover {
    color: #fff;
    background: var(--brown-dark);
}

@media (max-width: 520px) {
    .btn-wish {
        font-size: 10px;
    }
    .header_cart_text {
        display: none;
    }
}

.product-wishes {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.wishlist-block {
    position: relative;
}

.wishlist-block .wishlist-count {
    position: absolute;
    top: -10px;
    right: 15px;
    color: #fff;
    font-family: Manrope;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 5px;
    text-transform: lowercase;
    border-radius: 50px;
    background: #be6a4a;
    padding: 5px;
}

@media (max-width: 700px) {
    .wishlist-block .wishlist-count {
        right: 3px;
    }
}

.wishlist-block .wishlist-count:empty {
    display: none;
}

.product_left {
    position: relative;
}

.btn-share-container {
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 1;
    cursor: pointer;
}

.btn-share-card {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 4px;
}

.btn-share-card img {
    width: 24px;
    height: 24px;
}

.smart-captcha {
    height: 100px;
}

.btn-wishlist-add {
    padding: 4px;
    border: none;
    background: transparent;
    box-shadow: none;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    cursor: pointer;
}

.btn-wishlist-add.-btn-wishlist-sm {
    right: 10px;
    top: 10px;
    background: rgb(255 255 255 / 50%);
    width: 32px;
    height: 32px;
    border-radius: 16px;
    padding: 1px 0 0 0;
}

.btn-wishlist-add.-btn-wishlist-sm img {
    width: 24px;
    height: 24px;
}

.product-item-header {
    position: relative;
}

.btn-wishlist-add img {
    width: 25px;
    height: 25px;
    display: block;
    margin: auto;
}

.btn-wishlist-add img.-is-active {
    display: none;
}
.btn-wishlist-add.-is-active img.-is-active {
    display: block;
}
.btn-wishlist-add.-is-active img.-not-active {
    display: none;
}

.notyf__message {
    color: #fff;
    font-family: Manrope;
    font-size: 12px;
    font-style: normal;
    line-height: 1.2;
    font-weight: 500;
}

.notyf__icon {
    display: none;
}

:root {
    --notyf-success-color: #DA3E41FF;
    --notyf-error-color: #DA3E41FF;
}