.main{
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.product-card__img-wrap{
    padding-top: calc(100% * (328/246));
    position: relative;
    border-radius: 8px;
    background-color: #f6f6f9;
    overflow: hidden;
}
.price-block__final-price{
    width: 143px !important;
}
.text-pest, .text-fert, .text-seeds, .text-foto, .text-nota, .text-question{
  margin-right: 6px;
  color: #666;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 50px;
  display: inline-block;
  background-color: #fbfbfb;
}
.text-fert:hover{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
}
.text-nota:hover{
  background: #595a5d;
  border: 1px solid #1e1e1e;
  color: #f9f9f9;
  }
  .text-question:hover{
    background: #595a5d;
    border: 1px solid #1e1e1e;
    color: #f9f9f9;
    }
.text-pest:hover{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
}
.text-seeds:hover{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
}
.text-foto:hover{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
}
.text-fert:active{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
}
.text-question:active{
  background: #595a5d;
  border: 1px solid #1e1e1e;
  color: #f9f9f9;
  }
.text-seeds:active{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
}
.text-foto:active{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
}
.text-pest:active{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
}
.text-all{
background: #595a5d;
border: 1px solid #1e1e1e;
color: #f9f9f9;
  margin-right: 6px;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
}
.filter{
  top: 78px;
  position: absolute;
  display: inline-block;
  width: 96%;
  right: 5%;
z-index: 6;
}

.hide{
    opacity: 1;
    animation-name: a1;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    display: none;
}
@keyframes a1{
    to{
        opacity: 0;
        min-height: 0;
        min-width: 0;
        padding: 0;
        margin: 0;
        border: 0;
    }
}


    /* */ 
.outerdiv
{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
}

@media (min-width: 1024px) {
  #fixed {
    width: 50%;
    position: fixed;
    top: 38px;
    z-index: 9999;
    left: 350px;
  }
      }
  @media (min-width: 700px) and (max-width: 1260px) {
  .innerdiv
{
    display: grid;
    grid-template-columns: repeat(4,calc(100%/4 - 8px/4*(4 - 1)));
    row-gap: 24px;
    column-gap: 8px;
    grid-auto-flow: row dense;
    margin-top: 45px;
    margin-bottom: 25px;
}
  }
  @media (min-width: 1260px) {
  .innerdiv
{
    display: grid;
    grid-template-columns: repeat(5,calc(100%/5 - 8px/5*(5 - 1)));
    row-gap: 24px;
    column-gap: 8px;
    grid-auto-flow: row dense;
        margin-top: 25px;
    margin-bottom: 25px;
}
  }
 
.userdetails
{
  display: flex;
  width: 90%;
  margin-left: 5%;
}
.imgbox
{
  margin-right: 1rem;
  margin-top: 0.5rem;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  justify-content: center;
  display: flex;
  align-items: center;
}
.imgbox img
{
  object-fit: cover;
}
.detbox
{
	display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 30px;
}
.detbox p
{
	margin: 0;
}
.detbox .name
{
  color: #1e1f26;
  font-size: 23px;
  margin-bottom: 0.1rem;
  text-align: right;
  overflow: hidden;
text-overflow: ellipsis;
width: 200px;
height: 27px;
white-space: nowrap;
font-weight: 700;
}
.detbox .name.dark
{
    color: #4a5258;
    font-size: 23px;
    text-align: center;
}
.detbox .designation
{
color: #545764;
font-size: 0.8rem;
}
.detbox .designation.dark
{
	color: #49505A;
}

.review p {
  font-size: 1rem;
  color: #4A4B63;
  font-weight: 500;
  line-height: 1.5;
}
.review.dark p{
	color: #0e0e0e;
}
.attribution
{
	font-size: 1rem;
    line-height: 1.5;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    text-align: right;
}
.attribution a
{
	text-decoration: none;
}

@media only screen and (max-width: 1000px)
{
	.innerdiv
	{
		transform: scale(1);
	}
}
  
@media (max-width: 700px) {

#fixed{width: 100%;
position: fixed;
top: 88px;} 
}
@media only screen and (min-device-width: 700px) and (max-device-width: 1024px){    
    #fixed {
  width: 60%;
  position: fixed;
  top: 40px;
  z-index: 9999;
  left: 273px;
}
}

 @media only screen and (max-device-width: 840px){ 

.eachdiv
{
  border-radius: 0.8rem;
  box-shadow: 2px 3px 8px #9f9f9f6b;
  color: white;
  background: #fff;
}

.review {
  max-width: 840px;
  text-align: right;
}
    }

@media only screen and (min-device-width: 841px){
  .outerdiv {
    margin-left: 5%;
    width: 90%;
  }
    .eachdiv
{
padding: 10px 14px;
    border-radius: 0.8rem;
    box-shadow: 1px 3px 11px #6d6b6b6b;
    background: #fff;
    max-width: 204px;
}

}
@media screen and (max-width: 485px) {
.eachdiv {
    padding: 3px 4px;
}
}
@media screen and (min-width: 485px) {
.outerdiv
{
  margin: 15px 5%;
}
.eachdiv {
    padding: 10px 15px;
}
  .imgCollabMob{
    border-radius: 9px;
    width: auto;
    height: 245px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: block;
    max-width: 100%;
}
#Layer_2{
  width: 25px;
  height: 25px;
}
.text-pest, .text-fert, .text-seeds, .text-foto, .text-nota, .text-question{
  padding: 4px 12px;
}
.text-all:after{
  content: "Все";
}
.text-fert:after{
  content: "Удобрения";
}
.text-seeds:after{
  content: "Семена";
}
.text-pest:after{
  content: "СЗР";
}
.text-nota:after{
  content: "ЗаметкА";
}
.text-question:after{
  content: "Вопросы";
}
.notaUserFoto {
  font-size: 12px;
}
}
@media screen and (max-width: 485px) {
  .p4u {
  grid-column: span 1;
      flex-direction: column;
    display: flex;
    height: auto;
  }
  #Layer_2{
    width: 15px;
    height: 15px;
  }
  #layerBlock{
     display: none;
  }
  .imgCollabMob {
    border-radius: 9px;
    width: auto;
    height: auto;
    max-width: 100%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
  .text-pest, .text-fert, .text-seeds, .text-foto, .text-nota, .text-question{
    padding: 4px 10px;
  }
  .text-all:after{
    content: "Все";
  }
  .text-all {
    padding: 8px 12px;
}
  .text-fert{
    content: url("/template/svg/fert.svg");
  }
  .text-seeds{
    content: url("/template/svg/seeds.svg");
  }
  .text-pest{
    content: url("/template/svg/pest.svg");
  }
  .text-fert:hover{
    content: url("/template/svg/fertw.svg");
  }
  .text-seeds:hover{
    content: url("/template/svg/seedsw.svg");
  }
  .text-pest:hover{
    content: url("/template/svg/pestw.svg");
  }
  .notaUserFoto {
    font-size: 0.7rem;
  }
  }

  .butJaloba{
    margin-bottom: 4px;
    text-align: left;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    padding: 6px;
    border-radius: 6px;
    width: 90px;
}
.butJaloba:hover{
    background: #151414;
    color: #fff !important;
}
.jaloba{
  display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}

.review svg path, .lovePlant svg path {
    fill: #c7cac700;
}

.nameBlock.seedsic{
  color: #007237;
}
.nameBlock.fertic{
  color: #1d0c73;
}
.nameBlock{
  font-size: .6rem;
    color: #545764;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    text-align: end;
    width: 100%;
}
.notaUserFoto{
  display: flex;
  font-family: 'Roboto', sans-serif;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 5px;
}
.geraUserZapros{
  font-size: 12px;
  display: flex;
  font-family: 'Roboto', sans-serif;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 5px;
}
.review {
    text-align: left;
}
.artwork-song {
    text-align: right;
}
.detbox .name {
    width: auto;
}
.detbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1px;
    align-items: flex-start;
    align-content: flex-end;
    margin-right: 10px;
    width: 100%;
}
.userdetails {
    display: flex;
    width: 100%;
    margin-left: 5%;
    justify-content: flex-end;
    align-content: flex-end;
    text-align: left;
}
@media (max-width: 700px){
.innerdiv {
    display: grid;
    grid-template-columns: repeat(2,calc(100%/2 - 8px/2*(2 - 1)));
    row-gap: 24px;
    column-gap: 8px;
    grid-auto-flow: row dense;
}
}
.user_nota{
  color: #545764;
}
.addButReguest{
  width: 81px;
  background: #2323237a;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  position: fixed;
  right: 5%;
  bottom: 90px;
  height: 81px;
  }
  
  .addButReguest.visible-buttons {
    display: none;
  }

.addButReguest:hover{
    background: #232323;
}
.static{
  width: 250px;
  height: fit-content;
  padding: 15px;
  position: absolute;
  left: 5%;
  margin-top: 40px;
  background: #fff;
  border-radius: 12px;
  color: #949793;
  font-weight: 300;
  font-size: 12px;
  z-index: 9;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 8px;
    display: none;
}
.offersReg{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
}
.butLinkCount:hover{
  box-shadow: 0 2px 6px rgb(249 230 77);
}
.sale-product{
  background: #f9e64d;
  color: #242424;
  padding: 10px;
  border-radius: 12px;
}
.designation{
  font-size: 0.5rem;
    top: -7px;
    position: relative;
  margin-left: -7px;
}
.sale-product{
  background: #f9e64d;
  color: #242424;
  padding: 10px;
  border-radius: 12px;
  margin-top: -22px;
  position: absolute;
  z-index: 2;
  margin-left: 150px;
  width: 90px;
}