

/* Start:/local/templates/lombard/components/bitrix/news/diskont/style.css?17916207119049*/
.yd {
    margin-bottom: 120px;
}

.yd-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 70px;
    align-items: center;
    background: #f2f3f5;
    border-radius: 32px;
    padding: 50px;
    margin: 0 0 120px;
}

.yd-hero__media {
    aspect-ratio: 596 / 402;
    width: 100%;
}

.yd-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yd-hero__content {
    max-width: 440px;
}

.yd-hero__text {
    margin: 0 0 38px;
}

.yd-hero__delivery {
    display: flex;
    gap: 22px;
    align-items: center;
    max-width: 310px;
    margin-bottom: 70px;
}

.yd-hero__delivery span {
    color: #878ca5;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
}

.yd-hero__delivery svg {
    color: #0a8f3c;
    font-weight: 700;
}

.yd-adv {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    margin-bottom: 120px;
}

.yd-adv__item,
.yd-adv__content {
    display: grid;
    gap: 20px;
    place-items: center;
}

.yd-adv__icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: linear-gradient(222.08deg, #fe9048 15.57%, #d24742 85.75%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.yd-adv__icon svg {
    display: block;
    width: 40px;
    height: 40px;
}

.yd-adv__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
    color: #4e4e4e;
}

.yd-adv__text {
    text-align: center;
    max-width: 260px;
    text-wrap: balance;
    margin-bottom: 0;
    min-height: 45px;
}

.yd-promo {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    background: #f4f5fc;
    border-radius: 30px;
    padding-right: 64px;
    margin-bottom: 70px;
}

.yd-promo__content {
    padding: 40px;
}

.yd-promo__text {
    margin-bottom: 30px;
    max-width: 400px;
}

.yd-promo__code {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yd-promo__code b {
    font-weight: 600;
}

.yd-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    scroll-margin-top: 80px;
}

.yd-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
}

.yd-card__img {
    display: block;
    overflow: hidden;
    position: relative;
    padding-bottom: 115%;
    margin-bottom: 24px;
    border-radius: 24px;
}

.yd-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    transition: 0.5s;
}

.yd-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.yd-card__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
    text-decoration: none;
    transition: .5s;
}

.yd-card:hover .yd-card__title {
    color: var(--accent);
}

.yd-card__article {
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #878ca5;
}

.yd-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: auto;
}

.yd-card__prices {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yd-card__price-old {
    color: #bdbdbd;
    text-decoration: line-through;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}

.yd-card__price {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: #000;
}

.yd-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 12px 15px;
    text-decoration: none;
    transition: .5s;
    color: var(--accent);
}

.yd-card__btn:hover {
    background: var(--accent);
    color: #fff;
}

.yd-empty {
    padding: 40px 0;
    text-align: center;
    color: #8a8a8a;
}

.yd-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    background: #1E1E1E;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(12px);
    min-width: 262px;
    transition: opacity .25s, transform .25s;
}

.yd-toast::before {
    content: "✓";
    color: #3ecf7a;
    font-weight: 700;
}

.yd-toast--error::before {
    content: "✕";
    color: #ff6b6b;
}

.yd-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.yd-detail {
    display: grid;
    grid-template-columns: 683px 480px;
    gap: 90px;
    align-items: start;
    margin: 0 0 120px;
}

.yd-detail__gallery {
    border-radius: 16px;
    overflow: hidden;
    background: #f4f4f4;
    position: relative;
    padding-bottom: 74%;
}

.yd-detail__gallery img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    border-radius: 32px;
}

.yd-detail__title {
    margin: 0 0 34px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.yd-detail__article {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #878ca5;
    margin-bottom: 34px;
}

.yd-detail__prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.yd-detail__price {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
}

.yd-detail__price-old {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #bdbdbd;
    text-decoration: line-through;
}

.yd-detail__props {
    margin-bottom: 28px;
    color: #000;
    font-size: 16px;
    line-height: 1.6;
}

.yd-detail__prop span {
    color: #555;
}

.yd-detail__prop--link a {
    color: var(--yd-red);
    text-decoration: underline;
    word-break: break-all;
}

.yd-detail__prop--link a:hover {
    text-decoration: none;
}

@media(max-width: 1280px) {
    .yd-detail {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:992px) {
    .yd-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .yd-hero {
        padding: 32px;
        margin-bottom: 64px;
    }

    .yd-hero__text {
        margin-bottom: 20px;
    }

    .yd-hero__delivery {
        margin-bottom: 34px;
    }

    .yd-hero__delivery img {
        width: 90px;
        height: auto;
    }

    .yd-adv__icon {
        width: 49px;
        height: 49px;
        min-width: 49px;
    }

    .yd-adv__icon img {
        width: 27px;
        height: 27px;
    }

    .yd-adv__title {
        font-size: 16px;
    }

    .yd-adv,
    .yd {
        margin-bottom: 64px;
    }

    .yd-promo {
        padding: 32px;
        margin-bottom: 64px;
    }

    .yd-promo__media {
        display: none;
    }

    .yd-promo__content {
        padding: 0;
    }

    .yd-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 64px;
    }

    .yd-detail__gallery {
        padding-bottom: 60%;
    }

    .yd-detail__title {
        font-size: 24px;
    }

}

@media(max-width:743px) {
    .yd-hero {
        grid-template-columns: 1fr;
        padding: 24px;
        margin-bottom: 32px;
    }

    .yd-hero__content {
        margin: 0;
        max-width: none;
    }

    .yd-hero__media {
        display: none;
    }

    .yd-adv {
        grid-template-columns: 1fr;
        place-items: start;
        margin-bottom: 32px;
    }

    .yd-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .yd-card__img {
        padding-bottom: 105%;
        margin-bottom: 20px;
    }

    .yd-card__body {
        gap: 14px;
    }

    .yd-promo {
        grid-template-columns: 1fr;
        padding: 24px;
        margin-bottom: 32px;
    }

    .yd-hero__delivery span {
        font-size: 12px;
    }

    .yd-adv__item {
        grid-template-columns: auto auto;
    }

    .yd-adv__content {
        place-items: start;
        gap: 4px;
    }

    .yd-adv__text {
        text-align: left;
        min-height: unset;
    }

    .yd-card__title,
    .yd-card__price-old {
        font-size: 14px;
    }

    .yd-card__price {
        font-size: 16px;
    }

    .yd-card__footer {
        flex-direction: column;
        align-items: start;
    }

    .yd-card__btn {
        width: 100%;
    }

    .yd-detail {
        margin-bottom: 32px;
    }

    .yd-detail__title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .yd-detail__article,
    .yd-detail__prices {
        margin-bottom: 18px;
    }

    .yd-detail__price {
        font-size: 18px;
    }

    .yd-detail__props {
        font-size: 14px;
    }

    .yd-detail__price-old {
        font-size: 16px;
    }

    .yd {
        margin-bottom: 32px;
    }

    .yd-detail__gallery {
        padding-bottom: 88%;
    }
}
/* End */
/* /local/templates/lombard/components/bitrix/news/diskont/style.css?17916207119049 */
