
/* Topbar and Header Styles (BEM) */
/* Body scroll lock when sidebar is open */
body.no-scroll { overflow: hidden; }


* {
  /* Уничтожаем синюю подсветку без следа */
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  /* Предотвращаем появление контекстного меню */
}

:root {
	--white-white: #fff;
	--white-white-07: rgba(255, 255, 255, 0.7);
	--white-white-015: rgba(255, 255, 255, 0.15);
	--white-white-005: rgba(255, 255, 255, 0.05);
	--black-black: #000;
	--black-black-03: rgba(0, 0, 0, 0.3);
	--black-black-015: rgba(0, 0, 0, 0.15);
	--black-black-005: rgba(0, 0, 0, 0.05);
	--blue-dark-blue: #00244e;
	--blue-blue: #003675;
	--blue-blue-005: rgba(0, 54, 117, 0.05);
	--grey-grey: #6d6d6d;
	--grey-light-grey: #f8f8f8;
	--additional-green: #20a200;
	--additional-red: #f40915;
  --container: calc(1820px);
  --wp--preset--font-size--medium: 20px;

  --padding-section: clamp(4.375rem, 2.33rem + 10.23vw, 10rem);
  --padding-block: clamp(3.125rem, 2.188rem + 3.75vw, 5rem);
  --padding-120: clamp(3.75rem, 1.875rem + 7.5vw, 7.5rem);
  --collapsed-height: 60px;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto; /* занимает всё доступное пространство между header и footer */
}

footer {
  flex-shrink: 0; /* не сжимается */
}

*{
  box-sizing: border-box;
}

.scale:hover {
  transition: all .25s linear;
}

.scale:hover {
  transform: scale(1.1, 1.1);
}

.container {
  max-width: calc(var(--container) + (clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem) * 2));
  margin: 0 auto;
  padding: 0 clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
}

.list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.section {
  margin-bottom: var(--padding-section);
}

.section-120 {
  margin-bottom: var(--padding-120);
}

.section-top {
  margin-top: var(--padding-block);
}

.section-end {
  margin-bottom: var(--padding-block);
}

.section__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(2.188rem, 1.094rem + 4.38vw, 4.375rem);
  line-height: 105%;
  letter-spacing: -0.05em;
  color: var(--black-black);
  padding: 0;
  margin: 0;
  margin-bottom: clamp(1.563rem, 0.962rem + 2.4vw, 2.5rem);
}

.section-row .section__title {
  margin-bottom: 0;
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: clamp(1.563rem, 0.962rem + 2.4vw, 2.5rem);
}

.transition {
  transition: all .25s linear;
}

.white-link {
  color: var(--white-white);

  transition: all .25s linear;
}

.white-link:hover {
  opacity: .75;
  color: var(--white-white);
}

.btn-default {
  display: block;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0;
  outline: none;

  padding: 10px 20px;
  height: 50px;

  background: var(--blue-blue);
  letter-spacing: -0.03em;
  color: var(--white-white);

  transition: all .25s linear;
}

.btn-default:hover {
  background: var(--blue-dark-blue);
}

.btn-default:active {
  border: 1px solid var(--blue-blue);
  color: var(--blue-blue);
  background-color: #fff;
}

.btn-default:disabled {
 cursor: not-allowed;
  opacity: 0.5;
  /*background-color: #00377581;*/
}

.btn-more {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: fit-content;
  padding:  0 clamp(0.5rem, 0.438rem + 0.25vw, 0.625rem) 0 clamp(1rem, 0.875rem + 0.5vw, 1.25rem);
  height: clamp(2.125rem, 1.813rem + 1.25vw, 2.75rem);
  background-color: transparent;

  transition: all .25s linear;
  text-decoration: none !important;
}

.btn-more span {
  font-size: clamp(1rem, 0.938rem + 0.25vw, 1.125rem);
  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--black-black);
}

.btn-more svg {
  width: clamp(1rem, 0.719rem + 1.13vw, 1.563rem);
  height: auto;
}

.btn-more:visited {
  color: var(--black-black);
}

.btn-more:hover {
  color: var(--blue-blue);
}

.btn-more:active {
  opacity: 0.5;
}

.btn-more::before, .btn-more::after, .btn-more span::before, .btn-more span::after {
  display: block;
  content: "";
  width: 20px;
  height: 12px;
  position: absolute;

  transition: all .25s linear;
}

.btn-more::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--black-black);
  border-left: 1px solid var(--black-black);
}

.btn-more::after {
  top: -1px;
  right: -1px;
  border-top: 1px solid var(--black-black);
  border-right: 1px solid var(--black-black);
}

.btn-more span::before {
  bottom: -1px;
  left: -1px;
  border-bottom: 1px solid var(--black-black);
  border-left: 1px solid var(--black-black);
}

.btn-more span::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid var(--black-black);
  border-right: 1px solid var(--black-black);
}

.btn-more:hover::after,
.btn-more:hover::before,
.btn-more:hover span::before,
.btn-more:hover span::after {
  border-color: var(--blue-blue);
}

.arrow-icon {
  background-color: var(--blue-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  height: clamp(1rem, 0.75rem + 1vw, 1.5rem);
}

.arrow-icon svg {
  transform: rotate(-45deg);
  transition: all .25s linear;
}

.btn-more:hover .arrow-icon svg {
  transform: none;
}


/* Mobile Sidebar Catalog Styles */
.sidebar-catalog__main-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: clamp(0.938rem, 0.538rem + 1.6vw, 1.563rem);;
  transition: color 0.25s ease;
}

.sidebar-catalog__main-toggle:hover {
  color: var(--blue-blue);
}

.sidebar-catalog__main-toggle svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.sidebar-catalog.active .sidebar-catalog__main-toggle svg {
  transform: rotate(180deg);
}

.sidebar-catalog__content {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
}

.sidebar-catalog.active .sidebar-catalog__content {
  grid-template-rows: 1fr;
  padding-top: clamp(0.938rem, 0.538rem + 1.6vw, 1.563rem);
}

.sidebar-catalog__menu {
  min-height: 0;
  padding: 0;
}

.sidebar-catalog__item {
  border-bottom: 1px solid var(--black-black-005);
}

.sidebar-catalog__item:first-child {
  border-top: 1px solid var(--black-black-005);
}

.sidebar-catalog__item:last-child {
  border-bottom: none;
}

.sidebar-catalog__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  position: relative;
}

.sidebar-catalog__parent-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--black-black);
  flex: 1;
}

.sidebar-catalog__parent-link:hover {
  color: var(--blue-blue);
}

.sidebar-catalog__icon {
  width: clamp(3.75rem, 1.35rem + 9.6vw, 7.5rem);
  height: clamp(1.875rem, 0.675rem + 4.8vw, 3.75rem);
  object-fit: contain;
  margin-right: 10px;
  flex-shrink: 0;
}

.sidebar-catalog__name {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.563rem);
  line-height: 1.2;
}

.sidebar-catalog__toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-grey);
  transition: all 0.25s ease;
  width: 16px;
  height: 16px;
  
  background-image: url(../images/icon/plus.svg);
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center right;
}

.sidebar-catalog__toggle:hover {
  color: var(--blue-blue);
}

.sidebar-catalog__item.active .sidebar-catalog__toggle  {
  background-image: url(../images/icon/minus.svg);
}

.sidebar-catalog__children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: var(--grey-light-grey);
  /*margin: 0 -20px;
  padding: 0 20px;*/
}

.sidebar-catalog__item.active .sidebar-catalog__children {
  padding: 0;
  list-style: none;
  background: transparent;
}

.sidebar-catalog__child {
  padding: 8px 0;
  display: block;
  text-decoration: none;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--black-black);
  display: flex;
  justify-content: space-between;
  align-items: center;

  border-top: 1px solid var(--black-black-015);
  transition: color 0.25s ease;
  position: relative;
}

.sidebar-catalog__child:hover {
  color: var(--blue-blue);
}


/*  =====  swiper  ===== */
.swiper-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.swiper-nav__prev,
.swiper-nav__next {
  padding: 11px 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;

  width: clamp(2.188rem, 1.587rem + 2.4vw, 3.125rem);
  height: clamp(2.188rem, 1.587rem + 2.4vw, 3.125rem);

  transition: all .25s linear;
}

.swiper-nav__prev:not(.swiper-button-disabled):hover,
.swiper-nav__next:not(.swiper-button-disabled):hover {
  background: var(--blue-blue);
}

.swiper-nav__prev:not(.swiper-button-disabled):target,
.swiper-nav__next:not(.swiper-button-disabled):target {
  background: var(--blue-dark-blue);
}


.swiper-nav__prev:not(.swiper-button-disabled):hover svg path,
.swiper-nav__next:not(.swiper-button-disabled):hover svg path {
  stroke: var(--white-white);
}

.swiper-nav__prev.swiper-button-disabled, .swiper-nav__next.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
}

/*.swiper-button-lock {
  display: none;
}*/

/* ===== header ===== */
header {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

.header__menu-btn {
  border-right: 1px solid var(--black-black-015);
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  gap: 10px;
  align-items: center;
  justify-content: center;

  display: none;
}

/* Burger -> Cross animation for mobile menu button */
.header__menu-btn svg line {
  transition: transform 0.3s ease, opacity 0.2s ease, stroke 0.2s ease;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

.header__menu-btn.active svg line:nth-child(1) {
  /* Move to center and rotate */
  transform: translateY(7.5px) rotate(45deg);
}

.header__menu-btn.active svg line:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.active svg line:nth-child(3) {
  /* Move to center and rotate */
  transform: translateY(-7.5px) rotate(-45deg);
}

.header__menu-btn.active {
  display: flex;
}

.header__menu-btn span {
  font-size: 18px;
  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--black-black);
}

.topbar {
  grid-column: span 3;
  order: 2;
  border-bottom: 1px solid var(--black-black-0,15);
  border-left: 1px solid var(--black-black-0,15);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
}

.topbar__links {
  background: var(--grey-light-grey);
  display: flex;
  list-style: none;
  flex: 1;
  align-items: center;
  gap: clamp(1.25rem, -0.833rem + 2.78vw, 2.5rem);
  margin: 0;
  padding: 0px clamp(1.25rem, -0.833rem + 2.78vw, 2.5rem);

  border-bottom: 1px solid var(--black-black-015);
  border-left: 1px solid var(--black-black-015);
}

.topbar__links > li {
  height: fit-content;
}

.topbar__links > li > a {
  text-decoration: none;
  font-size: clamp(0.875rem, 0.283rem + 0.7vw, 1.125rem);
  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--black-black);
  white-space: nowrap;
}

.header__grid {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-rows: repeat(2, minmax(0, auto));
  
}

.topbar__link {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.2s;
}

.topbar__link:hover {
  color: var(--color-accent);
}

.topbar__contacts {
  display: flex;
  align-items: center;

  border-bottom: 1px solid var(--black-black-0,15);
  padding: 13px 30px;
  gap: clamp(1.5rem, 1.26rem + 0.96vw, 1.875rem);
  background: var(--blue-blue);
}

.topbar__contacts__social {
  display: flex;
  justify-content: center;
  gap: clamp(0.938rem, 0.781rem + 0.63vw, 1.25rem);
  margin-left: 10px;
}

.topbar__contacts__social img {
  display: block;
}

.topbar__contact {
  letter-spacing: -0.03em;
  color: var(--white-white);
  text-decoration: none;
}

.topbar__contact:hover {
  opacity: .8;
  color: var(--white-white);
}

.topbar__contact-whatsapp {
  width: 30px !important;
  height: 30px !important;

  background: url(../images/icon/whatsapp-icon.svg) center center no-repeat;
}

/*.topbar__contact-whatsapp:hover {
  background: url(../images/icon/whatsapp-hover.svg) center center no-repeat;
}

.topbar__contact-whatsapp:active {
  background: url(../images/icon/whatsapp-active.svg) center center no-repeat;
}*/

.topbar__contact-tg {
  width: 30px !important;
  height: 30px !important;

  background: url(../images/icon/telegram-icon.svg) center center no-repeat;
}

/*.topbar__contact-tg:hover{
  background: url(../images/icon/telegram-hover.svg) center center no-repeat;
}

.topbar__contact-tg:active {
  background: url(../images/icon/telegram-active.svg) center center no-repeat;
}*/

.header {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-family);
  position: relative;
  /*z-index: 10;*/
}

.header__inner {
  /*max-width: var(--container);
  padding: 0 15px;*/
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  order: 1;
  border-bottom: 1px solid var(--black-black-015);
  border-left: 1px solid var(--black-black-015);
  padding: 10px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-row: span 2;
  max-width: 279px;
  width: auto;
}

.header__logo img {
  /*max-height: 48px;*/
  display: block;
}

/* Catalog button */
.header__catalog {
  display: flex;
  align-items: center;
  background: var(--blue-blue);
  border-right: 1px solid var(--blue-blue);
  color: #fff;
  padding: 21px 45px;
  max-width: fit-content;
  text-decoration: none;
  order: 3;

  transition: all .25s linear;
  border-bottom: 0 !important;
}

.header__catalog:hover,
.header__catalog:target {
  background: var(--blue-dark-blue);;
}

.header__catalog-wrapper {
  order: 3;
}

.header__catalog img {
  display: block;
}

.header__catalog-text {
  padding-left: 10px;
  line-height: 0;
  letter-spacing: -0.03em;
  color: var(--white-white);
}

/* Search bar */
.header__search {
  order: 4;
  flex: 1;
  height: 100%;
  position: relative;
  max-height: clamp(3.438rem, 3.037rem + 1.6vw, 4.063rem);
}

.header__search form {
  height: 100%;
}

.header__search-input {
  width: 100%;
  height: 100%;
  max-height: 100%;
  outline: none;
  border-top: 0 !important;
  border-left: 0 !important;
  border-bottom: 1px solid var(--black-black-015);
  border-right: 1px solid var(--black-black-015);
  padding: 22px 30px;
  background: var(--white-white);

  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--grey-grey);
}

.header__search-icon {
  /*position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);*/
  cursor: pointer;
  background: none;
  border: none;
  background: #ffffff;
}

/* Icons group */
.header__actions {
  order: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.938rem, 0.337rem + 2.4vw, 1.875rem);
  padding: 0 50px;
  border-bottom: 1px solid var(--black-black-015);
  border-right: 1px solid var(--black-black-015);
}

.header__action {
  font-size: 1.25rem;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.icon-hover {
  cursor: pointer;
  border: none;
  outline: none;
  display: block;
  background-size: contain !important;
  width: 30px;
  height: 30px;

  transition: all .25s linear;
}

.icon-search-mobile {
  display: none;
}

.compare {
  background: url('../images/icon/icon-compare.svg') center center no-repeat;
}

header .compare:hover,
.compare.in-compare  {
  background: url('../images/icon/icon-compare-active.svg') center center no-repeat;
}

.wishlist {
  background: url('../images/icon/icon-heart.svg') center center no-repeat;
}

header.wishlist:hover {
  background: url('../images/icon/icon-heart-active.svg') center center no-repeat;
}

.my-cart {
  background: url('../images/icon/icon-cart.svg') center center no-repeat;
}

/*.cart:hover {
  background: url('../images/icon/icon-heart-active.svg') center center no-repeat;
}*/


/* main-page preview*/
.preview {
  background: var(--grey-light-grey);
  padding: clamp(2.5rem, -1.941rem + 5.26vw, 4.375rem) 0px;
  position: relative;
  overflow: hidden;
}

.preview__title {
  font-size: clamp(2.5rem, 0.938rem + 6.25vw, 5.625rem);
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--black-black);
  max-width: clamp(20.313rem, 2.344rem + 71.88vw, 56.25rem);

  padding: 0;
  margin: 0;
  padding-bottom: clamp(11.125rem, -6.934rem + 21.4vw, 18.75rem);
}

.preview__container {
  position: relative;
  z-index: 3;
}

.preview  .preview__tabs {
  max-width: 647px;
}

.tabs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  /*flex-wrap: wrap;*/
  gap: 5px;
}

.tabs::-webkit-scrollbar {
  width: 0;
}

.preview .preview__tabs .tabs__list {
  flex-wrap: wrap;
}


.tabs__link {
  display: block;
  padding: 10px 25px;
  background: var(--grey-light-grey);
  border-radius: 260px;

  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--black-black);

  transition: all .25s linear;
}

.tabs__item:hover .tabs__link,
.tabs__link-prime,
.tabs__item.active button  {
  color: #fff;
  background: var(--blue-blue);
}

.tabs__link-prime {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.preview__image-absolute {
  mix-blend-mode: difference;
  position: absolute;
  height: clamp(14.375rem, 57.5vw, 43.125rem);
  max-height: 80%;


  top: 100px;
  right: 0;
  z-index: 1;
}

.preview__image-absolute img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: right;
}

.preview__line-1 {
  display: none;
}


/* catalog section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
  --gap-catalog: 20px;
}

.category-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--grey-light-grey);
  padding: clamp(0.938rem, 0.538rem + 1.6vw, 1.563rem);
  height: clamp(7.5rem, -2.687rem + 40.75vw, 27.875rem);
  position: relative;

  transition: all .25s linear;
}

.category-card:hover {
  background: var(--blue-blue);
}

.category-card:nth-child(5),
.category-card:nth-child(6),
.category-card:nth-child(7) {
  grid-column: span 2;
  height: auto;
  aspect-ratio: 1/1;
}

.category-card-prime {
  background: var(--blue-blue);
}

.category-card-prime:hover {
  background: var(--blue-dark-blue);
}

.category-card__title {
  line-height: 120%;
  font-size: clamp(1.375rem, 1.125rem + 1vw, 1.875rem);
  letter-spacing: -0.05em;
  color: var(--blue-blue);
  z-index: 2;
  margin-bottom: 5px;
}

.category-card-prime .category-card__title  {
  color: var(--white-white);
}

.category-card:hover .category-card__title {
  color: var(--white-white);
}

.category-card__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.category-card__image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: top right;
}

.category-card:nth-child(6) .category-card__image img  {
  object-fit: contain;
  object-position: center;
}

.category-card__count {
  color: var(--grey-grey);
  letter-spacing: -0.03em;
}


.category-card-prime .category-card__count  {
  color: var(--white-white);
}

.category-card:hover .category-card__count {
  color: var(--white-white-07);
}

.category-card-prime__arrow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* advantages on main-page */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
}

.advantages__title {
  grid-column: span 2;
}

.advantages__title .section__title {
  margin-bottom: 0;
  margin-bottom: 20px;
}

.advantages__text {
  font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem);
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--black-black);
}

.advantages__item {
  border: 1px solid var(--black-black-015);
  padding: 25px;
  background: var(--white-white);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(4.375rem, -11.989rem + 25.57vw, 7.188rem);
}

.advantages__item-accent {
  border: 0px;
  background: var(--blue-blue);
}

.advantage__box-img {
  border-radius: 110px;
  width: 100px;
  height: 100px;
  background-color: var(--blue-blue-005);
  margin-left: auto;

  display: flex;
  justify-content: center;
  align-items: center;
}

.advantages__item-accent .advantage__box-img {
  background: var(--white-white-005);
}

.advantage__box-img svg {
  padding: 30px;
  width: auto;
  height: auto;
}

.advantage__title {
  padding: 0;
  margin: 0;

  font-weight: 400;
  font-size: clamp(1.375rem, 1.125rem + 1vw, 1.875rem);
  line-height: 120%;
  letter-spacing: -0.05em;
  color: var(--black-black);
}

.advantage__text {
  display: block;
  padding-top: 10px;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--black-black);
}

.advantage__text {
  display: none;
}

.advantages__item-accent .advantage__text {
  display: block;
}

.advantages__item-accent .advantage__title,
.advantages__item-accent .advantage__text  {
  color: var(--white-white);
}

/* leader on main page */
.leader {
  position: relative;
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
}

.leader__image-absolute-left,
.leader__image-absolute-right {
  position: absolute;
  top: -236px;
}

.leader__image-absolute-left {
  left: 0;
}

.leader__image-absolute-right {
  right: 0;
}

.leader__box {
  max-width: 750px;
  margin: 0 auto;

  text-align: center;
}

.leader__title {
  margin: 0;
  padding: 0;
}

.leader__text {
  display: block;
  margin: clamp(0.938rem, 0.625rem + 1.25vw, 1.563rem) 0 clamp(0.938rem, 0.469rem + 1.88vw, 1.875rem);
}

.leader__btn-more {
  margin: 0 auto;
}


/* site footer */
.site-footer {
  background: var(--blue-blue);
  margin-top: var(--padding-block);
}

.page-id-70 .site-footer,
.page-id-72 .site-footer,
.error404 .site-footer {
  margin-top: 0 !important;
}

.site-footer__top {
  border-bottom: 1px solid var(--white-white-015);
  border-top: 1px solid var(--white-white-015);
}

.footer-grid {
  display: grid;
  padding-top: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem);
  grid-template-columns: repeat(4, 1fr);
}

.footer-grid__column:first-child {
  padding-left: 0;
}

.footer-grid__column:last-child {
  padding-right: 0;
}

.footer-grid__column {
  padding: 25px;
}

.footer-grid__column:not(:first-child) {
  border-left: 1px solid var(--white-white-015);
}

.footer-grid__column-name {
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: var(--white-white);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 10px;

  display: flex;
  flex-direction: column;
  gap: clamp(0.375rem, 0.25rem + 0.5vw, 0.625rem);
}

.site-footer ul li a,
.footer-grid__address  {
  display: block;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--white-white);
}

.footer-grid__address {
  margin-top: 10px;
}

.footer-grid__column-social {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2.5rem, 1.875rem + 2.5vw, 3.75rem);
}

.footer__contact-prone {
  margin-bottom: clamp(0.5rem, 0.219rem + 1.13vw, 1.063rem);
}

.footer__contact {
  font-weight: 600;
  font-size: clamp(1.875rem, 1.437rem + 1.75vw, 2.75rem);
  line-height: 100%;
  letter-spacing: -0.03em;
  color: var(--white-white);
  display: block;
}

.footer__contacts__social {
  display: flex;
  flex-direction: row;
  gap: clamp(0.625rem, 0.313rem + 1.25vw, 1.25rem);
}

.footer__contact-icon {
  width: clamp(3.75rem, 3.125rem + 2.5vw, 5rem);
  height: clamp(3.75rem, 3.125rem + 2.5vw, 5rem);
  background: url(../images/icon/whatsapp.svg) center center no-repeat;
}

.footer__contact-tg {
  background: url(../images/icon/telegram.svg) center center no-repeat;
}

.footer__contact-whatsapp:hover {
  background: url(../images/icon/whatsapp-hover.svg) center center no-repeat;
}

.footer__contact-whatsapp:active {
  background: url(../images/icon/whatsapp-active.svg) center center no-repeat;
}

.footer__contact-tg:hover{
  background: url(../images/icon/telegram-hover.svg) center center no-repeat;
}

.footer__contact-tg:active {
  background: url(../images/icon/telegram-active.svg) center center no-repeat;
}

.politic-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: clamp(0.938rem, 0.625rem + 1.25vw, 1.563rem) 0;
}

.politic-grid__item {
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: var(--white-white-07);
}

.politic-grid__item a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--white-white);
}

.politic-grid__item a:hover {
  opacity: 0.8;
}

.site-footer__logo {
  max-width: 100%;
  height: auto;
  width: 100%;
  object-fit: cover;
}

.button.add_to_cart_button.is-added {
  background-color: #4caf50;
  color: #fff;
}
.button.add_to_cart_button.is-added::after {
  content: "✓ Добавлено";
  margin-left: 8px;
}

/* brands swiper om main page */
.brand-item {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.brand-item::before, .brand-item::after, .brand-item__line::before, .brand-item__line::after {
  display: block;
  content: "";
  width: 20px;
  height: 12px;
  position: absolute;
  z-index: 2;

  transition: all .25s linear;
}

.brand-item::before {
  top: 2px;
  left: 2px;
  border-top: 2px solid var(--black-black-015);
  border-left: 2px solid var(--black-black-015);
}

.brand-item::after {
  top: 2px;
  right: 2px;
  border-top: 2px solid var(--black-black-015);
  border-right: 2px solid var(--black-black-015);
}

.brand-item__line::before {
  bottom: 2px;
  left: 2px;
  border-bottom: 2px solid var(--black-black-015);
  border-left: 2px solid var(--black-black-015);
}
.brand-item__line::after {
  bottom: 2px;
  right: 2px;
  border-bottom: 2px solid var(--black-black-015);
  border-right: 2px solid var(--black-black-015);
}

.brand-item:hover::before,
.brand-item:hover::after,
.brand-item:hover .brand-item__line::before,
.brand-item:hover .brand-item__line::after,
.swiper-slide-active.brand-item::before,
.swiper-slide-active.brand-item::after,
.swiper-slide-active .brand-item__line::before,
.swiper-slide-active .brand-item__line::after {
  border-color: var(--black-black);
}

.brand-item img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.swiper-slide-active img {
  filter: grayscale(0%);
}

.brand-item:hover img {
  filter: grayscale(0%);
}

/* ACF icons hover swap for parent categories (no absolute positioning) */
.parent-category-card .category-thumb .icon-hover {
	display: none;
}

.parent-category-card:hover .category-thumb.has-hover-icon .icon-default,
.parent-category-card a:hover .category-thumb.has-hover-icon .icon-default {
	display: none;
}

.parent-category-card:hover .category-thumb.has-hover-icon .icon-hover,
.parent-category-card a:hover .category-thumb.has-hover-icon .icon-hover {
	display: block;
}

/* news on main page */
.news-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;

  margin-bottom: 30px;
}

.news-item:has(.news-image) {
  grid-column: span 2;
}

.news-item:nth-child(9) {
  grid-row: span 2;
  grid-column: span 2;
}

.news-item {
  border: 1px solid var(--black-black-015);
  padding: clamp(0.75rem, 0.344rem + 1.63vw, 1.563rem);
  background: var(--white-white);
  min-height: clamp(8.125rem, 2.813rem + 21.25vw, 18.75rem);

  transition: all .25s linear;
}

.news-item:hover {
  background: var(--blue-blue);
}

.news-item:active {
  background: var(--blue-dark-blue);
}

.news-item:has(.news-image) {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;

}

.news-item:nth-child(9) {
  flex-direction: column;
}

.news-image {
  width: calc(50% - 10px);
}

.news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item:has(.news-image) .news-content  {
  width: calc(50% - 10px);
}

.news-item:nth-child(9) .news-image,
.news-item:nth-child(9) .news-content {
  width: 100%;
}

.news-item:nth-child(9) .news-content {
  flex-direction: row;
  flex-wrap: wrap;
}

.news-item:nth-child(9) .single-post__category {
  flex: 0;
  order: 2;
}

.news-item:nth-child(9) .news-title-item {
  order: 1;
  /*flex: 1;*/
  font-size: 30px;
  line-height: 120%;
  margin-bottom: 5px;
}

.news-item:nth-child(9) .news-date {
  display: block;
  width: 100%;
  order: 3;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;

  height: 100%;
}

.news-title-item {
  /*flex: 1;*/

  font-weight: 500;
  line-height: 120%;
  font-family: var(--font-family);
  font-size: clamp(1.25rem, 1.094rem + 0.63vw, 1.563rem);
  letter-spacing: -0.05em;
  color: var(--black-black);
  padding: 0;
  margin: 0;

  transition: all .25s linear;
}

.news-item:hover .news-title-item  {
  color: var(--white-white);
}

.news-item:hover .news-date  {
  color: var(--white-white-07);
}

.news-item:hover .single-post__category span {
  color: var(--white-white-07);
  border-color: var(--white-white-015);
}

.news-title-item a {
  color: var(--black-black);
}

.news-date {
  letter-spacing: -0.03em;
  color: var(--grey-grey);

  transition: all .25s linear;
}

.btn-line {
  cursor: pointer;
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--black-black);  

  background-color: transparent;
  outline: none;
  border: 0;
}

.btn-line:hover {
  opacity: 0.7;
}

.btn-line:visited {
  color: var(--black-black); 
}

.news-btn {
  display: flex;
  justify-content: center;
  align-content: center;
  margin: 0 auto;
  width: fit-content;
}

/* prev-page title line */
.prev-page {
  position: relative;
  background-image: url('../images/page/hero.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;

  max-width: 1920px;
  margin: 0 auto;
}

.prev-page-background-underline {
  background-image: url('../images/page/hero-underline.svg');
  background-position: bottom;
}

.prev-page-background-new {
  background-image: url('../images/page/hero-footer.svg');
  background-position: bottom;
}

.prev-page-hero-small {
  background-image: url('../images/page/hero-small.svg');
}

.prev-page__title {
  text-align: center;
  padding: 0;
  font-weight: 400;
  font-size: clamp(4.063rem, 1.094rem + 11.88vw, 10rem);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--black-black);
  margin: 0;
  background: var(--white-white);
  padding: 10px;
  z-index: 1;
  position: relative;
  width: fit-content;
}

.prev-page__title-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(3.125rem, 2.344rem + 3.13vw, 4.688rem) 0;
}

.about-page__title-box {
  padding: clamp(3.125rem, 1.406rem + 6.88vw, 6.563rem) 0;
}

.prev-page__title-small {
  font-size: clamp(1.375rem, -0.125rem + 6vw, 4.375rem);
}


/* post archive */
.list-post {
  margin-top: 25px;
}

#news-tabs {
  max-width: 100%;
  margin-bottom: 10px;
}

.news-tabs__container {
  display: flex;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
}

.tabs {
  display: flex;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
  /*margin-bottom: 25px;*/

  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs a,
.tabs button {
  display: flex;
  padding: clamp(0.5rem, 0.438rem + 0.25vw, 0.625rem) clamp(1.25rem, 1.094rem + 0.63vw, 1.563rem);
  background: #fff;
  border: 1px solid #ececec;
  background: #ececec;
  border-radius: 260px;
  text-decoration: none;
  color: var(--black-black);
  transition: 0.2s;
  height: clamp(1.875rem, 1.437rem + 1.75vw, 2.75rem);
  align-items: center;
  justify-content: center;
  white-space: nowrap;

  cursor: pointer;
}

.news-tabs a {
  background: #fff;
}

a.tabs__link-prime {
  color: #fff;
  background: var(--blue-blue);
}

a.tabs__link-prime:hover {
  background: var(--blue-dark-blue) !important;
}

a.tabs__link-prime svg {
  width: clamp(0.938rem, 0.719rem + 0.88vw, 1.375rem);
  height: auto;
}

.tabs a:hover {
  background: var(--blue-blue);
  color: var(--white-white);
}

.tabs a.active {
  background: var(--blue-blue);
  color: var(--white-white);
}

.tabs a.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: default;
}

.list-post__news-container {
  width: 100%;
  margin-top: clamp(0.938rem, 0.625rem + 1.25vw, 1.563rem);
}

.search-post {
  /*margin-top: 15px;*/
}

.news-loader {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.search-loader {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor: wait;
  display: none;
  background: white;
  padding: 22px 30px;
  display: none;
  justify-content: flex-start;
  align-items: center;
}

.search-loader.active {
  display: flex;
}

.search-loader span {
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--grey-grey);
  line-height: 130%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.search-close {
  /*position: absolute;*/
  /*right: 25px;*/
  /*top: 50%;
  transform: translateY(-50%);*/
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #000;
  font-size: 22px;
  display: none;
}

.search-close.active {
  display: block;
}


.search-wrapper__buttons {
  position: absolute;
  right: 25px;
  top: 0;
  height: 100%;

  display: flex;
  gap: 15px;
  align-items: center;
}

.news-list {
  transition: opacity 0.3s ease;
}
.news-list.hidden {
  opacity: 0;
  pointer-events: none;
}

.no-posts {
  animation: fadeIn 0.3s ease-in-out;
  color: #666;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-wrapper {
  position: relative;
  height: 100%;
}

.search-wrapper__icon {
  position: absolute;
  top: 10px;
  right: 24px;
}

.list-post input {
  border: 1px solid var(--black-black-015);
  border-radius: 50px;
  padding: 12px 24px;

  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--black-black);
  outline: none;
}

.list-post input:placeholder-shown {
  color: var(--grey-grey);
}

.list-post input:active,
.list-post input:focus  {
  border: 1px solid var(--blue-blue);
}

/* mailing form */
.mailing__box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mailing__title {
  max-width: 690px;
}

.form-mailing {
  max-width: 440px;
}

.form-mailing__title {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.03em;
  margin-bottom: 25px;
  display: block;
  color: var(--black-black);
}

/* single post */
.single-post__box-title {
  max-width: 1232px;
  margin: 0 auto;
}

.breadcrumbs-absolute {
  position: absolute;
  max-width: calc(100% - 30px);
  width: calc(100% - 30px);
  left: 30px;
  top: clamp(0.938rem, 0.469rem + 1.88vw, 1.875rem);
}

.breadcrumbs-margin-30 {
  margin: clamp(0.938rem, 0.469rem + 1.88vw, 1.875rem) 0;
}

.breadcrumbs {
  width: 100%;
}

.breadcrumbs ul {
  padding: 0;
  margin: 0;
  list-style: none;

  display: flex;
  gap: 5px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.breadcrumbs__item a {
  font-size: clamp(0.75rem, 0.625rem + 0.5vw, 1rem);
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--grey-grey);
  white-space: nowrap;
}

.breadcrumbs__item:last-child span {
  white-space: nowrap;
  color: var(--blue-blue);
  font-size: clamp(0.75rem, 0.625rem + 0.5vw, 1rem);
}

.breadcrumbs__item a:hover {
  color: var(--blue-blue);
}

.single-post__meta {
  margin: clamp(0.938rem, 0.313rem + 2.5vw, 2.188rem) 0 clamp(1.875rem, 0.938rem + 3.75vw, 3.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.single-post__category {
  margin-bottom: 18px;
  flex: 1;
}

.prev-page__category {
  margin-bottom: 0;
}

.single-post__category span,
.tag {
  display: inline-block;
  margin: 0 auto;
  border: 1px solid var(--black-black-015);
  border-radius: 50px;
  padding: 0px 15px;
  backdrop-filter: blur(10px);
  /*background: var(--white-white);*/

  font-size: clamp(0.875rem, 0.813rem + 0.25vw, 1rem);
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--grey-grey);

  transition: all .25s linear;
}

.single-post__date {
  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--grey-grey);
}

.post__thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.post__thumbnail img {
  max-width: 1920px;
  width: 100%;
  height: clamp(11.875rem, 2.188rem + 38.75vw, 31.25rem);
  object-fit: cover;
  object-position: center center;
  display: block;
}

.post__content {
  max-width: 754px;
  margin: clamp(1.875rem, 0.938rem + 3.75vw, 3.75rem) auto 0;
  width: 100%;
  padding: 0 clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
}

.post__content-max {
  margin-top: clamp(3.125rem, 2.898rem + 1.14vw, 3.75rem);
}

.delivery-page .post__content {
  margin: 0;
  padding: 0;
}

.delivery-page .post__content h2:first-child {
  margin-top: 0;
}

.post__content .tag + h2,
.post__content .tag + h3,
.post__content .tag + p {
  margin-top: 0;
  padding-top: 0;
  padding-top: 20px;
}

.post__content h2 {
  margin: clamp(1.25rem, 0.625rem + 2.5vw, 2.5rem) 0 clamp(0.625rem, 0.469rem + 0.63vw, 0.938rem);
  font-size: clamp(1.375rem, 1.08rem + 1.48vw, 2.188rem);
  font-weight: 400;
  line-height: 110%;
  letter-spacing: -0.05em;
  color: var(--black-black);
}

.post__content h2 strong {
  font-weight: 500;
}

.post__content h3 {
  margin: clamp(0.625rem, 0.469rem + 0.63vw, 0.938rem) 0 clamp(0.625rem, 0.469rem + 0.63vw, 0.938rem);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.094rem + 0.63vw, 1.563rem);
  letter-spacing: -0.05em;
  color: var(--black-black);
  line-height: 110%;
}

.post__content a {
  color: var(--black-black);
  text-decoration: underline;
}

.post__content a:hover {
  color: var(--blue-blue);
}

.post__content p {
  font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem);
  margin: clamp(0.625rem, 0.469rem + 0.63vw, 0.938rem) 0;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--black-black);
}

.post__content p em {
  display: block;
  max-width: 440px;
  font-style: normal;
  font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem);
  color: var(--grey-grey);
}

.post__content ul,
.post__content ol {
  display: flex;
  flex-direction: column;
  gap: 8px;

  padding: 0;
  margin: 15px 0;
  padding-left: 20px;
  opacity: 0.7;
}

.post__content li {
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem) !important;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--black-black);
}

.post__content ul:has(.has-medium-font-size) {
  opacity: 1;
}

.post__content .wp-block-image {
  display: block;
  margin: clamp(1.563rem, 1.094rem + 1.88vw, 2.5rem) 0;
}

/* about-us page */
.about-us {
  margin-top: clamp(1.563rem, 1.094rem + 1.88vw, 2.5rem);
  margin-bottom: var(--padding-block);
}

.about-us__title {
  max-width: 1350px;
  margin: 0 auto;
  width: 100%;

  line-height: 110%;
  font-weight: 400;
  font-size: clamp(1.25rem, 0.781rem + 1.88vw, 2.188rem);
  letter-spacing: -0.05em;
  text-align: center;
  color: var(--black-black);
}

.about-us-prev {
  position: relative;
  overflow: hidden;
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
}

.about-us-prev__line-container {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  overflow: hidden;

  background: var(--blue-blue);
  padding: 25px 15px;
}

.about-us-prev__line {
  display: flex;
  /*justify-content: center;*/
  align-items: center;
  gap: clamp(1.25rem, -0.182rem + 2.23vw, 2.5rem);
}

.about-us-prev__line svg {
  width: clamp(0.75rem, 0.177rem + 0.89vw, 1.25rem);
  height: clamp(0.75rem, 0.177rem + 0.89vw, 1.25rem);
}

.about-us-prev__line span {
  font-size: clamp(2.313rem, -0.05rem + 3.69vw, 4.375rem);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--white-white);
  white-space: nowrap;
}

.about-us-prev__image,
.about-us-prev__image-title {
  display: block;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-us-prev__image-title {
  margin-top: clamp(0.625rem, 0.313rem + 1.25vw, 1.25rem);
  font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem);
  line-height: 110%;
  letter-spacing: -0.05em;
  text-align: center;
  color: var(--black-black);
  max-width: clamp(32.5rem, 20.332rem + 18.99vw, 43.125rem);
}

.services {
  position: relative;
  max-width: 1920px;
  margin-right: auto;
  margin-left: auto;
}

.services__absolute-left,
.services__absolute-right {
  position: absolute;
  top: 0;
}

.services__absolute-left {
  left: 0;
}

.services__absolute-right {
  right: 0;
}

/* timeline */
.timeline {
  position: relative;
  /*padding: 2rem 0;*/
  display: grid;
  row-gap: 15px;
}

/* центральная линия */
.timeline:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  bottom: 0;
  width: 20px;
  background-image: url('../images/about-page/lines.svg');
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: start;
  position: relative;

}

.timeline-item h3 {
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.25rem, 0.781rem + 1.88vw, 2.188rem);
  line-height: 110%;
  letter-spacing: -0.05em;
  color: var(--black-black);
}

.timeline-item p {
  padding: 0;
  margin: 0;
  display: block;
  margin-top: clamp(0.5rem, 0.438rem + 0.25vw, 0.625rem);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(0.75rem, 0.625rem + 0.5vw, 1rem);
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--grey-grey);
  max-width: 390px;
}

/* Левое и правое позиционирование */
.timeline-item.left .content {
  grid-column: 1;
  text-align: right;
  max-width: 390px;
  margin-left: auto;
}

.timeline-item.right .content {
  grid-column: 3;
  text-align: left;
  max-width: 390px;
  margin-right: auto;
}

.timeline-item:last-child {
  margin-top: 25px;
}

/* history on about-page */
.history__box {
  text-align: center;
}

.history__sub-title {
  text-align: center;
  display: block;
  max-width: 1229px;
  margin: 0 auto;

  font-size: clamp(1.25rem, 0.781rem + 1.88vw, 2.188rem);
  line-height: 110%;
  letter-spacing: -0.05em;
  color: var(--black-black);
  margin-bottom: clamp(0.938rem, 0.625rem + 1.25vw, 1.563rem);
}

.history__footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 20px;

  max-width: 900px;
  margin: 0 auto;
  margin-top: clamp(0.938rem, 0.406rem + 2.13vw, 2rem);
}

.history__img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
}

.contact-map img {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.history__info {
  grid-column: span 2;

  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--black-black);
}

.history__text {
  text-align: left;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--grey-grey);
}

/* contact-grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.938rem, 0.625rem + 1.25vw, 1.563rem) 25px;

  margin-bottom: clamp(2.5rem, 1.875rem + 2.5vw, 3.75rem);
}

.contact-grid__column:first-child {
  grid-row: span 2;
  grid-column: span 2;
}

.contact-grid__title {
  display: block;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--blue-blue);

  margin-bottom: 8px;
}

.contact-grid__link {
  display: block;
  font-size: clamp(1.75rem, 1.531rem + 0.88vw, 2.188rem);
  letter-spacing: -0.05em;
  color: var(--black-black);
  text-decoration: none;
  line-height: normal;

  white-space: nowrap;
}

.contact-grid__link:hover {

}

.contact-grid__meta {
  font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem);
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--black-black);
}

.contact-grid__social {
  display: flex;
  gap: clamp(0.625rem, 0.313rem + 1.25vw, 1.25rem);
}

/* contact page */
.gird-form {
  margin: 25px 0 var(--padding-block);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gird-form__title {
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--blue-blue);
  display: block;
  margin-bottom: 5px;
  line-height: 110%;
}

.gird-form__column:first-child {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gird-form__link,
.gird-form__meta {
  font-size: clamp(1.375rem, 0.969rem + 1.63vw, 2.188rem);
  line-height: 110%;
  letter-spacing: -0.05em;
  color: var(--black-black);
  text-decoration: none;
  display: inline-block;
}

.gird-form__social {
  display: flex;
  gap: 20px;
}

.gird-form__social-link svg {
  width: clamp(3.75rem, 3.438rem + 1.25vw, 4.375rem);
  height: clamp(3.75rem, 3.438rem + 1.25vw, 4.375rem);
}

p.gird-form__text {
  font-size: clamp(0.875rem, 0.813rem + 0.25vw, 1rem);
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--grey-grey);
  margin-top: 5px;
  display: block;
  max-width: 440px;
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
}

/* delivery-page */
.delivery-page__prev,
.certificates-page__prev {
  padding: var(--padding-block) 0;
  text-align: center;
}

.delivery-page__title,
.certificates-page__title {
  text-align: center;
  margin: 0;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(4.063rem, 1.094rem + 11.88vw, 10rem);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--black-black);
}

.certificates-page__title {
  font-size: clamp(3.125rem, -0.313rem + 13.75vw, 10rem);
}

.certificates-section {
  overflow: hidden;
  margin-bottom: clamp(1.875rem, 0.313rem + 6.25vw, 5rem);
}

/* Style tab links */
.delivery-tabs,
.tab-panel  {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

h3.faq-title {
  font-size: clamp(1.563rem, 0.938rem + 2.5vw, 2.813rem);
}

.faq-info-block {
  margin-top: clamp(1.563rem, 1.094rem + 1.88vw, 2.5rem);
  max-width: 440px;
}

.delivery-tabs__box,
.tab-panel__column {
  grid-column: span 2;
}

.delivery-tabs__box {
  margin-bottom: clamp(1.875rem, 1.563rem + 1.25vw, 2.5rem);
}

.tab-panel__column-mini {
  overflow: hidden;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}

.delivery-btn {
  margin-top: clamp(1.563rem, 1.363rem + 0.8vw, 1.875rem);
}

.tab-panel__title {
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.188rem, 1.094rem + 4.38vw, 4.375rem);
  line-height: 110%;
  letter-spacing: -0.05em;
  color: var(--black-black);
}

.faq-panel__title {
  font-size: clamp(1.75rem, 1.219rem + 2.13vw, 2.813rem);
}

.tab-panel__column-mini .tab-panel__title {
  word-break: break-all;
  hyphens: auto;
}

.accordion {
  position: relative;
  background-color: transparent;
  cursor: pointer;
  padding: clamp(0.938rem, 0.781rem + 0.63vw, 1.25rem) 0;
  padding-right: 30px;
  padding-left: 0;
  width: 100%;
  text-align: left;
  border: none;
  border-top: 1px solid var(--black-black-015);
  outline: none;
  transition: 0.4s;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.094rem + 0.63vw, 1.563rem);
  line-height: 120%;
  letter-spacing: -0.05em;
  color: var(--black-black);
}

.tab-panel__column-accordion {
  border-bottom: 1px solid var(--black-black-015);
  margin-bottom: clamp(3.125rem, 2.188rem + 3.75vw, 5rem);
}


.accordion.active, .accordion:hover {
  /*background-color: #ccc;*/
}

.panel {
  /*padding: 15px 0;*/
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel p,
.text {
  padding: 0;
  margin: 0;
  padding-bottom: clamp(0.938rem, 0.781rem + 0.63vw, 1.25rem);
  font-size: clamp(0.875rem, 0.813rem + 0.25vw, 1rem);
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--grey-grey);
}

.accordion:after {
  position: absolute;
  top: 50%;
  right: 8px;
  content: url('../images/icon/plus.svg'); /* Unicode character for "plus" sign (+) */
  /*width: 16px;
  height: 16px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  color: #777;
  float: right;
  /*margin-left: 5px;*/
  transition: all .25s linear;
  transform: translateY(-50%);
}

.accordion.active:after {
  content: url('../images/icon/minus.svg');
}

.faq-panel {
  row-gap: 0;
}

/* header search */
#search-suggestions {
  position: absolute;
  z-index: 9990;
  background: var(--white-white);
}

#search-suggestions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  /*padding-top: 15px;*/
}

#search-suggestions li {
  padding: 8px 25px;

  transition: all .2s linear;
}

#search-suggestions li.no-results {
  padding: 20px;
}

#search-suggestions li a {
  text-decoration: none;
  color: var(--black-black);
  display: block;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.03em;
}

#search-suggestions li.selected {
  background: var(--blue-blue);
}

#search-suggestions li.selected a {
  color: var(--white-white);
}

#search-suggestions .close-btn {
  display: none;
  /*position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;*/
}

/*#search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  z-index: 10;
  display: none;
}*/


.header__search {
  position: relative;
  z-index: 1003;
}

.header__catalog-wrapper:has(.catalog-open) ~ .header__search {
  z-index: 1;
}

header.search-active .header__catalog {
  z-index: 1;
}


/* 3. Поднятие дропдауна */
/* ===========================
   Обёртка каталога
   =========================== */
.header__catalog-wrapper {
  position: relative;
}

/* ===========================
   Затемняющий оверлей
   =========================== */
.catalog-overlay,
#search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}

/* ===========================
   Контейнер выпадающего меню
   =========================== */
.catalog-menu {
  display: none;
  position: absolute;
  top: 100%;      /* сразу под кнопкой */
  left: 0;
  width: fit-content;
  display: flex;  /* две колонки: родители и дети */
  background: none;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===========================
   Левая колонка (родители)
   =========================== */
.catalog-parents {
  background-color: #fff; /* цвет фона левой панели */
  width: 468px;           /* подберите ширину под свой дизайн */
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.catalog-parent {
  transition: background-color 0.25s;
  padding: 0;
}

.catalog-parent__box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  cursor: pointer;
  width: 100%;
}

.catalog-parent__name {
  font-size: 18px;
  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--black-black);
  transition: color .25s linear;

  flex: 1;
  display: block;
}

.catalog-parent__icon {
  fill:  var(--black-black);;
  transition: fill .25s linear;
}

.catalog-parent img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  margin-right: 10px;
}


.catalog-parent:hover,
.catalog-parent.active {
  background-color: var(--blue-blue);
}

.catalog-parent:hover .catalog-parent__name,
.catalog-parent.active .catalog-parent__name  {
  color: #fff;
}

.catalog-parent:hover .catalog-parent__icon,
.catalog-parent.active .catalog-parent__icon   {
  fill: #fff;
}

/* ===========================
   Правая колонка (подкатегории)
   =========================== */
.catalog-children {
  background-color: #ffffff;
  flex: 1;                   /* занимаем всё оставшееся место */
  display: flex;
  align-items: flex-start;   /* выравниваем по верху */
  overflow-y: auto;
  width: 400px;

}

/* по умолчанию блоки подкатегорий скрыты */
.children-container {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

/* класс .active добавляет JS к соответствующему контейнеру */
.children-container.active {
  display: flex;
}

/* стили ссылок подкатегорий */
.children-container__link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 20px 25px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.children-container__link-text {
  display: block;
  flex: 1;

  line-height: 110%;
  letter-spacing: -0.03em;
  color: var(--black-black);

  transition: all .25s linear;
}

.children-container__icon-line {
  fill: #000;

  transition: all .25s linear;
}

.children-container__icon-arrow {
  stroke: #000;

  transition: all .25s linear;
}

.children-container__link:hover {
  background: var(--blue-blue);
}

.children-container__link:hover .children-container__link-text {
  color: var(--white-white);
}

.children-container__link:hover .children-container__icon-line {
  fill: var(--white-white);
}

.children-container__link:hover .children-container__icon-arrow {
  stroke: var(--white-white);
}


/* ===========================
   Показываем меню + оверлей при hover
   =========================== */

.header__catalog-icon {
  width: 28px;
  height: 23px;
  background-image: url('../images/icon-menu.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  transition: all .35s;
}

.header__catalog.catalog-open .header__catalog-icon {
  background-image: url('../images/close-icon-white.svg');
}

/* чтобы меню не схлопывалось при переходе курсора внутрь */
.catalog-menu:hover {
  display: flex;
}

/* по умолчанию правую колонку не показываем */
.catalog-children {
  display: none;
}

/* как только есть активный контейнер — включаем её */
.header__catalog-wrapper.has-children .catalog-children {
  display: flex;
}

.catalog-overlay,
.catalog-menu {
  display: none;
}

/* 1. Оверлей на 1000-м уровне */
.catalog-overlay {
  z-index: 1000;
}

/* 2. Кнопка «Каталог» на уровне выше оверлея */
.header__catalog:not(.hidden) {
  position: relative;  /* чтобы z-index сработал */
  z-index: 1001;
}


/* certificates-page */
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.certificates-page__prev {
  max-width: 1076px;
  margin: 0 auto;
}

.grid-two__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.219rem + 2.13vw, 2.813rem);
  line-height: 100%;
  letter-spacing: -0.05em;
  color: var(--black-black);
  padding: 0;
  margin: 0;
}

.certificates__item {
  padding-left: 50px;
  padding-right: 50px;
  transform: translateX(50px);
  display: block;
  transition: background .25s linear;
}
.certificates__item:hover,
.certificates__item:hover .certificates__item-wrapper  {
  background: var(--blue-blue);
  border-color: transparent;
}

.certificates__item-wrapper {
  border-top: 1px solid var(--black-black-015);
  background: var(--white-white);
  padding: clamp(0.625rem, 0.469rem + 0.63vw, 0.938rem) 0;
  padding-left: 0;
  transition: background .25s linear;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.certificates__item:last-child .certificates__item-wrapper {
  border-bottom: 1px solid var(--black-black-015);
}

.certificates__name {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--black-black);
  margin-bottom: 10px;
  display: block;

  transition: all .25s linear;
}

.certificates__item:hover .certificates__name {
  color: var(--white-white);
}

.certificates__meta {
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: var(--black-black);
  opacity: 0.4;

  transition: all .25s linear;
}

.certificates__item:hover .certificates__meta {
  color: var(--white-white);
}

.certificates__link {
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--black-black);

  transition: all .25s linear;
}

.certificates__item:hover .certificates__link {
  color: var(--white-white);
}

.title-default {
  font-weight: 400;
  font-size: clamp(2.188rem, 1.392rem + 3.98vw, 4.375rem);
  line-height: 110%;
  letter-spacing: -0.05em;
  color: var(--black-black);

  padding: 0;
  margin: 0;
  padding-top: clamp(3.125rem, 2.443rem + 3.41vw, 5rem);
  text-align: center;
}


input[type=checkbox],
input[type=checkbox].input-checkbox {
  box-sizing: border-box;
	cursor: pointer;
	appearance: none;
	border: 1px solid var(--black-black-015);
	width: 15px;
	height: 15px;
  min-width: 15px;
	margin-right: 10px;
	background: var(--grey-light-grey);
	position: relative;
	transition: opacity .25s linear;
  padding: 0;
}

input[type=checkbox]::after,
input[type=checkbox].input-checkbox::after  {
  content: "";
  position: absolute;
	width: 0;
	height: 0;
	background-color:  var(--blue-blue);
  background-image: url("../icon/my-check.svg");
  background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
  transition: opacity .25s linear;
	opacity: 0;
}

input[type=checkbox]:checked::after,
input[type=checkbox].input-checkbox:checked::after {
	width: 15px;
	height: 15px;
	opacity: 1;
  transition: opacity .25s linear;
}


/* page 404 */
.page-404 {
  padding: var(--padding-section) 0;
  position: relative;
  background-image: url(../images/page/hero-bottom-line.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.page-404__section {
  max-width: 1920px;
  padding: 0 20px;
  margin: 0 auto;
}

.page-404__title {
  text-align: center;
  position: relative;
  z-index: 2;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: clamp(8.125rem, 2.232rem + 26.19vw, 21.875rem);
  line-height: 90%;
  letter-spacing: -0.07em;
  color: var(--blue-blue);
  margin: 0;
  background-color: #fff;
  max-width: fit-content;
  display: block;
  margin: 0 auto;
}

h2.page-404__sub-title {
  font-size: clamp(1.25rem, 1.116rem + 0.6vw, 1.563rem);
}

p.page-404__text {
  font-size: clamp(0.875rem, 0.821rem + 0.24vw, 1rem);
  padding-top: 10px;
  max-width: 380px;
  display: block;
  margin: 0 auto;
}

.page-404__box {
  padding-top: clamp(0.625rem, 0.357rem + 1.19vw, 1.25rem);
  padding-bottom: 5px;
}

.notice-dismiss,
.header-sidebar {
  display: none;
}

/* laptop */
@media (max-width: 1350px) {
  .header__menu-btn {
    display: flex;
    border-bottom: 1px solid var(--black-black-015);
    border-right: 1px solid var(--black-black-015);
  }

  .header__logo {
    border-right: 1px solid var(--black-black-015);
    border-left: none;
    max-height: clamp(3.438rem, 3.037rem + 1.6vw, 4.063rem);
  }

  .header__grid {
    grid-template-columns: 148px 160px auto 190px;
  }

  .topbar__contacts {
    padding-right: clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
    padding-left: clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
    padding-top: clamp(0.75rem, 0.429rem + 1.28vw, 1.25rem);
    padding-bottom: clamp(0.75rem, 0.429rem + 1.28vw, 1.25rem);
  }

  .topbar__links {
    display: none;
  }

  .topbar {
    order: 1;
    grid-column: span 4;
  }

  .header__menu-btn {
    order: 2;
    padding: 0;
    justify-content: center;
  }

  .header__catalog-wrapper {
    display: none;
  }

  .header__logo {
    grid-row: span 1;
    order: 3;
    padding: 21px;
    max-width: 160px;
  }

  .topbar__contacts {
    width: 100%;
  }

  .topbar__contacts__social {
    flex: 1;
    justify-content: flex-end;
  }

  .topbar__contact {
    margin-left: 0;
  }

  .header__actions {
    padding: 0 20px;
  }


  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .advantages__title {
    grid-column: span 1;
  }

  .advantages__item-null {
    display: none;
  }

  .advantages__item-accent {
    background: var(--white-white);
    border: 1px solid var(--black-black-015);
  }

  .advantages__item-accent .advantage__box-img {
    background-color: var(--blue-blue-005);
  }

  .advantages__item-accent .advantage__title, .advantages__item-accent .advantage__text {
    color: var(--black-black);
  }

  .advantages__item-accent .advantage__box-img svg path,
  .advantages__item-accent .advantage__box-img svg line {
    stroke: rgb(0, 54, 117);
  }

  .advantage__text {
    display: block;
  }

  .advantages__item-accent .advantage__title {
    margin-bottom: 10px;
  }

  .advantages__item-accent .advantage__text {}

  .advantages__item-accent .advantage__text {
    font-size: 16px;
  }

  .delivery-tabs__box, .delivery-tabs__box, .tab-panel__column,
  .tab-panel__column-mini {
    grid-column: span 4;
  }

  .faq-title {
    margin-bottom: clamp(1.563rem, 1.406rem + 0.63vw, 1.875rem);
  }

  .grid-two {
    grid-template-columns: repeat(1, 1fr);
  }

  .certificates__item-wrapper {
    padding-right: 0;
  }

  .certificates__item {
    padding: 0;
    transform: translateX(0);
  }

  .certificates-page__box.container {
    padding: 0;
  }

  .certificates__item-wrapper {
    margin: 0 clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
  }

  .certificates-page__box  .grid-two__title {
    padding: 0 clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
  }

  .faq-panel__title {
    margin-bottom: clamp(1.563rem, 1.094rem + 1.88vw, 2.5rem);
  }

  .faq-title {
    margin-bottom: clamp(1.563rem, 1.094rem + 1.88vw, 2.5rem);
  }

  .cart__grid {
    flex-direction: column;
    row-gap: clamp(1.563rem, 1.094rem + 1.88vw, 2.5rem);
  }

  .cart__summary {
    flex-basis: auto;
  }

  .header-sidebar {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: calc(100dvh - var(--header-height, 0px));
    padding: clamp(3.125rem, 2.325rem + 3.2vw, 4.375rem) clamp(0.625rem, 0.225rem + 1.6vw, 1.25rem);
    right: -100%;
    top: var(--header-height, 0px);
    background: #fff;
    overflow: auto;
    max-width: 100%;
    transition: all 0.5s;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: var(--gap);
  }

  .header-sidebar.active {
    right: 0;
  }

  .sedibar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.938rem, 0.538rem + 1.6vw, 1.563rem);
  }

  .sedibar-menu li a,
  .sidebar-catalog__main-toggle,
  .sidebar-catalog__wishlist,
  .sidebar-catalog__compare {
    font-size: clamp(2.188rem, 1.587rem + 2.4vw, 3.125rem);
    line-height: 120%;
    letter-spacing: -0.05em;
    color: var(--black-black);
  }

  .sidebar-catalog__wishlist,
  .sidebar-catalog__compare {
    display: block;
    margin-bottom: clamp(0.938rem, 0.538rem + 1.6vw, 1.563rem);
  }

  .compare-count-sidebar,
  .wishlist-count-sidebar  {
    position: relative;
    white-space: nowrap;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.05em;
    color: var(--blue-blue);
    bottom: 12px;
  }
}

/* ===== tablet ===== */
@media (max-width: 1025px) {
  .page-404 {
    background-image: url(../images/page/hero-bottom-line-mobile-laptop.svg);
  }

  .preview__image-absolute {
    right: -100px;
  }

  .leader__image-absolute-left, .leader__image-absolute-right {
    display: none;
  }

  .brand-item {
    padding: 10px;
  }

  .main-page .news-item:nth-child(3),
  .main-page .news-item:nth-child(6) {
    display: none;
  }

  .main-page .news-container {
    grid-template-columns: 2fr 1fr;
  }

  .main-page .news-item:has(.news-image) {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
    padding-right: 0;
    padding-top: clamp(1.25rem, 1.136rem + 0.57vw, 1.563rem);
    padding-bottom: clamp(1.25rem, 1.136rem + 0.57vw, 1.563rem);
  }
  

  .footer-grid__column:nth-child(2) {
    border-left: 1px solid var(--white-white-015);
  }

  .footer-grid__column:first-child {
    padding-left: clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
  }

  .footer-grid__column {
    padding-right: clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
    padding-left: clamp(0.625rem, 0.224rem + 1.6vw, 1.25rem);
    border-top: 1px solid var(--white-white-015);
  }

  .search-post {
    order: -1;
    width: 100%;
    margin-bottom: clamp(1.563rem, 0.156rem + 5.63vw, 4.375rem);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: fit-content;
  }

  .list-post {
    margin-top: 0;
  }

  .prev-page {
    background-image: url(../images/page/hero-mobile-laptop.svg);
    background-position: bottom -30px center;
  }

  .prev-page-background-new {
    background-image: url(../images/page/hero-footer-laptop.svg);
    background-position: bottom center;
  }

  .prev-page-background-underline {
    background-image: url(../images/page/hero-underline-laptop.svg);
    background-position: bottom;
  }


  .news-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .mailing__box {
    grid-template-columns: repeat(1, 1fr);
  }

  .form-mailing {
    margin: 0 auto;
  }

  .mailing__title {
    margin: 0 auto;
    text-align: center;
  }

  .news-item:nth-child(9) .news-title-item {
    font-size: clamp(1.25rem, 1.094rem + 0.63vw, 1.563rem);
  }

  #news-tabs {
    margin-bottom: 0;
  }

  .hidden-laptop {
    display: none;
  }

  .title-default  {
    text-align: left;
  }

  .gird-form {
    grid-template-columns: repeat(1, 1fr);
    row-gap: clamp(3.125rem, 2.5rem + 2.5vw, 4.375rem);
  }

  .gird-form__column:first-child {
    display: grid;
    gap: 15px 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .about-us-prev__image {
    max-width: 569px;
  }

  .services__absolute-left, .services__absolute-right {
    display: none;
  }

  .contact-grid {

  }

  .contact-grid__column:first-child {
    grid-column: span 4;
    grid-row: span 1;
  }

  .contact-grid__column {
    grid-column: span 2;
  }
}

/* ===== mobile xl ===== */
@media (max-width: 769px) {
  .page-404 {
    background-image: url(../images/page/hero-bottom-line-mobile.svg);
  }

  .prev-page {
    background-image: url(../images/page/hero-mobile.svg);
  }

  .prev-page-background-new {
    background-image: url(../images/page/hero-footer-mobile.svg);
    background-position: bottom center;
  }

  .header__action.wishlist, .header__action.compare,
  .header__menu-btn span {
    display: none;
  }

  .header__grid {
    grid-template-columns: 60px auto 93px;
    overflow: hidden;
  }

  .header__search,
  .topbar {
    grid-column: span 3;
  }

  .header__search {
    z-index: 1003;

    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;

    transition: all .35s;
  }

  .header__search.visible {
    left: 0;
  }
  
  #search-suggestions li {
    padding: 8px 20px;
  }

  #search-suggestions li:first-child:not(.no-results) {
    margin-top: 10px;
  }

  .header__search-input {
    padding: 20px;
  }

  .header__actions {
    padding: 0 15px;
  }

  .header__actions {
    gap: 15px;
  }

  .icon-search-mobile {
    display: flex;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }

  .header__logo {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    padding: 20px 10px;
  }

  .header__logo a {
    display: flex;
    height: 100%;
  }

  .header__logo img {
    height: 100%;
  }

  .header__search-icon {
    width: 25px;
    height: 25px;
    padding: 0;
  }

  .icon-hover:not(.footer__contact-icon ),
  .header__search-icon svg {
    height: 25px !important;
    width: 25px !important;
  }

  .search-loader {
    padding: 20px;
  }

  #search-suggestions li a {
    font-size: 14px;
  }

  .preview__image-absolute {
    max-height: 65%;
  }

  .categories-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: auto;
  }

  .category-card,
  .category-card:nth-child(5), .category-card:nth-child(6), .category-card:nth-child(7) {
    grid-column: span 1;
    aspect-ratio: unset;
    height: clamp(7.5rem, -2.687rem + 40.75vw, 27.875rem);
  }

  .category-card:nth-child(6) .category-card__image img {
    object-position: right;
  }

  .advantages-grid {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 25px;
  }

  .advantage__box-img {
    display: none;
  }

  .advantage__title {
    font-size: 20px;
  }

  .advantage__text {
    font-size: 14px;
  }

  .advantages__item {
    padding: 15px;
  }

  .advantages__title .section__title {
    margin-bottom: 0;
  }

  .main-page .news-container {
    grid-template-columns: 1fr;
  }

  .main-page .news-item .news-image {
    display: none;
  }

  .news-item:has(.news-image) .news-content {
    max-width: 100%;
    width: 100%;
  }

  .footer-grid__column-social,
  .footer-grid__column:nth-child(3) {
    grid-column: span 2;
  }

  .footer-grid__column:nth-child(3) {
    border-left: 0;
  }

  .politic-grid {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }

  .politic-grid__item:has(a) {
    order: -1;
  }

  .site-footer__bottom {
    display: none;
  }

  .category-card-prime__arrow svg {
    width: 26px;
    height: 26px;
  }

  .topbar__contacts__social {
    margin-left: 0;
  }

  .search-post {
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
  }

  .list-post input {
    width: 100%;
  }

  .blog .news-container,
  .single-post .news-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog .news-item:has(.news-image),
  .single-post .news-item:has(.news-image) {
    grid-column: span 1;
  }

  .blog .news-item .news-image,
  .single-post .news-item .news-image {
    display: none;
  }

  .news-item:nth-child(9),
  .single-post .news-item:nth-child(9) {
    grid-row: span 1;
  }

  .blog .news-item:nth-child(9) .single-post__category,
  .single-post .news-item:nth-child(9) .single-post__category {
    order: -1;
  }

  .certificates__link {
    display: none;
  }

  .compare-header {
    row-gap: 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-actions {
    flex-wrap: wrap;
    row-gap: 15px;
  }

  .compare-actions__btns {
    order: -1;
    width: 100%;
  }

  .compare-section .quantity-wrap {
    display: none;
  }

  .tab-panel__column-mini .tab-panel__title {
    word-break: unset;
  }

  .prev-page-background-underline {
    background-image: url(../images/page/hero-underline-mobile.svg);
    background-position: bottom;
  }

  .about-us-prev__line-container {
    display: none;
  }

  .about-us-prev__image {
    padding: 0 10px;
    width: 100%;
  }

  .contact-grid__column {
    grid-column: span 4;
  }

  .contact-grid__social-link svg {
    width: 60px;
    height: 60px;
  } 

  .contact-grid .section__title {
    margin-bottom: 10px;
  }

  .cart__grid .product-card {
    flex-direction: column;
  }


  .product-card__preview {
    width: 100%;
    max-width: 100%;
  }

  .product-card__right {
    flex-direction: row;
  }

  .cart__grid .product-card {
    padding: 15px;
  }
  
}


/* ===== mobile ===== */
@media (max-width: 450px) {
  .preview__image-absolute {
    top: 120px;
    right: -70px;
  }

  .blog .news-container,
  .single-post .news-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .mailing__title {
    text-align: left;
  }

  .mailing__form {
    max-width: 100%;
  }

  .topbar__contacts {
    gap: 10px;
  }

  .gird-form__column:first-child {
    grid-template-columns: repeat(1, 1fr);
  }

  .about-us__title,
  .history__sub-title,
  .history__info {
    text-align: left;
  }
  
  .about-us {
    margin-top: 40px;
  }

  .history__footer {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .history__phone-none {
    display: none;
  }

  .history__info {
    grid-column: span 1;
  }

  .history__img {
    max-width: 100%;
    width: 100%;
  }

  .product-card .quantity-wrap {
    width: 100%;
    max-width: 100%;
  }

  .cart-count {
    font-size: 8px;
    min-width: 20px;
  }
  
}


