.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #f83e33;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  margin: auto;
  margin-top: 5px;
  display: none;
}

body.popup--open #openMainCartPopap {
  display: none !important;
}

.loader.active {
  display: block;
}

/* Анимация для спиннера */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cartItem-image {
  height: 108px;
  width: 108px;
}

.main__cart_blur {
  height: 100%;
  width: 100%;
  border-radius: 32px;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}

.main__cart_blur.active {
  opacity: 1;
  pointer-events: all;
}

.product--delete {
  cursor: pointer;
}

.product_blur {
  height: 100%;
  width: 100%;
  border-radius: 32px;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}

.product_blur.active {
  opacity: 1;
  pointer-events: all;
}

.food-block__card {
  position: relative;
}

.food-block__card {
  justify-content: space-between;
}

.promotion__card {
  position: relative;
}

.openMainCartPopap {
  display: none;
}

@media (min-width: 906px) {
  .openMainCartPopap {
    display: none !important;
  }
}

.openMainCartPopap.active {
  display: block;
}

.openMainCartPopap img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.cart_cost_all {
  position: absolute;
  background: #f83e33;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  top: 50%;
  transform: translate(0, -50%);
}

.no-click {
  pointer-events: none !important;
}

/* Contacts */

section.contacts{
  position: relative;
  padding: 30px 0;
}

.contacts--container{
  position: absolute;
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 0 5px #00000063;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

section.contacts iframe{
  width: 100%;
  height: 80vh;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.02);
  border-radius: 10px;
}

.contacts--container h1{
  font-size: 28px;
}

.map-contact{
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-contact a{
  color: black;
  text-decoration: underline;
  line-height: 1.1;
}

@media(max-width: 650px){
  .contacts--container{
    position: static;
    background: white;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.02);
    padding: 40px 20px;
    transform: none;
  }
}

/* Blog */

.blog-section{
  width: 100%;
  position: relative;
  padding: 20px 50px;
}

.blog-grid{
  display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 40px;
}

.post-elem{
  max-width: 717px;
  width: 48%;
  overflow: hidden;
  background: #ebebec;
}

.post-image img {
  height: 350px !important;
  object-fit: cover;
  width: 100%;
    transition: all 0.4s;
}

.post-cont{
  margin: 0 10px 20px;
    clear: both;
    background: #f5f5f5;
    position: relative;
    z-index: 3;
    top: -50px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #ebebec;
}

.post-tags {
  color: rgb(173, 173, 173);
  margin-bottom: 15px;
}

.post-cont h3 {
  font-family: "Exo 2", Sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.posts-pagin {
  margin-top: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
}

.post__pagin-elem {
  font-size: 18px;
  color: #007bff;
  padding: 5px 10px;
  border: 1px solid #007bff;
  border-radius: 12px;
  transition: all 0.3s;
}

.post__pagin-elem:hover {
  color: white;
  background: #007bff;
}

.blog-section h1{
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
  font-family: "Exo 2", sans-serif;
}

.blog-section h1 .red{
  color: #f83e33
}

/* .custom-container section {
} */

.custom-container *{
  font-family: "Exo 2", sans-serif;
}

.custom-container h1 {
  color: #002848;
  font-size: 58px;
  font-weight: 700;
  text-align: center;
  margin: 40px 0 30px;
}

.custom-container h2 {
  color: #002848;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  margin: 40px 0 30px;
}

.custom-container h3 {
  color: #002848;
  font-size: 25px;
  font-weight: 600;
  margin: 30px 0 20px;
}

.custom-container h4 {
  color: #002848;
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 20px;
}

.custom-container h5 {
  color: #002848;
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 20px;
}

.custom-container h6 {
  color: #002848;
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0 20px;
}

.custom-container p {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin-bottom: 20px;
}

.custom-container ul{
  margin-bottom: 20px;
}

.custom-container:not(.notblue) span {
  color: #249eff;
}

.custom-container img {
  width: 50%;
  float: left;
  margin-right: 20px;
}

.custom-container section {
  width: 100%;
  display: flex;
  gap: 20px;
}

.custom-container section img {
  width: 100%;
  height: 350px;
  object-fit: contain;
}

.custom-container a {
  width: 100%;
}

@media(max-width: 650px){
  .custom-container {
    padding: 0 20px;
  }
  
  .custom-container h1 {
    font-size: 40px;
    text-align: center;
  }
  
  .custom-container h2 {
    font-size: 30px;
    text-align: center;
  }
  
  .custom-container h3 {
    font-size: 22px;
    text-align: center;
  }
  
  .custom-container h4 {
    font-size: 18px;
    text-align: center;
  }
  
  .custom-container h5 {
    font-size: 17px;
    text-align: center;
  }
  
  .custom-container h6 {
    font-size: 16px;
    text-align: center;
  }
  
  .custom-container p {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .custom-container img {
    width: 100%;
    float: none;
    margin-right: 0px;
  }
}

section.article{
  padding: 0 50px;
}

.post__image-link:hover img {
  transform: scale(1.14);
}

.row{
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-item{
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.menu-item a{
  color: black;
  font-size: 16px;
}

.menu-item a:hover{
  text-decoration: underline;
}

.product_blur.blur__loader{
  content: "";
  display: block;
  position: absolute;
  background: url('/wp-content/themes/np/assets/images/output-onlinegiftools.gif') !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-position: center !important;
  background-repeat: no-repeat !important;
}