@charset "UTF-8";
.container-fluid .bottom_text {
  padding: 10px 60px;
}

.content_slider .title {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 400;
  margin-top: 45px;
}
.content_slider .content_slider_category_name {
  font-size: 30px;
  margin-bottom: 40px;
}

.pull-right {
  float: left !important;
}

.buy_all_popup_inner h2 {
  text-transform: capitalize;
}

#page-content {
  width: 100%;
  padding: 0;
}

.page__name {
  font-size: 30px;
  margin-left: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.page__name h2 {
  margin: 0;
}
.page__name .clear__basket {
  margin: 0;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  padding: 5px 10px;
  margin-left: 8px;
  transition: 250ms;
  cursor: pointer;
}
.page__name .clear__basket:hover {
  background-color: rgb(223, 1, 1);
  color: white;
}
.page__name .clear__basket:active {
  transition: 0ms;
  background-color: red;
}

.page__content__wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.products {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 5px;
  border: 1px solid #eaeaea;
}
.products p {
  margin: 0;
}
.products .product__imgContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60%;
}
.products .product__item__img {
  -o-object-fit: contain;
     object-fit: contain;
}
.products .swiper-container {
  width: 40%;
}
.products .product__item__name {
  width: 60%;
}
.products .product__item__count {
  border: 1px solid #eaeaea;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.products .product__item__count .product__item__count__input {
  width: 25px;
  height: 25px;
  text-align: center;
  border: none;
  outline: none;
}
.products .product__item__count .reduce,
.products .product__item__count .increase {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 250ms;
  cursor: pointer;
}
.products .product__item__count .reduce:hover,
.products .product__item__count .increase:hover {
  background-color: #eaeaea;
}
.products .product__item__count .reduce:active,
.products .product__item__count .increase:active {
  transition: 0ms;
  font-weight: 600;
}
.products .product__item__count .increase {
  border-left: 1px solid #eaeaea;
}
.products .product__item__count .reduce {
  border-right: 1px solid #eaeaea;
}
.products .product__item__price__wrapper {
  display: flex;
  align-items: center;
  width: 30%;
  justify-content: space-between;
  min-width: 250px;
}
.products .product__item__delete {
  cursor: pointer;
  transition: 250ms;
  color: white;
  background-color: rgb(255, 48, 48);
  padding: 5px;
  border-radius: 5px;
}
.products .product__item__delete:hover {
  background-color: red;
  box-shadow: 0 1px 5px red;
  text-shadow: 0 1px 5px white;
}

.swiper-container {
  margin: 0;
}

.product__item__price,
.product__item__count,
.product__item__price__andCount {
  margin: 0 5px;
}

.swiper-slide img {
  height: auto;
}

.maincontent h1 {
  text-align: center;
}

.products:nth-child(1) .product__item__price__andCount,
.products:nth-child(1) .product__item__count,
.products:nth-child(1) .product__item__price,
.products:nth-child(1) .product__item__price_akcia,
.products:nth-child(1) .product__imgContainer {
  position: relative;
}
.products:nth-child(1) .product__item__price__andCount::after,
.products:nth-child(1) .product__item__count::after,
.products:nth-child(1) .product__item__price::after,
.products:nth-child(1) .product__item__price_akcia::after,
.products:nth-child(1) .product__imgContainer::after {
  content: "Ваш заказ";
  position: absolute;
  top: -35px;
  left: 0;
}
.products:nth-child(1) .product__item__price {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.products:nth-child(1) .product__item__price::after {
  top: -70px;
  content: "Цена";
}
.products:nth-child(1) .product__item__price_akcia {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  color: red;
}
.products:nth-child(1) .product__item__price_akcia::after {
  top: -70px;
  content: "Акция";
}
.products:nth-child(1) .product__item__count::after {
  content: "Количество";
  top: -68px;
}
.products:nth-child(1) .product__item__price__andCount::after {
  top: -70px;
  content: "Сумма";
}

.total__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 35px 30px 0 0px;
}

.buy_all {
  border-radius: 8px;
  background-color: #71bb00;
  padding: 8px 15px;
  margin-top: 5px;
  transition: 250ms;
  color: white;
  cursor: pointer;
}
.buy_all:hover {
  background-color: #8ae208;
}

#How_to_buy {
  font-size: 16px;
  color: #555555;
}

.empty__basket {
  text-align: center;
}

.info_text_popup_show {
  display: flex;
}

.check_mark_ok {
  width: 40%;
  text-align: center;
}

.buy_all_popup {
  overflow-y: auto;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.831372549);
  padding-top: 70px;
}
.buy_all_popup .buy_all_popup_inner {
  position: relative;
  background-color: #e8f0fe;
  padding: 11px 50px;
  border-radius: 8px;
  box-shadow: -3px -3px 13px rgb(110, 110, 110);
  margin: 30px 0;
  width: 70%;
}
.buy_all_popup .buy_all_popup_inner h2 {
  border-bottom: 1px solid;
  padding-bottom: 5px;
}
.buy_all_popup .buy_all_popup_inner .buy_all_popupFlexCont {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.buy_all_popup .buy_all_popup_inner .buy_all_popupFlexCont label {
  color: #000000;
  text-transform: capitalize;
}
.buy_all_popup .buy_all_popup_inner .buy_all_popupFlexCont input {
  border: none;
  outline: none;
  margin-right: 15px;
  margin-bottom: 10px;
  border-bottom: 1px solid black;
  color: black;
  background-color: #e8f0fe;
}
.buy_all_popup .buy_all_popup_inner .buy_all_popupFlexCont input:focus {
  background: #e8f0fe;
}
.buy_all_popup .buy_all_popup_inner .buy_all--flexCont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.buy_all_popup .buy_all_popup_inner .buy_all--flexCont div {
  margin: 5px;
}
.buy_all_popup .buy_all_popup_inner .inp_wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  text-transform: capitalize;
}
.buy_all_popup .buy_all_popup_inner .inp_wrapper_flex {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.buy_all_popup .buy_all_popup_inner .inp_wrapper_flex input {
  cursor: pointer;
}
.buy_all_popup .buy_all_popup_inner .buy_all--btn {
  margin: 20px 0;
  border-radius: 3px;
  background-color: #66aa01;
  color: white;
  font-weight: bold;
  border: none;
  outline: none;
  transition: 250ms;
  padding: 8px;
  text-transform: capitalize;
}
.buy_all_popup .buy_all_popup_inner .buy_all--btn:hover {
  background-color: #77c700;
  box-shadow: 0 0 10px 0 #77c700;
}
.buy_all_popup .buy_all_popup_inner .buy_all--btn:active {
  background-color: #66aa01;
  box-shadow: 0 0 0 0 #77c700;
}
.buy_all_popup .buy_all_popup_inner .buy_all--colse {
  position: absolute;
  top: 17px;
  right: 17px;
  transition: 250ms;
  cursor: pointer;
}
.buy_all_popup .buy_all_popup_inner .buy_all--colse img {
  width: 25px;
}
.buy_all_popup .buy_all_popup_inner .buy_all--colse:hover {
  transform: scale(1.1);
}
.buy_all_popup .buy_all_popup_inner .buy_all--colse:active {
  transition: 0;
  transform: scale(1);
}
.buy_all_popup .buy_all_popup_inner .buy_all--btnRegistracion,
.buy_all_popup .buy_all_popup_inner .buy_all--btnLogin {
  text-transform: capitalize;
  padding: 5px;
  cursor: pointer;
}
.buy_all_popup .buy_all_popup_inner .buy_all--btnRegistracion:hover,
.buy_all_popup .buy_all_popup_inner .buy_all--btnLogin:hover {
  text-decoration: underline;
}

.buy_all_popup_show {
  display: flex;
}

#topnav .auth_menu .menu > li {
  border: none;
}

@media screen and (max-width: 500px) {
  .products {
    flex-direction: column;
  }
  .product__item__price__andCount::after,
  .product__item__count::after,
  .product__item__price::after,
  .product__imgContainer::after {
    display: none;
  }
  .product__item__price__andCount {
    display: none;
  }
  .products .product__imgContainer {
    width: 100%;
  }
}
.swiper-pagination-bullet {
  background-color: red;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: red;
  opacity: 1;
}

main {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}

.blog-feed {
  padding: 20px;
}

.post {
  margin-bottom: 30px;
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.post:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.post-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.post-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.post-content {
  padding: 25px 10px 0;
}

.post-title {
  font-size: 1.75rem;
  color: #d32f2f;
  margin: 0 0 10px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  transition: color 0.3s ease;
}

.post-title:hover {
  color: #a12727;
}

.post-date {
  font-size: 0.9rem;
  color: #777;
  margin: 0 0 15px;
  font-family: "Open Sans", sans-serif;
}

.post-text {
  font-size: 1rem;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.6;
  font-family: "Open Sans", sans-serif;
}

.read-more {
  color: #d32f2f;
  text-decoration: none;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #a12727;
  text-decoration: underline;
}

/* Добавим градиентный фон для всего блога */
body {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  font-family: "Open Sans", sans-serif;
  color: #333;
}

/* Улучшим типографику */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  color: #333;
}

/* Добавим анимацию для заголовков */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.post-title {
  animation: fadeIn 0.8s ease-out;
}

/* Добавим плавный переход для текста */
.post-text {
  transition: color 0.3s ease;
}

.post-text:hover {
  color: #444;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}

@media (max-width: 768px) {
  .post-title {
    font-size: 1.25rem;
  }
  .post-text {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .post-title {
    font-size: 1.1rem;
  }
  .post-text {
    font-size: 0.875rem;
  }
}
.post-image {
  border-radius: 8px;
}

.modal {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modal-content {
  border-radius: 8px;
}

.close {
  transition: color 0.3s ease;
}