:root {
  --font-family: "Evolventa", Arial, sans-serif;

  --color-primary: #f28b0c;
  --color-secondary: #88bf59;

  --container-width: 1291px;
  --container-padding: 15px;

  --font-family: "Evolventa", sans-serif;
  --second-family: "Inter", sans-serif;

  --dark-grey-biozaryad: #4a4a4a;
  --white-biozaryad: #fff;
  --medium-grey-biozaryad: #6e6e6e;
  --green-biozaryad: #87a617;
  --orange-biozaryad: #f28b0c;
  --light-grey-biozaryad: #9c9c9c;
  --extra-light-grey-bizaryad: #c4c4c4;

  --section-margin: clamp(5rem, 4.327rem + 2.56vw, 6.25rem);
  --header-height: 0px;
}

html {
  scroll-behavior: smooth;
}

.btn {
  border-radius: 5px 5px 5px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 30px;
  font-size: 15px;
  font-weight: 700;
  /*line-height: 1;*/
  text-decoration: none;
  min-height: 60px;
  text-align: center;

  border: none;
  background: #9c9c9c;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.btn--secondary {
  background: var(--green-biozaryad);
  color: #fff;
}

.btn--secondary:hover {
  background: #98da5e;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  text-transform: uppercase;
}

.btn--primary:hover {
  background-color: #fda233;
}

.btn--border {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  text-decoration: none;
}

.buy__btn {
  margin-top: 30px;
  width: 420px;
  max-width: 100%;
}

.btn--gray {
  background: #d3d3d3;
  line-height: 1;
}

.btn-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.btn-more .btn {
  width: 260px;
}

.arrow-circle {
  margin-left: 12px;
  border-radius: 100%;
  background-color: #fff;
  width: 29px;
  height: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.list {
  padding: 0;
  margin: 0;
  list-style: none;
}

#page {
  position: relative;
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

/* Универсальное правило для всех элементов */
* {
  /* Синяя подсветка сливается с фоном */
  -webkit-tap-highlight-color: transparent;
  /* Предотвращаем появление контекстного меню на устройствах Apple */
  -webkit-touch-callout: none;
}

* {
  outline: none;
}

*:focus,
*:active,
*:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

main {
  flex: 1;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

body.admin-bar #page {
  min-height: calc(100dvh - 32px);
}

button:focus,
button:active,
a:focus,
a:active,
input:focus,
input:active,
textarea:focus,
textarea:active,
select:focus,
select:active {
  outline: none !important;
  box-shadow: none !important;
}

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

.section {
  margin: var(--section-margin) 0;
}

.list-reset {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}

.container {
  max-width: calc(
    var(--container-width) + var(--container-padding) * 2
  ) !important;
  width: 100%;

  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.preview-image {
  padding-top: 75px;
  background-image: url(../images/main-page/hero/hero-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 55px;
  padding-bottom: 75px;
}

.preview-image-post__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.breadcrumbs-wrap-post {
  position: relative;
  z-index: 1;

  max-width: 100%;
  overflow-x: auto;
}

#breadcrumbs {
  margin: 0;
  margin-top: 15px;
  text-wrap: nowrap;
}

#breadcrumbs span a,
#breadcrumbs > span,
#breadcrumbs > span > span,
#breadcrumbs .breadcrumb_last,
a.breadcrumb,
#breadcrumbs {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

#breadcrumbs .breadcrumb_last {
  color: var(--green-biozaryad);
}

#breadcrumbs span a:hover,
a.breadcrumb:hover {
  text-decoration: underline;
  /*color: var(--white-biozaryad);*/
}

span.breadcrumb_last {
  opacity: 1 !important;
}

.preview-image__title {
  position: relative;
  z-index: 1;

  font-weight: 700;
  font-size: clamp(1.625rem, 1.087rem + 2.05vw, 2.625rem);
  margin: 0;
  padding: 0;
  line-height: 130%;
  color: #88bf59;
}

.content {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: var(--text-size);
  line-height: 140%;
  color: var(--black-exclusive-watch);
}

.content a {
  font-size: var(--text-size);
  font-family: var(--font-family);
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.content p {
  padding: 0;
  margin: clamp(0.875rem, 0.761rem + 0.48vw, 1.125rem) 0;
}

.content-wrap > *:first-child {
  margin-top: 0;
  padding-top: 0;
}

.content-wrap > *:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.content br::after {
  content: "";
  display: block !important;
  height: 12px !important;
}

.content br::before {
  content: "";
  display: block !important;
  height: 12px !important;
}

.content p:empty {
  display: none;
}

.content-wrap {
  max-width: 1040px;
}

.content-wrap .content-wrap .wp-block-cover__inner-container {
  max-width: 1040px !important;
}

.content .wp-block-list {
  margin: 0;
  padding-left: 30px;
}

.content .wp-block-list ul {
  margin-top: 12px;
}

.content .wp-block-list li:not(:last-child) {
  margin-bottom: 10px;
}

.full-width-block {
  margin: clamp(2.813rem, 2.656rem + 0.63vw, 3.125rem) 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: clamp(3.75rem, 3.466rem + 1.21vw, 4.375rem) 0;
  background: var(--beige-exclusive-watch);
}

.wp-block-image img {
  display: block;
}

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

.size-full img {
  width: 100%;
}

.single-post .wp-block-cover {
  min-height: fit-content;
}

.single-post .wp-block-cover .wp-block-heading:first-child {
  margin-top: 0;
}

.full-width-block .wp-block-cover__inner-container {
  box-sizing: border-box;
  padding: 0 15px;
  margin: 0 auto;
  max-width: calc(1216px + 30px);
  width: 100%;
}

.margin-top-reset {
  margin-top: 0 !important;
}

.content h2 {
  margin: clamp(2.188rem, 2.045rem + 0.61vw, 2.5rem) 0
    clamp(0.875rem, 0.705rem + 0.73vw, 1.25rem);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.042rem + 1.11vw, 1.875rem);
  line-height: 125%;
  color: var(--black-exclusive-watch);
}

.content h3 {
  margin: clamp(1.563rem, 1.406rem + 0.63vw, 1.875rem) 0 12px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: var(--black-exclusive-watch);
}

.important-text {
  font-weight: 700;
  font-size: clamp(1.125rem, 0.875rem + 1vw, 1.625rem);
  line-height: 140%;
}

/* footer */
.site-footer {
  position: relative;
  padding: 15px 0 35px;
  margin-top: var(--section-margin);
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

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

.footer-bottom__copyright-text {
  padding: 0;
  margin: 0;
}

.footer-bottom__copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 15px;
  line-height: 140%;
  color: var(--white-biozaryad);
}

.footer-bottom__copyright a {
  color: var(--white-biozaryad);
  text-decoration: none;
}

.footer-bottom__copyright-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
}

.footer-top__social {
  display: flex;
  flex-direction: column;
  margin-right: 10%;
}

.footer-top__logo {
  max-width: 259px;
  margin-bottom: 17px;
  margin-left: -22px;
  display: block;
}

.footer-top__social-links {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.footer-top__social-info {
  font-size: 18px;
  line-height: 140%;
  color: var(--white-biozaryad);
  margin-bottom: 12px;
}

.footer-top__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 19px;
  border-radius: 8px;
  height: 46px;
  background: var(--white-biozaryad);
  text-decoration: none !important;
}

.footer-top__social-link:not(:last-child) {
  margin-bottom: 8px;
}

.footer-top__social-link img {
  border-radius: 100%;
  padding: 4px;
  border: 1px solid var(--extra-light-grey-bizaryad);
}

.footer-top__social-link__text {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--dark-grey-biozaryad);
}

.footer-top-menu__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-top-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  margin-right: 12.3355%;
}

.footer-top-menu__title {
  margin-bottom: 4px;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  color: var(--white-biozaryad);
  display: block;
}

.footer-top-menu__list {
  display: flex;

  flex-direction: column;
  gap: 6px;
}

.footer-top-menu__link {
  display: block;
  font-size: 18px;
  color: var(--white-biozaryad);
  text-decoration: none;
}

.footer-tg {
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 8px 20px;
  width: 100%;
  background: var(--white-biozaryad);
  height: 46px;

  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  color: #168dc9;
}

.footer-tg__text {
  line-height: 1;
}

.footer-top_about__list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
}

.footer-top_about__link {
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  color: var(--white-biozaryad);
  text-decoration: none;
}

.footer-top_about {
  display: flex;
  flex-direction: column;
}

.footer-top-menu,
.footer-top_about {
  padding-top: 20px;
}

.footer-top_about__social {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.footer-top_about__social-link-text,
.footer-top_about__social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.footer-top_about__social {
  flex: 1;
}

.footer-top_about__social-link-text {
  grid-column: span 2;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--white-biozaryad);
  border: 1px solid var(--white-biozaryad);
  text-decoration: none;
  padding: 20px 10px;
  height: fit-content;
  background: radial-gradient(
    137.02% 146.96% at -10.38% 17.97%,
    #41b4f2 0%,
    #f28b0c 55.52%,
    #87a617 93.91%
  );
}

/* new-footer */
.new-footer {
  border-top: 1px solid #e5e5e5;
  padding: 40px 0;
  background-color: #fafafa;
}

.new-footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.new-footer__row:not(:last-child) {
  margin-bottom: 10px;
}

.new-footer__link img {
  width: 160px;
}

.new-footer__list {
  display: flex;
  gap: 25px;
}

.new-footer__link {
  color: #5e5f5e;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

.new-footer__list-pay {
  display: flex;
  gap: 15px;
  align-items: center;
}

.new-footer__icon-pay {
  max-height: 100px;
}

.new-footer__icon-pay:nth-child(2) {
  height: 30px;
}

.new-footer__icon-pay:nth-child(3) {
  height: 20px;
}

.new-footer__req-text {
  color: #5e5f5e;
  font-size: 12px;
}

.new-footer__tg-tag {
  color: #2ca4e0;
  font-weight: 700;
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid #2ca4e0;
  border-radius: 4px;

  transition: all 0.25s linear;
}

.new-footer__tg-tag:hover {
  background-color: #2ca4e0;
  color: #ffff;
}

.new-footer__tg-btn {
  color: #f28b0c;
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid #f28b0c;
  border-radius: 4px;

  transition: all 0.25s linear;
}

.new-footer__tg-btn:hover {
  color: #6da52f;
  border-color: #6da52f;
}

.new-footer__req {
  display: flex;
  align-items: center;
  gap: 30px;
}

.new-footer__icon {
  height: 28px;
  padding: 8px;
  background-color: #f5f5f7;
}

.new-footer__tg-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  padding: 2px;
  padding-right: 15px;
  height: 32px;
}

.new-footer__tg-tag {
  display: flex;
  align-items: center;
  height: 32px;
}

.new-footer__row-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.new-footer__copyright-text,
.new-footer__privacy-policy,
.new-footer__cookie-policy {
  padding: 0;
  margin: 0;
  color: #5e5f5e;
  font-size: 12px;
}

.new-footer__copyright-links {
  display: flex;
  gap: 10px 40px;
  align-items: center;
  flex-wrap: wrap;
}

/* Баннер согласия на cookie */
html.cookie-banner-hide #cookie-banner {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 15px;
  bottom: 15px;
  z-index: 10050;
  padding: 16px;
  border-radius: 10px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e5e5e5;
  max-width: 400px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.cookie-banner__inner {
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.cookie-banner__text {
  margin: 0;
  font-family: var(--second-family);
  font-size: 14px;
  line-height: 1.5;
  color: var(--dark-grey-biozaryad);
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.cookie-banner__policy {
  font-family: var(--second-family);
  font-size: 14px;
  line-height: 1.4;
  color: var(--green-biozaryad);
  text-decoration: underline;
  text-align: center;
}

.cookie-banner__policy:hover {
  color: var(--orange-biozaryad);
}

.cookie-banner__accept {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
}

@media (min-width: 768px) {
  .cookie-banner__text {
    flex: 1;
  }

  .cookie-banner__actions {
    flex-direction: row;
    flex-shrink: 0;
    align-items: center;
    gap: 20px;
  }

  .cookie-banner__policy {
    text-align: left;
    text-decoration: none;
  }

  .cookie-banner__policy:hover {
    text-decoration: underline;
  }

  .cookie-banner__accept {
    width: 100%;
    min-width: 160px;
  }
}

/* header */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 35px;
}

.menu-toggle__line {
  background-color: #000;
}

.menu-nav__list {
  display: flex;
  gap: 40px;
}

.menu-nav__link {
  color: #181818;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.header {
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #ffffff99;
  backdrop-filter: blur(5px);
}

/* Бургер-кнопка */
.menu-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  transition: all 0.3s ease;
}

.menu-burger__line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-burger.active .menu-burger__line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-burger.active .menu-burger__line:nth-child(2) {
  opacity: 0;
}

.menu-burger.active .menu-burger__line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.header__list-sub::after {
  content: "";
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: -1;
}

@media (min-width: 1140px) {
  @media (hover: hover) {
    .menu-item:hover > a {
      color: var(--green-biozaryad);
    }
  }

  /* Скрываем подменю по умолчанию */
  .main-navigation ul.sub-menu {
    position: absolute;
    top: calc(100% + 16px);
    top: 100%;
    left: 0;
    transform: translateX(-50%);
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.3s ease;

    border-radius: 5px;
    padding: 0;
    /*box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);*/
    background: #fff;
    width: 210px;
    /*padding-right: 25px;*/
    flex-direction: column;
    background-color: rgb(245, 245, 247);

    align-items: flex-start;
  }

  .main-navigation ul.sub-menu a {
    padding: 15px;
  }

  #primary-menu > li {
    padding: 10px 0;
  }

  ul.sub-menu li:hover {
    background: var(--light-purple);
  }

  /* Подменю внутри подменю (3-й уровень) */
  ul.sub-menu .sub-menu {
    position: absolute;
    top: -0;
    right: calc(-210px - 5px);
    min-width: 210px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    flex-direction: column;
    left: unset;
    bottom: unset;
    align-items: flex-start;
  }

  ul.sub-menu .sub-menu::after {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    width: 15px;
    height: 100%;
    z-index: -1;
  }

  /* Показываем подменю при наведении */
  ul.sub-menu .sub-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0px);
  }

  /* Показываем подменю при наведении */
  .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0px);
  }

  .main-navigation li.menu-item-has-children > a {
    display: flex;
    /*height: 24px;*/
    align-items: flex-end;
    position: relative;
  }

  .main-navigation li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: -25px;
    top: -3px;
    display: block;
    height: 20px;
    width: 24px;
    background-image: url("../icon/menu-arrow.svg");
    background-position: center center;
    background-repeat: no-repeat;

    transition: all 0.15s linear;
  }

  .menu-item-has-children {
    width: 100%;
  }

  .main-navigation li.menu-item-has-children > a::after {
    transform: rotate(0deg);
    display: block;
    margin-left: auto;
    position: relative;
    right: 0;
    top: 0;

    /*display: none;*/
  }

  .main-navigation .sub-menu li.menu-item-has-children > a::after {
    transform: rotate(-90deg) !important;
    margin: 0;
  }

  .main-navigation li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
  }

  /* Делаем позицию родителя относительной, чтобы меню позиционировалось внутри */
  .menu-item-has-children {
    position: relative;
  }

  .main-navigation .sub-menu a {
    /*font-size: 13px;*/
    font-weight: 400;
    text-transform: unset;
    color: #000;
  }
}

/* Корректируем выравнивание ссылок в подменю */
.sub-menu a {
  text-align: left;
  padding: 0;
  white-space: nowrap;
  width: 100%;
  display: block;
  text-wrap: wrap;
}

/* Сайдбар меню */
.menu-sidebar__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 999;
}

.menu-sidebar__overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  z-index: 1000;
  transition: right 0.3s ease;
}

.menu-sidebar.active {
  right: 0;
}

.menu-sidebar__content {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 80px 30px 30px;
  overflow-y: auto;
  z-index: 1001;
}

.menu-sidebar__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.menu-sidebar__close-line {
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #181818;
  border-radius: 2px;
}

.menu-sidebar__close-line:nth-child(1) {
  transform: rotate(45deg);
}

.menu-sidebar__close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.menu-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-sidebar__link {
  color: #181818;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.menu-sidebar__link:hover {
  color: var(--color-primary);
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
  .menu-burger {
    display: flex;
  }

  .menu {
    display: none;
  }
}

/* header */
.admin-bar .site-header {
  /*padding-top: 32px;*/
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.6);
}

.site-logo {
  z-index: 11;
}

.site-logo {
  margin-left: -22px;
}

.site-logo__img {
  display: block;
  height: auto;
  /*max-width: 200px;*/
}

.site-header__container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
  padding-top: 5px;
}

.main-navigation {
  position: relative;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  position: relative;
}

.menu-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.menu-toggle__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.logo__img {
  max-width: 200px;
  display: block;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-navigation.toggled .menu-overlay {
  display: block;
  opacity: 1;
}

.menu-wrapper {
  position: static;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  gap: 20px;

  padding: 13px 0;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  font-size: 15px;
  font-weight: 700;
  color: #181818;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

@media (min-width: 1140px) {
  @media (hover: hover) {
    .menu-item:hover > a {
      color: var(--green-biozaryad);
    }
  }

  .main-navigation ul {
    gap: 40px;
  }
}

.main-navigation a {
  /*padding-top: 5px;*/
}

.main-previe-page__title {
  margin: 0;
  font-weight: 700;
  font-size: 42px;
  line-height: 130%;
  text-transform: uppercase;
  color: #88bf59;
}

.main-previe-page__container {
  display: flex;
  align-items: flex-start;
  /*margin: 55px 0 75px;*/
  margin-top: 55px;
  margin-bottom: 75px;
  gap: 88px;
}

/* Кнопка закрытия меню */
.menu-close {
  display: none;
}

.articles-list {
  display: grid;
  /* auto-fill, а не auto-fit: auto-fit схлопывает пустые колонки, и одна
     запись в листинге растягивалась на всю ширину. auto-fill сохраняет
     сетку, поэтому карточка всегда занимает ровно одну колонку. */
  grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
  gap: 30px;

  list-style: none;
  padding: 0;
  margin: 0;
}

.listing-articles__meta-info {
  display: flex;
  align-items: center;
  line-height: 1;
  gap: 10px;
}

.list-post__title {
  display: block;
  margin: 25px 0 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  color: #302b23;
}

.list-post__text {
  font-size: 16px;
  line-height: 130%;
  color: #636363;
  flex: 1;
}

.listing-articles__date {
  font-weight: 400;
  font-size: 15px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--tekst-osnovnoy);
}

.post-views-count {
  font-size: 15px;
}

.articles-list__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.articles-list__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rating-articles__counter,
.articles__card-time {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.rating-articles__counter,
.articles__card-time,
.articles__card-big-date {
  font-size: 14px;
  color: #9e9e9e;
}

.articles__card-big-row {
  margin-top: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
}

.wp-post-image {
  display: block;
  width: 100%;
  height: clamp(9.375rem, 7.019rem + 8.97vw, 13.75rem);
  object-fit: cover;
  border-radius: 12px;
}

.articles-list__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.articles-list__item {
  display: flex;
}

.articles-list__card {
  /*background: var(--orange-biozaryad);*/
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: 12px;
  padding: 15px;

  transition: all 0.3s ease;
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.articles-list__card:hover {
  background-color: #f5f5f7;
  transform: translateY(-5px);
}

/* Ссылка растягивается на всю карточку: клик в любом месте ведёт к записи,
   но ссылки меток лежат выше по z-index и остаются кликабельными. */
.articles-list__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

.articles-list__tags,
.post-tags {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;

  list-style: none;
  padding: 0;
}

.articles-list__tags {
  position: relative;
  z-index: 1;
  margin: 15px 0 0;
}

.post-tags {
  margin: 20px 0 0;
}

.post-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--orange-biozaryad);
  text-decoration: none;

  background-color: rgba(242, 139, 12, 0.1);
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 1;
  /* Та же компенсация метрик Evolventa, что и у .blog-tags__link:
     нижний отступ меньше верхнего на 0.2 × font-size. */
  padding: 7px 8px 5px;
  transition: all 0.3s ease;
}

.post-tag:hover {
  border-color: var(--orange-biozaryad);
  background-color: rgba(242, 139, 12, 0.2);
}

.articles-list__href-read {
  margin-top: 32px;
  display: block;
  font-size: 18px;
  line-height: 130%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--white-biozaryad);
}

.header-post-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.post-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.post-meta-list__item {
  display: flex;
  gap: 10px;
}

.post-meta-list__item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-meta-list__item-value {
  font-size: 15px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: #3a3a3a;
}

.post-meta-list__item-text {
  font-size: 10px;
  line-height: 130%;
  color: #7c7c7c;
}

.social-share__items {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  margin-top: 0;
}

.social-share__item {
  position: relative;
  background-color: #fff;
  display: block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: background-color 0.3s ease-in-out;
  width: 36px;
  height: 36px;
  border-radius: 100px;
  margin-right: 10px;
}

.social-share__item:hover {
  background-color: #006624;
}

.post-meta__right {
  display: flex;
  align-items: center;
}

.social-share__item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  /* background: transparent no-repeat center center; */
  background-size: 100% 100%;
}

.social-share__item_Whatsapp::before {
  background: url("../icon/social-share/wa.svg") no-repeat center;
}

.social-share__item_Whatsapp:hover::before {
  background: url("../icon/social-share/wa-light.svg") no-repeat center;
}

.social-share__item_Whatsapp:hover {
  background-color: #40c351;
}

.social-share__item_ok::before {
  background: url("../icon/social-share/ok.svg") no-repeat center;
}

.social-share__item_ok:hover::before {
  background: url("../icon/social-share/ok-light.svg") no-repeat center;
}

.social-share__item_ok:hover {
  background-color: #ff7700;
}

.social-share__item_vk::before {
  background: url("../icon/social-share/vk.svg") no-repeat center;
}

.social-share__item_vk:hover::before {
  background: url("../icon/social-share/vk-light.svg") no-repeat center;
}

.social-share__item_vk:hover {
  background-color: #0077ff;
}

.social-share__item_telegram::before {
  background: url("../icon/social-share/telegram.svg") no-repeat center;
}

.social-share__item_telegram:hover::before {
  background: url("../icon/social-share/telegram-light.svg") no-repeat center;
}

.social-share__item_telegram:hover {
  background-color: #29b6f6;
}

.pc-hidden {
  display: none !important;
}

.section-title {
  color: var(--color-secondary);
  font-size: clamp(1.25rem, 0.875rem + 1.5vw, 2rem);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 30px;
}

.section-title-subtitle {
  display: block;
  margin-bottom: 20px;
  color: #323232;
  line-height: 1.65;
  font-size: 18px;
}

/* Стили для подложки */
.overlay {
  /* Скрываем подложку  */
  opacity: 0;
  visibility: hidden;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgb(162 162 162 / 70%);
  z-index: 99;
  transition: 0.3s all;
}

/* Стили для модальных окон */
.modal {
  /* Скрываем окна  */
  opacity: 0;
  visibility: hidden;

  /*  Установаем ширину окна  */
  width: 90%;
  max-width: 958px;
  max-height: 90%;
  height: auto;

  /* Содержимое выше окна прокручивается внутри самого окна.
     overscroll-behavior не даёт прокрутке «протечь» на страницу под модалкой,
     когда список домотан до конца. */
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  /*  Центрируем и задаем z-index */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  /* Должен быть выше чем у подложки*/

  /*  Побочные стили   */
  /*text-align: center;*/
  padding: 30px;
  /* border-radius: 10px; */
  border-radius: 20px;
  background: #fff;
  transition: 0.3s all;
}

.modal-order__wrap {
  /*max-width: 900px;*/
  margin: auto;
}

/* Стили для активных классов подложки и окна */
.modal.active,
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Пока открыто модальное окно, страница под ним не прокручивается —
   иначе свайп внутри окна уводит страницу, а не содержимое модалки. */
body.modal-open {
  overflow: hidden;
}

/* Стили для кнопки закрытия */
.js-modal-close {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 20px;
}

.modal__cross {
  width: 12px;
  height: 12px;
}

.modal__cross path {
  stroke: #000;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-products__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 20px;
}

.grid-products__img {
  display: block;
  object-position: center right;
  object-fit: contain;
  max-width: 100%;
  aspect-ratio: 1/1;
  width: auto;
}

.grid-products__image-content,
.grid-products__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.grid-products__image-content {
  align-items: flex-end;
}

.grid-products__info-cup {
  font-size: 15px;
  opacity: 0.75;
}

.grid-products__body {
  gap: 10px;
  text-align: center;
}

.grid-products__name {
  display: flex;
  gap: 5px;
  align-items: center;
}

.grid-products__price {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.grid-products__btn {
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  outline: unset;
  background-color: transparent;
  border-radius: 5px 5px 5px 5px;
  padding: 12px 20px;
  border: 1px solid #000;

  transition: all 0.25s linear;
}

.grid-products__item--orange .grid-products__name,
.grid-products__item--orange .grid-products__price,
.grid-products__item--orange .grid-products__btn {
  color: var(--color-primary);
}

.grid-products__item--orange .grid-products__btn:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.grid-products__item--orange .grid-products__btn {
  border-color: var(--color-primary);
}

.grid-products__item--apple .grid-products__name,
.grid-products__item--apple .grid-products__price,
.grid-products__item--apple .grid-products__btn {
  color: var(--color-secondary);
}

.grid-products__item--apple .grid-products__btn {
  border-color: var(--color-secondary);
}

.grid-products__item--apple .grid-products__btn:hover {
  background-color: var(--color-secondary);
  color: #fff;
}

/* Модальное окно товара с вариациями (БИОЗАРЯД работает) */
.product-variant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
}

.product-variant__image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-variant__image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

.product-variant__portions {
  padding-top: 5px;
  color: #9c9c9c;
  font-size: 15px;
}

.product-variant__delivery-note {
  font-size: 10px;
  text-align: center;
  color: #9c9c9c;
  margin-top: 6px;
}

.product-variant__body {
  display: flex;
  flex-direction: column;
}

.product-variant__title {
  margin-top: 0;
  color: #323232;
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 40px;
}

.product-variant__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.product-variant__label {
  color: #9c9c9c;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 15px;
}

.product-variant__toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-variant__toggle--qty {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-variant__toggle--qty .product-variant__btn {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.product-variant__btn {
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  background: #fff;
  color: #9c9c9c;
  border: 1px solid #9c9c9c;
  border-radius: 5px;
  padding: 10px 25px;
  transition:
    border-color 0.2s,
    color 0.2s,
    background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-variant__btn:hover {
  border-color: #b9b4a7;
}

.product-variant__btn-icon {
  width: 18px;
  height: 18px;
}

.product-variant__btn--qty.is-active {
  color: #4a4a4a;
  border-color: var(--color-primary);
  /*color: var(--color-primary);*/
}

.product-variant--apple .product-variant__btn--qty.is-active {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.product-variant__btn--flavor.is-active.product-variant__btn--orange {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.product-variant__btn--flavor.is-active.product-variant__btn--apple {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.product-variant__prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-variant__price-cell {
  font-size: 18px;
  font-weight: 400;
  color: #302b23;
  padding-top: 12px;
  text-align: center;
}

.product-variant__price-cell.is-active {
  color: var(--color-primary);
  opacity: 1;
}

.product-variant--apple .product-variant__price-cell.is-active {
  color: var(--color-secondary);
}

.product-variant__current-price {
  font-size: 45px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-top: 25px;
  margin-bottom: 10px;
}

.product-variant__footer {
  width: fit-content;
  text-align: center;
}

.product-variant--apple .product-variant__current-price {
  color: var(--color-secondary);
}

.product-variant__buy-btn {
  cursor: pointer;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  padding: 14px 26px;
  transition:
    background-color 0.2s,
    color 0.2s;
  text-transform: none;
}

.product-variant__buy-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.product-variant--apple .product-variant__buy-btn {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.product-variant--apple .product-variant__buy-btn:hover {
  background: var(--color-secondary);
  color: #fff;
}

@media (max-width: 768px) {
  .product-variant {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-variant__image {
    max-height: 190px;
  }
  .product-variant__title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
  }
  .product-variant__current-price {
    font-size: 28px;
  }
  .product-variant__btn {
    padding: 10px 14px;
    font-size: 14px;
  }
  .product-variant__price-cell {
    padding: 6px 14px;
    min-width: 56px;
    font-size: 14px;
  }

  .product-variant__footer {
    width: 100%;
    text-align: center;
  }

  .product-variant__buy-btn {
    width: 100%;
  }

  .product-variant {
    height: 100%;
  }

  .product-variant__group {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .product-variant__toggle--qty,
  .product-variant__prices {
    gap: 6px;
  }
  .product-variant__toggle--qty .product-variant__btn {
    padding: 10px 4px;
  }
  .product-variant__price-cell {
    padding: 4px 2px;
    font-size: 13px;
  }
}

/* Toast-уведомления при добавлении в корзину (внизу в углу) */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.toast-container > * {
  pointer-events: auto;
}

.toast {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 20px;
  padding-right: 40px;
  background: #fff;
  border-radius: 0px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.toast.toast-show {
  opacity: 1;
  transform: translateY(0);
}

.toast.toast-hide {
  opacity: 0;
  transform: translateY(100%);
}

.toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: currentColor;
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 600;
  font-size: 15px;
}

.toast-product {
  font-size: 13px;
  color: var(--medium-grey-biozaryad);
  margin-top: 2px;
}

.toast-close {
  position: absolute;
  right: 5px;
  top: 5px;

  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: inherit;
  opacity: 0.6;
}

.toast-close:hover {
  opacity: 1;
}

.toast-success {
  color: var(--green-biozaryad);
  /*border-left: 4px solid var(--green-biozaryad);*/
}

.toast-error {
  color: #c62828;
  border-left: 4px solid #c62828;
}

.toast-info {
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
}

.toast-action {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--green-biozaryad);
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.2s;
}

.toast-action:hover {
  background: #98da5e;
  color: #fff;
}

/* Скрытие WooCommerce notices */
.hide-notice {
  animation: hideNotice 0.3s ease forwards;
}

@keyframes hideNotice {
  to {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }
}

/* Анимация счётчика корзины */
.cart-count-updated {
  animation: cartCountPulse 0.3s ease;
}

@keyframes cartCountPulse {
  50% {
    transform: scale(1.2);
  }
}

.list-contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.list-contacts__item {
  height: 100%;
}

.list-contacts__item-link {
  position: relative;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;

  padding: 40px 25px;
  border-radius: 10px;
  border-radius: 10px;
  background-color: rgb(245, 245, 247);
  transition: all 0.25s linear;
  height: 100%;
}

.list-contacts__item-link:hover {
  background-color: rgb(212, 212, 212);
}

.list-contacts__item:not(:first-child) .list-contacts__item-link::after {
  content: "";
  display: block;
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  z-index: 1;
  padding: 5px;
  background-image: url("../icon/arrow-right.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #fff;
  border-radius: 4px 4px 0 0;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.list-contacts__item:first-child .list-contacts__item-link {
  display: flex;
  gap: 0px;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.list-contacts__item:not(:first-child) .list-contacts__item-link::after {
  background-size: 20px;
}

.list-contacts__item-telegram {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.list-contacts__item-title {
  display: block;
  font-size: 20px;
  color: #6da52f;
  font-weight: 700;
  margin-bottom: 15px;
}

.preview-image__text p {
  font-size: 18px;
  margin: 15px 0;
}

.preview-image__text p:last-child {
  margin-bottom: 0;
}

.preview-image__wrapper {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
}

.preview-image__img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: contain;
}

.advantages-coop {
  display: grid;
  gap: 30px 30px;
  grid-template-columns: repeat(2, 1fr);
}

.advantages-coop__item {
  display: block;
  padding: 30px;
  border-radius: 10px;
  background-color: rgb(245, 245, 247);
  transition: all 0.25s linear;
}

.coomperation-text p {
  font-size: 18px;
  margin: 15px 0;
}

.coomperation-text p:first-child {
  margin-top: 0;
}

.coomperation-text p:last-child {
  margin-bottom: 0;
}

.advantages-coop__item-title {
  display: block;
  color: #88bf59;
  font-weight: 700;
  margin: 10px 0 10px;
  font-size: 22px;
}

.advantages-coop__item-text {
  display: block;
  font-size: 18px;
}

.partners {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 250px 250px;
  gap: 10px;
}

.partners-item {
  position: relative;
  padding: 25px;
  border-radius: 9px;
  grid-column: span 2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;

  gap: 20px;
}

.partners-item::after {
  content: "";
  position: absolute;

  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000078;
  transition: all 0.25s linear;
}

.partners-item:first-child {
  grid-column: span 3;
  background-image: url("../images/cooperation/partners/card-pic-01.jpg");
}

.partners-item:nth-child(2) {
  grid-column: span 3;
  background-image: url("../images/cooperation/partners/card-pic-02.jpg");
}

.partners-item:nth-child(3) {
  background-image: url("../images/cooperation/partners/card-pic-03.jpg");
}

.partners-item:nth-child(4) {
  background-image: url("../images/cooperation/partners/card-pic-04.jpg");
}

.partners-item:nth-child(5) {
  background-image: url("../images/cooperation/partners/card-pic-05.jpg");
}

.partners-item:hover::after {
  background-color: #000000a1;
}

.partners-item {
  cursor: pointer;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.partners-item__title {
  color: #fff;
  font-size: 18px;

  position: relative;
  z-index: 2;
}

.partners-item__icon {
  display: flex;
  background-color: #fff;
  padding: 5px;
  border-radius: 100%;
  width: fit-content;
  aspect-ratio: 1 / 1;

  position: relative;
  z-index: 2;
}

.list-badges {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(4, auto);
}

.list-badges__item img {
  object-fit: contain;
  max-width: 140px;
  max-height: 140px;
  width: 100%;
}

.list-badges__item:first-child img {
  height: 65px;
}

.list-badges__item:nth-child(2) img {
  height: 65px;
}

.coomperation-list {
  margin-top: 30px;
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
}

.coomperation-list__item:first-child {
  max-width: 450px;
}

.coomperation-list__item-href:hover {
  background-color: rgb(212, 212, 212);
}

.coomperation-list__item-href {
  display: block;
  padding: 30px;
  border-radius: 10px;
  background-color: rgb(245, 245, 247);
  transition: all 0.25s linear;
}

.coomperation-list__title {
  display: block;
  display: block;
  margin-bottom: 15px;
  color: #6da52f;
  font-weight: 700;
  font-size: 18px;
}

.coomperation-list__sub-title {
  font-size: 18px;
  font-weight: 700;
}

.about-video-wrapper {
  max-width: 450px;
  margin: 0 auto;
}

.about-video {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.02);
}

.about-list__list {
  display: grid;
  grid-template-columns: max-content 190px auto;
  column-gap: 30px;
  align-items: center;
  row-gap: 20px;
  width: fit-content;
  margin: 0 auto;
}

.about-list__item {
  display: contents;
}

.about-list__item-title {
  color: var(--color-secondary);
  font-size: 23px;
  white-space: nowrap;
  text-align: right;
}

.about-list__item-decor {
  height: 1px;
  width: 100%;
  background-color: #000;
  width: 190px;

  position: relative;
}

.about-list__item-text {
  font-size: 18px;
  color: #323232;
  white-space: nowrap;
}

.about-list__item-text span {
  color: var(--color-primary);
  font-weight: 700;
}

.about-list__item-img {
  display: block;
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%) translateX(100%);
  transition:
    right 0.6s ease,
    transform 0.6s ease;
  opacity: 0;
}

.about-list__item-img--left {
  right: 0;
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

/* Метки блога: фильтр над листингом (archive.php, tag.php) */
.blog-tags {
  margin-bottom: 30px;
}

.blog-tags__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  list-style: none;
  padding: 0;
  margin: 0;
}

/* Нижний padding на 3px меньше верхнего — это не «на глаз»: Chrome берёт
   у Evolventa typo-метрики (asc 0.7998em, desc 0.2002em, в сумме ровно 1em),
   а высота заглавных ~0.8em, поэтому очко строки всегда стоит на 0.1 от
   кегля выше центра строки. При симметричных отступах текст в пилюле
   не отцентрировать в принципе; компенсация = 0.2 × font-size = 3px. */
.blog-tags__link {
  display: inline-block;

  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
  color: var(--dark-grey-biozaryad);
  text-decoration: none;

  padding: 9px 16px 6px;
  border: 1px solid #e3e3e6;
  border-radius: 100px;
  background-color: var(--white-biozaryad);
  transition: all 0.3s ease;
}

.blog-tags__link:hover {
  border-color: var(--orange-biozaryad);
  color: var(--orange-biozaryad);
}

.blog-tags__link.is-active {
  background-color: var(--orange-biozaryad);
  border-color: var(--orange-biozaryad);
  color: var(--white-biozaryad);
}

/* Описание метки над листингом (tag.php) */
.tag-description {
  max-width: 833px;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 150%;
  color: var(--medium-grey-biozaryad);
}

.tag-description p:last-child {
  margin-bottom: 0;
}

/* Blog pagination (archive.php) */
.archive-posts > .navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.archive-posts > .navigation .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 44px;
  height: 44px;
  padding: 0 14px;

  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;

  color: var(--dark-grey-biozaryad);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(74, 74, 74, 0.18);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  backdrop-filter: blur(10px);
}

.archive-posts > .navigation .page-numbers:not(.current):hover,
.archive-posts > .navigation .page-numbers:not(.current):focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 139, 12, 0.6);
  color: var(--orange-biozaryad);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(242, 139, 12, 0.18);
  outline: none;
}

.archive-posts > .navigation .page-numbers.current {
  color: #fff;
  border-color: var(--color-primary);
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--orange-biozaryad)
  );
  box-shadow: 0 18px 38px rgba(242, 139, 12, 0.3);
  position: relative;
}

.archive-posts > .navigation .page-numbers.current::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 2px solid rgba(242, 139, 12, 0.35);
  pointer-events: none;
}

.archive-posts > .navigation .page-numbers.dots {
  min-width: auto;
  height: auto;
  padding: 0 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--medium-grey-biozaryad);
}

.archive-posts > .navigation .page-numbers.prev,
.archive-posts > .navigation .page-numbers.next {
  font-size: 16px;
  padding: 0 12px;
  letter-spacing: 0.02em;
}

/* .details__table */
.details__table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.details__table-head {
  border-radius: 10px;
  padding: 20px;
  background-color: var(--color-primary);
  color: #fff;

  font-weight: 500;
  font-size: 18px;
}

.details__table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-radius: 10px;
  padding: 15px 20px;
  background: #f4f4f4;
}

.details__title {
  color: #000;
  margin: 0 auto;
  margin-bottom: 30px;
  text-align: center;
}

.details__table-row-name {
  font-weight: 400;
  font-size: 18px;

  min-width: 290px;
  padding: 0px 20px 0px 0px;
  border-right: 1px solid #c9c6ca;
}

.details__table-row-value {
  font-weight: 400;
  font-size: 15px;
  color: var(--tekst-osnovnoy);
  word-break: break-word;

  display: block;
  width: 100%;
}

.banner-one {
  padding: 60px 0;
  background-image: url("../images/banner/banner-one-container.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-one__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.banner-btn__accent,
.banner-btn__accent__border {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 23px 35px;
  height: 60px;
  text-align: center;
  justify-content: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 15px;
  border-radius: 5px;
  border: 1px solid transparent;
  flex-grow: 1;

  text-transform: uppercase;
}

.banner-one__btns {
  max-width: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.banner-btn__accent {
  color: #fff;
  border-color: var(--color-orange);
  background: var(--color-orange);
}

.banner-btn__accent__border {
  color: var(--color-orange);
  border-color: var(--color-orange);
  background: #fff;
}

.banner-btn__accent__border:hover,
.banner-btn__accent:hover {
  opacity: 0.8;
  border-color: #f28b0c;
}

.banner-btn__accent {
  width: 420px;
  max-width: 100%;
}

.banner-two {
  padding: 60px 0;
  background-image: url("../images/banner/banner-two.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-two__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px 80px;
}

.banner-two__button {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 23px 35px;
  height: 60px;
  text-align: center;
  justify-content: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 15px;
  border-radius: 5px;
  color: #fff;
  border: 1px solid var(--color-green);
  /*flex-grow: 1;*/
  width: 520px;
  max-width: 100%;

  background: var(--color-green);
}

.banner-two__button:hover {
  background: rgba(135, 166, 23, 0.7);
}

.banner-section {
  padding: 50px 0;
  max-width: 1920px;
  margin: 0 auto;
}

.banner-three {
  padding: 60px 0;
  background-image: url("../images/banner/banner-three.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-three__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.banner-three__button {
  width: 420px;
  flex-grow: 0;
  max-width: 100%;
}

/* Адаптивное меню */
@media (max-width: 1140px) {
  .menu-toggle {
    display: block;
  }

  .menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white-biozaryad);
    z-index: 1100;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 40px 20px 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 30px;
    height: 30px;
  }

  .menu-close__icon {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .menu-close__line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: var(--dark-grey-biozaryad);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .menu-close__line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-close__line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .menu-close:hover .menu-close__line {
    background-color: var(--green-biozaryad);
  }

  .main-navigation.toggled .menu-wrapper {
    right: 0;
  }

  .main-navigation:not(.toggled) .menu-wrapper ul {
    display: none !important;
  }

  .main-navigation a:first-child {
    padding-top: 0;
  }

  .main-navigation a {
    display: block;
    padding: 0px 0;
    color: var(--dark-grey-biozaryad);
    font-size: 15px;
  }

  .main-navigation a:hover {
    color: var(--green-biozaryad);
  }

  body.menu-open {
    overflow: hidden;
  }

  .main-navigation li.menu-item-has-children > a::after {
    display: none;
  }

  .main-navigation li {
    width: 100%;
  }

  .main-navigation li.menu-item-has-children > a {
    color: #000;
  }

  .main-navigation li.menu-item-has-children ul a {
    font-size: 15px;
    opacity: 0.75;
    text-transform: capitalize;
    font-weight: 400;
  }

  .current_page_item > a {
    color: var(--green-biozaryad) !important;
  }

  .main-navigation ul {
    flex-direction: column;
  }

  .main-navigation ul.sub-menu {
    position: relative;
    list-style: unset;
    top: unset;
    left: unset;
    transform: unset;
    padding-left: 0px;
    padding-top: 10px;
  }

  .main-navigation li {
    position: relative;
  }

  #primary-menu > .menu-item-has-children > ul.sub-menu ul.sub-menu {
    padding: 0;
    padding-top: 20px;
    padding-left: 20px;
    list-style-type: none;
  }

  #primary-menu > .menu-item-has-children > ul.sub-menu ul.sub-menu li:before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green-biozaryad);
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
  }

  #primary-menu > .menu-item-has-children > ul.sub-menu {
    margin-top: 20px;
    border-bottom: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
  }

  .grid-products {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-products__img {
    object-position: center center;
    max-width: 160px;
  }

  .grid-products__image-content {
    align-items: center;
  }

  .advantages-coop {
    grid-template-columns: repeat(1, 1fr);
  }

  .partners {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 175px);
  }

  .partners-item:first-child {
    grid-column: span 6;
  }

  .partners-item {
    grid-column: span 3;

    padding: 15px;
  }

  .partners-item__title {
    font-size: 14px;
  }
}

@media (max-width: 1140px) {
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  /*.footer-top_about {
    grid-column: span 1;
  }*/

  .footer-top_about__social-link svg {
    width: 100%;
    height: auto;
  }

  .footer-bottom__copyright {
    flex-wrap: wrap;
    /*justify-content: center;*/
    row-gap: 10px;
  }

  .footer-bottom__copyright-links {
    flex-wrap: wrap;
    row-gap: 5px;
  }
}

@media (max-width: 969px) {
  .preview-image__img {
    display: none;
  }

  .preview-image__wrapper {
    grid-template-columns: 1fr;
  }

  .coomperation-list {
    flex-direction: column;
  }

  .list-badges {
    grid-template-columns: repeat(2, auto);
  }

  .coomperation-list {
    gap: 30px;
  }

  .list-badges__item img {
    max-width: 100px;
    max-height: 100px;
  }

  .coomperation-text p {
    font-size: 16px;
  }
}

@media (max-width: 769px) {
  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-top_about {
    grid-column: span 1;
  }

  .footer-top-menu__content {
    justify-content: flex-start;
    flex-direction: row;
  }

  .footer-top_about__social-link-text,
  .footer-top_about__link {
    font-size: 14px;
  }

  .footer-top__social,
  .footer-top-menu {
    margin-right: 0;
    padding-right: 0;
  }

  .mobile-display-none {
    display: none !important;
  }

  .pc-hidden {
    display: flex !important;
  }

  .preview {
    padding-top: 50px;
    /*padding: 50px 0 60px;*/
  }

  .coomperation-list__item:first-child {
    width: 100%;
    max-width: 100%;
  }

  .coomperation-list__item-href {
    padding: 20px;
  }

  .coomperation-list__title,
  .coomperation-list__sub-title {
    font-size: 16px;
  }

  .list-contacts {
    grid-template-columns: 1fr;
  }

  .archive-posts > .navigation {
    gap: 8px;
    margin-top: 25px;
  }

  .archive-posts > .navigation .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .banner-two__container {
    flex-direction: column-reverse;
  }

  .banner-section {
    padding: 30px 0;
  }

  .banner-one__logo,
  .banner-two__logo,
  .banner-three__logo {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-top__logo {
    margin-bottom: 0;
  }

  .footer-top-menu,
  .footer-top_about {
    padding-top: 0;
  }

  .footer-tg {
    font-size: 14px;
  }

  .footer-tg__icon {
    height: 20px;
  }

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

  .footer-top_about__list {
    flex-wrap: wrap;
    /*justify-content: flex-start;*/
  }

  .footer-bottom__copyright {
    font-size: 12px;
  }

  .articles-list {
    grid-template-columns: 1fr;
    padding-bottom: 5px;
  }

  .btn-more .btn {
    width: 100% !important;
  }

  .footer-top-menu__link,
  .footer-top_about__link {
    font-size: 16px;
  }

  .site-logo__img {
    width: 200px;
  }

  .site-logo {
    margin-left: -18px;
  }

  .new-footer__row:not(:last-child) {
    margin-bottom: 20px;
  }

  .new-footer__list {
    gap: 15px;
    flex-wrap: wrap;
  }

  .preview-image {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .list-post__title {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 16px;
  }

  .list-post__text {
    font-size: 14px;
  }

  .modal {
    padding-top: 60px;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    height: 100%;
    max-height: 100%;
    /* dvh учитывает свернувшуюся адресную строку браузера: с height:100%
       нижняя часть окна (кнопка «Купить») уезжала под панель браузера.
       Дубль свойства — фолбэк для браузеров без поддержки dvh. */
    height: 100dvh;
    max-height: 100dvh;
    /* Окно и так во весь экран — центрирование через transform не нужно,
       а его наличие делает вьюпорт-фиксацию крестика невозможной. */
    top: 0;
    left: 0;
    transform: none;
  }

  .js-modal-close svg {
    height: 36px;
    width: 36px;
  }

  .js-modal-close {
    right: 15px;
    top: 15px;
    /* .modal с transform — containing block для fixed-потомка, поэтому
       крестик остаётся на месте при прокрутке содержимого окна. */
    position: fixed;
  }

  .grid-products__img {
    max-width: 120px;
  }

  .grid-products__name {
    font-size: 14px;
  }

  .grid-products__price {
    font-size: 16px;
  }

  .grid-products__item {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-products__btn,
  .grid-products__info-cup,
  .grid-products__price-info {
    font-size: 12px;
  }

  .grid-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-products__btn {
    padding: 10px 12px;
    width: 100%;
  }

  .grid-products__item {
    gap: 10px;
  }

  .toast-title {
    font-size: 12px;
  }

  .toast-action {
    font-size: 12px;
    padding: 10px;
  }

  .toast-container {
    bottom: 0;
    right: 0;
  }

  .toast {
    width: 100%;
    max-width: 100%;
  }

  .toast {
    padding: 15px;
  }

  .partners-item__title {
    font-size: 14px;
  }

  .partners {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 175px);
  }

  .partners-item:first-child {
    grid-column: span 3;
  }

  .advantages-coop__item-text,
  .coomperation-text p {
    font-size: 14px;
  }

  .advantages-coop__item-title {
    font-size: 18px;
  }

  .partners {
    margin-top: 30px;
  }

  .section-title {
    margin-bottom: 15px;
  }

  .advantages-coop__item {
    padding: 20px;
  }

  .advantages-coop__item-title {
    font-size: 16px;
  }

  .preview-image__text p {
    font-size: 14px;
  }

  .list-contacts__item-title {
    margin-bottom: 5px;
  }

  .btn {
    min-height: 45px;
  }

  #breadcrumbs {
    font-size: 14px;
  }

  .cookie-banner__text,
  .cookie-banner__policy {
    font-size: 12px;
  }

  .cookie-banner {
    left: 10px;
    bottom: 10px;
    right: 10px;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    border-radius: 10px;
  }

  .cookie-banner__inner {
    max-width: 100%;
    padding: 0;
  }

  .content p {
    font-size: 14px;
  }

  .banner-one {
    background-position: 15%;
  }

  .btn-mob-full {
    width: 100%;
  }
}
