/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body{
    font-family: "Roboto",sans-serif;
}
/* Убираем внутренние отступы */
ul[class],
ol[class],
button {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
ol,
ul,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
/* ul[class],
ol[class] {
  list-style: none;
} */

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}


/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}
.b_mainTitle{
    font-style: normal;
    font-weight: bold;
    font-size: 48px;
    line-height: 56px;
}
.atgContainer{
    max-width: 1516px;
    margin: 0 auto;
}
.b_wrapper{
    display: flex;
    padding: 35px;
}
.reviewBox{
    padding: 35px;
}
.b_product{
    width: 30%;
    position: relative;
    padding-top: 30px;
}
.reviewBox{
    width: 70%;
}
.atgImg{
    width: 100%;
    display: block;
}
.b_productName a{
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    color: #121212;
}
.b_clicker{
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
}
.b-ml-4{
    margin-left: 4px;
}
.b_likeBox{
    display: flex;
    margin-left: auto;
}
.b_reviewTop{
    display: flex;
    align-items: center;
}
.b_like-ml{
    margin-left: 20px;
}
.b_like{
    display: flex;
    align-items: center;
}
.b_personal-margin{
    margin-top: 24px;
    margin-bottom: 20px;
}
.b_code--mobile {
    display: none;
}
.b_code--desktop {
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #86868A;
    padding-top: 8px;
    display: flex;
    justify-content: flex-end;
}
.b_productName {
    font-weight: 700;
    font-size: 28px;
    line-height: 38px;
color: #39393D;

    margin-bottom: 5px;
}
.b_productName--small {
    font-weight: 700;
    font-size: 24px;
    line-height: 34px
}
.b_name{
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    color: #121212;
}
.b_date{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #7E7E83;
}
.b_shield{
    padding: 5px 8px;
    background: #F5F5F6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 32px;

}
.b_shieldText{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
}
.b_shield svg{
    fill: #27C177;
    margin-right: 8px;
}
.b_personal{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.b_shield-ml{
    margin-right: 8px;
}
.b_personal-ml{
    margin-right: 20px;
}
.b_star.b_starUnfull svg{
    fill: #F7B8C2;
}
.b_star svg{
    fill: #E31235;
}
.b_gradeBox{
    display: flex;
    align-items: center;
}
.b_grade{
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 44px;
    line-height: 48px;
    color: #E31235;
}
.b_starsBox-ml{
    margin-left: 16px;
}
.b_stars{
    display: flex;
}
.b_description{
    margin-top: 24px;
}
.b_text-mt{
    margin-top: 16px;
}
.b_title{
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 22px;
    color: #121212;
}
.b_text{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #121212;
}
.b_labels{
    /* position: absolute;
    top: 0;
    left: 0;
    z-index: 4; */
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.3 );
    padding: 5px ;
    margin-bottom: 10px;
}
.b_label{
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 190px;
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.2px;
    color: #5E5E62;
    margin-right: 8px;
    overflow: hidden;
}
.b_label.b_hit{
    color: #966feb;
    border: 1px solid #966feb;
    
}
.b_label.b_saleSber{
    color: #51d0db;
    border: 1px solid #51d0db;

}
.b_label.b_premium{
    color: #333333;
    border: 1px solid #333333;

}
.b_label.b_persPrice{
    color: #FFFFFF;
    background: #549af1;
}
.b_label.b_rassrochka{
    color: #ee7abd;
    border: 1px solid #ee7abd;
}
.b_productPicture{
    position: relative;
    width: 250px;
}
.b_productLinkImg{
    width: 250px;
    height: 250px;
    display: block;
}
.b_productSale{
    -moz-transform: skewY(-10deg);
    -webkit-transform: skewY(-10deg);
    -o-transform: skewY(-10deg);
    -ms-transform: skewY(-10deg);
    transform: skewY(-10deg);   
    font-style: italic;
    font-weight: bold;
    font-size: 14px;
    line-height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #12A2BF;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46px;
    height: 24px;
    z-index: 3;
}
.b_productSale-back{
    width: 47.5px;
    height: 26px;
    background: #333333;
    position: absolute;
    z-index: 2;
    right: -1.5px;
    bottom: -2px;
    -moz-transform: skewY(-10deg);
    -webkit-transform: skewY(-10deg);
    -o-transform: skewY(-10deg);
    -ms-transform: skewY(-10deg);
    transform: skewY(-10deg);   

}
.b_gradeAndReview{
    display: flex;
    align-items: center;
}
.b_overalStar img {
    max-width: 100px!important;
}
.b_overalStar{
    display: flex;
    align-items: center;
}
.b_overalStarNumber{
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #E31235;
    margin-left: 4px;
}
.b_overalStarNumber-big {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    margin-left: 10px;
    color: #E31235;
}
.stars-min {
    width: 80px;
}
.b_reviewsAll{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #8E8E93;
    text-decoration: none;
}
.b_newPrice{
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #333333;

}
.b_oldPrice{
    position: relative;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: flex-end;
    color: #8E8E93;
    margin-left: 4px;
}
.b_line-through{
    position: absolute;
    width: 100%;
    background: #12A2BF;
    transform: matrix(0.99, -0.11, 0.14, 0.99, 0, 0);
    bottom: 9px;
    left: 0;
    height: 2px;
}
.b_price, .b_bonus{
    display: flex;
    align-items: center;
}
.b_rubles{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #E31235;
}
.b_signature{
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #8E8E93;
}
.b_link{
    border-radius: 4px;
    display: block;
    padding: 9px 24px;
    background: #E31235;
    color: #FFFFFF;
    text-decoration: none;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    height: 40px;
    width: 150px;
    margin-top: 12px;
}
.b_link:hover {
    color: #FFFFFF!important;
    background: #BD0F2C;
}
.b_link:active {
    color: #FFFFFF!important;
    background: #9C0C24;
}
.b_buttonRead{
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #007AFF;
    background: #FFFFFF;
    border: none;
    outline: none;
    margin-top: 24px;
}
.b_buttonRead:hover{
    cursor: pointer;
}
.b_text.b_textReview{
    height: 100px;
    overflow: hidden;
}
.b_toggleButton{
    width: 24px;
    height: 24px;
    display: block;
    background: #FFFFFF;
    border: .1rem solid #B5B5B9;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    line-height: 22px;
    color: #333333;
}
.b_toggleButton:hover{
    cursor: pointer;
}
.b_disable{
    display: none;
}
.b_star.b_star_gradient svg{
    fill: linear-gradient(90deg, rgba(227,18,53,1) 0%, rgba(227,18,53,0.30015756302521013) 30%);
}
rect {
    cursor: pointer;
    shape-rendering: crispEdges;
    fill: url(#MyGradient);
}
.b_overalStar{
    margin-right: 12px;
}
@media screen and (max-width:1599px){
    .atgContainer{
        max-width: 1228px;
    }
    .b_toggleButton._activeButton{
        margin-top: 12px;
    }
}
@media screen and (max-width:1279px){
    .b_mainTitle{
        font-size: 32px;
        line-height: 40px;
    }
    .b_productName {
        font-weight: 700;
        font-size: 20px;
        line-height: 30px;
    }
    .atgContainer{
        max-width: 940px;
    }
    .b_productPicture{
        width: 180px;
    }
    .b_productLinkImg{
        width: 160px;
        height: 160px;
    }
    .b_wrapper{
        padding: 0;
    }
    .b_label:nth-of-type(n+3){
        margin-top: 12px;
    }
    .b_toggleButton._activeButton{
        margin-top: 12px;
    }
    .b_labels {
        position: absolute;
        top: -30px;
        left: 0;
        margin-bottom: 10px;
      }
      .b_code--desktop {
        display: block;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #86868A;
        padding-top: 8px;
        display: flex;
        justify-content: flex-end;
    }
}
@media screen and (max-width:1023px){
    .atgContainer{
        max-width: 100%;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .b_labels {
        position: absolute;
        top: -30px;
        left: 0;
      }
      .b_code--desktop {
        display: block;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #86868A;
        padding-top: 8px;
        display: flex;
        justify-content: flex-end;
    }
}
@media screen and (max-width:960px){

}
@media screen and (max-width:870px){
    .b_label:nth-of-type(n+2){
        margin-top: 12px;
    }
}
@media screen and (max-width:767px){
    .b_wrapper{
        flex-direction: column;

    }
    .b_wrapper:not(:first-child){
        margin-top: 24px;
    }
    .b_productName {
        font-weight: 500;
        font-size: 20px;
        line-height: 28px;
        color: #333333;
        margin-bottom: 5px;
    }
    .b_code {
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0.2px;
        color: #8E8E93;
        margin-bottom: 5px;
    }
    .b_product{
        width: 100%;
    }
    .b_reviewTop {
        flex-direction: column;
        align-items: flex-start;
    }
    .reviewBox{
        width: 100%;
        padding: 0;
        margin-top: 24px;
    }
    .b_labels {
        position: absolute;
        top: -30px;
        left: 0;
        z-index: 4;
        display: flex;
        flex-wrap: wrap;
        background: rgba(255, 255, 255, 0.3 );
        padding: 5px 0;
        margin-bottom: 10px;
    }
    .b_label:nth-of-type(n+1){
        margin-top: 0;
    }
    .b_toggleButton._activeButton{
        margin-top: 0;
    }
}

@media screen and (max-width: 640px){
    .b_mainTitle{
        font-size: 22px;
        line-height: 28px;
    }
}
@media screen and (max-width:390px){
    .b_toggleButton._activeButton {
        margin-top: 12px;
    }
    .b_shield {
        margin-top: 12px;
    }
}
@media screen and (max-width:360px){
    .b_toggleButton._activeButton {
        margin-top: 12px;
    }
    .b_shield {
        margin-top: 12px;
    }
    .b_label:nth-of-type(n+3){
        margin-top: 12px;
    }
}
/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}