/*
Theme Name: mirrast
Theme URI: https://opencollective.com/blankslate
Author: Web Guy
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/webguyio/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2026
BlankSlate is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{appearance:none;border-radius:0}input[type="search"]{appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

html,body {
    scroll-behavior: smooth;
}

/* основы */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/onest-v9-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }


  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/onest-v9-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/onest-v9-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
	--white: #fff;
	--nude: #fff0e9;
	--light-pink: #ffeaf3;
	--pink: #ffa3c8;
	--bright-green: #eaf3e8;
	--dark-green: #275c3e;
	--black: #10030f;
	--red: #ff1d0f;
	--bright-gray: #f6f7f8;
	--green: #679f56;
}

:root {
  --font-family: "Onest", sans-serif;
  --header-height: 131px;
}

@media(max-width: 992px) {
    :root {
        --header-height: 88px;
    }
}

body {
    font-family: var(--font-family);
}

.container {
    max-width: calc(1320px + 20px + 20px);
    padding: 0 20px;
    margin: 0 auto;
}

a, button {
    transition: .35s;
    text-decoration: none;
}

/* div#container {
    margin-top: var(--header-height);
} */

/* ============================================
   ANIMATE ON SCROLL
   ============================================ */
.animate-on-scroll { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.animate-on-scroll.in-view { opacity:1; transform:translateY(0); }


/*шапка*/
.header {
    height: var(--header-height);
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.header.header-no-color {
    background: transparent;
}

.header.header-color {
    background: var(--white);
    border-bottom: 1px solid var(--bright-green);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.header-burger {
    display: none;
}

.branding img {
    width: 200px;
    height: auto;
}

.header-dropdown {
    display: none;
}

.header-left {
    justify-self: start;
}

.header-social {
    justify-self: end;
}

.header-menu {
    justify-self: center;
}

.header-menu ul {
    display: flex;
    gap: 48px;
    align-items: center;
}

.header-menu a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 50px;
    color: var(--white);
    height: 50px;
    display: inline-block;
}

.header-color .header-menu a {
    color: var(--black);
}

.header-menu a:hover, .header-color .header-menu a:hover {
    color: var(--green);
}

.header-social {
    justify-self: end;
    display: flex;
    gap: 8px;
    align-items: center;
}

a.header-social-item {
    border-radius: 12px;
    padding: 16px;
    width: 52px;
    height: 52px;
    background: var(--white);
}

.header-color a.header-social-item {
    background: var(--bright-gray);
}

a.header-btn {
    border-radius: 12px;
    padding: 16px 32px;
    width: 178px;
    height: 52px;
    background: var(--pink);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: var(--black);
}

a.header-social-item svg, a.header-social-item svg * {
    transition: .35s;
}

a.header-social-item:hover svg path {
    fill: #fff;
}

.header-social-tg:hover, .footer-social .header-social-tg:hover, .header-color .header-social-tg:hover {
    background: #0080cf;
}

.header-social-wa:hover, .footer-social .header-social-wa:hover, .header-color .header-social-wa:hover {
   background: var(--green);
}

.header-social-max:hover, .footer-social .header-social-max:hover, .header-color .header-social-max:hover {
    background: #6f00af;
}

a.header-btn:hover {
    background: #ff8fbc;
}

ul.sub-menu {
    background-color: var(--bright-gray);

}

ul.sub-menu {
    background-color: var(--bright-gray);
    display: flex;
    flex-direction: column;
    position: absolute;
    gap: 0;
    align-items: flex-start;
    padding: 5px 0;
    border-radius: 8px;
    opacity: 0;
    transition: .3s;
    transform: translateY(-5px);
    z-index: 100;
}

ul.sub-menu:before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-bottom: 15px solid var(--bright-gray);
    border-left: 15px solid var(--bright-gray);
}

ul.sub-menu {
	pointer-events: none;
}

.menu-item-has-children a:hover + ul.sub-menu, .menu-item-has-children ul.sub-menu:hover {
    opacity: 1;
    transition: .3s;
    transform: translateY(0px);
	pointer-events: auto;
}

ul.sub-menu a {
    color: var(--black);
    padding: 5px 15px;
    height: auto;
    display: block;
    line-height: 1.6;
    width: 100%;
}

@media(max-width: 992px) {
    section:not(.hero, .advantages, .catalog, .why, .rast, .steps, .form, .plants-header, .plants, .plant) {
        display: none;
    }

    .header-inner {
        grid-template-columns: 1fr 1fr;
    }

    .branding img {
        width: 134px;
    }

    a.header-social-item {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        padding: 0;
    }

    a.header-btn.popup-button {
        display: none;
    }

    .header-menu {
        display: none;
    }
}

/* главная страница*/
/*hero*/
.hero {
    padding-top: 300px;
    margin-top: calc(-1 * var(--header-height));
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 15px;
    border-radius: 0 0 44px 44px;
}

.green-btn {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: var(--white);
    border-radius: 12px;
    padding: 24px 32px;
    background: var(--green);
    display: block;
    width: fit-content;
}

.green-btn:hover {
    background: var(--dark-green);
}

h1.hero-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 58px;
    line-height: 116%;
    letter-spacing: -0.01em;
    color: var(--white);
}

h1.hero-title span {
    color: var(--pink);
}

.hero-subtitle {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 22px;
    line-height: 132%;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-top: 32px;
}

.hero-btn {
    margin-top: 48px;
}

.hero-info {
    background: var(--white);
    border-radius: 44px;
    padding: 70px 0;
    margin: 140px 16px 0 16px;
}

h2.hero-info-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    color: var(--black);
}

h2.hero-info-title span {
    color: var(--green);
}

.hero-info-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.hero-info-item {
    border-radius: 16px;
    padding: 24px;
    background: var(--bright-gray);
    margin-top: 32px;
}

.hero-info-item img {
    width: 119px;
    display: block;
}

.hero-info-items h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 21px;
    line-height: 120%;
    color: var(--black);
    margin-top: 32px;
}

.hero-info-item p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    margin-top: 12px;
}


@media(max-width: 992px) {
    h1 br, h2 br, h3 br {
        display: none;
    }

    .hero {
        padding-top: 136px;
        background-position: 100% center;
        background: top;
        background-size: auto 800px;
        background-repeat: no-repeat;
    }

    h1.hero-title {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 40px;
        line-height: 116%;
        letter-spacing: -0.01em;
        color: var(--white);
    }

    .hero-info-items {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    h2.hero-info-title {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 30px;
        line-height: 120%;
        letter-spacing: -0.01em;
        color: var(--black);
    }

    .hero-info {
        margin: 99px 0 0 0;
        padding: 32px 5px 0;
    }

    p.hero-subtitle {
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 20px;
        line-height: 132%;
        letter-spacing: -0.01em;
        color: var(--white);
        margin-top: 24px;
    }

    .hero-info-item {
        padding: 16px 24px;
        margin-top: 0;
    }

}

/*преимущества*/
section + section {
    margin-top: 100px;
}

.section-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    color: var(--black);
}

.section-title.pink span {
    color: var(--pink);
}

.section-title.green span {
    color: var(--green);
}

.advantages-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.advantages-swiper-arrows {
    display: flex;
    gap: 16px;
}

.advantages-swiper-arrows button {
    border-radius: 50px;
    background: var(--light-pink);
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    cursor: pointer;
}


.advantages-swiper-arrows button svg path {
    transition: .35s;
}

.advantages-swiper-arrows button:not(.swiper-button-disabled):hover {
    background: var(--pink);
}

.advantages-swiper-arrows button:not(.swiper-button-disabled):hover svg path {
    stroke: var(--white);
}

.advantages-swiper-arrows button.swiper-button-disabled {
    cursor: not-allowed;
}

.advantages-swiper-arrows button.swiper-button-disabled path {
    stroke: #fff;
}

.advantages-item {
    background-size: cover;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    padding-top: 570px;
}

.advantages-item:after {
    content: '';
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgba(0, 0, 0, 0.75) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 16px;
    width: 100%;
    height: 50%;
}

p.advantages-item-title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 132%;
    letter-spacing: -0.01em;
    color: var(--white);
    position: relative;
    z-index: 1;
    min-height: 53px;
}

.slider-overflow {
    overflow: visible !important;
}

.advantages-inner {
    margin-top: 32px;
    overflow-x: hidden;
}

@media(max-width: 992px) {
    section + section {
        margin-top: 64px;
    }
    .section-title {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 30px;
        line-height: 120%;
        letter-spacing: -0.01em;
        color: var(--black);
    }

    .swiper-arrows.advantages-swiper-arrows {
        display: none;
    }

    .advantages-inner {
        margin-top: 26px;
        overflow-x: hidden;
    }

    .advantages-item {
        background-size: cover;
        border-radius: 16px;
        padding: 24px 16px 24px;
        position: relative;
        padding-top: 350px;
    }

    p.advantages-item-title {
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 19px;
        line-height: 132%;
        letter-spacing: -0.01em;
        color: var(--white);
        min-height: 76px;
    }
}


/*почему выбирают*/
.why-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.why-item {
     display: flex;
    border-radius: 16px;
    align-items: center;
    transition: .35s;
}

.why-item.pink {
    background: var(--light-pink);
}

.why-item.green {
    background: var(--bright-gray);
}

.why-item-content {
    padding: 24px;
}

.why-item-image img {
    width: 205px;
    display: block;
}

p.why-item-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: var(--black);
}

p.why-item-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    margin-top: 12px;
}

@media(max-width: 992px) {
    .why-inner {
        display: flex;
        overflow: auto;
        margin: 24px -20px 0;
        padding-right: 20px;
        gap: 16px;
    }

    .why-inner::-webkit-scrollbar {
        display: none;
    }

    .why-inner {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .why-item:first-of-type {
        margin-left: 20px;
    }

    /* .why-item:last-of-type {
        margin-right: 20px;
    } */

    .why-item {
        flex-direction: column;
        flex: 0 0 85%;
    }

    .why-item-content {
        padding: 16px;
    }

    p.why-item-title {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 20px;
        line-height: 120%;
        color: var(--black);
    }

    p.why-item-text {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 17px;
        line-height: 142%;
        color: var(--black);
    }

    .why-item-image {
        margin-right: auto;
        order: 2;
        margin-top: auto;
    }

    .why-item-image img {
        width: 80%;
        display: block;
    }
}

/*растения*/
.rast {
    background: var(--bright-gray);
    border-radius: 60px;
    margin-left: 16px;
    margin-right: 16px;
    max-height: 850px;
    overflow: hidden;
}

.rast-inner {
    display: grid;
    gap: 48px;
    grid-template-columns: 1fr 1.7fr;
}

.rast-content {
    padding-top: 140px;
}

p.rast-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    margin-top: 24px;
}

a.rast-btn.green-btn {
    margin-top: 32px;
}

.rast-images {
    display: flex;
    gap: 16px;
    overflow: hidden;
}

.rast-images img {
    border-radius: 16px;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.rast-left,
.rast-center,
.rast-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Левая колонка - движение вниз */
.rast-left {
    animation: scrollDown 40s linear infinite;
    margin-top: -50px;
}

/* Центральная колонка - движение вверх */
.rast-center {
    animation: scrollUp 40s linear infinite;
}

/* Правая колонка - движение вниз */
.rast-right {
    animation: scrollDown 40s linear infinite;
    margin-top: 80px;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0%);
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Для плавности - дублируем контент */
.rast-left .rast-image:last-child,
.rast-right .rast-image:last-child,
.rast-center .rast-image:last-child {
    margin-bottom: 0;
}

.rast-image {
    width: 100%;
}

.rast-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rast-mobile.mobile-only {
    display: none;
}

@media(max-width: 992px) {
    section.rast {
        padding: 32px 0;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        overflow: visible;
    }

    .rast-inner {
        grid-template-columns: 1fr;
    }

    .rast-content {
        padding-top: 0;
    }

    .rast-images {
        display: none;
    }

    a.rast-btn.green-btn {
        margin-top: 32px;
        width: 100%;
    }

    .rast-left, .rast-right, .rast-center {
        display: none;
    }

    .rast-mobile.mobile-only {
        display: block;
        /* overflow: hidden; */
        overflow: auto;
        margin-left: -20px;
        margin-right: -20px;
    }


    .rast-mobile.mobile-only::-webkit-scrollbar {
        display: none;
    }

    .rast-mobile.mobile-only {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .rast-mobile-wrapper {
        display: flex;
        gap: 15px;
        /* animation: scrollLeft 5s linear infinite; */
    }

    .rast-mobile .rast-image {
        flex-shrink: 0;
        flex: 0 0 60%;
    }

    @keyframes scrollLeft {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    .rast-image img {
        width: 100%;
        height: 338px;
        display: block;
        border-radius: 16px;
    }
}

/*каталог*/
.plant-filter-block {
    margin-top: 40px;
}

.tabs-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tab-btn {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: var(--black);
    padding: 25px 5px;
    border: 1px solid rgba(16, 3, 15, 0.3);
    border-radius: 12px;
    background-color: transparent;
    outline: none;
}

.tab-btn.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    cursor: not-allowed;
}

.tab-btn:hover:not(.active):hover {
    border-color: var(--green);
}

.tab-btn:hover:not(.active) {
    cursor: pointer;
}

.plant-filter-content {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.plant-child-categories {
    flex: 0 0 23%;
}

.plant-child-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plant-child-categories li {
    margin-bottom: 12px;
}

.plant-child-categories a {
    text-decoration: none;
    display: block;
    border-radius: 0;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(16, 3, 15, 0.2);
    padding: 15px 0;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plant-child-categories a  svg path {
    transition: all 0.3s;
}

.plant-child-categories a:hover {
    opacity: .85;
}

.plant-child-categories a.active {
    color: var(--green);
}

.plant-child-categories a.active  svg path{
    stroke: var(--green);
}

.plant-items {
    flex: 1;

}

.plant-items-grid {
        display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.plant-card {
    border-radius: 16px;
    background: var(--bright-gray);
     transition: transform 0.3s;
}

.plant-card:hover {
    transform: translateY(-5px);
}

.plant-card-image {
    border-radius: 6px 16px 0 0;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.plant-card-content {
    padding: 15px;
}

.plant-card-title a {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: var(--black);
}

.plant-card-title a:hover {
    color: var(--green);
}

.plant-short-desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    margin-top: 12px;
}

a.plant-link {
    border: 1px solid rgba(16, 3, 15, 0.3);
    border-radius: 12px;
    padding: 16px 32px;
    height: 52px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: var(--black);
    display: block;
    text-align: center;
    margin-top: 24px;
}

a.plant-link:hover {
    color: var(--white);
    background-color: var(--green);
    border-color: var(--green);
}

.no-items {
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
    grid-column: 1 / -1;
}

.view-all-wrapper a {
    border-radius: 12px;
    padding: 0;
    width: 100%;
    height: 71px;
    background: var(--pink);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 71px;
    color: var(--black);
    border: none;
    margin-top: 24px;
    text-align: center;
    display: block;
}

.view-all-wrapper svg {
    vertical-align: middle;
}

.plant-child-categories ul li:last-of-type a {
    border: none;
}

/* Стили для загрузчика и анимаций */
.plant-items {
    flex: 1;
}

/* Основной загрузчик для товаров */
.loader-wrapper {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #4caf50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loader-text {
    color: #666;
    font-size: 14px;
}

/* Маленький загрузчик для категорий */
.loader-wrapper-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.loader-small {
    width: 30px;
    height: 30px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #4caf50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Анимация для карточек */
.plant-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, opacity 0.3s ease, transform 0.3s ease;
    background: var(--bright-gray);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plant-card:hover {
    transform: translateY(-5px);
}

/* Стили для ошибок */
.error {
    padding: 20px;
    text-align: center;
    background: #ffebee;
    border-radius: 8px;
    color: #c62828;
}

/* Плавное появление для контейнера категорий */
#plant-child-categories {
    transition: opacity 0.3s ease;
}

.child-categories-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Анимация для кнопок при загрузке */
.tab-btn {
    transition: all 0.3s;
    position: relative;
}

.tab-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.tab-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

/* Анимация пульсации для картинок при загрузке */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.plant-card.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.view-all-wrapper.mobile {
    display: none;
}

@media (max-width: 1240px) {
    .plant-items-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .plant-card-image {
        height: 240px;
    }
}


@media (max-width: 992px) {
    .plant-filter-content {
        flex-direction: column;
    }
    .plant-child-categories {
        flex: auto;
    }

    .plant-card-image {
        height: 248px;
    }

    .plant-card-title a {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 20px;
        line-height: 120%;
        color: var(--black);
    }

    .plant-filter-block {
        margin-top: 24px;
    }

    .tabs-buttons {
        display: flex;
        overflow: auto;
        margin: 0 -20px;
        justify-content: flex-start;
        padding-right: 20px;
    }

    .tabs-buttons::-webkit-scrollbar {
        display: none;
    }


    .tabs-buttons {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tab-btn {
        flex: 0 0 80%;
        padding: 16px;
    }

    .tab-btn:first-of-type {
        margin-left: 20px;
    }

    /* .tab-btn:last-of-type {
        margin-right: 20px;
    } */

    .view-all-wrapper{
        display: none;
    }

    .view-all-wrapper.mobile {
        display: block;
    }

    .view-all-wrapper a {
        border-radius: 12px;
        padding: 0;
        width: 100%;
        height: 71px;
        background: var(--pink);
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 17px;
        line-height: 71px;
        color: var(--black);
        border: none;
        margin-top: 24px;
        text-align: center;
        display: block;
    }

}



/*шаги*/
.steps-inner {
    margin-top: 32px;
}

.steps-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-radius: 16px;
    padding: 16px 16px 16px 32px;
    background: var(--bright-gray);
}

.steps-item + .steps-item  {
    margin-top: 16px;
}

.steps-image img {
    border-radius: 8px;
    display: block;
    object-fit: cover;
    width: 100%;
}

p.steps-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: var(--black);
    margin-top: 24px;
}

.steps-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    margin-top: 32px;
}

.steps-text li:before {
    content: '';
    background: var(--green);
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    display: block;
    flex: none;
    margin-top: 6px;
}

.steps-text li + li {
    margin-top: 16px;
}

.steps-text li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}


.steps-item {
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
    z-index: 0;
}

@media(max-width: 992px) {
    .steps-inner {
        margin-top: 24px;
    }

    .steps-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 16px 16px;
        position: static;
    }

    p.steps-title {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 20px;
        line-height: 120%;
        margin-top: 0;
        color: var(--black);
    }

    .steps-text {
        margin-top: 16px;
    }
}


/*подвал*/
.footer {
    margin-top: 100px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social .header-social-item {
    background: var(--bright-gray);
    display: grid;
    place-items: center;
}

a.footer-tel {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 44px;
    line-height: 116%;
    letter-spacing: -0.01em;
    color: var(--black);
    display: block;
}

a.footer-tel + a.footer-tel {
	margin-top: 8px;
}

a.footer-tel:hover {
    color: var(--green);
}

.footer-addr {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 132%;
    letter-spacing: -0.01em;
    color: var(--black);
    margin-top: 32px;
}

.footer-map img {
    width: 100%;
}

.footer-social {
    margin-top: 32px;
}

.footer-bottom {
    margin-top: 54px;
}

.footer-bottom img {
    display: block;
    width: 100%;
}

@media(max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    a.footer-tel {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 35px;
        line-height: 120%;
        letter-spacing: -0.01em;
        color: var(--black);
    }

    .footer-addr, .footer-social {
        margin-top: 24px;
    }

    .footer-bottom {
        margin-top: 19px;
    }
}

/*форма*/
.form {
    padding: 16px 0;
    margin-left: 16px;
    margin-right: 16px;
    background-size: auto;
    border-radius: 60px;
    background-position: center 100%;
    background-repeat: no-repeat;
}

.form-inner {
    border-radius: 16px;
    width: 50%;
    background: var(--white);
    padding: 45px;
}

.form-subtitle {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 132%;
    letter-spacing: -0.01em;
    color: var(--black);
    margin-top: 16px;
}

.main-input {
    background: var(--bright-gray);
    border-radius: 12px !important;
    padding: 24px;
    width: 100%;
    height: 72px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    border: none;
    outline: none;
}

.main-input::placeholder {
    color: rgba(16, 3, 15, 0.5);
}

form.wpcf7-form {
    margin-top: 32px;
}

.form-row + .form-row {
    margin-top: 12px;
}

.form-row.call {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.form-row.submit {
    margin-top: 24px;
}

p.form-text.strong {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 132%;
    letter-spacing: -0.01em;
    color: var(--black);
}

.main-checkbox input {
    width: 0;
    height: 0;
    position: absolute;
    left: -500px;
}

.main-checkbox label {
    border: 1px solid rgba(16, 3, 15, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    height: 52px;
    display: block;
    cursor: pointer;
    transition: .35s;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: var(--black);
}

.main-checkbox label:hover {
    opacity: .85;
}

.main-checkbox {
    display: flex;
    gap: 8px;
}

.main-checkbox span.wpcf7-list-item {
    margin: 0;
}

.main-checkbox label:has(input:checked) {
    color: var(--green);
    border-color: var(--green);
}

.main-accept {
    appearance: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--green);
    flex: none;
  cursor: pointer;
}

.wpcf7-acceptance label {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 142%;
    color: #2b2b2b;
        cursor: pointer;
}

input.main-accept:checked {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='19' viewBox='0 0 24 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7.12L11.3125 18L23 1' stroke='%23679F56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.wpcf7-submit {
    border-radius: 12px !important;
    padding: 16px 32px;
    width: 50%;
    height: 55px;
    background: var(--green);
    border: none;
    outline: none;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: var(--white);
}

.form-row > p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

span.wpcf7-not-valid-tip {
    font-size: 12px;
    margin-top: 2px;
    margin-left: 10px;
    display: none !important;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7 .wpcf7-submit {
    cursor: pointer;
    transition: .35s;
}

.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
    opacity: .4;
}

.wpcf7-spinner {
    position: absolute;
    left: 47%;
}

.form-row label {
    width: 100%;
}

.main-input.wpcf7-not-valid {
    background: #ff00004d;
    outline: 2px solid red;
}

.wpcf7-response-output {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 16px !important;
    margin: 0;
    left: 0;
}

@media(max-width: 240px) {
    .form-inner {
        border-radius: 16px;
        width: 60%;
        background: var(--white);
        padding: 25px;
    }
}

@media(max-width: 992px) {
    .form {
        background-image: none !important;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }

        .form-inner {
        width: 100%;
        padding: 0;
    }

    p.form-subtitle {
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 19px;
        line-height: 132%;
        letter-spacing: -0.01em;
        color: var(--black);
    }


    .main-checkbox {
        flex-direction: column;
    }

    .form-row > p {
        display: block;
        width: 100%;
    }

    .form-row.call {
        flex-direction: column;
        gap: 8px;
    }

    p.form-text.strong {
        font-size: 19px;
    }

    .main-checkbox  span.wpcf7-list-item-label {
        text-align: center;
        display: block;
    }

    .wpcf7-acceptance .wpcf7-list-item-label {
        text-align: left;
    }

    .wpcf7 .wpcf7-submit {
        width: 100%;
        margin-top: 16px;
    }

    .wpcf7-spinner {
        position: absolute;
        right: 0;
        margin-top: -40px;
    }

}

/*попап*/

html {
    scrollbar-gutter: stable;
}

.popup-open {
    overflow-y: hidden;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.popup-container {
    overflow: auto;
    display: grid;
    place-items: center;
    backdrop-filter: blur(20px);
    background: #1E1E1E80;
    transition: .3s;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    transition: .3s;
}

.popup-show .popup-container {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    max-width: 692px;
    position: relative;
    border-radius: 16px;
    background: var(--white);
    padding: 45px;
}

.close-button {
    right: 40px;
    display: block;
    position: absolute;
    top: 40px;
    cursor: pointer;
}


.popup-content .form-box h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 110.00000000000001%;
    text-align: center;
    color: #383838;
}

.popup-content .form-box > p {
    color: #949494;
    font-weight: 500;
    font-size: 25px;
    line-height: 140%;
    text-align: center;
}

.form-row.title {
    background: var(--light-pink);
    border-radius: 12px !important;
    padding: 12px 24px;
    width: 100%;
    /* height: 72px; */
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    text-align: center;
    margin-top: 24px;
}

@media(max-width: 1240px) {
    .popup-container {
        padding: 21px;
    }

    .popup-content {
        padding: 18px;
        position: static;
    }

    .popup-content > p {
        font-size: 19px;
        line-height: 100%;
    }

    .popup-content h2 {
        font-weight: 500;
        font-size: 30px;
        line-height: 100%;
        text-transform: uppercase;
    }

    .close-button {
        top: 8px;
        right: 0;
        opacity: 1;
    }

    .close-button svg {
        transform: scale(0.7);
    }

    .popup-content .form-box > p {
        margin: 0 0 30px;
    }

    .popup-content .form-box h2 {
        font-size: 32px;
    }

    .popup-content .form-box > p {
        font-size: 17px;
        font-weight: 400;
        line-height: 1.1;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    form.wpcf7-form {
        margin-top: 16px;
    }
}

/*страница товара*/
section.plant {
    margin-top: 26px;
}

.breadcrumbs {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: rgba(16, 3, 15, 0.5);
}

.breadcrumbs a {
    color: rgba(16, 3, 15, 0.5);
}

.breadcrumb_last {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--black);
}

.plant-inner {
    margin-top: 48px;
    background: var(--bright-gray);
    border-radius: 16px;
    padding: 16px;
     display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 29px;
}

.plant-images {
    min-width: 100%;
}

.plant-slider img {
    width: 100%;
    max-height: 354px;
	height: 354px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}


.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.thumb-grid-item {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.thumb-grid-item.active {
    opacity: 1;
}

.thumb-grid-item img {
    width: 100%;
    height: 86px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.plant-slider .swiper-button-prev:after, .plant-slider .swiper-button-next:after {
    display: none;
}

.plant-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 42px;
    line-height: 120%;
    color: var(--black);
}

.plant-desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    margin-top: 16px;
}

.plant-feats {
    margin-top: 32px;
        display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 48px;
}

.plant-feats-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #d9d9d9;
    padding: 0px 0px 8px;
}

p.plant-label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: rgba(16, 3, 15, 0.5);
}

p.plant-value {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
}

.plant-order {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plant-price {
    display: flex;
    align-items: center;
    gap: 24px;
}

p.plant-price-num {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 42px;
    line-height: 116%;
    color: var(--black);
}

.av-yes {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 142%;
    color: var(--green);
}

.av-yes:before {
    content: '';
    background: var(--green);
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 999px;
    margin-right: 5px;
    vertical-align: middle;
}

.av-no {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 142%;
    color: var(--red);
}

.av-no:before {
      content: '';
    background: var(--red);
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 999px;
    margin-right: 5px;
    vertical-align: middle;
}


@media(max-width: 992px) {
    .plant-inner {
        grid-template-columns: 1fr;
    }

    .plant-feats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .plant-order {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }

    .green-btn {
        width: 100%;
        text-align: center;
    }

    h1.plant-title {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 38px;
        line-height: 116%;
        letter-spacing: -0.01em;
        color: var(--black);
    }

    .plant-inner {
        grid-template-columns: 1fr;
        margin-top: 32px;
        gap: 16px;
    }

    .plant-slider img {
        aspect-ratio: 1 / 1;
		height: unset;
    }

    .thumb-grid-item img {
        aspect-ratio: 1 / 1;
        height: unset;
    }
}



/*страницы категорий*/
.plants-header {
    margin-top: 26px;
}

h1.category-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 42px;
    line-height: 120%;
    color: var(--black);
    margin-top: 48px;
}

.category-description {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 17px;
    line-height: 142%;
    color: var(--black);
    margin-top: 16px;
}

.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.plants-layout {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
}

aside.plants-sidebar {
    flex: 0 0 23%;
}

.plants-content {
    flex: 1;
}

ul.child-categories-list li {
    margin-bottom: 12px;
}

ul.child-categories-list li a {
    text-decoration: none;
    display: block;
    border-radius: 0;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(16, 3, 15, 0.2);
    padding: 15px 0;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 116%;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

ul.child-categories-list li a:hover {
    opacity: .85;
}

ul.child-categories-list li a.active {
 color: var(--green);
}

ul.child-categories-list a  svg path {
    transition: all 0.3s;
}

ul.child-categories-list a.active {
    color: var(--green);
}

ul.child-categories-list a.active  svg path{
    stroke: var(--green);
}

@media(max-width: 1240px) {
    .plants-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .plant-card-image {
        height: 240px;
    }
}

@media(max-width: 992px) {
    h1.category-title {
        font-size: 40px;
    }

    aside.plants-sidebar {
        flex: 100%;
    }
}

/*текстовый контент*/
.seo-inner {
    margin-top: 32px;
}

.main-content > * + * {
    margin-top: 24px;
}

.main-content * {
    font-size: 17px;
    line-height: 1.5;
}

.main-content  h2 {
    font-size: 2.3rem;
    line-height: 1.1;
}

.main-content h3 {
    font-size: 1.9rem;
     line-height: 1.1;
}

.main-content h4 {
    font-size: 1.6rem;
     line-height: 1.1;
}

.main-content a {
    color: var(--green);
    border-bottom: 1px solid var(--green);
}

.main-content a:hover {
    border-bottom: 1px solid transparent;
}

.main-content blockquote {
    padding-left: 32px;
    border-left: 6px solid var(--green);
    margin-right: 15%;
}

.main-content blockquote, .main-content blockquote * {
    font-size: 20px;
}

.main-content ul {
    list-style: disc;
    margin-left: 30px;
}

.main-content ul ul, .main-content ol ul {
	 list-style: circle;
}

.main-content li::marker {
	color: var(--green);
}

.main-content li + li {
	margin-top: 12px;
}

.main-content strong {
	font-weight: 700;
}

.main-content ol {
    list-style: auto;
    margin-left: 30px;
}
