@import url('../../css2');
@import url('../../css2-1');
@import url('../../css2-2');

:root {
    /*Colors*/
    --primary: #2051d8;
    --primary-light: #cc5490;
    --secondary: #7f4ebe;
    --secondary-light: #d341d3;
    --tertiary: #db0037;
    --tertiary-light: #dfcfe9;
    --light: #ffffff;

    --kaspi-color: #F24632;
    --kaspi-dark: #CE3221;

    /*Sizes*/
    --content_width: 480px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    font-size: 18px;
    background-image: url(../images/inherit/bgn.webp);
    background-size: cover;
}

/* Layout */

.content {
    max-width: var(--content_width) !important;
    margin: 0 auto;
}

/* First Screen - Block 1 */ 

.first-screen
.content {
    padding-top: 20px;
}
.top-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.first-screen
.promotion {
    --promotion-color: var(--secondary);
    --size: 40px;
    font-weight: bold;
    color: var(--light);
    width: 180px;
    height: var(--size);
    padding-left: 10px;
    font-size: 24px;
    line-height: 40px;
}
.first-screen
.promotion__right {
    width: 130px;
    padding-left: 20px;
}
.first-screen
.h1-title {
    margin-bottom: 25px;
    color: var(--secondary);
    font-size: 40px;
    text-shadow: 3px 2px var(--tertiary-light);
    text-align: center;
    position: relative;
}
.first-screen
.h2-title {
    text-align: center;
    text-transform: lowercase !important;
    margin-top: -25px;
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary);
    text-shadow: 2px 1px var(--tertiary-light);
    position: relative;
    overflow: hidden;
}
.kaspi__top {
    background-color: #F14635;
    height: 50px;
    margin-top: -10px;
    display: flex;
}
.kaspi__top img {
    width: 30%;
    height: 100%;
    object-fit: contain;
    margin-left: 10px;
    margin-right: 10px;
}
.kaspi__p {
    width: calc(70% - 20px);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 10px;
}
.kaspi__top p {
    font-family: "Comfortaa", sans-serif;
    font-size: 35px;
    position: relative;
}
.kaspi__top p span {
    font-size: 20px;
    padding-left: 2px;
}
.kaspi__top
.point {
    font-size: 80px;
    padding-top: 10px;
}
.first-screen
.product-image {
    width: 100vw;
    height: 133vw;
    border-top: 5px solid var(--tertiary-light);
}
.prices {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(45deg, #000000 0%, #000 50%, #e6aa06 50%, #ee0063 100%);
    margin-top: -8px;
}
.price {
    width: calc((100% - 30px) / 2);
    padding: 15px;
    color: var(--light);
    text-align: center;
}
.text {
    font-size: 14px;
}
.value {
    font-size: 20px;
    font-weight: bold;
}
.old-price
.value {
    text-decoration: line-through;
}
.new-price
.value {
    font-size: 24px;
    margin-top: -5px;
}

/* Advantages - Block 2 */

.advantages
.items {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
.advantages
.item {
    width: 33%;
    overflow: hidden;
    margin-right: 10px;
}
.advantages
.item:first-child {
    margin-left: 10px;
}
.advantages-image {
    width: 100%;
    object-fit: cover;
    border: 2px solid #340077;
    border-radius: 50%;
}
.advantages-description {
    font-family: 'Comfortaa', 'Montserrat', sans-serif;
    font-weight: bold;
    color: #340077;
    font-size: 3.5vw;
    text-align: center;
}

/* Promo - Block 3 */

.promo
.content {
    padding-bottom: 40px;
}
.promo
.promotion {
    --size: 100px;
    --promotion-color: var(--secondary);
    color: var(--light);
    width: 280px;
    height: var(--size);
    padding: 10px;
    padding-right: 40px;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}
.kaspi__body {
    width: 240px;
    background-color: var(--kaspi-dark);
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    padding: 10px 5px 10px 45px;
    margin: 40px 0 0 auto;
    position: relative;
}
.kaspi__body span {
    font-weight: bold;
    text-transform: uppercase;
}
.kaspi-red {
    --size: 100px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: -64px;
    z-index: 3;
}
.kaspi-months,
.kaspi-procent {
    position: absolute;
    border: 1px solid var(--kaspi-color);
    border-radius: 50%;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    color: var(--kaspi-color);
    top: 200px;
}
.kaspi-months {
    --size: 80px;
    width: var(--size);
    height: var(--size);
    padding: 25px 5px;
    background-color: #ddd;
    font-size: 20px;
    line-height: 12px;
    top: -25px;
    left: -120px;
    z-index: 2;
}
.kaspi-months span {
    font-size: 7.5px;
}
.kaspi-procent {
    --size: 60px;
    width: var(--size);
    height: var(--size);
    padding: 25px 5px;
    background-color: #efefef;
    font-size: 12px;
    line-height: 10px;
    top: 45px;
    left: -100px;
    z-index: 1;
}
.kaspi-alternative {
    margin: 15px 0 15px auto;
    --size: 70px !important;
    padding-left: 40px !important;
    padding-right: 10px !important;
    text-align: right;
    color: #fff;
    --promotion-color: #bbb !important;
}
.kaspi-alternative span {
    color: #F24632;
}

/* About */

.about {
    margin: 0 10px 20px 10px;
    padding: 20px 5px 15px 5px;
    background-color: #;
    border-radius: 20px;
    text-align: center;
}
.about p {
    font-family: 'Comfortaa', 'Montserrat', sans-serif;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--light);
}

/* Description - Blocks 4, 6, 10 */

.description
.content {
    height: 133vw;
}
.description img {
    width: 100vw;
    height: 133vw;
    border-top: 5px solid var(--tertiary-light);
    border-bottom: 5px solid var(--tertiary-light);
    object-position: left center;
}
.description2 img {
    object-position: center center;
}

/* Usage - Block 5 */

.usage 
.content {
    padding: 20px 0 20px 20px;
    display: flex;
    flex-direction: column;
}
.usage
.title {
    width: 80%;
    margin: 15px auto;
}
.usage__block {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, transparent 0%, transparent 20%, #490597 20%, #be86f3 100%);
}
.usage__block:not(:last-child) {
    margin-bottom: 20px;
}
.usage__image {
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    border: 3px solid #491b94;
    border-right: transparent;
}
.usage__desc {
    padding: 10px;
}
.usage__desc__title {
    font-size: 13vw;
    margin-bottom: 5px;
    color: var(--light);
    -webkit-text-stroke: 3px #ce330c;
    font-weight: bold;
    text-transform: uppercase;
}
.usage__desc__title span {
    font-size: 8vw;
}
.usage__desc__text {
    font-family: 'Comfortaa', 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 4.5vw;
    line-height: 5.5vw;
    color: var(--light);
}
.usage1
.title {
    background-color: #f58d39;
    color: var(--light);
}
.usage1
.usage__block {
    padding-right: 20px;
    background: none;
}
.usage1
.usage__block:nth-child(2n) {
    flex-direction: row-reverse;
    text-align: right;
}
.usage1 img {
    width: 40vw;
    height: 40vw;
    border: 3px solid #f58d39;
    border-radius: 50px;
}
.usage1
.usage__desc__text {
    font-family: 'Comfortaa', 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 4vw;
    line-height: 5vw;
    color: #552600;
}

/* Charackteristics -- Block 7 */

.characteristics
.content {
    padding: 20px;
    text-align: center;
    background-image: url(../images/inherit/bgn2.webp);
    background-size: cover;
}
.characteristics
.title {
    background-color: var(--secondary);
}
.characteristics__block {
    display: flex;
    align-items: center;
    background-color: rgba(245, 228, 255, 0.7);
    border-radius: 50px;
    border: 2px solid var(--secondary);
}
.characteristics__block:not(:last-child) {
    margin-bottom: 20px;
}
.characteristics__block:nth-child(2n) {
    flex-direction: row-reverse;
}
.characteristics__block:nth-child(2n)
.characteristics__image {
    border-radius: 0 47px 47px 0; 
    border-left: 5px solid var(--secondary); 
}
.characteristics__block:nth-child(2n+1)
.characteristics__image {
    border-radius: 47px 0 0 47px;  
    border-right: 5px solid var(--secondary); 
}
.characteristics__image {
    width: 55%;
    object-fit: cover;
}
.characteristics__desc {
    font-family: 'Comfortaa', 'Montserrat', sans-serif;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    padding: 10px;
    font-weight: bold;
    color: #000;
}

/* Feedback - Block 8 */

.feedback
.content {
    padding: 20px 0;
    min-height: 500px;
}
.feedback
.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
    border: 3px solid #f57c0a;
    background-color: var(--light);
    border-radius: 20px;
    position: relative;
}
.feedback__title {
    text-align: center;
    font-size: 24px;
    line-height: 26px;
    margin-bottom: 0 !important;
    background: none !important;
    color: #f57c0a !important;
}
.feedback__item {
    display: none;
    padding: 20px;
}
.feedback__no-photo
.feedback__item {
    padding: 20px 50px;
}
.feedback__item img {
    border-radius: 8px;
    width: 100%;
}
.feedback__item p {
    padding: 14px 0;
    color: #222;
}
.feedback__no-photo
.feedback__item p {
    position: relative;
}
.feedback__no-photo
.feedback__item p::after {
    position: absolute;
    display: block;
    content: '';
    width: 30px;
    height: 24px;
    bottom: -15px;
    right: 0;
    background-image: url("../images/inherit/quote.png");
    background-repeat: no-repeat;
    background-size: cover;
} 
.feedback__item p, .author-age {
    font-size: 14px;
}
.feedback__item-author {
    position: relative;
}
.feedback__no-photo
.feedback__item-author {
    display: flex;
}
.feedback__no-photo
.feedback__item-author img {
    width: 70px;
    height: 70px;
    margin-right: 10px;
}
.feedback__item-author .author-name {
    font-weight: 700;
    font-size: 16px;
}
.feedback__item-author .author-age {
    color: #777;
}
.feedback__item-author::after {
    position: absolute;
    display: block;
    content: '';
    width: 30px;
    height: 24px;
    bottom: 0;
    right: 0;
    background-image: url("../images/inherit/quote.png");
    background-repeat: no-repeat;
    background-size: cover;
} 
.feedback__no-photo
.feedback__item-author::after {
    display: none;
}
.feedback .prev, 
.feedback .next {
    position: absolute;
    width: auto;
    margin-top: -16px;
    padding: 16px;
    top: 150px;
    background-color: #e6aa06;
    opacity: 70%;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.feedback .prev {
    border-radius: 0 3px 3px 0;
}
.feedback .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.feedback .prev:hover, 
.feedback .next:hover {
    background-color: #e68c06;
    opacity: 90%;
}
.feedback
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
}
@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
.btn-feedback {
    height: 60px !important;
}

/* How to order - Block 9 */

.how-to-order
.content {
    font-family: 'Comfortaa', 'Montserrat', sans-serif;
    padding: 20px 0;
    padding-bottom: 120px;
}
.how-to-order
.title {
    display:  block !important;
    text-align: center;
    width: 350px;
    margin: 0 auto !important;
    background-color: #f57c0a;
}
.how-to-order__img {
    --size: 110px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
}
.how-to-order__item {
    height: 110px;
    margin: 20px auto 0 40px;
    border-radius: 100px 0 0 100px;
    border-right: 3px solid transparent;
    display: flex;
    align-items: center;
    background-color: #f57c0a;
}
.how-to-order__item:not(:last-child) {
    margin-bottom: 20px;
}
.item__desc {
    display: flex;
    flex-direction: column;
    padding: 20px 10px 20px 20px;
}
.item__title {
    color: var(--light);
    font-weight: bold;
    margin-bottom: 10px;
}
.item__text {
    font-size: 16px;
    line-height: 18px;
    color: var(--light);
}

/* Form - Block 11 */

.form-section
.content {
    padding: 20px 0;
}
.form-section
.promotion {
    --size: 100px;
    --promotion-color: var(--secondary);
    color: var(--light);
    width: 280px;
    height: var(--size);
    padding: 10px;
    padding-right: 40px;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}
.form-section
.promotion__right {
    width: 120px;
    padding-left: 20px;
}
.order-form {
    margin: 30px auto;
}
.order-form__name input, .order-form__tel input, .order-form__select select, .order-form__color {
    display: block;
    width: 90%;
    height: 70px;
    outline: none;
    color: #333;  
    border: 1px solid var(--secondary);
    border-radius: 8px;
    margin: 0 auto 15px;
    padding: 20px 20px 20px 50px;
}
::-webkit-input-placeholder, .order-form__select select, .order-form__color p {
    color: #999;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}
.order-form__color {
    height: 160px;
    padding: 15px 10px 20px 10px;
    background-color: #fff;
}
.order-form__color p {
    padding-left: 35px;
}
.color-items {
    height: 105px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}
.color-items input {
    position: relative;
}
.color-item::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: cover;
    top: -80px;
    left: -29px;
}
.color-item1::before {
    background-image: url(../images/black.webp);
}
.color-item2::before {
    background-image: url(../images/black.webp);
}
.order-form__select select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.order-form__select option {
    color: #333;
}
.order-form__select {
    position: relative;
}
.order-form__select::after,
.order-form__select::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 3px;
    background-color: #bbb;
}
.order-form__select::after {
    left: 40px;
    top: 35px;
    rotate: 45deg;
}
.order-form__select::before {
    left: 49px;
    top: 35px;
    rotate: 135deg;
}
.order-form__checkbox {
    width: 300px;
    margin: 0 auto 25px;
    color: #000;
    font-size: 13px;
    line-height: 18px;
}

/* Footer - Block 12 */
.footer
.content {
    text-align: center;
    padding: 30px;
    background-color: #eee;
}
.footer p, 
.footer a {
    color: #555;
    font-size: 14px;
}
.footer-nav {
    padding: 10px 10px 20px;
    background-color: #eee;
}

.footer-nav-item {
    padding: 0 20px 0 10px;
    font-size: 20px;
    color: rgb(98, 0, 255);
    text-decoration: underline !important;
}

.footer-tittle {
    margin: 25px auto;
    text-align: center;
    font-size: 40px;
    line-height: 50px;
    font-weight: normal;
    color: #444;
}

.footer-section {
    margin: auto 25px;
}

.footer-section-text {
    margin-bottom: 15px;
    color: #555;
    line-height: 20px;
}

/* UI Elements */

.promotion {
    --promotion-color: var(--primary);
    color: var(--light);
    background-color: var(--promotion-color);
    position: relative;
}
.promotion__left::after,
.promotion__right::after{
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: calc(var(--size) / 2) solid var(--promotion-color);
}
.promotion__left::after {
    border-right: calc(var(--size) / 2) solid transparent;
    top: 0;
    right: calc(var(--size) / -2);
}
.promotion__right::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: calc(var(--size) / 2) solid var(--promotion-color);
    border-left: calc(var(--size) / 2) solid transparent;
    top: 0;
    left: calc(var(--size) / -2);
}
.promotion__right {
    margin-right: 0;
    width: 120px;
    padding-left: 20px;
}
.logo {
    width: 130px;
    height: 40px;
    border-radius: 50px;
    background-color: var(--light);
    color: var(--primary);
    font-weight: bold;
    font-size: 22px;
    line-height: 40px;
    text-align: center;
}
.title {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Comfortaa', 'Montserrat', sans-serif;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--light);
    font-size: 24px;
    margin-bottom: 20px;
    background-color: var(--secondary);
}
.product-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.btn {
    display: block;
    width: 280px;
    height: 84px;
    border-radius: 50px;
    margin: 20px auto;
    padding: 14px;
    text-decoration: none;
    background-color: var(--secondary);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: var(--light);
}
.btn-buy {
    animation: pulse 1.5s infinite;
    animation: pulse 1.5s infinite;
    -webkit-animation: pulse 1.5s infinite;
    -moz-animation: pulse 1.5s infinite;
    border: 13px solid #cf9df7;
}
.btn-buy:hover {
    animation: none;
    -webkit-animation: none;
    -moz-animation: none;
}
@-webkit-keyframes pulse {
    from {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
    50% {
      -webkit-transform: scale3d(1.05, 1.05, 1.05);
      transform: scale3d(1.05, 1.05, 1.05);
    }
    to {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
}
@keyframes pulse {
    from {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
    50% {
      -webkit-transform: scale3d(1.05, 1.05, 1.05);
      transform: scale3d(1.05, 1.05, 1.05);
    }
    to {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
}
.pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}
.btn-pred-fix {
    position: absolute;
    left: calc(50% - 140px);
    margin: 0;
}
.btn-fix {
    position: sticky;
    top: 85%;
    left: calc(50% - 140px);
    z-index: 5;
}
