

/* Start:/products/styles.css?175033860915702*/


/* products */
.products-container{
  background-color: #fff;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* lin7 css */

/* Popup container */
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.5);
  overflow-x: hidden;
  /* transition: 0.5s; */
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* .overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
} */

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}


/* cart */
.cart {
  position: relative;

  max-width: 1500px;
  width:80%;
  height:60%;
  padding: 30px 20px;
  background-color: #192033;

  border-radius: 5px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 20px;
}
.cart__closebtn{
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}
.cart__title{
  color: #F9A973;
  font-size: 32px;
}
.cart__block{
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.cart__items{
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.cart__items::-webkit-scrollbar {
  width: 15px;               /* width of the entire scrollbar */
}

.cart__items::-webkit-scrollbar-track {
  background: #435267;        /* color of the tracking area */
}

.cart__items::-webkit-scrollbar-thumb {
  background-color: #192033;    /* color of the scroll thumb */
  /*border-radius: 20px;       /* roundness of the scroll thumb */
  border: 3px solid #192033;  /* creates padding around scroll thumb */
}
.cart__item{
  max-width: 100%;
  width: 100%;
  background: #435267;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 5px;
  margin-right: 15px;
}
.cart__item__text{
  display: flex;
  flex-direction: column;
}
.cart__item__text__title{
  color: #F9E8D6;
  font-size: 22px;
  text-align: left;
  width: 300px;
}
.cart__item__count{
  max-width: 200px;
  width: 200px;
  display: flex;
  align-items: center;
  text-align: left;
}
.cart__item__count svg{
  margin-right: 5px;
}
.cart__item__count span{
  color: #fff;
  font-size: 18px;
  font-style: italic;
}
.cart__item__price{
  max-width: 100px;
  width: 100px;
  display: flex;
  align-items: center;
  text-align: left;
}
.cart__item__price svg{
  margin-right: 5px;
}
.cart__item__price span{
  color: #fff;
  font-size: 18px;
}
.cart__item__count_products{
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: 5px;
}
.cart__item__count_products span{
  color: #fff;
  font-size: 18px;
  font-style: italic;
}
.cart__item__count_products__input {
  position: relative;
  cursor: pointer;
}
.cart__item__count_products__input input{
  padding: 5px;
  background-color: #435267;
  border: 3px solid #F9E8D6;
  border-radius: 2px;
  color: #fff;
  font-size: 18px;
}
.cart__item__count_products__input span{
  position: absolute;
  font-size: 30px !important;
  font-style: normal;
  top: 30%;
}
.cart__item__count_products__input__minus{
  right: 15%;
}

.cart__item__count_products__input__plus{
  right: 5%;
}
.cart__item__count_products input::-webkit-outer-spin-button,
.cart__item__count_products input::-webkit-inner-spin-button{
  -webkit-appearance: none;
}
.cart__item__remove{
  color: #F9E8D6;
  font-size: 18px;
  font-style: italic;
  padding: 10px 20px;
  background-color: #435267;
  border: 3px solid #F9E8D6;
  border-radius: 5px;
}
.cart__item__remove:hover{
  background-color: #F9E8D6;
  color: #000;
}
.cart__order__total{
  color: #fff;
  font-size: 18px;
}
.cart__order__total span{
  font-weight: bold;
}
.cart__order__btn{
  max-width: 460px;
  width: 100%;
  background-color: #7D95B8;
  color: #fff;
  font-size: 18px;
  padding: 10px 20px;
  border: 3px solid #7D95B8;
  border-radius: 5px;
}
.cart__order__btn:hover{
  border-color: #F9A973;
  background-color: #F9A973;
  color: #000;
}

@media (max-width: 1300px){
  .cart{
    width: 100%;
  }
  .cart__item__text__title{
    max-width: 100%;
    width: 100%;
    font-size: 18px;
  }
  .cart__item__count span{
    font-size: 14px;
  }
  .cart__item__price span{
    font-size: 14px;
  }
  .cart__item__count_products span{
    font-size: 14px;
  }
}
@media (max-width: 1000px){
  .cart__item{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .cart__item__text{
    max-width: 100%;
    flex:0 1 100%;
  }
  .cart__item__text__title{
    text-align: center;
  }
  .cart__item__count{
    max-width: 100%;
    flex:0 1 calc(50% - 10px);
    justify-content: end;
  }
  .cart__item__price{
    max-width: 100%;
    flex:0 1 calc(50% - 10px);
    justify-content: start;
  }

  .cart__item__count_products{
    max-width: 100%;
    flex:0 1 calc(70%);
    flex-direction: row;
    justify-content: end;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 380px){
  .cart__item__count_products{
    flex-direction: column;
    justify-content: end;
  }
}


/* Cart updated */
.lin7__nav{
  position: relative;
  max-width: 850px;
  width: 100%;
  background-color: #8FA1BB;
  border: 3px solid #8FA1BB;
  border-radius: 5px;
  padding: 100px 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* .lin7__nav__closebtn{
  position: absolute;
  top: 0px;
  right: 45px;
  font-size: 70px;
  color: #fff;
} */
.lin7__order{
  max-width: 550px;
  width: 100%;
  background-color: #435267;
  border: 3px solid #435267;
  border-radius: 5px;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.lin7__order__title{
  max-width: 100%;
  width: 100%;
  background-color: #F9E8D6;
  border: 3px solid #F9E8D6;
  border-radius: 5px;
  padding: 5px 20px;
  text-align: center;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #192033;
  margin-bottom: 30px;
}
.lin7__order__select{
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  margin-bottom: 20px;
}
.lin7__order__select span{
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
  margin-left: 19px;
}
.lin7__order__select select{
  background-color: #435267;
  border-radius: 5px;
  border: 3px solid #fff;
  padding: 7px 19px;
  
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
}
.lin7__order__invoice{
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 30px;
}
.lin7__order__invoice input{
  display: none;
}
.lin7__order__invoice label{
  max-width: 100%;
  flex: 0 1 50%;
  background-color: #7D95B8;
  border: 3px solid #7D95B8;
  border-radius: 5px;
  padding: 7px 15px;
  
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  cursor: pointer;
}
.lin7__order__invoice input:checked + label{
  background-color: #F9E8D6;
  border: 3px solid #F9E8D6;
  
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-align: center;
  color: #192033;
}
.lin7__order__total{
  max-width: 100%;
  width: 100%;
  padding-left: 18px;
  
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 5px;
  text-align: left;
}
.lin7__order__btn{
  max-width: 100%;
  width: 100%;
  background-color: #7D95B8;
  border: 3px solid #7D95B8;
  border-radius: 5px;
  padding: 5px 35px;
  
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
}

@media (max-width: 920px) {
  .lin7__nav{
    padding: 45px;
  }
  .lin7__order{
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .lin7__nav{
    padding: 15px;
  }
  .lin7__order{
    /* padding: 20px; */
  }
  .lin7__order__invoice{
    flex-direction: column; 
    gap: 5px;
  }
  .lin7__order__invoice label{
    flex: 0 1 100%;
  }
}

.products__about table tr:nth-child(odd) {
  background: #f5f5f5;
}
.products__about table th {
  background: #c4c4c4;
}
.products__about table th,
.products__about table td {
  padding: 30px 25px;
  text-wrap: pretty;
}
.products__about table tr td:nth-child(2),
.products__about table tr td:nth-child(3),
.products__about table tr th:nth-child(2),
.products__about table tr th:nth-child(3) {
  text-align: center;
}

.products__items {
  max-width: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 50px 96px; /* 50px - расстояние между строками, 96px - расстояние между элементами */
  max-width: 350px;
  height: 550px;
  /* margin-top: 50px; */
}
.products__item {
  padding: 42px 32px 50px 32px;
  border-radius: 5px;
  border: #c4c4c4 1px solid;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: space-between;
  justify-content: space-between;
}
.products__item__title {
  word-break: break-word;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: black;
}
.products__item__title_low {
  word-break: break-word;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #036;
}
.products__item__img {
  margin-top: 50px;
  text-align: center;
}
.products__item__description {
  font-weight: 400;
  font-size: 18px;
  color: #000;
  /* margin: 34px 0; */
  margin-bottom: 140px;
}
.products__item__price {
  /* width: 100%; */
  text-align: left;
  font-weight: 500;
  font-size: 35px;
  text-transform: uppercase;
  color: #f9a973;
  margin-top: auto;
  display: none;
  flex-direction: row;
  align-items: center;
  gap:7px;
}
.products__item__price.error{
  font-size: 16px;
}
.products__item__buy {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.products__item__buy> a.button-confirm {
    background-color: #81C784;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.products__item__buy> a.button-confirm:hover {
  color: white;
    background-color: #66BB6A;
}
.products__item__buy> button.button-confirm {
    background-color: #81C784;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.products__item__buy> button.button-confirm:hover {
  color: white;
    background-color: #66BB6A;
}

.products__item__buy> button.button-decline {
    background-color: #E0E0E0;
    color: #333333;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.products__item__buy> button.button-decline:hover {
    color: white;

    background-color: #BDBDBD;
}

.products__item__buy > a, 
.products__item__buy > button {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  padding: 5px 35px;
  background-color: #fff;
  text-decoration: none;
  border: 1px solid #c4c4c4;
  border-radius: 5px;
  min-height: 40px;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 338px;
  justify-content: center;
}

.products__item__buy > a:hover,
.products__item__buy > button:hover {
  color: #f9a973;
  text-decoration: none;
  background: #f5f5f5;
}

.products__about {
  width: 100%;
  margin-top: 100px;
  font-size: 20px;
  color: #000;
}
.products__about .subsection {
  font-weight: 600;
}
.products__about .remark {
  padding: 25px;
}

.nowrap {
  white-space: nowrap;
}

/* .hide{
  display: none;
} */

@media (max-width: 1480px) {
  .products__items {
    gap: 50px;
    /* margin-top: 34px; */
  }
  .products__item {
    padding: 30px;
  }
  .products__item__img {
    margin-top: 30px;
  }
  .products__about {
    margin-top: 70px;
  }
}

@media (max-width: 1280px) {
  .products__item__title {
    font-size: 24px;
  }
  .products__item {
    padding: 20px;
  }
  .products__item__img {
    margin-top: 20px;
  }
  .products__item__description {
    font-size: 18px;
    /* margin: 20px 0; */
      margin-bottom: 100px;

  }
  .products__item__price {
    font-size: 27px;
  }
  .products__item__price img {
    height: 22px;
  }
  .products__about {
    margin-top: 50px;
  }
  .products__about table th,
  .products__about table td {
    padding: 20px 15px;
  }
  .products__about {
    font-size: 18px;
  }
  .products__about .remark {
    padding: 15px;
  }
}

@media (max-width: 990px) {
  .products__items {
    grid-template-columns: repeat(1, 1fr);
    height: 450px;
  }

}

@media (max-width: 767px) {
  .products__item__title {
    font-size: 22px;
  }

  .products__item__description {
    font-size: 16px;
    /* margin: 15px 0; */
      margin-bottom: 100px;

  }
  .products__item__price {
    font-size: 20px;
  }
  .products__item__price img {
    height: 18px;
  }
  .products__item__buy > a, 
  .products__item__buy > button {
    font-size: 14px;
  }
  .products__about {
    margin-top: 35px;
    font-size: 16px;
  }
  .products__about table th,
  .products__about table td {
    padding: 10px;
  }
  .products__about .remark {
    padding: 10px;
  }

}

@media (max-width: 550px) {
  .products__items {
    gap: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }
  .products__item{
    width: 307px;
  }
 
  .products__about {
    margin-top: 20px;
  }
  .products__about table tr td:nth-child(2) img,
  .products__about table tr td:nth-child(3) img {
    max-width: 10px;
  }
}

.version-history{
  margin-left: 20px;
}
@media (max-width: 550px) {
  .version-history{
    margin-left: 0px;
  }
}
.version-block {
    border-bottom: 1px solid #ccc;
    padding: 15px 0px;
    cursor: pointer;
    max-width: 800px;
    width: 100%;
}

.version-summary .toggle-link {
    color: #0066cc;
    text-decoration: underline;
    display: inline-block;
    margin-top: 8px;
}
.version-summary .preview_text {
    margin: 8px 0px;
}

.version-details {
    margin-top: 10px;
    display: none;
}

.version-details.visible {
    display: block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 1100px;
  width: 80%;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.products__item__buy.modalblock{
  justify-content: space-around;
}

.button-decline {
    background-color: #E0E0E0;
    color: #333333;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.button-decline:hover {
    background-color: #BDBDBD;
}


/* End */
/* /products/styles.css?175033860915702 */
