* {
    margin: 0;
    padding: 0;
}
html {
    background-color: #ffffff;
    width: 100vw;
    overflow-x: hidden;
    top: 0;
    left: 0;
}
body {
    width: 100%;
    overflow-x: hidden;
}
main {

  width: 100%;
  margin-top: 120px;
}

.breadcrumb-container {
  display: flex;
  width: 80%;
  margin: auto;
}

.logo_brewery {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 120px;
}
.logo_brewery img {
    height: 100%;
    width: auto;
}
.foto_brewery {
    width: 100%;
    height: 15vw;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
}
.foto_brewery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.container_name_brewery {
  display: flex;
  width: 80%;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}
.name_brewery {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.name_brewery h2 {
    font-family: "Georgia";
    color: #333333;
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.name_brewery p,
.name_brewery a {
    font-family: "Public Sans", sans-serif;
    color: #333333;
    font-weight: 500;
    font-size: 20px;
}
.description_brewery {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
    text-align: justify; /*текст по ширине*/
    line-height: 1.5;
    font-family: "Public Sans", sans-serif;
    color: #333333;
    font-weight: 500;
    font-size: 19px;
}
.frase {
    width: 80%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: "Georgia";
    color: #333333;
    font-weight: 600;
    font-size: 25px;
}


/*КНОПКА*/
.atuin-button {
  display: flex;
  justify-content: center;
 
  margin-top: 20px;
  margin-bottom: 10px;
}
.atuin-btn {
  display: inline-flex;
  text-decoration: none;
  position: relative;
  font-size: 20px;
  line-height: 20px;
  padding: 10px 20px;
  border-radius: 2px;
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Public Sans", sans-serif;
  background: #009739;
  cursor: pointer;
  border: 2px solid #76c193;
  letter-spacing: 1px;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
}
.atuin-btn:hover,
.atuin-btn:active,
.atuin-btn:focus {
  color: #ffffff;
}
.atuin-btn:after,
.atuin-btn:before,
.atuin-btn:before {
  position: absolute;
  height: 1.5px;
  left: 50%;
  background: #009739;
  bottom: -6px;
  content: "";
  transition: all 280ms ease-in-out;
  width: 0;
}
.atuin-btn:before,
.atuin-btn:before {
  top: -6px;
}
.atuin-btn:hover:after,
.atuin-btn:hover:before,
.atuin-btn:active:after,
.atuin-btn:active:before,
.atuin-btn:focus:after,
.atuin-btn:focus:before {
  width: 100%;
  left: 0;
}







/*общий контейнер*/
.container {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
}
.container a {
    text-decoration: none;
}
.png-container {
    display: flex;
    flex-direction: row;
}
.description-block {
    display: flex;
    flex-direction: column;
    flex: 1;
}
/*контейнер карточки товара*/
.product-id {
  display: none !important;
}
.png-wrapper {
  position: relative;
  display: flex;

  width: 400px;
  height: 280px;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); 
  border-radius: 4px;
}
.png-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border-radius: 4px;
}
.png-wrapper a {
  position: relative;
  display: flex;
  flex-direction: row;
width: 100%;
padding: 20px;
}

.product-medals {
    display: flex;
    align-items: center;
   
}
.product-medals img {
    width: 70px;
}

.item-foto {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.item-foto img {
    position: absolute;
  height: 240px;
  width: auto;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.item-foto img:first-child {
  opacity: 1;
}

/* прячем первую только если есть вторая */
.item-foto:hover img:first-child:nth-last-child(n+2) {
  opacity: 0;
}
.item-foto:hover img:nth-child(2) {
  opacity: 1;
}

.item-options {
  display: flex;
  flex-direction: column;
justify-content: center;
  
  cursor: auto;
}
.item-strenght,
.item-density,
.item-bitterness {
  display: flex;
  flex-direction: column;
  font-family: "Public Sans", sans-serif;
  color: #333333;
  font-size: 15px;
  font-weight: 400;
}
.item-strenght-top,
.item-density-top,
.item-bitterness-top {
   display: flex;
  flex-direction: column;
}
.item-strenght-top p,
.item-density-top p,
.item-bitterness-top p {
  font-weight: 600;
}

meter::-webkit-meter-optimum-value {
  background: #E80000; /* цвет заполненной части при нормальном значении */
}
meter::-webkit-meter-bar {
  border-radius: 0;
}
meter::-webkit-meter-suboptimum-value {
  background: #E80000; /* цвет заполненной части при среднем значении */
}
meter::-webkit-meter-even-less-good-value {
  background: #E80000; /* цвет заполненной части при плохом значении */
}
meter::-moz-meter-bar {
  background: #E80000; /* цвет заполненной части */
}



.item-name {
    display: flex;
    flex-direction: row;
    justify-content: center;
 
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 30px;
  flex-wrap: wrap;

  
}
.item-name h3{
  font-family: "Verdana";
  color: #333333;
  font-size: 19px !important;
  font-weight: 500;
  line-height: 1.2em;

  letter-spacing: 1px;
  -webkit-text-stroke: 0.5px #333333;
}
.decsription-full {
  display: flex;
    text-align: justify; /*текст по ширине*/
    line-height: 1.5;
    font-family: "Public Sans", sans-serif;
    color: #333333;
    font-weight: 500;
    font-size: 19px;
    margin-left: 30px;
}












/*АДАПТИВ*/


@media screen and (max-width: 1200px) {
  main {
    margin-top: 110px;
  }
}
@media screen and (max-width: 1000px) {
  main {
    margin-top: 105px;
  }
  .item-name h3,
  .decsription-full,
  .description_brewery,
  .atuin-btn {
    font-size: 18px !important;
  }
  .name_brewery h2 {
    font-size: 22px;
  }
  .name_brewery p,
  .name_brewery a,
  .frase {
    font-size: 19px;
}

.container_name_brewery,
.description_brewery,
.frase,
.container,
.breadcrumb-container {
  width: 90%;
}

.png-wrapper {
  width: 350px;
}
.logo_brewery {
  height: 100px;
}
.atuin-button {
    margin-top: 0;
  }
}


@media screen and (max-width: 760px) {
  main {
    margin-top: 95px;
  }
  .item-name h3,
  .decsription-full,
  .description_brewery {
    font-size: 17px !important;
  }
 .container_name_brewery {
    flex-direction: column;
  align-items: flex-start;
  }
  .name_brewery {
    flex: 1 1 auto;
    white-space: nowrap;
  }
  .atuin-btn {
    font-size: 15px!important;
    line-height: 15px;
    letter-spacing: 0;
    text-align: end;
    padding: 5px 10px;
  }
  .atuin-button {
    flex: 0 0 auto;
   
    margin-top: 0;
  }
.name_brewery {
    margin-bottom: 10px;
  }
  .name_brewery h2 {
    font-size: 20px;
  }
  
  .name_brewery p,
  .name_brewery a,
  .frase {
    font-size: 18px;
}
.frase {
  margin-top: 10px;
  margin-bottom: 5px;
}
.png-container {
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}
.description-block {
  order: 1;
  margin-bottom: 5px;
}
.png-wrapper {
  width: 340px;
  order: 2;

}
.logo_brewery {
  height: 90px;
}
.png-wrapper {
  height: 240px;
}
.item-foto img {
  height: 200px;
}
  .item-name,
  .decsription-full {
    margin-left: 0;
  }

}

 
@media screen and (max-width: 485px) {
  .item-name h3,
  .decsription-full,
  .description_brewery {
    font-size: 16px !important;
  }
  .container_name_brewery {
    flex-direction: column;
  }
  .atuin-btn {
    display: flex;
    font-size: 15px!important;
    line-height: 14px;
    letter-spacing: 0;
  }
  .name_brewery {
    margin-bottom: 10px;
    white-space: wrap;
  }
  .name_brewery h2 {
    font-size: 18px;
  }
  .name_brewery p,
  .name_brewery a,
  .frase {
    font-size: 16px;
}
.png-wrapper {
  width: 300px;
  height: 220px;
}
.logo_brewery {
  height: 80px;
}
.item-foto img {
  height: 180px;
}
.product-medals img {
    width: 55px;
}

}
@media screen and (max-width: 480px) {
  main {
    margin-top: 85px;
  }
} 
@media screen and (max-width: 308px) {
  main {
    margin-top: 70px;
  }
  .png-wrapper {
  width: 260px;
  height: 200px;
}
.item-foto img {
  height: 160px;
}
.logo_brewery {
  height: 70px;
} 
.product-medals {
  display: none;
}
}