@charset "UTF-8";

/*
	Theme Name: Kraftkanat
*/

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

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

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

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

:root {
  --font-base: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-base);
  font-weight: 400;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Sections ========================================================================== */
body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Fonts ======================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Grouping content ========================================================================== */
hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace;
  font-size: 1em;
  white-space: pre-wrap;
}

/* Text-level semantics ========================================================================== */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content ========================================================================== */
img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

figure {
  margin-inline-start: 0;
  margin-inline-end: 0;
}

/* Interactive ========================================================================== */
details {
  display: block;
}

summary {
  display: list-item;
}

figcaption {
  font-size: 16px;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}

.wp-site-blocks>* {
  margin-top: 0 !important;
}

.comment-form-comment {
  margin-bottom: 0.9rem;
}

.wp-block-post-comments input[type=submit],
.wp-block-post-comments-form input[type=submit] {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  border-radius: 0px;
}

/* Для таблицы */
/* ===== Красивые таблицы по всему сайту ===== */
table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 18px 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  overflow: hidden;
  /* важно для скруглений */
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

/* Ячейки */
th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  vertical-align: top;
  text-align: left;
  line-height: 1.5;
}

/* Заголовки */
th {
  background: linear-gradient(180deg, #fafafa, #f2f2f2);
  font-weight: 700;
  color: #222;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

/* Зебра */
tbody tr:nth-child(even) td {
  background: #fcfcfd;
}

/* Hover */
tbody tr:hover td {
  background: #f3f6ff;
}

/* Убираем нижнюю границу у последней строки */
tbody tr:last-child td {
  border-bottom: 0;
}

/* Красивые ссылки внутри таблиц */
table a {
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 0, 0, .3);
}

table a:hover {
  border-bottom-color: rgba(0, 0, 0, .65);
}

/* Небольшие улучшения для списков внутри таблиц */
td ul,
td ol {
  margin: 0;
  padding-left: 18px;
}

/* ===== Адаптивность (таблицы не ломают мобильную) ===== */
/* обертка автоматически для всех таблиц */
@media (max-width: 780px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    white-space: nowrap;
  }
}

/* Если где-то есть WP блок-таблица, тоже нормализуем */
.wp-block-table {
  overflow-x: auto;
}

.wp-block-table table {
  margin: 0;
}

/* Для таблицы */

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2b2b2b;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner button {
  background: #D9231D;
  color: #fff;
  border: none;
  padding: 8px 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  max-width: 140px;
  flex: 1;
}

#cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cookie-banner button:hover {
  opacity: 0.7;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  padding-right: 20px;
  font-size: 14px;
  text-align: center;
}

.cookie-banner button {
  background: #D9231D;
  color: #fff;
  border: none;
  padding: 8px 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  max-width: 200px;
}

.cookie-banner button:hover {
  opacity: 0.7;
}

/* Cookie */

/* Основной контейнер кнопки */
.sticky-cart-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #D9231D;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background-color 0.2s;
  text-decoration: none;
}

.sticky-cart-btn:hover {
  transform: scale(1.1);
  background-color: #e04e53;
  color: #fff;
}

/* Счетчик товаров (красный кружок) */
.sticky-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #222;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Скрываем счетчик, если корзина пуста */
.sticky-cart-btn:has(.sticky-cart-count[data-count="0"]) .sticky-cart-count {
  display: none;
}

/* Уведомление "Добавлено!" */
.sticky-cart-notice {
  position: absolute;
  right: 75px;
  /* Появляется слева от кнопки */
  top: 50%;
  transform: translateY(-50%) scale(0.8);

  background-color: #4CAF50;
  /* Зелёный фон */
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  pointer-events: none;
  /* Чтобы не мешал кликам */
}

/* Стрелочка к уведомлению (опционально) */
.sticky-cart-notice::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #4CAF50;
}

/* Класс для показа уведомления */
.sticky-cart-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  right: 80px;
  /* Небольшое движение для анимации */
}

/* Анимация появления */
@keyframes bounceIn {
  0% {
    transform: translateY(-50%) scale(0.6);
    opacity: 0;
  }

  50% {
    transform: translateY(-50%) scale(1.05);
  }

  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}

.sticky-cart-notice.show {
  animation: bounceIn 0.4s ease forwards;
}

/* Woocommerce */

/* ========== Shop Hero ========== */
.shop-hero {
  padding: clamp(18px, 4vw, 32px) 0;
}

.shop-hero__title {
  margin: 0;
  font-weight: 800;
  color: #244f86;
  font-size: clamp(22px, 3.4vw, 36px);
}

/* ========== Category Wall (на shop) ========== */


/* ========== Product Category page ========== */
.pc-hero {
  position: relative;
  color: #fff;
  text-align: left;
}

.pc-hero__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat var(--bg);
  z-index: -2;
}

.pc-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: -1;
}

.pc-hero__inner {
  padding: clamp(30px, 8vw, 80px) 0;
}

.pc-hero__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 42px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.pc-hero__descr {
  max-width: 860px;
  margin-top: 8px;
}

.subcats {
  padding: clamp(14px, 3vw, 24px) 0;
}

.subcats .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.subcats__grid {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .subcats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .subcats__grid {
    grid-template-columns: 1fr;
  }
}

.subcat {
  position: relative;
  border-radius: 14px;
  min-height: 200px;
  overflow: hidden;
  display: grid;
  place-items: end start;
  color: #fff;
  text-decoration: none;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.subcat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center/cover no-repeat var(--bg);
  transform: scale(1.04);
  z-index: -2;
}

.subcat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55));
  z-index: -1;
}

.subcat__title {
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

/* Woo loop container */
.prod-loop .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== Product card (loop) ========== */
ul.products {
  gap: clamp(14px, 2.4vw, 22px);
}

.p-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
}

.p-card__media {
  display: block;
  overflow: hidden;
}

.p-card__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .25s ease;
}

.p-card__media:hover img {
  transform: scale(1.05);
}

.p-card__body {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-card__title {
  margin: 0;
  font-size: 16px;
}

.p-card__title a {
  color: #0f1720;
  text-decoration: none;
}

.p-card__title a:hover {
  text-decoration: underline;
}

.p-card__meta .price {
  font-weight: 800;
  color: #244f86;
}

.p-card__actions .button {
  width: 100%;
  border-radius: 10px;
}

/* ========== Single product ========== */
.sp .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.sp__wrap {
  padding: clamp(18px, 4vw, 30px) 0;
}

.sp__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(16px, 3vw, 28px);
}

@media (max-width: 980px) {
  .sp__grid {
    grid-template-columns: 1fr;
  }
}

.sp__gallery .woocommerce-product-gallery {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
  background: #fff;
}

.sp__summary {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
  padding: 16px;
}

.sp__tabs {
  margin-top: clamp(16px, 3vw, 24px);
}

.woocommerce-tabs .panel {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

/* Woocommerce */

.color-text {
  color: rgba(4, 35, 81, 1);
}

/* ====== HERO ====== */
.hero {
  --hero-image: none;
  --hero-overlay: rgba(0, 0, 0, .55);
  /* затемнение как на макете */
  --hero-height: clamp(520px, 50vh, 720px);

  position: relative;
  min-height: var(--hero-height);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  /* чтобы overlay не влияло на соседей */
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat var(--hero-image);
  transform: scale(1.02);
  /* лёгкий зум */
  will-change: transform;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--hero-overlay), var(--hero-overlay));
  z-index: -1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* общий контейнер */

.hero__inner {
  text-align: center;
  padding: clamp(40px, 6vw, 96px) 0;
}

.hero__title {
  margin-top: 60px !important;
  margin: 0 0 clamp(16px, 4vh, 28px);
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  font-weight: 500;
  /* Roboto Light */
  font-size: clamp(28px, 5.6vw, 68px);
  max-width: 800px;
}

.hero__line {
  display: block;
}

.hero__focus {
  color: #d61f1f;
  /* фирменный красный */
  font-weight: 700;
  /* акцент жирнее */
}

/* Кнопка */
.btn {
  display: inline-block;
  font: inherit;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease, opacity .2s;
}

.btn--primary {
  background: #d61f1f;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .25), 0 2px 0 rgba(0, 0, 0, .1) inset;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, .28), 0 2px 0 rgba(255, 255, 255, .05) inset;
}

.btn--primary:active {
  transform: translateY(0);
}

.hero__cta {
  margin-top: clamp(14px, 2.5vw, 24px);
}

/* ========= About section ========= */
.about {
  --red: #d61f1f;
  --text: #0f1720;
  --muted: #6b7785;
  --blue: #244f86;
  /* для синего абзаца */
  --panel-grad: linear-gradient(180deg, rgba(10, 14, 22, 0.06) 0%, rgba(10, 14, 22, 0.0) 60%);
  padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 5vw, 56px);
  color: var(--text);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 5vw, 64px);
  align-items: center;
}

.about__title {
  margin: 0 0 16px;
  color: var(--red);
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(24px, 3.3vw, 40px);
}

.about__lead {
  margin: 0 0 clamp(18px, 3vw, 28px);
  color: var(--blue);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
}

.about__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.about-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.about-feature img {
  display: block;
  width: auto;
  height: auto;
}

.about-feature span {
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--text);
}

/* Правая часть: сцена с панелью, диагональю и фото */
.about__right {
  position: relative;
}

.about-stage {
  position: relative;
  min-height: 360px;
}

.about-stage__panel {
  position: absolute;
  inset: 0 0 0 14%;
  background: var(--panel-grad);
  /* диагональный скос справа */
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 78%, 92% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 92% 100%, 0 100%);
  border-radius: 8px;
}

.about-photo {
  display: block;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}

.about-photo--main {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
}

.about-photo--float {
  position: absolute;
  width: min(62%, 520px);
  bottom: -6%;
  left: 10%;
  border: 6px solid #fff;
  /* белая рамка как на макете */
}

/* Низ: тонкий разделитель */
.about__divider {
  max-width: 640px;
  height: 2px;
  background: #111;
  margin: clamp(32px, 6vw, 56px) auto 0;
}

/* ===== Products ===== */
.products {
  padding: clamp(24px, 4vw, 40px) 0;
}

.products__heading {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  color: #0f1720;
  text-align: center;
}

.products__panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
  padding: clamp(18px, 3vw, 28px);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

/* Card */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card__media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.product-card__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 3;
  /* 400x600 */
  object-fit: cover;
  transform: scale(1.003);
  transition: transform .25s ease, filter .25s ease;
}

.product-card__media:hover img {
  transform: scale(1.02);
  filter: saturate(1.05);
}

.product-card__title {
  margin: 2px 0 6px;
  text-align: center;
  color: rgba(4, 35, 81, 1);
  /* синий из макета */
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 20px);
}

.product-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  text-align: center;
}

.product-card__list a {
  color: #d61f1f;
  /* красные ссылки */
  text-decoration: none;
}

.product-card__list a:hover {
  text-decoration: underline;
}

/* ===== Blog archive ===== */
.blog {
  margin-top: 150px;
}

.blog__head {
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 28px);
}

.blog__title {
  margin: 0;
  color: #0f1720;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
}

.text-content-inner {
  padding: 60px 0;
}

.about-text .text-content-inner {
  padding: 0;
}

.about-text .text-content-inner p {
  font-size: 22px;
  line-height: 40px;
  color: rgba(76, 76, 76, 1);
}

.gutenverse-text-editor {
  margin-top: 30px;
}

.blog__descr {
  color: #c9d1d9;
  margin: 8px auto 0;
  max-width: 780px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

.posts-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}



/* Card */
.post-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  display: flex;
  flex-direction: column;
}

.post-card__media {
  display: block;
  overflow: hidden;
}

.post-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transform: scale(1.005);
  transition: transform .28s ease, filter .28s ease;
}

.post-card__media:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.post-card__body {
  padding: 14px 16px 16px;
}

.post-card__date {
  display: block;
  color: #6b7785;
  font-size: 13px;
  margin-bottom: 4px;
}

.post-card__title {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
}

.post-card__title a {
  color: rgba(4, 35, 81, 1);
  text-decoration: none;
}

.post-card__title a:hover {
  text-decoration: underline;
}

.post-card__excerpt {
  margin: .35rem 0 0;
  color: #444;
}

/* Pagination */
.pagination {
  margin-top: clamp(18px, 3vw, 28px);
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  color: #111;
}

.pagination .current {
  background: #d61f1f;
  color: #fff;
}

/* ===== Single ===== */
.post-hero {
  position: relative;
  min-height: clamp(280px, 46vh, 480px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.post-hero__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat var(--hero);
  transform: scale(1.02);
}

.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.post-hero__inner {
  position: relative;
  text-align: center;
  color: #fff;
  padding: clamp(28px, 6vw, 64px) 0;
}

.post-meta {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: #e6e6e6;
}

.post-meta .dot {
  opacity: .6;
}

.post-meta .cat {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-title {
  margin: .4rem 0 0;
  font-weight: 700;
  font-size: clamp(24px, 3.8vw, 40px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.post__content {
  background: #fff;
  border-radius: 14px;
  padding: clamp(18px, 3vw, 28px);
  margin-top: clamp(-26px, -4vh, -32px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.post__content p,
.post__content li {
  color: #111;
  font-size: 18px;
  line-height: 28px;
}

.post-pages {
  margin: 16px 0;
}

.post__sep {
  margin: 20px 0;
  border: 0;
  height: 1px;
  background: #e6e6e6;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.post-nav a {
  color: #2a5fa0;
  text-decoration: none;
}

.post-nav a:hover {
  text-decoration: underline;
}

.related {
  padding: clamp(20px, 4vw, 40px) 0;
}

.related__title {
  margin: 0 0 14px;
  color: #0f1720;
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 24px);
}

/* ===== Home: Последние новости ===== */
.home-news {
  padding: clamp(20px, 4vw, 48px) 0;
}

.home-news__eyebrow {
  text-align: center;
  margin: 0 0 6px;
  color: #d61f1f;
  font-weight: 600;
  letter-spacing: .02em;
}

.home-news__title {
  text-align: center;
  margin: 0 0 clamp(16px, 3vw, 24px);
  color: #0f1720;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
}

.home-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

/* Карточка */
.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #e9eaee;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.news-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform .25s ease, filter .25s ease;
}

.news-card__media:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* Плейсхолдер, если нет миниатюры */
.news-card__placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16/10;
  background: #e9eaee;
}

.news-card__placeholder img {
  width: 38%;
  height: auto;
  opacity: .9;
}

.news-card__title {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.8vw, 20px);
}

.news-card__title a {
  color: #0f1720;
  text-decoration: none;
}

.news-card__title a:hover {
  text-decoration: underline;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #d61f1f;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.news-card__more .ico {
  transform: translateX(0);
  transition: transform .2s ease;
}

.news-card__more:hover .ico {
  transform: translateX(3px);
}

/* ===== Home: Последние новости ===== */
.home-news {
  padding: clamp(20px, 4vw, 48px) 0;
}

.home-news__eyebrow {
  text-align: center;
  margin: 0 0 6px;
  color: #d61f1f;
  font-weight: 600;
  letter-spacing: .02em;
}

.home-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

/* Карточка */
.news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #e9eaee;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.news-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform .25s ease, filter .25s ease;
}

.news-card__media:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* Плейсхолдер, если нет миниатюры */
.news-card__placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16/10;
  background: #e9eaee;
}

.news-card__placeholder img {
  width: 38%;
  height: auto;
  opacity: .9;
}

.news-card__title {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.8vw, 20px);
}

.news-card__title a {
  color: #0f1720;
  text-decoration: none;
}

.news-card__title a:hover {
  text-decoration: underline;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #d61f1f;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.news-card__more .ico {
  transform: translateX(0);
  transition: transform .2s ease;
}

.news-card__more:hover .ico {
  transform: translateX(3px);
}

.breadcrumbs {
  max-width: 1280px;
  font-size: 14px;
  color: #6b7785;
}

.breadcrumbs a {
  color: #2a5fa0;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  display: inline-block;
  vertical-align: middle;
}

.breadcrumbs .breadcrumb_last {
  color: #0f1720;
  font-weight: 600;
}

.breadcrumbs .divider,
.breadcrumbs .separator {
  margin: 0 8px;
  opacity: .5;
}

/* ===== Docs (сертификаты) ===== */
.docs {
  padding: clamp(130px, 4vw, 120px) 0;
}

.docs h1 {
  margin-bottom: 30px;
}

.docs-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2.2vw, 24px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.doc-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}

.doc-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.doc-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  /* унифицируем вертикальные превью */
  overflow: hidden;
}

.doc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.005);
  transition: transform .28s ease, filter .28s ease;
}

.doc-card:hover .doc-card__media img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

/* подпись снизу */
.doc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 12px;
}

.doc-card__title {
  font-weight: 600;
  color: #0f1720;
  font-size: clamp(14px, 1.2vw, 16px);
}

.doc-card__badge {
  background: #d61f1f;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 8px;
  border-radius: 8px;
}

/* дополнительная подсказка при ховере */
.doc-card__link::after {
  content: "Открыть PDF";
  position: absolute;
  inset: auto 12px 12px auto;
  background: rgba(0, 0, 0, .66);
  color: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: .2s ease;
}

.doc-card__link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.preview-page p {
  font-size: 16px;
  line-height: 28px;
}

/* ======= Feature block ======= */

/* общий контейнер, если ещё нет */

.feature {
  padding: clamp(24px, 6vw, 72px) 0;
}

.feature__grid {
  display: grid;
  grid-template-columns: minmax(280px, 560px) 1fr;
  gap: clamp(20px, 6vw, 72px);
  align-items: center;
}

/* Фото */
.feature__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.feature__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform .25s ease, filter .25s ease;
}

.feature__media:hover img {
  transform: scale(1.02);
  filter: saturate(1.04);
}

/* Контент */
.feature__title {
  margin: 0 0 clamp(12px, 2.4vw, 18px);
  color: #0f1720;
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(22px, 3vw, 36px);
}

.feature__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 2.4vw, 18px);
  color: #0f1720;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.6;
}

.feature__list li {
  position: relative;
  padding-left: 38px;
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23244f86' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/20px 20px no-repeat;
  filter: drop-shadow(0 2px 6px rgba(36, 79, 134, .25));
}

/* Вариант с фото справа */
.feature--reverse .feature__grid {
  grid-template-columns: 1fr minmax(280px, 560px);
}

.feature--reverse .feature__media {
  order: 2;
}

.feature--reverse .feature__content {
  order: 1;
}

/* ===== Contacts ===== */
.contacts {
  padding: clamp(22px, 5vw, 56px) 0;
}

.contacts__eyebrow {
  margin: 0 0 6px;
  color: #6b7785;
  font-weight: 600;
  letter-spacing: .02em;
}

.contacts__title {
  margin: 0 0 clamp(16px, 3vw, 24px);
  color: rgba(4, 35, 81, 1);
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 36px);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: clamp(16px, 2.8vw, 28px);
  margin-bottom: clamp(18px, 3.4vw, 32px);
}

.contacts__subtitle {
  margin: clamp(18px, 3vw, 26px) 0 12px;
  color: rgba(4, 35, 81, 1);
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 28px);
}

/* Cards */
.c-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.c-card--row {
  grid-template-columns: 64px 1fr;
  padding: clamp(14px, 2.4vw, 18px);
}

.c-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #e6ecf5;
}

.c-card__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #0f1720;
}

.c-card__subtitle {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #0f1720;
}

.c-card__text {
  margin: 0;
  color: #3b4250;
  line-height: 1.6;
}

.c-card a {
  color: #0f1720;
  text-decoration: none;
}

.c-card a:hover {
  text-decoration: underline;
}

.c-link--accent {
  color: #d61f1f;
  font-weight: 700;
  display: inline-block;
  margin-top: 6px;
}

/* Map */
.map {
  padding: clamp(8px, 3vw, 20px) 0 clamp(24px, 6vw, 48px);
}

.map__frame {
  position: relative;
  width: 100%;
  padding-bottom: 34%;
  /* высота карты, 16:9 ~ 56%, тут по скрину ниже */
  background: #f4f6fa;
  border-top: 1px solid #e9edf3;
  border-bottom: 1px solid #e9edf3;
}

.map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Delivery ===== */
.delivery {
  padding: clamp(22px, 5vw, 56px) 0;
}

.delivery .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.delivery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: stretch;
}

/* Левая текстовая карточка */
.delivery-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  padding: clamp(18px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
}

.delivery-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #e9edf5;
  display: grid;
  place-items: center;
  margin: 0 0 6px;
}

.delivery-card__title {
  margin: 6px 0 14px;
  color: #d61f1f;
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 24px);
}

.delivery-card__content {
  color: #0f1720;
  line-height: 1.7;
}

.delivery-card__content p {
  margin: 0 0 12px;
}

.delivery-card__content strong {
  color: #0f1720;
}

/* Правая карточка-баннер */
.delivery-cta {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  min-height: clamp(260px, 46vh, 520px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  isolation: isolate;
}

.delivery-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center/cover no-repeat var(--bg, none);
  transform: scale(1.03);
  z-index: -2;
}

.delivery-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 80% at 50% 50%, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
  z-index: -1;
}

.delivery-cta__title {
  margin: 0;
  padding: clamp(14px, 3vw, 20px);
  font-weight: 800;
  line-height: 1.25;
  font-size: clamp(20px, 2.8vw, 34px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

/* ===== 404 ===== */
.nf {
  position: relative;
  min-height: clamp(560px, 92vh, 980px);
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.nf .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.nf__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat var(--nf-bg, none);
  z-index: -2;
}

.nf__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  z-index: -1;
}

.nf__inner {
  width: 100%;
}

.nf__code {
  font-weight: 800;
  font-size: clamp(120px, 18vw, 220px);
  line-height: 1;
  letter-spacing: .02em;
  color: #d61f1f;
  text-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  margin-bottom: clamp(8px, 1.6vw, 12px);
}

.nf__text {
  margin: 0 0 clamp(14px, 2.6vw, 20px);
  font-size: clamp(16px, 1.6vw, 20px);
  color: #f2f2f2;
}

/* Поиск */
.nf__search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto clamp(14px, 2.8vw, 22px);
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}

.nf__input {
  width: min(68vw, 560px);
  padding: 12px 14px;
  border: 0;
  outline: 0;
  border-radius: 8px;
  font-size: 16px;
  color: #111;
  background: #fff;
}

.nf__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  background: #d61f1f;
  color: #fff;
  transition: transform .12s ease, filter .12s ease;
}

.nf__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.nf__links {
  margin: 4px 0 0;
  color: #e6e6e6;
}

.nf__links a {
  color: #fff;
  text-underline-offset: 3px;
}

.nf__links .nf__dot {
  opacity: .6;
  margin: 0 .5ch;
}

/* Accessibility helper */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Преимущества */
.advantages {
  display: flex;
  flex-wrap: wrap;
  /* grid-template-columns: 1fr 1fr 1fr 1fr; */
  gap: 20px;
  margin-top: 30px;
}

.advantages .item {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  flex: 1;
  border-radius: 8px;
  background: #F4F4F4;
}

.advantages .item .text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantages .item .text h3 {
  padding: 0;
  margin: 0;
  color: #243A47;
  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

.advantages .item .text p {
  padding: 0;
  margin: 0;
  color: #767D83;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

/* Преимущества */

/* Форма */
.form_shop {
  border-radius: 8px;
  background: #F4F4F4;
  margin: 100px auto 100px auto;
}

.form_shop.container {
  margin: 100px auto 100px auto;
}

.form_items {
  display: flex;
  padding: 40px;
  align-items: flex-start;
  gap: 60px;
  align-self: stretch;
  justify-content: space-between;
}

.form_shop h2 {
  margin: 0;
  padding: 0;
  color: #243A47;
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

.form_shop p {
  padding: 0;
  margin: 0;
  color: #767D83;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.form_shop .item {
  display: flex;
  max-width: 450px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.item-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form_shop .item .wpcf7 {
  width: 100%;
}

.item-inputs input,
.item-inputs textarea {
  display: flex;
  padding: 20px 0 20px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid #D9D9D9;
  background: #FFF;
  width: 100%;
}

.item-inputs .btn-submit {
  display: flex;
  height: 44px;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 8px;
  background: #D9231D;
  color: #FFF;
  text-align: center;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.item-inputs .btn-submit:hover {
  background: #fff;
  color: #D9231D;
}

.item-inputs .wpcf7-not-valid-tip {
  color: #D9231D;
  font-family: Roboto;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  letter-spacing: -0.11px;
  margin-top: 8px;
}

/* Форма */

/* Адаптивы */
@media (max-width: 1100px) {
  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .home-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__right {
    order: -1;
  }

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

  /* фото вверх на планшетах */
  .about-stage__panel {
    inset: 0 0 0 0;
  }

  .about-photo--main {
    max-width: 100%;
  }

  .about-photo--float {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -60px auto 0;
    display: block;
  }
}

@media (max-width: 991px) {
  .form_items {
    gap: 20px;
  }

  .form_shop.container,
  .form_shop {
    margin: 80px auto 80px auto;
    ;
  }
}

@media (max-width: 960px) {
  .delivery__grid {
    grid-template-columns: 1fr;
  }

  .contacts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature--reverse .feature__media {
    order: 1;
  }

  .feature--reverse .feature__content {
    order: 2;
  }
}

@media (max-width: 820px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Адаптив: на мобильных сдвигаем уведомление вверх, чтобы не перекрывало */
@media (max-width: 768px) {
  .sticky-cart-notice {
    right: 50%;
    transform: translateX(50%) translateY(-150%) scale(0.8);
    bottom: 90px;
    top: auto;
  }

  .sticky-cart-notice.show {
    transform: translateX(50%) translateY(-150%) scale(1);
  }

  .sticky-cart-notice::after {
    right: 50%;
    top: 100%;
    transform: translateX(50%);
    border-left-color: transparent;
    border-top-color: #4CAF50;
  }
}

@media (max-width: 780px) {
  .map__frame {
    padding-bottom: 56%;
  }
}

@media (max-width: 640px) {
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .about__features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-news__grid {
    grid-template-columns: 1fr;
  }

  .about-photo--float {
    width: 85%;
    margin-top: -40px;
    border-width: 5px;
  }

  .posts-grid,
  .posts-grid--compact {
    grid-template-columns: 1fr;
  }

  .about__divider {
    max-width: 90%;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .product-card__list {
    gap: 8px;
  }

  .home-news__grid {
    grid-template-columns: 1fr;
  }

  .form_items {
    padding: 40px 20px;
  }
}


/* Адаптив */
@media (max-width: 600px) {
  .btn--primary {
    padding: 12px 20px;
    border-radius: 10px;
  }

  .hero__title {
    letter-spacing: 0;
  }
}

@media(max-width: 576px) {
  .advantages .item {
    flex: auto;
    width: 100%;
  }

  .form_items {
    flex-direction: column;
  }

  .form_shop .item {
    max-width: 100%;
    width: 100%;
  }

  .form_shop.container,
  .form_shop {
    margin: 80px auto 0px auto;
    border-radius: 0px;
  }
}

@media (max-width: 520px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}