*{
    padding:0;
    margin:0;
    border:0;
}
*,*:before,*:after{
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing: border-box;
}
:focus,:active{outline:none;}
a:focus,a:active{outline:none;}

html,body{
    height:100%;
    width:100%;
    line-height:auto;
    font-size:18px;
    -ms-text-size-adjust:100%;
    -moz-text-size-adjust:100%;
    -webkit-text-size-adjust:100%;
    font-weight: 400;
}
input,button,textarea{font-family:inherit;}

input:-ms-clear{display:none;}
button{cursor:pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a, a:visited{text-decoration:none;}
a:hover{text-decoration:none;}
ul li{list-style:none;}
img{vertical-align:top;}

h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:400;}

img {
    pointer-events: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/*------------------------------------↓ОБЩИЕ------------------------------------↑ОБНУЛЕНИЕ*/
body{
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background: #141927;
    color: #ffffff;
}
.wrapper{
    overflow: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    max-width: 1920px;
    width: 100%;
}
/*------------------------------------------------------------------ОСНОВА*/
.main{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    max-width: 1218px;
    min-width: 360px;
    width: 100%;
    padding: 0 24px;
}
.catalog{
    max-width: 1022px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;

}
.boxes{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 100px 0px 70px 0;
}
.main>.title{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 165px;
}
.main>.title *{
    font-weight: 500;
}
@media(max-width: 1920px){
    .main>.title{
        margin-top: calc(105px + 60 * ((100vw - 414px) / (1920 - 414)));
    }
}
.dot{
    height: 4px;
    width: 4px;
    border-radius: 50%;
    background-color: #87C6ED;
}
.top{
    padding-top: 50px;
    display: flex;
    gap: 8px;
    align-items: center;
    align-self: start;
}
/* .catalog .top img{
    box-shadow: #87C6ED 0 0 4px;
} */
.top .string {
    display: flex;
    gap: 7px;
}
.top .string h1{
    color: #87C6ED;
    text-shadow: #87C6ED 0 0 4px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 28px;
    font-weight: 700;
}
.top .string h2{
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 28px;
    font-weight: 700;
}
.bg2 {
    height: 212px;
    width: 100%;
    background-image: url("../images/bg1.webp");
    background-size: cover;
}
@media(max-width: 1069px){
    .boxes{
        max-width: 270px;
        width: 100%;
    }
}
@media(max-width: 715px){
    .boxes{
        max-width: 270px;
        width: 100%;
    }
}
@media (max-width: 1024px) {
    .top{
        padding-top: calc(26px + 24 * ((100vw - 414px) / (1071 - 414)));
    }
    .boxes{
        gap: 40px;
        padding-top: calc(66px + 33 * ((100vw - 414px) / (1071 - 414)));
        padding-bottom: calc(1px + 69 * ((100vw - 414px) / (1071 - 414)));
    }
    .bg2 {
        height: 306px;
        background-image: url('../images/bg1-1024.webp');
        background-size: cover;
    }
}
@media (max-width: 715px) {
    .boxes{
        gap: 20px;
    }
    .bg2 {
        display: none;
    }
}
@media (max-width: 414px) {
    .main>.title{
        margin-top: 105px;
    }
    .top{
        padding-top: 26px;
    }
    .boxes{
        padding-top: 66px;
        padding-bottom: 0;
    }
}
.boxes .product {
    height: 437px;
    width: 270px;
    border-radius: 50px;
    background-color: #0E121E;
    position: relative;
    padding: 0 10px;
    margin-bottom: 30px;
    box-shadow: 0px -50px 100px -100px #87C6ED;
    -webkit-box-shadow: 0px -50px 100px -100px #87C6ED;
    -moz-box-shadow: 0px -50px 100px -100px #87C6ED;
}


.boxes .product.top::before {
    position: absolute;
    left: -2px;
    right: -2px;
    top: -2px;
    bottom: -2px;
    content: '';
    z-index: -1;
    background: linear-gradient(rgba(27, 220, 119, 0) 20%, rgba(27, 220, 119, 1));
    border-radius: 50px;
}

.boxes .product .image{
    width: 100%;
    height: 270px;
    margin-top: -30px;

    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: start;
    border-radius: 15px;
}
.boxes .product.top .image{
    margin-top: -210px;
}
.boxes .product img{
    width: 100%;
}
.boxes .product .text{
    height: 167px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
.boxes .product .button{
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 5px 0;
}
.boxes .product .button div{
    width: 124px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}
.boxes .product .left{
    font-size: 16px;
    font-weight: 700;
    font-family: 'Bai Jamjuree', sans-serif;
    background-color: #20263B;
}
.boxes .product .left:hover{
    background-color: #363D54;
    cursor: pointer;
}
.boxes .product .right{
    background-color: #195231;
    display: flex;
    justify-content: center;
    gap: 6px;
    color: #87C6ED;
}
.boxes .product .right .number{
    font-size: 18px;
    font-weight: 700;
    font-family: 'Bai Jamjuree', sans-serif;
    width: auto;
}
.boxes .product .right .currency{
    font-size: 18px;
    font-weight: 500;
    font-family: 'Bai Jamjuree', sans-serif;
    width: auto;
}
.boxes .product .right:hover{
    background-color: #87C6ED;
    color: #ffffff;
    box-shadow: 0 0 5px #87C6ED;
    cursor: pointer;
}
.boxes .product .title{
    padding: 20px 26px 33px 26px;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}
.boxes .product .title h1{
    font-weight: 700;
    line-height: 30.8px;
    overflow: hidden;
}
.boxes .product .title h2{
    font-weight: 700;
    line-height: 30.8px;
}
h3,h4,h5,h6{
    font-size: 18px;
}




/* Продукт */

.product_wrapper .catalog > .top {
    padding-top: 100px;
}

.main_product {
    display: flex;
    gap: 80px;
    align-items: center;
    padding-right: 70px;
    background: #0E121E;
    border-radius: 50px;
    margin-top: 50px;
    padding-top: 76px;
    padding-bottom: 70px;
    position: relative;
}
.main_product::before {
    position: absolute;
    left: -2px;
    right: -2px;
    top: -2px;
    bottom: -2px;
    content: '';
    z-index: -1;
    background: linear-gradient(rgba(27, 220, 119, 0) 20%, rgba(27, 220, 119, 1));
    border-radius: 50px;
}

.main_product .content {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.add_cont {
    display: flex;
    justify-content: end;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Bai Jamjuree', sans-serif;
}

.add_cont > div {
    display: flex;
    align-items: center;
    gap: 20px;

}
.add_cont .btn {
    border-radius: 15px;
    background: #87C6ED;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.main_product .title {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Bai Jamjuree', sans-serif;
}

@media (max-width: 600px) {
    .main_product .title {
        font-size: 22px;
    }

}

.main_product .content .content {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Bai Jamjuree', sans-serif;
    max-width: 500px;
    padding-left: 20px;
    border-left: 2px solid #87C6ED;
    color: #808594;
    line-height: 160%;
}

.main_product .id_cont {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.main_product .param {
    font-family: 'Bai Jamjuree', sans-serif;
    border-radius: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 14px;
    background: #181F35;
}

.id_param {
    gap: 10px;
}

.id_param .id {
    font-size: 14px;
    color: #808594;
}
.id_cont .copy {
    height: 44px;
    width: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background: #181F35;
    cursor: pointer;
}
.id_cont .article {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.parameters {
    display: flex;
    gap: 30px;
    align-items: center;
}

.parameter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.parameter .param_title {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 24px;
    font-weight: 500;
}

.parameter .param {
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.amount_param .param {
    align-items: center;
    justify-content: space-between;
}

.amount_controller {
    padding: 0 2px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.param .currency {
    margin-left: 5px;
}

.checkout_cont {
    display: flex;
    justify-content: start;
}
.checkout {
    cursor: pointer;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 25px 27px;
    border: 3px solid #87C6ED;
    border-radius: 50px;
    line-height: 20px;
    background: #0E121E;
}
.checkout:hover {
    box-shadow: 0px 4px 37px rgba(27, 220, 119, 0.43), 0px 21px 49px rgba(0, 0, 0, 0.4);
}
.checkout:active {
    background: #87C6ED;
    box-shadow: 0px 4px 37px rgba(27, 220, 119, 0.43), 0px 21px 49px rgba(0, 0, 0, 0.4);
}

.main_product .image {
    width: 560px;
    height: 600px;
    overflow: hidden;
    margin-left: -50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.main_product .image img {
    /* height: 100%; */
    width: 100%;
}

@media (max-width: 1224px) {
    .main_product .image {
        margin-left: -150px;
    }
}

@media (max-width: 1024px) {
    .main_product .image {
        margin-left: -250px;
    }
}

@media (max-width: 900px) {
    .main_product .image {
        margin-left: -350px;
    }
}

@media (max-width: 700px) {
    .main_product .image {
        display: none;
    }

    .main_product {
        padding: 30px 20px;
        margin-top: 30px;
    }
}

.added img {
    height: 30px;
}


footer .top {
    align-self: initial;
}

.widthMore {
    height: 100% !important;
    width: initial !important;
}

.product_title {
    white-space: nowrap;
    overflow: hidden;
}

@media  screen and (max-width: 1023px) {
    .flex-footer {
        flex-direction: column;
    }
    .flex-deksription {
        padding-top: 25px;
    }
}

.flex-footer {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.license-style {
    color: #FFFFFF;
}