/* Блоки KCOTRADE: «Свежие поставки» (видео) и «Актуальные предложения» (цены). Переменные берутся из основного CSS блога. */
.dlv { padding: 56px 0 8px; }
.dlv__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 24px; flex-wrap: wrap; }
.dlv__title { font-size: 32px; line-height: 1.15; margin-top: 6px; }
.dlv__lead { color: var(--muted); font-size: 16px; line-height: 1.5; margin-top: 8px; max-width: 640px; }
.dlv__grid { display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); }
.dlv--article .dlv__grid { grid-template-columns: repeat(4, 1fr); }
.dlv__item[hidden] { display: none; }
.dlv__card { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--ink); cursor: pointer; }
.dlv__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.dlv__card:hover img { transform: scale(1.04); }
.dlv__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(11 18 32 / .55), transparent 45%); pointer-events: none; }
.dlv__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgb(255 255 255 / .92); z-index: 1; box-shadow: 0 6px 24px rgb(0 0 0 / .3); }
.dlv__play::before { content: ''; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--ink); }
.dlv__dur { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-size: 13px; font-weight: 700; color: #fff; }
.dlv__more { display: flex; justify-content: center; margin-top: 24px; }
.dlv__foot { display: flex; justify-content: center; margin-top: 24px; }

.dlv-modal { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.dlv-modal::backdrop { background: rgb(11 18 32 / .82); }
.dlv-modal__box { position: relative; width: min(92vw, calc(88vh * var(--ratio, .5625))); aspect-ratio: var(--ratio-css, 9 / 16); background: #000; border-radius: 16px; overflow: hidden; }
.dlv-modal__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dlv-modal__close { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); box-shadow: 0 2px 10px rgb(0 0 0 / .35); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }

@media (max-width: 1099px) { .dlv__grid { grid-template-columns: repeat(4, 1fr); } .dlv--article .dlv__grid { grid-template-columns: repeat(4, 1fr); } .dlv__title { font-size: 28px; } }
@media (max-width: 719px) {
  .dlv { padding-top: 40px; }
  .dlv__title { font-size: 24px; }
  .dlv__grid { grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); -webkit-overflow-scrolling: touch; }
  .dlv--article .dlv__grid { grid-template-rows: auto; }
  .dlv--page .dlv__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin-right: 0; padding-right: 0; }
  .dlv__item { scroll-snap-align: start; }
  .dlv__head .btn { width: 100%; }
}

/* ===== Актуальные предложения ===== */
.ofr { padding: 56px 0 8px; }
.ofr__head { margin-bottom: 20px; }
.ofr__title { font-size: 32px; line-height: 1.15; margin-top: 6px; }
.ofr__lead { color: var(--muted); font-size: 16px; line-height: 1.5; margin-top: 8px; max-width: 760px; }
.ofr__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin-bottom: 18px; }
.ofr__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ofr__chip { border: 1px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; cursor: pointer; }
.ofr__chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.ofr__sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.ofr__sort select { font: inherit; font-weight: 600; color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; background: #fff; }
.ofr__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ofr__item { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.ofr__item[hidden] { display: none; }
.ofr__name { font-size: 18px; font-weight: 800; line-height: 1.25; }
.ofr__specs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.ofr__specs span { background: var(--soft); border-radius: 999px; padding: 4px 10px; }
.ofr__specs .ofr__fuel { color: #fff; }
.ofr__specs .ofr__fuel--бензин { background: #1d7fe6; }
.ofr__specs .ofr__fuel--дизель { background: #5b6577; }
.ofr__specs .ofr__fuel--газ { background: #12a67a; }
.ofr__price { text-align: right; font-size: 22px; font-weight: 800; white-space: nowrap; }
.ofr__bar { grid-column: 1 / -1; height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.ofr__bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
.ofr__note { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 14px; }
.ofr--article { margin: 28px 0; padding: 0; }
.ofr--article .ofr__list { grid-template-columns: 1fr; }
@media (max-width: 1099px) { .ofr__list { grid-template-columns: 1fr; } .ofr__title { font-size: 28px; } }
@media (max-width: 719px) { .ofr { padding-top: 40px; } .ofr__title { font-size: 24px; } .ofr__item { padding: 14px 16px; } .ofr__price { font-size: 19px; } .ofr__tools { align-items: flex-start; } }

/* правки 11.11: иконка машины вместо полоски цены; меньший отступ над видео на главной */
.ofr__top { display: flex; align-items: center; gap: 10px; }
.ofr__icon { flex: none; width: 44px; height: 22px; }
.ofr__icon path { fill: var(--blue); }
.ofr__icon circle { fill: var(--ink); stroke: #fff; stroke-width: 1.4; }
.ofr__bar { display: none; }
.dlv--home { padding-top: 24px; }

/* правки 11.11 (2): табы рубрик под заголовком «Свежие статьи»; без иконок и сортировки в блоке цен */
.listing__tabs { margin: 0 0 24px; }
.listing__tabs .pills { flex-wrap: wrap; }
.ofr__icon, .ofr__top { display: none; }
@media (max-width: 719px) {
  .listing__tabs .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .listing__tabs .pills::-webkit-scrollbar { display: none; }
  .listing__tabs .pills li { flex: none; }
}
