@charset "UTF-8";

/* NOTE global */
html {
    scroll-behavior: smooth;
}

html * {
    max-height: 1000000px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

body {
    margin: 0px;
    padding: 0px;
    background-color: #FFFFFF;
}


@layer {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: normal;
        -webkit-margin-before: 0em;
        -webkit-margin-after: 0em;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: inherit;
    }

    p {
        margin: 0px;
        -webkit-margin-before: 0em;
        -webkit-margin-after: 0em;
        -webkit-margin-start: 0px;
        -webkit-margin-end: 0px;
    }
}

:focus {
    outline: none !important;
}


p:empty:before {
    display: none;
}

body:not(.wp-admin) #wpadminbar {
    display: none;
}

.admin_bar_on body:not(.wp-admin) #wpadminbar {
    display: block;
}

html:has(.logged-in) {
    margin-top: 0px !important;
}



.logged-in .admin_bar_btn {
    width: auto;
    height: 20px;
    top: 100px;
    position: fixed;
    left: 0;
    background-color: #cc0000;
    cursor: pointer;
    display: flex;
    column-gap: 10px;
    padding: 3px;
}

.logged-in .admin_bar_btn:before {
    content: "⚙";
    font-family: "Segoe UI Symbol", Arial, Helvetica, sans-serif;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.logged-in .admin_bar_btn:after {
    content: "Открыть панель админа";
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    font-size: 16px;
    display: none;
}

.logged-in .admin_bar_btn:hover:after {
    display: block;
}

html.admin_bar_on:has(.logged-in) {
    margin-top: 32px !important;
}


.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: clip;
}

.content {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    min-height: 0;
}

.wrap-content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
    margin-top: auto;
}

.breadcrumb-wrap strong {
    font-weight: normal;
}

.u-button-d {
    cursor: pointer;
}

/* NOTE страници политик и согласия*/
.politika .single_opisanie p {
    margin-block-start: 1em;
    margin-block-end: 1em;
}

.politika .single_opisanie h2 {
    font-weight: 700;
}

.politika .single_opisanie strong {
    font-weight: 700;
}

/* NOTE для отзывов*/
.comments-block__items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comments-block__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border: 1px solid #e2e5e9;
    border-radius: 6px;
}

.comments-block__item-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.comments-block__name {
    font-weight: 600;
}

.comments-block__date {
    color: #646970;
    font-size: 0.875em;
}

.comments-block__text {
    line-height: 1.6;
}


/* NOTE скрыть блок на фроне*/
.ns-hide-on-front {
    display: none;
}

/* NOTE отмена стилей гюттеберг*/
:where(figure) {
    margin: 0 0 0em;
}

.safe-svg-inside {
    height: auto !important;
    width: auto !important;
}

:where(.is-layout-flex) {
    gap: 0em;
}



/* NOTE для табов */

.artplus-tabs__list {
    display: flex;
}

.artplus-tabs__tab {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    height: 40px;
    box-sizing: border-box;
    border: 2px solid var(--color-1);
    background-color: var(--color-1);
    color: var(--color-3);
    cursor: pointer;
    text-align: center;
}


.artplus-tabs__tab.is-active {
    background-color: #fff;
    color: var(--color-1);
    cursor: default;
}


.artplus-tabs__panel-inner {
    padding: 20px 0px;
}

.artplus-tabs.is-initialized .artplus-tabs__panel[hidden] {
    display: none;
}

.artplus-tabs--vertical {
    display: flex;
    align-items: flex-start;
}

.artplus-tabs--vertical .artplus-tabs__list {
    flex-direction: column;
    overflow: visible;
    flex-shrink: 0;
    width: 30%;
}



/* NOTE для аккордеона */

.artplus-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.artplus-accordion__title {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    box-sizing: border-box;
    padding: 0px 48px 0px 30px;
    background-color: #d3d3d3;
    cursor: pointer;
}

.artplus-accordion__title:hover,
.artplus-accordion__title.is-active {
    background-color: #e6e6e6;
}

.artplus-accordion__title::before {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 20px;
    aspect-ratio: 1;
    content: "";
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    transform: translateY(-50%);
}

.artplus-accordion__title.is-active::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.artplus-accordion__content-inner {
    box-sizing: border-box;
    width: 100%;
    padding: 20px 15px 15px;
}

.artplus-accordion.is-initialized .artplus-accordion__content {
    display: none;
}

.artplus-accordion.is-initialized .artplus-accordion__content.is-active {
    display: block;
}



/* NOTE для fancybox */
.fancybox__slide.has-image>.fancybox__content {
    background: #fff;
}


.f-thumbs__slide__button {
    background-color: #fff !important;
}





/* NOTE для категорий */

.wrap-subkategory__item-img,
.woocommerce_subkategory_item_img {
    display: block;
    overflow: hidden;
}

.wrap-subkategory__item-img img,
.woocommerce_subkategory_item_img img {
    transition: 0.5s;
}

.wrap-subkategory__item-img:hover img,
.woocommerce_subkategory_item_img:hover img {
    transform: scale(1.15);
    transition: 0.5s;
}



/* NOTE пагинация */
.navigation.pagination {
    margin-top: 30px;
    margin-bottom: 30px;
}

.navigation.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-right: 5px;
}

.navigation.pagination .page-numbers:hover {
    background-color: var(--color-1);
    color: var(--color-2-text);
}

.navigation.pagination .page-numbers.current {
    background-color: var(--color-1);
    color: var(--color-2-text);
}

.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers {
    padding-left: 10px;
    padding-right: 10px;
    width: auto;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation.pagination .screen-reader-text {
    display: none;
}


/* NOTE для страници политики обработки персональных данных*/

.politica_text p {
    margin-block-start: 1em;
    margin-block-end: 1em;
}



/* NOTE кнопка наверх */
.jakor {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    z-index: 111;
    border-radius: 4px;
    background-color: var(--color-1);
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    transition: 0.4s;
    opacity: 0;
}

.jakor.show {
    visibility: visible;
    opacity: 1;
}

.jakor svg {
    width: 60%;
    height: auto;
    stroke: #fff;
    stroke-width: 3px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    rotate: 90deg;
}

.jakor:hover {
    opacity: 0.7;
}

/* NOTE куки*/
.cookie-wrap {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 3;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    width: calc(70% - 40px);
    box-sizing: border-box;
    padding: 20px;
    box-shadow: 0px 0px 12px 0px rgba(34, 60, 80, 0.2);
}

.cookie-wrap.hide {
    display: none;
}

.cookie-wrap_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
}

.cookie-wrap_inner a:hover {
    text-decoration: underline !important;
}

.cookie-wrap_inner-accept {
    flex-shrink: 0;
    width: 110px;
}

.cookie-wrap_inner-accept-btn {
    width: 100%;
    height: 35px;
    font-weight: 500;
    background-color: var(--color-1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.cookie-wrap_inner-accept-btn:hover {
    opacity: 0.8;
}

/* NOTE begin 900px */
@media screen and (max-width: 900px) {
    .jakor {
        display: none !important;
    }

    .cookie-wrap {
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }

    .cookie-wrap_inner {
        flex-direction: column;
        row-gap: 20px;
    }

    .artplus-tabs--vertical {
        display: block;
    }

    .artplus-tabs--vertical .artplus-tabs__list {
        width: 100%;
    }

    .wrap-vhod {
        flex-direction: column;
        row-gap: 40px;
    }

    .wrap-vhod__item {
        width: 100%;
    }
}

/* NOTE end 900px */
