section.partners {
    margin-bottom: 150px;
}

section.partners > p {
    font-weight: normal;
    font-size: 28px;
    line-height: 130%;
    color: #000000;
    margin-bottom: 30px;
}

section.partners > div {
    display: flex;
    border-top: 1px solid #E0E0E0;
    flex-wrap: wrap;
}

section.partners > div > div {
    width: calc(25% - 1px);
    height: 280px;
    border-left: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    position: relative;
    display: flex;
    justify-content: center;
}

section.partners > div > div:first-of-type {
    border-left: none;
}

section.partners > div > div:nth-child(5n) {
    border-left: none;
}

section.partners > div > div > img {
    align-self: center;
}

section.partners > div > div > span {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 10px);
    height: 100%;
    opacity: 0;
    padding: 0 5px;
    display: flex;
    background-color: #f2f2f2;
    color: #000000;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    cursor: pointer;
}

section.partners > div > div > span > span {
    align-self: center;
    line-height: 1.4;
    font-family: "Roboto-Light";
    font-size: 16px;
    color: #000000;
    text-align: center;
}

section.partners > div > div:hover > span {
    opacity: 1;
}

section.products {
    width: 100%;
    max-width: 100%;
    margin: 50px 0;
    background-color: #f6f6f6;
    padding: 50px 0;
}

section.products > div {
    width: calc(100% - 20px);
    max-width: 1200px;
    margin: 0 auto;
}

section.products.main-products h1 {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

section.products .line {
    position: relative;
    width: 100%;
}

section.products .line > span.header {
    font-family: "Roboto-Medium";
    font-size: 26px;
    line-height: 32px;
    color: #2B2A29;
    display: flex;
    width: 100%;
    margin-bottom: 30px;
    align-items: center;
}

section.products .line > span.header > a {
    font-family: "Roboto-Light";
    font-size: 16px;
    line-height: 16px;
    color: #000000;
    margin-left: auto;
}

section.products .line > .sliders {
    width: calc(100% + 1px);
    position: relative;
    left: 1px;
    overflow: hidden;
}

section.products .line > .sliders > div {
    display: flex;
    width: 1650px;
    position: relative;
    left: 0;
}

section .line-cards .card.empty > * {
    opacity: 0.4;
}

section .line-cards .card {
    width: 290px;
    border: 1px solid rgba(43, 42, 41, 0.1);
    border-radius: 3px;
    margin: 0 5px;
    position: relative;
    padding-bottom: 65px;
    background-color: #ffffff;
    box-shadow: 0 0 16px rgba(208, 208, 208, 0.2);
}

section .line-cards .card:hover {
    box-shadow: 0 0 16px rgba(208, 208, 208, 0.8);
}

section .line-cards .card:hover > .add {
    background-color: #FFE402 !important;
    border-color: #FFE402 !important;
}

section .line-cards .card:first-child {
    margin-left: 0;
}

section .line-cards .card .availability {
    font-family: "Roboto-Regular";
    font-size: 15px;
    line-height: 135%;
    color: #219653;
    margin-bottom: 10px;
    display: block;
    width: calc(100% - 30px);
    padding: 0 15px;
}

section .line-cards .card.empty .availability {
    color: #f90101;
}

section .line-cards .card .availability > a {
    color: #2B2A29;
    cursor: pointer;
    font-size: 14px;
    font-family: "Roboto-Light";
}

section .line-cards .card > .img {
    width: 100%;
    height: 255px;
    display: flex;
    justify-content: center;
}

section .line-cards .card > .img img {
    max-width: 100%;
    max-height: 100%;
    align-self: center;
}

section .line-cards .card > .name {
    width: calc(100% - 30px);
    padding: 0 15px;
    display: block;
    margin: 5px 0;
    font-size: 17px;
    line-height: 140%;
    color: #202020;
    font-family: "Roboto-Regular";
}

section .line-cards .card > .price {
    width: calc(100% - 30px);
    padding: 7px 15px;
    display: block;
    font-family: "Roboto-Medium";
    font-size: 30px;
    line-height: 130%;
    color: #2B2A29;
}

section .line-cards .card > .price > a {
    color: #2B2A29;
    font-size: 14px;
    position: relative;
    font-family: "Roboto-Light";
    top: -5px;
    left: 5px;
}

section .line-cards .card > .price > a::before {
    background: #2B2A29;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
}

section .line-cards .card > .price > a img {
    width: 12px;
}

section.products-similar .line > .sliders .card > .price > a img,
section.products-relevant .line > .sliders .card > .price > a img {
    margin-left: 5px;
}

section .line-cards .card > .price img {
    width: 16px;
}

section.products-similar .line > .sliders .card > .price img,
section.products-relevant .line > .sliders .card > .price img {
    margin-left: 5px;
    margin-right: 10px;
}

section .line-cards .card > .price-store {
    width: calc(100% - 30px);
    padding: 0 15px;
    display: block;
    font-family: "Roboto-Light";
    font-size: 12px;
    line-height: 135%;
    color: #333333;
}

section .line-cards .card > .price-store span {
    font-family: "Roboto-Light";
    font-size: 12px;
    line-height: 135%;
    color: #EB5757;
}

section .line-cards .card > .price-store span img {
    height: 8px;
    margin-right: 5px;
}

section .line-cards .card > .this-new,
section .line-cards .card > .this-chine-order,
section .line-cards .card > .this-sale,
section .line-cards .card > .this-hit,
section .line-cards .card > .this-quantity-discount {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100px;
    padding: 8px 0;
    color: #ffffff;
    border-radius: 3px 0 3px 0;
    font-weight: normal;
    font-size: 14px;
    text-align: center;
    font-family: "Roboto-Light";
}

section .line-cards .card > .this-chine-order {
    background-color: #ffee00;
    color: #000000;
}

section .line-cards .card > .this-new {
    background-color: #219653;
}

section .line-cards .card > .this-sale {
    background-color: #bf0202;
}

section .line-cards .card > .this-hit,
section .line-cards .card > .this-quantity-discount {
    background-color: #333333;
}

section .line-cards .card .delivery {
    position: absolute;
    top: 6px;
    left: 15px;
    width: 22px;
    height: 22px;
    display: block;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url('/static/img/delivery.svg');
    cursor: pointer;
}

section .line-cards .card.this-dop-sale .delivery {
    left: 120px;
}

section .line-cards .card .discount {
    position: absolute;
    top: 2px;
    left: 50px;
    width: 27px;
    height: 27px;
    display: block;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url('/static/img/discount.svg');
    cursor: pointer;
}

section .line-cards .card.this-dop-sale .discount {
    left: 120px;
}

section .line-cards .card .discount-text,
section .line-cards .card .delivery-text {
    display: none;
}

section .line-cards .card .discount:hover ~ .discount-text,
section .line-cards .card .delivery:hover ~ .delivery-text {
    display: block;
    width: calc(100% - 30px);
    position: absolute;
    left: 0;
    top: 35px;
    border-top: 1px solid #E6E6E6;
    border-bottom: 1px solid #E6E6E6;
    background-color: #ffffff;
    padding: 15px;
    font-family: "Roboto-Regular";
    font-size: 14px;
    line-height: 130%;
    color: #2B2A29;
    z-index: 2;
}

section .line-cards .card .discount-text > span {
    color: #f90101;
    font-family: "Roboto-Regular";
}

section .line-cards .card .discount-text .russia-ruble {
    width: 9px;
    margin-left: 0;
}

section .line-cards .card .favorite {
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    display: block;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url('/static/img/new-not-like.png');
    opacity: 0;
}

section .line-cards .card:hover .favorite {
    opacity: 1;
}

section .line-cards .card .favorite.selected {
    background-image: url('/static/img/new-like.png');
    opacity: 1;
}

section .line-cards .card > .vendor-code {
    display: block;
    width: calc(100% - 30px);
    padding: 0 15px;
    margin: 5px 0;
    font-family: "Roboto-Light";
    font-size: 15px;
    line-height: 170%;
    color: #2B2A29;
}

section.products.not-main-city .line > .sliders .card > .vendor-code,
section.products.not-main-city .line > .sliders .card > .price-store {
    display: none !important;
}

section .line-cards .card > .vendor-code > span {
    margin-left: 3px;
    font-family: "Roboto-Regular";
    font-size: 15px;
    color: #2B2A29;
}

section .line-cards .card > .add {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    background-color: transparent;
    border-top: 1px solid #E6E6E6;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    cursor: pointer;
    font-family: "Roboto-Regular";
    font-size: 16px;
    text-transform: uppercase;
    color: #2B2A29;
    text-align: center;
    padding: 20px 0;
    border-radius: 0 0 3px 3px;
}

section.products .line > .arrows {
    position: absolute;
    top: calc(50% - 15px);
    left: 0;
    width: 100%;
}

section.products .line > .arrows > span {
    position: absolute;
    width: 30px;
    height: 30px;
    display: block;
    cursor: pointer;
}

section.products .line > .arrows > span::before {
    content: '';
    width: 30px;
    height: 30px;
    display: block;
    background-image: url("/static/img/chevron_right.svg");
    background-position: center;
    background-size: 30px;
    background-repeat: no-repeat;
}

section.products .line > .arrows > span.prev {
    left: -70px;
}

section.products .line > .arrows > span.prev::before {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

section.products .line > .arrows > span.next {
    right: -70px;
}

section.retarget-block {
    padding: 50px 0;
    max-width: 1000px;
    display: flex;
}

section.retarget-block h2,
section.retarget-block h3,
section.retarget-block h4,
section.retarget-block h5,
section.retarget-block h6 {
    line-height: 1.5;
    font-family: "Roboto-Medium";
}

section.retarget-block h2 {
    font-size: 1.5em;
}

section.retarget-block h3 {
    font-size: 1.17em;
}

section.retarget-block h4 {
    font-size: 1em;
}

section.retarget-block h5 {
    font-size: 0.83em;
}

section.retarget-block h6 {
    font-size: 0.67em;
}

section.retarget-block > img {
    width: 400px;
    height: 330px;
    margin-left: auto;
}

section.retarget-block > div {
    width: calc(100% - 400px);
}

section.retarget-block > div > div:first-child {
    margin-top: 50px;
    width: 700px;
    background-color: rgba(255, 253, 84, 1);
    padding: 25px;
}

section.retarget-block h1 {
    width: 500px;
    font-family: "Roboto-Medium";
    font-size: 40px;
}

section.retarget-block > div > div:nth-child(2) {
    margin: 50px 0;
    font-size: 18px;
}

section.retarget-block a button {
    width: 220px !important;
}

section.retarget-new-block {
    display: flex;
    padding: 80px 0 0;
}

section.retarget-new-block .left {
    width: calc(60% - 100px);
}

section.subscriber-block h1,
section.retarget-new-block .left h1 {
    font-size: 40px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    line-height: 48px;
    font-family: "Roboto-Medium";
}

section.retarget-new-block .left h2 {
    font-size: 28px;
    position: relative;
    z-index: 2;
    line-height: 130%;
    font-family: "Roboto-Regular";
    margin: 10px 0 30px;
}

section.subscriber-block span,
section.retarget-new-block .left span {
    width: 450px;
    display: block;
    height: 20px;
    background-color: rgba(255, 254, 84, 1);
    position: relative;
    top: -20px;
}

section.retarget-new-block .left ul {
    width: 100%;
    margin-top: 20px;
}

section.retarget-new-block .left ul li {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    font-family: "Roboto-Regular";
    padding-left: 15px;
}

section.subscriber-block {
    margin: 70px auto 50px;
}

section.subscriber-block p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 18px;
    font-family: "Roboto-Regular";
}

section.subscriber-block button {
    background: #FFE402;
    width: auto;
    padding: 0 25px;
    height: 50px;
    color: #2B2A29;
    font-family: "Roboto-Regular";
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 3px;
}

section.retarget-new-block .right {
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    align-self: flex-start;
}

section.retarget-new-block .right h3 {
    font-size: 22px;
    font-family: "Roboto-Light";
    width: 100%;
    margin-bottom: 60px;
    text-transform: uppercase;
}

section.retarget-new-block .right a {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #000000;
    margin-right: 40px;
    position: relative;
    overflow: hidden;
}

section.retarget-new-block .right a.telegram:before {
    content: '';
    background-size: 70px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/static/img/telegram.png');
    width: 70px;
    height: 70px;
    position: absolute;
    top: 25px;
    left: 20px;
}

section.retarget-new-block .right a.vk:before {
    content: '';
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/static/img/vk.png');
    width: 100px;
    height: 100px;
    position: absolute;
    top: 10px;
    left: 10px;
}

section.products .card .sale-basket {
    position: absolute;
    bottom: -2px;
    right: -3px;
    display: block;
    z-index: 5;
    width: 70px;
    height: 70px;
}

section.products .card .sale-basket .button {
    position: relative;
    width: 70px;
    height: 70px;
    background: #FFFF00;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    display: block;
}

section.products .card .sale-basket .button:before {
    content: '';
    position: absolute;
    top: 23px;
    right: 23px;
    width: 27px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/static/img/checkout-page.svg');
}

@keyframes spinsalebasket {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

section.products .card .sale-basket > img {
    position: absolute;
    top: -23px;
    left: -23px;
    animation: spinsalebasket 5s linear 0s infinite;
}

section.products .card:hover .sale-basket .button {
    display: none !important;
}

@media screen and (max-width: 1200px) {
    section.subscriber-block {
        margin-top: 20px;
    }

    section.subscriber-block span {
        width: 220px;
    }

    section.retarget-new-block {
        padding: 20px 0;
    }

    section.products {
        width: calc(100% - 20px);
        margin: 0 auto;
    }

    section.products-similar,
    section.products-relevant {
        padding: 50px 0 25px;
    }

    section.products .sale-basket {
        display: none !important;
    }

    section.products .line > .sliders > div {
        width: 100% !important;
        flex-wrap: wrap;
    }

    section .line-cards .card {
        width: calc(50% - 2px);
        display: none;
        margin: 5px 0;
    }

    section .line-cards .card:nth-child(1),
    section .line-cards .card:nth-child(2),
    section .line-cards .card:nth-child(3),
    section .line-cards .card:nth-child(4) {
        display: block;
    }

    section .line-cards .card .favorite {
        display: none;
    }

    section.products .line > .arrows {
        display: none;
    }

    section.partners {
        margin-bottom: 90px;
    }

    section.partners > p {
        font-size: 24px;
    }

    section.partners > div {
        display: flex;
        border-top: 1px solid #E0E0E0;
        flex-wrap: wrap;
    }

    section.partners > div > div {
        width: calc(50% - 2px);
        height: 280px;
        border-left: 1px solid #E0E0E0;
        border-bottom: 1px solid #E0E0E0;
        display: none;
    }

    section.partners > div > div:nth-child(1), section.partners > div > div:nth-child(2) {
        display: flex;
    }

    section.partners > div > div:first-of-type {
        border-left: 1px solid #E0E0E0;
    }

    section.partners > div > div:nth-child(2) {
        border-right: 1px solid #E0E0E0;
    }

    section.partners > div > div > span > span {
        font-size: 14px;
    }

    section.retarget-block {
        width: calc(100% - 40px);
    }

    section.retarget-block > img {
        display: none;
    }

    section.retarget-block > div {
        width: 100%;
    }

    section.retarget-block h1 {
        width: 100%;
    }

    section.retarget-block > div > div:first-child {
        width: calc(100% - 50px);
    }

    section.retarget-block a button {
        width: 100% !important;
    }

    section.retarget-new-block {
        flex-wrap: wrap;
    }

    section.retarget-new-block .left {
        width: 100%;
        margin: 0 0 50px 0;
    }

    section.retarget-new-block .right {
        width: 100%;
        margin: 0 0 30px 0;
    }
}

@media screen and (max-width: 700px) {
    section.products .line > .sliders {
        padding-top: 1px;
        left: 0;
    }

    section .line-cards .card {
        width: calc(100% - 2px);
    }

    section.partners {
        margin-bottom: 80px;
    }

    section.partners > div > div {
        width: calc(100% - 2px);
        height: 280px;
        border-left: 1px solid #E0E0E0;
        border-bottom: 1px solid #E0E0E0;
        display: none;
    }

    section.partners > div > div:nth-child(1), section.partners > div > div:nth-child(2) {
        display: none;
    }

    section.partners > div > div:first-of-type {
        display: flex;
        border-left: 1px solid #E0E0E0;
        border-right: 1px solid #E0E0E0;
    }

    section.retarget-new-block .left span {
        width: 200px;
    }
}