/* NOTE global */

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

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

body {
    margin: 0px;
    padding: 0px;
    background-color: var(--fon);
}


@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;
}

.home .single_title {
    display: none;
}

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

.footer {
    margin-top: auto;
}



.button_d {
    cursor: pointer;
}

.d_none {
    display: none !important;
}

.wp-block-video [poster] {
    height: 100%;
}

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

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

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


.is-layout-flex {
    display: block !important;
    align-items: stretch !important;
}

/* NOTE для табов */
.ui-tabs {
    padding: 0;
}

.tabs_wrap_ul {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    list-style-type: none;
    column-gap: 10px;
}

.tabs_wrap_ul {
    margin-bottom: 26px !important;
}

.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
    display: none;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    float: none;
    color: var(--color-3);
    width: auto;
    height: auto;
    display: inline-block;
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-radius: 10px;
    background: var(--fon);
    font-weight: 700;
    font-size: 16px;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
.ui-tabs .ui-tabs-nav li a:hover {
    cursor: default !important;
    color: var(--belyy) !important;
    background: var(--chernyy-2) !important;
}

.ui-tabs .ui-tabs-nav li a:hover {
    cursor: pointer !important;
}

.ui-tabs .ui-tabs-panel {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* NOTE для fancybox */
.fancybox__content {
    background-color: #fff !important;
}

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

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

.accordion_d {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.ui-accordion-header {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    height: 50px !important;
    font-size: inherit !important;
    box-sizing: border-box !important;
    padding-left: 0px !important;
    padding-right: 80px !important;
    width: 100% !important;
    background-color: transparent !important;
    font-weight: bold !important;
    font-family: var(--font-family) !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 130% !important;
    color: var(--chernyy-2) !important;
    transition: color 0.3s;
}

.accordion_d_row {
    padding-bottom: 30px !important;
    border-bottom: 1px solid var(--obvodka);
    margin-bottom: 30px !important;
}

.accordion_d_row:nth-last-child(1) {
    margin-bottom: 0px !important;
}

.ui-accordion-header:nth-child(1) {
    margin-top: 0px !important;
}

.ui-accordion-header:hover,
.ui-accordion-header.ui-state-active {
    color: #0a9886 !important;
}

.accordion_d_content {
    width: 100%;
}

.ui-accordion .ui-accordion-content.accordion_d_content {
    width: 100%;
    box-sizing: border-box;
    padding-left: 0px;
    padding-right: 80px;
    padding-top: 23px;
    padding-bottom: 0px;
    font-family: var(--font-family) !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 150% !important;
    color: var(--chernyy-2) !important;
}

.accordion_d_content:nth-last-child(1) {
    padding-bottom: 0px;
}

.ui-accordion-header-icon {
    position: absolute;
    right: 0px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: initial;
}

.ui-accordion-header-icon:before {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "fontawesome";
    font-size: 16px;
    color: inherit;
    width: 100%;
    height: 100%;
    content: "";
    background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2v10M12 12v10M12 12h10M12 12H2"/></svg>');
    text-indent: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 24px;
    transition: 0.5s;
    z-index: 1;
}

.accordion_d_icon-minus:before {
    transform: rotate(45deg);
}

.ui-accordion-header-icon:after {
    background: linear-gradient(to right, #4dffbe 0%, #63c8ff 100%);
    opacity: 0;
    transition: 0.5s;
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 100%;
}

.accordion_d_icon-minus:after {
    opacity: 1;
}

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

.wp_wrap_subkategory_item_img,
.woocommerce_subkategory_item_img {
    display: block;
    overflow: hidden;
}

.wp_wrap_subkategory_item_img img,
.woocommerce_subkategory_item_img img {
    transition: 0.5s;
}

.wp_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(--text-color-1);
}

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

.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 стандартная галерея гюттенберга*/
.wp-block-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin: 0 !important;
}


/* 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 begin 1200px */
@media screen and (max-width: 1200px) {}

/* NOTE end 1200px */

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

}

/* NOTE end 900px */


/* NOTE begin 700px */
@media screen and (max-width: 700px) {}

/* NOTE end 700px */



/* NOTE begin 500px */

@media screen and (max-width: 500px) {
    
}

/* NOTE end 500px */