/*
Theme Name: G-ravitacia
Theme URI: 
Author: G-ravitacia
Author URI: 
Description: 

Version: 1.7
License: GNU General Public License
License URI: license.txt
Text Domain: g-ravitacia
*/

:root {
  --color-1: #006400;
  --color-2: LightSlateGrey;
  --color-3: #DCDCDC;
  --color-4: #DCDCDC;
  --color-5: linear-gradient(140deg, #263457, #5d73ad);
  --color-6: #DCDCDC;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

body {
  position: relative;
  background: #F6F6F6;
  color: #3f4246;
  font-family: 'circe', sans-serif;
  font-size: 16px;
  letter-spacing: .2px;
  line-height: 1.5;
  overflow-x: hidden;
  padding-left: 299px;
}

body.compensate-for-scrollbar {
    margin-right: 0!important;
}

a {
  text-decoration: none;
  color: inherit
}

ul {
  list-style: none;
}

ol {
  padding-left: 40px;
}

h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 40px;
}

h2 {
  font-size: 32px;
  line-height: 1.3;
  text-transform: uppercase;
  margin: 80px 0 50px;
}

h3 {
  font-size: 26px;
  line-height: 1.3;
  margin: 30px 0 20px;
}

h4 {
  font-size: 22px;
  line-height: 1.3;
  margin: 20px 0 15px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

input::-moz-focus-inner {
  border: 0px !important;
}

input:hover,
input:active,
input:focus {
  outline: none !important;
}

input[type="file"],
input[type="radio"],
input[type="checkbox"] {
  display: none;
}

label {
  cursor: pointer;
}

.wp-block-image,
.wp-block-columns {
  margin-bottom: 0;
}

.container {
  max-width: 100%;
  width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.main {
  margin-top: 100px;
}

.home .main {
  margin-top: 74px;
}

.grecaptcha-badge {
  right: -300px !important;
}

.yoast-breadcrumbs {
  font-size: 10px;
  text-transform: uppercase;
}

.yoast-breadcrumbs a {
  font-weight: 600;
  transition: .3s;
}

.yoast-breadcrumbs a:hover {
  color: var(--color-6);
}

/* пагинация
--------------------*/
.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 50px 0;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-1);
  border-radius: 2px;
}

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

.pagination .page-numbers.dots {
  border: 0;
}

/* текстовый блок
--------------------*/
.text-block p {
  margin-bottom: 15px;
}

.text-block a {
  color: var(--color-6);
}

.text-block li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.text-block ul li:before {
  content: '';
  position: absolute;
  background: var(--color-3);
  width: 8px;
  height: 8px;
  top: 8px;
  left: 10px;
}

.text-block img {
  border-radius: 5px;
  margin-bottom: 30px;
}

/* сайдбар
--------------------*/
.sidebar {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  width: 300px;
  height: 100vh;
  top: 0;
  left: 0;
  padding: 50px;
  z-index: 100;
}

.sidebar .logotype {
  margin-bottom: 60px;
}

.sidebar .menu li {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sidebar .menu li.current-menu-item {
  color: var(--color-6);
}

.telegram-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 45px;
  background: #24A1DE;
  color: #fff;
  font-size: 14px;
  border-radius: 5px;
  padding: 10px 20px;
}

.sidebar .telegram-btn {
  width: 100%;
  margin-top: 35px;
}

.telegram-btn:after {
  content: '';
  position: relative;
  background: url(images/telegram.svg) no-repeat center;
  background-size: contain;
  width: 16px;
  height: 16px;
  transition: .3s;
}

.telegram-btn:hover:after {
  transform: translateX(5px);
}

.js-call {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  background: var(--color-1);
  color: #fff;
  font-size: 14px;
  border-radius: 5px;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
}

/* Шапка
--------------------*/
.header {
  position: fixed;
  width: 100%;
  background: var(--color-1);
  top: 0;
  left: 0;
  padding-left: 299px;
  z-index: 50;
}

.logo-min {
  display: none;
}

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.head-row .contacts {
  padding-left: 28px;
}

.head-row .contacts a {
  display: block;
}

.head-row .contacts .phone {
  position: relative;
  font-size: 18px;
  font-weight: 500;
}

.head-row .contacts .email {
  font-size: 12px;
  color: #ccc;
}

.head-row .contacts .phone:before {
  content: '';
  position: absolute;
  background: url(images/callback-w.svg) no-repeat center;
  background-size: contain;
  width: 18px;
  height: 18px;
  top: 50%;
  left: -28px;
  transform: translateY(-50%);
}

.head-row .menu {
  display: flex;
}

.head-row .menu li a {
  position: relative;
  display: block;
  padding: 7px 15px;
  z-index: 2;
}

.head-row .menu li a:before {
  content: '';
  position: absolute;
  background: linear-gradient(to right, #5d73ad, transparent);
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  transition: .3s;
  z-index: -1;
}

.head-row .menu li a:hover:before,
.head-row .menu li.current-menu-item a:before {
  width: 100%;
}

.head-row .buttons {
  display: flex;
  gap: 20px;
}

.head-row .buttons .telegram-btn-min {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background: #24A1DE;
  border-radius: 5px;
}

.head-row .buttons .telegram-btn-min:before {
  content: '';
  position: relative;
  background: url(images/telegram.svg) no-repeat center;
  background-size: contain;
  width: 16px;
  height: 16px;
  transition: .3s;
}

.head-row .buttons .js-call {
  background: var(--color-6);
  color: #3f4246;
  margin-top: 0;
}

/* Главная
--------------------*/
.block-1 {
  position: relative;
  background: var(--color-2);
  color: #fff;
  margin: 0 -400px;
  padding: 80px 400px 60px;
}

.block-1 p {
  margin-bottom: 20px;
}

.bushes-slider .owl-stage-outer {
  margin-bottom: 40px;
}

.bushes-item {
  display: block;
}

.bushes-item .thumbnail {
  border-radius: 5px;
  overflow: hidden;
}

.bushes-item img {
  transition: .5s;
}

.bushes-item .content {
  background: #fff;
  border-radius: 5px;
  padding: 20px;
  margin-top: 20px;
}

.bushes-item .title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: .3s;
}

.bushes-item .lat_name {
  font-size: 12px;
}

.bushes-item:hover img {
  transform: scale(1.1);
}

.bushes-item:hover .title {
  color: #5d73ad;
}

.bushes-slider .owl-nav {
  position: relative;
  display: block;
  height: 30px;
  margin-bottom: -26px;
}

.owl-nav button span {
  display: none !important;
}

.bushes-slider .owl-nav button {
  position: absolute;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.bushes-slider .owl-nav button.owl-prev {
  left: 0;
}

.bushes-slider .owl-nav button.owl-next {
  right: 0;
}

.bushes-slider .owl-nav button:before {
  content: '';
  position: absolute;
  background: url(images/arrows-menu.svg) no-repeat center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--color-6);
  border-radius: 50%;
  top: 0;
  left: 0;
}

.bushes-slider .owl-nav button.owl-prev:before {
  transform: rotate(180deg);
}

.bushes-slider .wiev-all {
  position: relative;
  width: calc(100% - 120px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.bushes-slider .wiev-all:before {
  content: '';
  position: absolute;
  border-bottom: 2px solid var(--color-6);
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.bushes-slider .wiev-all a {
  display: inline-block;
  background: #F6F6F6;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  padding: 0 20px;
}

.prim-block {
  position: relative;
  padding-left: 70px;
}

.left-desc {
  position: absolute;
  text-transform: uppercase;
  top: -12px;
  left: 12px;
  padding-left: 40px;
  transform: translateX(-100%) rotate(-90deg);
  transform-origin: right;
}

.left-desc:before {
  content: '';
  position: absolute;
  background: #3f4246;
  width: 30px;
  height: 1px;
  top: 46%;
  left: 0;
  transform: translateY(-50%);
}

.prim-block .wp-block-columns {
  margin-bottom: 50px;
  gap: 50px;
}

.prim-block .wp-block-column {
  position: relative;
  padding-left: 120px;
}

.prim-block .wp-block-column .wp-block-image {
  position: absolute;
  width: 70px;
  left: 0;
  top: 0;
}

.prim-block .wp-block-column h4 {
  position: relative;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.prim-block .wp-block-column h4:before {
  content: '';
  position: absolute;
  background: var(--color-6);
  width: 30px;
  height: 1px;
  top: 14px;
  left: -35px;
}

.prim-block .wp-block-column p {
  font-size: 14px;
}

.actia-link a {
	display: flex;
    align-items: center;
    justify-content: center;
	width: 200px;
    height: 45px;
    background: var(--color-1);
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
	margin: auto;
}

.green-block {
  background: var(--color-2);
  margin: 80px -400px 0;
  padding: 80px 410px 160px;
}

.green-block .wp-block-column:first-child {
  border-left: 2px solid #fff;
  padding-left: 15px;
}

.green-block h2 {
  color: #fff;
  line-height: 1;
  margin: 0 0 10px;
}

.green-block p {
  color: #fff;
  line-height: 1;
}

.green-block .telegram-btn {
  width: 200px;
}

.faq-block {
  position: relative;
  background: #fff;
  border-radius: 5px;
  margin-top: -100px;
  z-index: 5;
  padding: 80px;
}

.faq-block h2 {
  margin-top: 0;
}

.bottom-form {
  margin-top: 80px;
  gap: 50px;
}

.bottom-form h2 {
  margin-top: 0;
}

.bottom-form .wpcf7 {
  background: var(--color-4);
  padding: 50px;
  border-radius: 5px;
}

/* Каталог
--------------------*/
.podcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  justify-content: center;
  margin-bottom: 60px;
}

.podcategory-list a {
  font-size: 18px;
  border: 1px solid #5d73ad;
  display: flex;
  width: calc((100% - 50px) / 3);
  border-radius: 5px;
  justify-content: center;
  padding: 10px;
  transition: .3s;
}

.podcategory-list a:hover {
  background: #5d73ad;
  color: #fff;
}

.bushes-items {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 30px;
}

.bushes-items .bushes-item {
  width: calc((100% - 60px) / 3);
}

/* карточка товара
--------------------*/
.product-row {
  display: flex;
  gap: 40px;
  padding-top: 40px;
}

.product-img {
  position: relative;
  width: 50%;
  flex-shrink: 0;
  padding-left: 40px;
}

.product-img img {
  border-radius: 5px;
}

.product-slider {
  position: relative;
}

.product-slider .owl-nav {
  position: absolute;
  width: 100%;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.product-slider .owl-nav button {
  position: absolute;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.product-slider .owl-nav button.owl-prev {
  left: 5px;
}

.product-slider .owl-nav button.owl-next {
  right: 5px;
}

.product-slider .owl-nav button:before {
  content: '';
  position: absolute;
  background-color: #F6F6F6;
  background-image: url(images/arrows-menu.svg);
  background-position: center;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 0;
  left: 0;
  transition: .3s;
}

.product-slider .owl-nav button.owl-prev:before {
  transform: rotate(180deg);
}

.product-slider .owl-nav button:hover:before {
  background-color: var(--color-6);
}

.product-img .cat_name {
  position: absolute;
  text-transform: uppercase;
  top: -12px;
  left: 12px;
  padding-left: 40px;
  transform: translateX(-100%) rotate(-90deg);
  transform-origin: right;
}

.product-img .cat_name:before {
  content: '';
  position: absolute;
  background: #3f4246;
  width: 30px;
  height: 1px;
  top: 46%;
  left: 0;
  transform: translateY(-50%);
}

.product-content {
  flex-grow: 1;
}

.product-content h1 {
  margin-bottom: 0;
}

.product-content .lat_name {
  font-size: 14px;
  color: #aaa;
}

.product-content .text-block {
  position: relative;
  margin: 25px 0;
}

.product-content .text-block:before {
  content: '';
  display: block;
  border-top: 2px solid var(--color-6);
  width: 200px;
  height: 1px;
  margin-bottom: 20px;
}

.product-content .text-block:after {
  content: '';
  display: block;
  border-top: 2px solid var(--color-6);
  width: 200px;
  height: 1px;
  margin-top: 20px;
}

.attribute-table {
  background: var(--color-4);
  border-radius: 5px;
}

.attribute-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.attribute-row+.attribute-row {
  border-top: 3px solid #F6F6F6;
}

.attribute-row .name {
  width: 50%;
  font-weight: bold;
  text-align: center;
  border-right: 3px solid #F6F6F6;
  padding: 10px 15px;
}

.attribute-row .value {
  width: 50%;
  text-align: center;
  padding: 10px 15px;
}

.product-content .price-row {
  display: flex;
  border-radius: 5px;
  background: var(--color-5);
  margin-top: 20px;
  padding: 13px;
}

.product-content .price-row .price {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.product-content .price-row .js-order {
  background: #fff;
  width: 50%;
  border-radius: 5px;
  padding: 10px 40px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  transition: .3s;
}

.product-content .price-row .js-order:hover {
  background: var(--color-1);
  color: #fff;
}

/* прайс
--------------------*/
.price-item {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #3f4246;
}

.price-item:first-child {
  margin-top: 0;
  border-top: 1px solid #3f4246;
}

.price-item .thumbnail {
  flex-shrink: 0;
  width: 100px;
  margin-left: 30px;
}

.price-item .thumbnail img {
  border-radius: 5px;
}

.price-item .content {
  flex-grow: 1;
}

.price-item .title {
  position: relative;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  padding-bottom: 5px;
  transition: .3s;
}

.price-item .title:before {
  content: '';
  position: absolute;
  background: var(--color-6);
  width: 40px;
  height: 1px;
  bottom: 0;
  left: 0;
  transition: .3s;
}

.price-item .сat_name {
  font-size: 12px;
  text-transform: uppercase;
}

.price-item .price {
  flex-shrink: 0;
  width: 150px;
  font-size: 26px;
  font-weight: 600;
}

.price-item:hover .title {
  color: #5d73ad;
}

.price-item:hover .title:before {
  width: 60px;
}

/* акции
--------------------*/
.actia-block {
  margin-bottom: 32px;
}

.actia-block .wp-block-column {
  position: relative;
  background: #fff;
  border-radius: 5px;
  padding: 0 30px 50px;
}

.actia-block .wp-block-image {
  margin: 0 -30px;
}

.actia-block img {
  border-radius: 5px;
}

.actia-block h3 {
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

.actia-block h3:before {
  content: '';
  position: absolute;
  background: var(--color-6);
  width: 40px;
  height: 1px;
  bottom: 0;
  left: 0;
  transition: .3s;
}

.actia-block .date {
  position: absolute;
  background: var(--color-1);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  bottom: 20px;
  right: 0;
  padding: 5px 20px;
}

/* контакты
--------------------*/
.contact-block .wp-block-column {
  position: relative;
  background: #fff;
  border-radius: 5px;
  padding: 30px;
}

.contact-block h3 {
  margin: 0 0 20px;
}

.green-block-2 {
  background: var(--color-2);
  margin: 80px -400px 0;
  padding: 60px 400px 170px;
}

.green-block-2 h2 {
  color: #fff;
  margin: 0;
}

.form-block {
  background: #fff;
  border-radius: 5px;
  margin-top: -140px;
  padding: 50px;
}

.form-block .input-row p {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.form-block .input-row p span {
  width: 33.33%;
}

.form-block .input-row .input_your {
  margin-bottom: 0;
}

.form-block input[type="submit"] {
  height: 40px;
  width: calc(33.33% - 20px);
  padding: 0 20px;
  margin: auto;
}

/* строительным организациям
--------------------*/
.offer-block .wp-block-column:first-child img {
  border-radius: 5px;
}

/* footer
--------------------*/
.footer-top {
  display: flex;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 80px;
  border-top: 1px solid #3f4246;
}

.footer-contact {
  width: 33.33%;
}

.footer-contact a {
  position: relative;
  display: block;
  width: max-content;
  line-height: 1.1;
  padding-left: 25px;
  margin: 15px 0;
  border-bottom: 1px solid transparent;
  transition: .3s;
}

.footer-contact a:before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.footer-contact .phone:before {
  width: 18px;
  height: 18px;
  background: url(images/phone.svg) center no-repeat;
  background-size: cover;
}

.footer-contact .email:before {
  background: url(images/mail.svg) center no-repeat;
  background-size: cover;
}

.footer-contact .telegram:before {
  background: url(images/telegram-2.svg) center no-repeat;
  background-size: cover;
}

.footer-col {
  width: 33.33%;
  border-left: 1px solid #3f4246;
  padding-left: 50px;
  margin-left: 50px;
}

.footer-col a {
  display: block;
  width: max-content;
  margin: 15px 0;
  line-height: 1;
  border-bottom: 1px solid transparent;
  transition: .3s;
}

.footer-contact a:hover,
.footer-col a:hover {
  border-color: #3f4246;
}

.footer-bottom {
  background: var(--color-1);
  color: #fff;
  text-align: center;
  padding: 12px 0;
}

.footer-bottom p {
  font-size: 12px;
  opacity: .7;
}

/* Модальные окна
--------------------*/
.popup_modal {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  -webkit-overflow-scrolling: touch;
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
}

.win_modal {
  position: absolute;
  background: #fff;
  width: 450px;
  margin-top: -200px;
  display: none;
  opacity: 0;
  border-radius: 5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
}

.win_modal .title {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
}

.variant p {
  position: relative;
  font-size: 14px;
  padding-left: 50px;
  margin-bottom: 15px;
}

.variant p a {
  color: var(--color-3);
  text-decoration: underline;
  transition: .3s;
}

.variant p a:hover {
  color: var(--color-6);
}

.variant p span {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-6);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  padding-top: 2px;
  left: -12px;
  top: -2px;
}

.variant p span:before {
  content: '';
  position: absolute;
  background: var(--color-6);
  width: 25px;
  height: 2px;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

.input_your {
  width: 100%;
  height: 40px;
  background: #F6F6F6;
  border: 1px solid #F6F6F6;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px 20px;
}

textarea.input_your {
  font-size: 16px;
  height: 80px;
}

input[type="submit"] {
  display: block;
  background-image: linear-gradient(to right, var(--color-3) 0%, var(--color-1) 51%, var(--color-3) 100%);
  width: auto;
  background-size: 200% auto;
  border-radius: 5px;
  font-size: 16px;
  color: #fff;
  border: 0;
  outline: 0;
  padding: 13px 20px;
  cursor: pointer;
  transition: .5s;
}

input[type="submit"]:hover {
  background-position: right center;
}

.close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 15px;
  right: 20px;
  cursor: pointer;
}

.close:before,
.close:after {
  content: '';
  width: 100%;
  height: 2px;
  background: var(--color-3);
  position: absolute;
  top: 49%;
  left: 25%;
  transform: rotate(45deg);
  transition: all 0.3s;
}

.close:after {
  transform: rotate(-45deg);
  transition: all 0.3s;
}

.wpcf7-spinner,
.wpcf7 .ajax-loader,
.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7-not-valid {
  border: 1px solid red !important;
}

.wpcf7-response-output {
  position: fixed;
  width: max-content;
  max-width: 100%;
  text-align: center;
  padding: 50px !important;
  background: var(--color-1);
  color: #fff;
  border: 0 !important;
  top: 20px;
  left: 50%;
  z-index: 9999;
  margin: 0 !important;
  transform: translateX(-50%);
}

/* 404
--------------------*/
.page-not-found {
  text-align: center;
  margin-top: 40px;
}

.page-not-found h2 {
  font-size: 30px;
  margin: 30px 0 10px;
}

.page-not-found p {
  margin-bottom: 40px;
}

.page-not-found .btn {
  display: block;
  background-image: linear-gradient(to right, var(--color-3) 0%, var(--color-1) 51%, var(--color-3) 100%);
  width: max-content;
  background-size: 200% auto;
  border-radius: 5px;
  color: #fff;
  padding: 13px 20px;
  margin: auto;
  transition: .5s;
}

.page-not-found .btn:hover {
  background-position: right center;
}