* {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box
}

body {
  overflow-x: hidden;
}

.productContent {
  display: flex;
}

.productActiveImage {
  display: none;
  justify-content: center;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E4E4E4;
  box-shadow: 0px 4px 14px 7px rgba(121, 121, 121, 0.0527344);
  border-radius: 4px;
  padding: 20px;
}

.productActiveImage.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.productActiveImage img {
  height: 550px;
  width: auto;
}

.productActiveImage-options{
  display: flex;
  align-items: center;
  gap: 50px;
}

.prevAndNextImage{
  background: white;
  border: none;
  cursor: pointer;
}

.prevAndNextImage i{
  scale: 2;
  color: rgb(193, 193, 193);
  transition: 0.15s ease-in-out;
}

.prevAndNextImage i:hover{
  color: var(--accent-color);
}

.productImages {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: center;
  margin-top: 19px;
}

.productContent__productImage {
  background: #FFFFFF;
  border: 2px solid #E4E4E4;
  box-shadow: 0px 4px 14px 7px rgba(121, 121, 121, 0.0527344);
  border-radius: 4px;
  padding: 8px;
  margin: 0px 10px 10px 10px;
  transition: 0.15s ease-in-out;
}

.productContent__productImage.active {
  border: 2px solid var(--accent-color);
}

.productContent__productImage:hover {
  cursor: pointer;
  box-shadow: 0px 0px 9px 4px rgba(0, 0, 0, 0.25);
}

.productContent__productImage:active {
  transition: none;
  box-shadow: 0px 0px rgb(131, 131, 131);
  transform: scale(0.98);
}

.productContent__productImage img {
  width: 110px;
  height: auto;
}

.productInfo {
  margin-left: 35px;
  width: 100%;
}

.productInfoHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.productInfoHeaderMobile{
  display: none;
  align-items: center;
  justify-content: space-between;
}

.productInfoHeader__productName {
  text-transform: Uppercase;
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 26px;
  color: #353535;
}

.productInfoHeader__productCount {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.514285px;
  color: #353535;
}

.productInfoHeader__productCount.positiveCount span {
  color: var(--accent-color);
}

.productInfoHeader__productCount.negativeCount span {
  color: red;
}

/* Rating */
.productBigRating {
  text-align: left;
  margin-bottom: 30px;
}

.RatingBigDiv span {
  padding: 0;
  margin: 0 2px;
}

.RatingBigDiv>span:before {
  content: url("../img/ratingStarBig.png");
}

.RatingBigDiv>span.ratingStar {
  content: url("../img/ratingStarGoldBig.png");
}

.productInfo hr {
  border: 1.2px solid #F0F1F3;
  background-color: #F0F1F3;
  margin: 20px 0px;
}

.productInfoHeaderMobile-hr{
  display: none;
  border: 1.2px solid #F0F1F3;
  background-color: #F0F1F3;
  margin: 20px 0px;
}

/* Product information */
.productInfoContent__item {
  margin-bottom: 11px;
  font-style: normal;
  font-weight: 400;
  font-size: var(--p-main-text);
  line-height: 17px;
  letter-spacing: 0.45px;
}

.productInfoContent__item span {
  color: var(--accent-color);
  text-transform: Uppercase;
}

.productInfoPacks {
  margin-top: 40px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 0.323809px;
  color: #414141;
}

.productInfoPacks__TotalPrice {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.productInfoPacks__TotalPriceNumber {
  color: var(--accent-color);
  margin-left: 20px;
  margin-right: 5px;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  letter-spacing: 0.771428px;
}

.productInfoPacks__Type table {
  margin-bottom: 20px;
  border: 1px solid black;
  border-collapse: collapse;
}

.productInfoPacks__Type table th {
  padding: 5px 20px;
  border: 1px solid grey;
}

.productInfoPacks__Type table tr {
  text-align: center;
}

.productInfoPacks__Type table td {
  border: 1px solid grey;
  padding: 5px 20px;
}

.productInfoPacks_countTd{
  display: flex;
  gap: 5px;
}

.productInfoPacks__Type table input {
  text-align: center;
  width: 70px;
  border: 1px solid grey;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; // Yeah, yeah everybody write about it
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
  appearance: none;
  -moz-appearance: textfield;
}

.productInfoPacks__Type table button {
  text-align: center;
  width: 30px;
  border: 1px solid var(--accent-color);
  background-color: white;
  color: var(--accent-color);
  transition: 0.15s ease-in-out;
}

.productInfoPacks__Type table button:hover {
  cursor: pointer;
  border: 1px solid white;
  background-color: var(--accent-color);
  color: white;
}

.productInfoActionBtns {
  margin-top: 38px;
  display: flex;
  gap: 15px;
}

.addToBasketBtn {
  padding: 10px 27px;
  border: 2px solid var(--accent-color);
  border-radius: 2px;
  background-color: white;
  font-style: normal;
  font-weight: 400;
  font-size: var(--p-main-text);
  line-height: 17px;
  letter-spacing: 0.8px;
  color: var(--accent-color);
  transition: 0.15s ease-in-out;
}

.addToBasketBtn:hover {
  cursor: pointer;
  background-color: var(--accent-color);
  color: white;
}

.addToAdorableBtn {
  padding: 10px 27px;
  border: 2px solid var(--accent-color);
  border-radius: 2px;
  background-color: var(--accent-color);
  font-style: normal;
  font-weight: 400;
  font-size: var(--p-main-text);
  line-height: 17px;
  letter-spacing: 0.8px;
  color: white;
  transition: 0.15s ease-in-out;
}

.addToAdorableBtn:hover {
  cursor: pointer;
  background-color: white;
  color: var(--accent-color);
}

.removeFromAdorableBtn{
  margin-left: 15px;
  padding: 10px 27px;
  border-radius: 2px;
}

/* кнопки выбора вкладки на странице */
.product__menuBtns {
  width: 100%;
  margin-top: 60px;
  gap: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product__menuBtn {
  border: none;
  border-bottom: 2px solid white;
  background-color: white;
  padding: 5px 10px;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  font-size: var(--p-main-text);
  line-height: 14px;
  letter-spacing: 0.185714px;
  color: #A7A7A7;
  transition: 0.15s ease-in-out;
}

.product__menuBtn.active {
  border-bottom: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.product__menuBtn:hover {
  cursor: pointer;
  color: var(--accent-color);
}

/* описание товара */
.productDescription {
  display: none;
  width: 100%;
  margin-top: 35px;
  font-style: normal;
  color: #353535;
}

.productDescription.active {
  display: block;
}

.productDescription__name {
  text-transform: Uppercase;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.021429px;
}

.productDescription__content {
  margin: 20px 0px;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.45px;
}

.productDescription__content h1{
  text-transform: Uppercase;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
}

.productDescription__content h2{
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}

.productDescription__content p {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
}

.productDescription__content ul {
  list-style: disc;
  padding-left: 25px;
}

.productDescription__content a:active, .productDescription__content a {
  text-decoration: none;
  color: var(--accent-color);
}

.productDescription__content a:hover {
  cursor: pointer;
}

/* отзывы к товару */
.productReviews {
  display: none;
  width: 100%;
  margin-top: 35px;
  margin-bottom: 35px;
}

.productReviews.active {
  display: block;
}

.productReviews-header h1 {
  text-align: center;
  text-transform: uppercase;
  font-style: normal;
  color: #353535;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  letter-spacing: -0.021429px;
}

.productReviews-addReview{
  width: 100%;
  text-align: center;
  margin-top: 5px;
}
.productReviews-addReview-btn{
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  background-color: #f5f5f5;
  box-shadow: inset 0 0 0 1px #ebebeb;
  color: #3e77aa;
  transition: 0.15s ease-in-out;
}
.productReviews-addReview-btn:hover{
  cursor: pointer;
  color: #4f95d4;
}
.productReviews-addReview-form{
  margin-top: 10px;
}
.productReviews-addReview-form-textarea{
  width: 85%;
  max-width: 500px;
  height: 100px;
}

.productReviews-addReview-form-ratingDiv{
  margin: 5px 0px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.productReviews-addReview-form-ratingDiv span {
  padding: 0;
  margin: 0 2px;
}
.productReviews-addReview-form-ratingDiv span:hover {
  cursor: pointer;
}
.productReviews-addReview-form-ratingDiv>span:before {
  content: url("../img/ratingStarBig.png");
}
.productReviews-addReview-form-ratingDiv>span.productReviews-addReview-form-ratingStar {
  content: url("../img/ratingStarGoldBig.png");
}

.productReviews-reviews-item{
  font-style: normal;
  background-color: #f5f5f5;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  margin-top: 10px;
}
.productReviews-reviews-item-h{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.productReviews-reviews-item-mark{
  font-weight: 600;
  font-size: 16px;
}

.productReviews-reviews-item-rating{
  margin: 5px 0px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.productReviews-reviews-item-rating span {
  padding: 0;
  margin: 0 2px;
}
.productReviews-reviews-item-rating>span:before {
  content: url("../img/ratingStarBig.png");
}
.productReviews-reviews-item-rating>span.productReviews-reviews-item-ratingStar {
  content: url("../img/ratingStarGoldBig.png");
}

.productReviews-reviews-item-content{
  margin-top: 5px;
}

.log-in-p{
  margin-top: 10px;
  width: 100%;
  text-align: center;
}

.log-in-p a{
  color: var(--accent-color);
}

.productsHeader {
	font-style: normal;
	font-weight: 400;
	font-size: var(--h-header-text);
	line-height: 19px;
	letter-spacing: 0.514285px;
	color: #353535;
	display: flex;
  align-items: center;
	justify-content: center;
}

.productsHeaderLine{
	height: 2px;
	width: 10px;
	background-color: var(--accent-color);
	margin-left: 16px;
	margin-right: 16px;
}

.swiper-wrapper{
	padding: 10px 0 !important;
}


@media (max-width: 1260px) {
	.productActiveImage img{
	  height: 400px;
	}
  .productImages{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .productInfoHeader__productCount {
    display: flex;
    flex-direction: column;
  }
	.productContent{
	  flex-direction: column;
    gap: 10px;
	}
  .productImages{
    grid-template-columns: repeat(auto-fill, minmax(140px, 148px));
  }
  .productInfoHeader{
    display: none;
  }
  .productInfoHeaderMobile{
    display: flex;
  }
  .productInfoHeaderMobile-hr{
    display: block;
  }
  .productInfoHeader-hr{
    display: none;
  }
  .productInfo{
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .productInfoPacks_countTd{
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
    align-items: center;
  }
}

@media (max-width: 500px) {
  .productInfoPacks__Type table th{
    padding: 5px 2px;
  }
  .productInfoPacks__Type table td{
    padding: 5px 2px;
  }
  .productInfoActionBtns{
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .productActiveImage img {
      height: 150px;
  }
}

@media (max-width: 370px) {
  .productContent__productImage img {
    width: 55px;
    height: auto;
  }
  .productImages{
    grid-template-columns: repeat(auto-fill, minmax(84px, 94px));
  }
}
