:root {
    --primary: #af001c;
    --primary-dark: #bf2a41;
    --secondary: #ffffff;
    --text: #333333;
    --text-light: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.woff2") format("woff2"),
        url("../fonts/Montserrat-Regular.woff") format("woff"),
        url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Bold.woff2") format("woff2"),
        url("../fonts/Montserrat-Bold.woff") format("woff"),
        url("../fonts/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src:
        url("../fonts/Montserrat-Bold.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
}

body {
    width: 480px;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    background: var(--secondary);
    color: var(--text);
    line-height: 1.5;
    position: relative;
    min-height: 100vh;
    padding-bottom: 15px;
    overflow-x: hidden;
}

img {
    display: block;
}

.blinking-text {
    font-size: 14px;
    line-height: 1.2;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    padding: 10px 4px 8px;
    border-radius: 6px;
    background-color: #58a000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    animation: blink 1s infinite;
    /* width: 450px; */
    margin: 0 6px 7px 10px;
    text-transform: uppercase;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }
}

.skidka {
    position: absolute;
    bottom: -201px;
    right: -21px;
}

.skidka img {
    width: 90px;
}

/* Основной контент */
.main-content {
    padding: 15px 0px 15px;
    width: 100%;
}


.wrap-block {
    display: flex;
    justify-content: space-between;
    padding: 0px 0 15px;
}

/* .item-block {
    padding: 0 10px;
} */

/* Видео блок */
.video-wrapper {
    margin: 20px 0 0;
    /* border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}

.video-iframe {
    /* width: 100%; */
    height: 270px;
    border: none;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}




/* Фиксированные кнопки покупки */
.fixed-buttons {
    /* position: fixed; */
    bottom: 0;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: 200px;
    display: block;
    background: transparent;
    /* padding: 0px 45px; */
    /* box-shadow: 0 -2px 10px rgba(0,0,0,0.1); */
    z-index: 100;
    gap: 10px;
    justify-content: center;
    margin: 5px 0 0 22px;
}

.buy-btn img {
    width: 170px;
}

.buy-btn {
    flex: 1;
    padding: 10px 2px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 22px;
    color: white;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #f14635;
}

.buy-btn:active {
    transform: scale(0.96);
}

.grey-but {
    animation: pulse2 2s infinite;
    padding: 12px 0;
}

.wb-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(232, 19, 19, 0.785);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse2 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(147, 146, 146, 0.785);
    }

    100% {
        transform: scale(1);
    }
}


.ozon-btn,
.grey-but {
    position: relative;
    overflow: hidden;
}

.ozon-btn::after,
.grey-but::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 400%;
    height: 200%;
    background: linear-gradient(to bottom right,
            transparent 45%,
            rgba(255, 255, 255, 0.385) 50%,
            transparent 55%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Футер */
.footer {
    width: 480px;
    max-width: 100%;
    color: rgb(245, 165, 179);
    padding: 50px 15px 30px;
    font-size: 12px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    margin-bottom: 6px;
}

.footer a {
    color: rgb(245, 165, 179);
    ;
}

.item-card__prices {
    display: flex;
    justify-content: center;


}

.item-card__prices.diagonal {
    /* border: 3px solid red; */
    width: 220px;
    position: relative;
    height: 62px;
    /* justify-content: center; */
    /* display: block; */
    margin-left: 14px;
    margin-bottom: 11px;
    margin-top: 13px;
}

.item-card__prices.diagonal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 101%;
    height: 4px;
    background-color: red;
    transform: rotate(14deg);
    transform-origin: top left;
}

.item-card__prices.diagonal::after,
.item-card__prices.diagonal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 101%;
    height: 4px;
    background-color: red;
    transform: rotate(13deg);
    transform-origin: top left;
}

.item-card__prices.diagonal::before {
    transform: rotate(-14deg);
    top: 50px;
}

.item-card__prices.two {

    /* margin-right: 29px; */
    margin-bottom: 15px;
    width: 220px;
    padding-left: 18px;
}



.item-card__prices-title {
    display: block;
    color: #999;
    margin-bottom: 4px;
    min-height: 21px;
    font-size: 15px;
}

.item-card__debet {
    padding-right: 4px;
    border-right: 1px solid #e5e5e5;
    min-height: 42px;
}

.item-card__prices-price,
.item__price-once {
    font-size: 17px;
    white-space: nowrap;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 500;
    letter-spacing: -.02em;
}

.item-card__instalment {
    margin-left: 8px;
    white-space: nowrap;
    min-height: 42px;
}

.item-card__add-info {
    display: inline-block;
    color: #999;
    font-size: 13px;
    letter-spacing: -.05em;
}

.item-card__prices-price {
    display: inline-block;
    background: #ffd300;
    font-weight: 700;
    font-size: 19px;
    padding: 2px 3px 2px 0;
}

.item-card__prices-price.osn {
    background: none;
}




.item-card__prices.diagonal .item-card__prices-title {
    font-size: 14px;
}

.item-card__prices.diagonal .item-card__prices-price {
    font-size: 16px;
}

.item-card__prices.diagonal .item-card__add-info {
    font-size: 15px;
}


.prices-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 220px;
}

.title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    max-width: 220px;
    margin-top: 8px;
}

.stars-box {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.stars-box p {
    font-size: 11px;
    color: #777777;
    margin-top: 6.5px;
}

.ecomom {
    background: #58a000;
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    padding: 2px 0px;
    width: 162px;
    text-align: center;
    font-size: 15px;
    margin-left: 20px;
    margin-bottom: 5px;
}

.stars {
    width: 80px;
    margin-left: 20px;
    margin-top: 5px;
    margin-right: 3px;
}

.video-wrapper img {
    padding: 0 0px;
    width: 195px;
    height: 256px;
}

.lenta-box {
    position: absolute;
    top: -4px;
    left: 125px;
}

.lenta-box p {
    font-weight: 700;
    font-size: 10.3px;
    color: #fff;
    transform: rotate(46deg);
    text-align: center;
    margin-top: -77px;
    margin-left: 24px;
    line-height: 1.4;
}


.lenta {
    width: 94px;
    /* transform: rotate(18deg); */
}

.but {
    position: absolute;
    top: -16px;
    left: 9px;
}

.bonus-badge__sum {
    font-weight: 600;
}

.product-card-installment-badge__text {
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    line-height: 10px;
    padding: 5px 0px;
    background: #f14635;
    color: #fff;
    border-radius: 24px;
    width: 74px;
    margin-bottom: 5px;
    text-align: center;
    line-height: 1;
}

.product-card-installment-badge__text.two {
    width: 160px;
    font-size: 14px;
    padding: 8px 0;
}

.product-card-installment-badge__separator {
    letter-spacing: -1px;
}

.bonus-badge {
    background: #58a000 !important;
    color: #fff;
    /* display: flex
; */
    /* align-items: center; */
    /* justify-content: center; */
    font-weight: 300;
    margin: 4px 0px 0;
    width: max-content;
    /* height: 29px; */
    font-size: 11px;
    line-height: 17px;
    border-radius: 24px;
    padding: 5px 4px;
    width: 23px;
}

.bonus-badge__sum-symbol {
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 2px;
}

.bonus-badge__sum-text span {
    text-decoration: overline;
    display: block;
    padding-left: 2px;
    font-size: 13px;
}


.timer-container {
    color: rgb(21, 21, 21);
    text-align: center;
}

.timer-title {
    font-size: 13.7px;
    font-weight: bold;
    line-height: 1;
    margin-top: 10px;
    margin-bottom: 5px;
}

.timer {
    font-size: 22px;
    line-height: 1;
    font-weight: bold;
    color: #f14635;
    letter-spacing: 1px;
}

.purchases-container {
    color: rgb(26, 26, 26);
   display: flex;
    align-items: center;
   place-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.purchases-title {
    font-size: 13px;
    font-weight: bold;
    margin-right: 3px;
}

.purchases-count {
   font-size: 22px;
    /* text-align: right; */
    font-weight: bold;
    color: #58a000;
    line-height: 0.8;
    /* padding: 5px; */
    /* background: #58a000; */
    transition: all 0.5s ease;
}
