/* Сезонная подборка 2027. Все правила изолированы префиксом .deloks-year */
.deloks-year { margin-bottom: 32px; }
.deloks-year .wrapper-slider__title { margin-bottom: 18px; }
.deloks-year__panel {
    display: flex; align-items: stretch; min-width: 0; overflow: hidden;
    background: #fff; border: 1px solid #e0ebd9;
}
.deloks-year__visual {
    flex: 0 0 31%; max-width: 31%; min-width: 0;
    padding: 18px 22px; background: #f2f8ec;
    border-right: 1px solid #e4eddf; text-align: center;
}
.deloks-year__product-link {
    display: flex; align-items: center; justify-content: center;
    height: 235px; max-width: 100%; text-decoration: none;
}
.deloks-year__photo {
    display: block; width: auto; height: auto;
    max-width: 100%; max-height: 230px; object-fit: contain;
}
.deloks-year__fallback {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 180px; max-width: 100%; height: 180px;
    background: #fff; border-radius: 8px; border-top: 16px solid #83bc45;
    color: #426d28; box-shadow: 0 4px 12px rgba(37, 64, 27, .08);
}
.deloks-year__fallback strong { display: block; font-size: 48px; line-height: 1.1; font-weight: 700; }
.deloks-year__fallback small { display: block; padding-top: 8px; font-size: 12px; color: #6d8860; }
.deloks-year__product-caption {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
    overflow: hidden; margin-top: 6px; color: #53666c; font-size: 12px;
    line-height: 1.4; text-decoration: none;
}
.deloks-year__product-caption:hover { color: #008ac4; }
.deloks-year__content {
    flex: 1 1 0%; min-width: 0; padding: 26px 32px 30px;
    display: flex; flex-direction: column; justify-content: center;
}
.deloks-year__lead {
    margin: 0 0 22px; color: #283c44; font-size: 22px;
    line-height: 1.35; font-weight: 600;
}
.deloks-year__links {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px; padding: 0; margin: 0;
}
.deloks-year__links .deloks-year__category {
    display: flex; align-items: center; gap: 12px;
    min-width: 0; min-height: 116px; padding: 12px;
    color: #007cb5; background: #f7fbfd;
    border: 1px solid #dceaf1; border-radius: 5px;
    text-decoration: none; transition: border-color .15s, background-color .15s;
}
.deloks-year__links .deloks-year__category:hover,
.deloks-year__links .deloks-year__category:focus {
    background: #edf7fc; border-color: #8fcbe8; color: #005a88;
}
.deloks-year__category-image {
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 90px; width: 90px; height: 90px;
    overflow: hidden; border-radius: 3px; background: #fff;
}
.deloks-year__category-image img {
    display: block; width: auto; height: auto;
    max-width: 100%; max-height: 100%; object-fit: contain;
}
.deloks-year__category-title {
    min-width: 0; font-size: 19px; font-weight: 600;
    line-height: 1.25; overflow-wrap: anywhere;
}
.deloks-year__links .deloks-year__category:hover .deloks-year__category-title { text-decoration: underline; }
.deloks-year__category--no-image { justify-content: center; text-align: center; }
.deloks-year__product-link:focus-visible,
.deloks-year__product-caption:focus-visible,
.deloks-year__category:focus-visible { outline: 2px solid #078ed0; outline-offset: 2px; }
@media (max-width: 1199px) {
    .deloks-year__content { padding: 22px 24px; }
    .deloks-year__category-image { flex-basis: 76px; width: 76px; height: 76px; }
    .deloks-year__links .deloks-year__category { min-height: 100px; gap: 10px; padding: 10px; }
    .deloks-year__category-title { font-size: 17px; }
    .deloks-year__lead { font-size: 20px; }
}
@media (max-width: 767px) {
    .deloks-year { margin-bottom: 25px; }
    .deloks-year__panel { flex-direction: column; }
    .deloks-year__visual {
        flex-basis: auto; max-width: none; padding: 14px 15px;
        border-right: 0; border-bottom: 1px solid #e4eddf;
    }
    .deloks-year__product-link { height: 170px; }
    .deloks-year__photo { max-height: 164px; }
    .deloks-year__fallback { height: 130px; width: 160px; }
    .deloks-year__fallback strong { font-size: 40px; }
    .deloks-year__content { padding: 18px 16px 20px; }
    .deloks-year__lead { font-size: 18px; margin-bottom: 16px; }
    .deloks-year__links { gap: 10px; }
}
@media (max-width: 599px) {
    .deloks-year__links { grid-template-columns: minmax(0, 1fr); }
    .deloks-year__links .deloks-year__category { min-height: 82px; }
    .deloks-year__category-image { flex: 0 0 62px; width: 62px; height: 62px; }
    .deloks-year__category-title { font-size: 17px; }
}
