@media (max-width: 1370px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  .entries-item {
    width: calc(24% - 15px);
  }
}
@media (max-width: 1250px) {
  .header__text, .header__address {
    display: none;
  }
  .footer__contact-list {
    gap: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .contact-page__wrapper {
    flex-direction: column;
  }
  .contact-page__wrapper iframe, .contact-page__text-block {
    width: 100%;
    max-width: 100%;
  }
  .gallery-item .gallery-icon a {
    height: 300px;
  }
}
@media (max-width: 1024px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .burger-menu {
    margin-left: 35px;
    display: flex;
  }
  main {
    margin-top: 110px;
  }
  .burger-menu.active {
    z-index: 10001;
  }
  .burger-item {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
  }
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .nav__wrapper {
    position: fixed;
    display: flex;
    justify-content: space-between;
    top: 0;
    right: -100%;
    width: 480px;
    height: 100%;
    max-width: 100vw;
    background-color: #F7F9FB;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  .main-navigation {
    margin: 100px 20px 35px;
  }
  .main-navigation .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    font-size: 30px;
  }
  .main-navigation .menu-item-has-children > a::after {
    top: -2px;
  }
  .header__social.mobile {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100px;
  }
  .menu-language-container {
    margin-right: 30px;
  }
  .header__top-right {
    margin-left: auto;
  }
  .menu-item-has-children:not(.pll-parent-menu-item) .sub-menu {
    display: none;
  }
  .menu-item-has-children.active:not(.pll-parent-menu-item) .sub-menu {
    display: block;
    margin-top: 20px;
    position: relative;
    padding: 0;
    border-radius: 6px;
    background-color: transparent;
    box-shadow: none;
    top: 0;
    left: 0;
  }
  .menu-item-has-children .sub-menu .menu-item {
    margin-bottom: 14px;
    font-size: 25px;
  }
  .proposition__item, .blog-list__item {
    width: calc(50% - 16px);
    flex-wrap: wrap;
  }
  .advantages__list {
    justify-content: center;
    max-width: fit-content;
  }
  .advantages__item {
    padding: 0 50px;
  }
  .categories-wrapper, .about__wrapper {
    flex-wrap: wrap;
  }
  .item-posts, .item-categories {
    width: 100%;
  }
  .categories .categories-wrapper:nth-child(2),
  .categories .categories-wrapper:nth-child(4),
  .categories__single .categories-wrapper {
    flex-wrap: wrap-reverse;
  }
  .about__text-block {
    max-width: 100%;
  }
  .proposition, .contact-form, .categories, .single-content__wrapper {
    padding: 100px 0;
  }
  .reviews {
    padding: 100px 0 250px;
  }
  .reviews .splide__arrow {
    top: auto;
    bottom: -160px;
  }
  .reviews .splide__arrow--next {
    right: calc(50% - 70px);
  }
  .reviews .splide__arrow--prev {
    left: calc(50% - 70px);
  }
  .entries-item {
    width: calc(32.5% - 15px);
  }
  .page__wrapper {
    padding: 80px 0 100px;
  }
  .product__wrapper {
    flex-direction: column;
  }
  .product__block, .product__img {
    max-width: 100%;
  }
  .product__img {
    margin: 0 auto;
  }
  .product, .prices {
    padding: 100px 0;
  }
  .material {
    padding-top: 100px;
  }
  .pamyatniki-category-block {
    height: 500px;
    overflow: hidden;
  }
  .pamyatniki-category-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
  }
  .about__wrapper img {
    width: 100%;
    max-width: 100%;
  }
  .gallery-item .gallery-icon a {
    height: 350px;
  }
  .gallery-item {
    width: calc(33% - 10px);
  }
  .archive-blog__wrapper article.category-blog {
    width: calc(50% - 30px);
  }
  .single-content__wrapper h2 {
    margin-bottom: 30px;
    font-size: 47px;
  }
  .material-item {
    width: calc(33% - 24px);
  }
}
@media (max-width: 991px) {
  .contact-form__wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .contact-form__wrapper img {
    max-width: 100%;
  }
  .footer__wrapper {
    flex-wrap: wrap;
  }
  .entries-item {
    width: calc(49% - 15px);
  }
  .gallery-item .gallery-icon a {
    height: 400px;
  }
  .gallery-item {
    width: calc(50% - 10px);
  }
}
@media (max-width: 768px) { 
  .burger-menu {
    margin-left: 15px;
  }
  .header__language {
    margin-right: 20px;
  }
  .btn {
    white-space: nowrap;
  }
  .header__btn {
    margin: 0 20px;
  }
  .hero {
    padding: 150px 0 105px;
  }
  .advantages {
    margin-top: -5px;
  }
  .hero__title {
    margin: 10px auto 80px;
    font-size: 68px;
  }
  .advantages__list {
    flex-direction: column;
    align-items: center;
    padding: 5px 30px;
    max-width: 100%;
  }
  .advantages__item {
    padding: 20px 0;
    max-width: 300px;
  }
  .advantages__item p {
    max-width: 225px;
    margin: 0 auto;
  }
  .advantages__item:nth-child(2) {
    border-right: none;
    border-left: none;
    border-top: 1px solid #727272;
    border-bottom: 1px solid #727272;
  }
  .title-block {
    font-size: 55px;
  }
  .item-categories__btn {
    padding: 26px 24px;
    font-size: 30px;
  }
  .item-posts__content {
    padding-right: 0;
  }
  .btn-light {
    max-width: 100%;
    text-align: center;
  }
  .categories-wrapper {
    margin-bottom: 100px;
  }
  .about__wrapper {
    gap: 35px;
  }
  .proposition__item, .blog-list__item {
    width: 100%;
  }
  .faq .categories__title {
    font-size: 27px;
  }
  .faq .categories__title::after {
    content: '';
    background: url(../img/plus-ico.svg) no-repeat;
    background-size: 40px;
    width: 40px;
    height: 40px;
  }
  .faq {
    padding-bottom: 130px;
  }
  .bottom-text__content {
    font-size: 17px;
  }
  .footer__contact-bottom {
    margin-top: 68px;
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: auto auto;
    grid-template-areas: 
      "text logo"
      "text2 logo";
    align-items: start;
    gap: 5px;
  }
  .footer__contact-bottom p:first-of-type {
    grid-area: text;
  }
  .footer__contact-bottom p:last-of-type {
    grid-area: text2;
  }
  .footer__contact-bottom a.footer__link-logo {
    grid-area: logo;
    justify-self: end;
    align-self: start;
  }
  .popup-content {
    padding: 55px 28px;
  }
  .entries-list {
    gap: 20px;
  }
  .material-item {
    width: calc(50% - 24px);
  }
  .footer__form-block {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .entries-item {
    width: 100%;
  }
  .hero__btn {
    max-width: 100%;
    font-size: 30px;
  }
  .product__price-wrapper {
    flex-direction: column;
  }
  .product__price {
    font-size: 47px;
  }
  .product__price-wrapper .btn {
    font-size: 30px;
    padding: 24px 70px;
  }
  .material-item {
    width: calc(50% - 30px);
  }
  .pamyatniki-category-block {
    height: auto;
  }
  .gallery-item .gallery-icon a {
    height: auto;
  }
  .gallery-item, .archive-blog__wrapper article.category-blog {
    width: 100%;
  }
}
@media (max-width: 500px) {
  .footer__contact-item {
    width: calc(48% - 10px);
  }
  .footer__contact-list {
    gap: 20px;
  }
  .footer__contact-list {
    width: 100%;
  }
  .hero__title {
    font-size: 60px;
  }
  .nav__wrapper {
    width: 100%;
  }
  .product__price-wrapper .btn {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 450px) {
  .hero__title {
    font-size: 50px;
    line-height: 1;
  }
  .title-block {
    font-size: 50px;
  }
  .header__btn {
    margin: 0 10px;
  }
}
@media (max-width: 425px) {
  .header__btn {
    display: none;
  }
}