* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}


@font-face {
    font-family: 'Dharma';
    src: url('../fonts/Dharma-Gothic-E-ExBold.otf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Dharma-italic';
    src: url('../fonts/Dharma-Gothic-E-ExBold Italic.otf');
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Poppins';
}

.banner {
    width: 300px;
    height: 250px;
    background-image: url("../img/300x250bg.png");
    position: relative;
}

.top{
    display: flex;
    padding: 0 10px;
}

.top_text{
    display: flex;
    flex-direction: column;
}

.banner::before {
    content: '';
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    position: absolute;
    left: 0;
    bottom: 0;
    height: 35%;
    width: 100%;
}

.head_timer {
    display: flex;
    color: #fff;
    padding:25px 0 5px 0;
    align-items: center;
}

.timer_text {
    font-size: 13px;
    margin-right: 10px;
    text-align: center;
    width: 100%;
}

.timer {
    background-color: #fff;
    padding: 0 12px;
    border-radius: 3px;
    color: rgb(218, 146, 13);
}

.logo {
    text-align: center;
    padding: 25px 0 5px 0;
}

.logo img {
    width: 75px;
}

.misli_logo {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 5px;
}

.misli_logo img {
    width: 80px;
}

.percent_block {
    display: flex;
    justify-content: center;
    color: #fff;
    align-items: center;
    margin: 0px 0;
}

.product_name {
    color: #fff;
    font-size: 18px;
    text-align: center;
    margin: 5px 0 5px 12px;
    /* background: url("../img/headline_back2.png") no-repeat;
    background-size: 171px 302px;
    background-position: -22px 47%; */
    width: 130px;
    font-family: 'Dharma';
    line-height: 20px;
        -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    height: 42px;
}

.name_block {
    display: flex;
    justify-content: start;
}

.percent_text {
    font-size: 14px;
    margin: 0 15px;
    text-align: center;
    line-height: 1.2;
}

.percent {
    width: 100px;
    background-color: #fff;
    border-radius: 16px;
    height: 18px;
    margin-left: 10px;
}

.percent_fill {
    background-color: #A7D6F8;
    height: 100%;
    border-radius: 16px;
}

.product_img {
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 50%;
}

.product_img_block {
    width: 100%;
    display: flex;
    align-items: center;
}

.product_img::before {
    content: "";
    display: block;
    width: 150px;
    position: relative;
    padding-top: 50%;
}

.price {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0 5px 0;
    color: #fff;
    font-weight: 500;
    background: url("../img/price_back.png?v1") no-repeat;
    background-size: cover;
    height: 30px;
    width: 140px;
    background-position: 0px 44%;
    font-family: 'Dharma-italic';
    font-size: 22px;
    line-height: 26px;
}

.price_block {
    display: flex;
    justify-content: center;
    position: absolute;
    right: 20px;
    bottom: 40px;
}

.price_text {
    margin-right: 10px;
}

.price_number {
    display: flex;
    align-items: center;
}

.price_number img {
    margin-left: 5px;
    width: 20px;
}

.product_img img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    object-fit: contain;
}

.sale_button {
    text-align: center;
    position: relative;
    z-index: 2;
    right: -60px;
    bottom: 40px;
}

.sale_button span {
    color: #483401;
    background: #FBC43A;
    padding: 3px;
    width: 120px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
}

.banner {
    overflow: hidden;
}