@font-face {
    font-family: Gilroy;
    src: url("Gilroy-Light.otf") format("opentype");
}
@font-face {
    font-family: GilroyBold;
    src: url("Gilroy-Bold.ttf") format("truetype");
}
html, body {
    margin: 0;
    padding: 0;
    font-family: Gilroy, sans-serif;
    font-size: 13px;
    font-weight: 600;
}
body > img, body > section {
    width: 320px;
    margin: auto;
    display: block;
    position: relative;
}

.button {
    line-height: 40px;
    font-family: GilroyBold, sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 3px #3326B6, 0 10px 25px rgba(70, 144, 218, 0.35);
    background: #4636E5;
    border-radius: 5px;
    width: 158px;
    text-align: center;
    color: white;
}
.button:active {
    box-shadow: 0 1px #3326B6;
    transform: translateY(4px);
}
.sub-button {
    font-size: 10px;
    line-height: 13px;
    margin-top: 5px;
    width: 158px;
    text-align: center;
}
.first-button-section {
    position: relative;
    top: -350px;
    z-index: 10;
    padding-left: 28px;
    box-sizing: border-box;
    margin-bottom: -38px;
}
.block-title {
    font-family: GilroyBold, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #4636E5;
    margin-top: 11px;
    margin-left: 29px;
}
.black-title {
    color: #272727;
}
.second-p {
    margin-top: 12px;
    padding-left: 29px;
    padding-right: 29px;
}
.title-line {
    height: 2px;
    background-color: #EF8B2D;
    width: 110px;
    margin-top: 50px;
}
.gallery {
    box-sizing: border-box;
    padding-left: 30px;
    padding-bottom: 30px;
}
.gallery img {
    width: 260px;
    margin-top: 20px;
}
.dots {
    width: 65px;
    position: absolute;
    bottom: 0;
    left: 4px;
}
.block-subtitle {
    line-height: 17px;
    margin-left: 29px;
}
.gift-img {
    width: 320px;
    margin-top: 15px;
    margin-bottom: -3px;
}
.model-screen {
    overflow: auto;
    padding-bottom: 24px;
}
.arrow-left {
    margin-left: 30px;
    cursor: pointer;
}
.arrow-right {
    transform: rotate(180deg);
    margin-left: 5px;
    cursor: pointer;
}
.specs {
    padding-left: 27px;
    padding-right: 27px;
    margin-top: 24px;
    font-size: 14px;
}
td {
    padding: 0;
    vertical-align: text-top;
}
.specs tr td:first-child {
    width: 119px;
    font-family: GilroyBold, sans-serif;
    font-weight: 500;
}

.hl {
    width: 260px;
    margin: 16px 30px;
    height: 1px;
    background: #E3EAFF;
}
.selector {
    width: 260px;
    margin-left: 30px;
    margin-top: 9px;
}
.selector > div {
    line-height: 23px;
    display: inline-block;
    padding: 0 7px;
    border-radius: 12px;
    border: 1px solid #594BE5;
    margin-bottom: 5px;
    margin-right: 5px;
    color: #272727;
}
.selector > div.active {
    background: #594BE5;
    color: white;
    border-radius: 0;
}
.color-selector > div {
    border: 0;
    font-family: GilroyBold, sans-serif;
    font-weight: 400;
}
.buy-form {
    padding-top: 16px;
    background: #594BE5;
    overflow: auto;
}
.buy-form .block-title {
    color: white;
}
.buy-form input {
    margin-top: 12px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 5px;
    color: white;
    width: 260px;
    height: 36px;
    font-size: 13px;
    margin-left: 30px;
    box-sizing: border-box;
    padding: 0 12px;
    font-family: GilroyBold, sans-serif;
    font-weight: 500;
}
.buy-button {
    line-height: 40px;
    font-family: GilroyBold, sans-serif;
    font-style: normal;
    font-weight: 500;
    box-shadow: 0 3px #B0CDE9, 0 10px 25px rgba(70, 144, 218, 0.35);
    background: white;
    border-radius: 5px;
    width: 260px;
    text-align: center;
    margin-left: 30px;
    margin-top: 18px;
    color: #202B4B;
    border: none;
}
.sub-buy-button {
    color: white;
    line-height: 34px;
    margin-bottom: 16px;
    text-align: center;
}
.buy-form input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}
.about {
    background-color: #F3F3F3;
    overflow: hidden;
    font-weight: 500;
    padding-bottom: 20px;

}
.about-img {
    width: 260px;
    display: block;
    margin-left: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.about-dots {
    width: 68px;
    position: absolute;
    right: -14px;
    bottom: 170px;
}
.slider {
    padding: 0 30px;
}
.slider-dots {
    position: absolute;
    width: 49px;
    left: 0;
    top: 90px;
    z-index: -1;
}
.history {
    background-color: #EF8B2D;
    color: white;
    padding: 10px 30px;
    box-sizing: border-box;
    font-size: 12px;
}
.pre-reviews {
    height: 50px;
    background-color: #F3F3F3;
}
.reviews-wrapper {
    margin-left: 30px;
    margin-top: 16px;
    margin-bottom: 30px;
}
.reviews img {
    width: 126px;
    margin-right: 7px;
    display: inline-block;
}
.last-img {
    margin-top: -30px;
}
.last-button-section {
    top: -64px;
}
.footer {
    padding: 30px;
    font-size: 9px;
    line-height: 16px;
    background-color: #F3F3F3;
    box-sizing: border-box;
}
.zoomed {
    position: fixed;
    z-index: 99999;
    background: white;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.zoomed img {
    width: auto !important;
    height: auto;
    display: block;
    max-width: 100vw;
    max-height: 100vh;
}
.hidden {
    display: none;
}
.pswp__counter {
    display: none !important;
}