: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: #d57909;
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-primary);
}

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

.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);
  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;
}

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

#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: 700;
  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: 700;
  font-size: clamp(1.375rem, 1.042rem + 1.11vw, 1.875rem);
  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;
}

/* 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);
}

/* Скрываем подменю по умолчанию */
.main-navigation ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  margin: 0;
  /*padding: 10px 0;*/
  padding: 0;
  background: #fff;
  /* border-radius: 0 0 15px 15px; */
  /*border-bottom: 2px solid var(--orange);*/
  width: max-content;

  /* max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out; */
}

.main-navigation ul.sub-menu {
  /*padding-top: 22px !important;*/
}

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

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

ul.sub-menu > li {
  padding: 5px;
  /* background: var(--light-purple); */
}

/* Подменю внутри подменю (3-й уровень) */
ul.sub-menu .sub-menu {
  top: 0;
  left: 100%;
  transform: translateX(0);
  /* border-radius: 0 0 15px 15px; */
  border-bottom: 2px solid var(--orange);
}

/* Показываем подменю при наведении */
.menu-item-has-children:hover > .sub-menu {
  display: block;
}

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

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

  transition: all 0.15s linear;
}

.main-navigation li.menu-item-has-children > a::after {
  transform: rotate(-90deg);
  display: block;
  margin-left: auto;
}

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

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

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

/* Корректируем выравнивание ссылок в подменю */
.sub-menu a {
  padding: 10px;
  white-space: nowrap;
  width: 100%;
  max-width: 250px;
  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;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
  gap: 70px;

  padding: 13px 0;
}

.main-navigation li {
  margin: 0;
}

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

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

.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;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

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

.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: 18px;
  line-height: 130%;
  color: #302b23;
}

.wp-post-image {
  display: block;
  width: 100%;
  height: clamp(13.75rem, 10.721rem + 11.54vw, 19.375rem);
  object-fit: cover;
  border-radius: 8px;
}

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

.articles-list__item {
  /*background: var(--orange-biozaryad);
  border-radius: 12px;
  padding: 20px;*/
}

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

.post-tag {
  font-weight: 700;
  font-size: 12px;
  line-height: 130%;
  text-transform: uppercase;
  color: var(--white-biozaryad);
  text-decoration: none;

  border: 1px solid var(--white-biozaryad);
  border-radius: 4px;
  line-height: 1;
  padding: 5px;
}

.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);
}

.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;
  /* overflow: auto; */

  /*  Центрируем и задаем 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;
}

/* Стили для кнопки закрытия */
.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;
}

/* 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);
  }
}

/* Адаптивное меню */
@media (max-width: 768px) {
  .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 ul {
    display: block !important;
    flex-direction: column;
    gap: 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: 18px;
  }

  .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.menu-item-has-children ul a {
    font-size: 16px;
    opacity: 0.75;
  }

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

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

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

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

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

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

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

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

  .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%;
  }

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

  .js-modal-close {
    right: 15px;
    top: 15px;
  }

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