/* Баннер «Доставка бесплатно при заказе кейтеринга от 35 000 ₽» на карточках 116/146 вне кейтеринга (modules/item.php, $DeliveryHot).
   Фон в стиле Гранта Вуда (Downloads/ai/dostavka-banner): небо и низкие холмы, текст прямо по небу; кукурузник с растяжкой пролетает раз в 7 с. */
a.dlv-ban { display: block; margin-top: 12px; text-decoration: none; }
.dlv-ban .dlv-ban__scene { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; box-shadow: 0 1px 4px rgba(49, 45, 43, .08); background: #b9dcea url(/css/dlv-bg.webp) center bottom / cover no-repeat; container-type: inline-size; }
.dlv-ban .dlv-ban__txt { display: block; position: absolute; left: 8%; right: 8%; top: 8%; }
.dlv-ban .dlv-ban__txt b { display: block; font-size: clamp(17px, 9.2cqw, 26px); line-height: 1.1; font-weight: 800; color: #272F3D; letter-spacing: -.01em; }
.dlv-ban .dlv-ban__txt em { font-style: normal; background: linear-gradient(100deg, #E8501A 0 40%, #FF9A5C 50%, #E8501A 60% 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: dlv-shine 2.8s linear infinite; }
.dlv-ban .dlv-ban__txt span { display: block; margin-top: 4px; font-size: clamp(12px, 5.8cqw, 16px); line-height: 1.3; font-weight: 500; color: #3B4352; }
.dlv-ban .dlv-ban__txt i { font-style: normal; font-weight: 700; white-space: nowrap; }
.dlv-ban .dlv-ban__plane { display: block; position: absolute; bottom: 19%; left: 0; width: 120%; aspect-ratio: 900 / 143; background: url(/css/dlv-plane.webp) 0 0 / contain no-repeat; transform: translateX(-101%); animation: dlv-fly 7s linear infinite; }
.dlv-ban .dlv-ban__plane span { position: absolute; left: 2%; width: 50%; top: 22%; height: 62%; display: flex; align-items: center; justify-content: center; font-size: 6cqw; line-height: 1; font-weight: 800; color: #E2541F; white-space: nowrap; transform: skewY(-2deg); }
@keyframes dlv-fly { 0% { transform: translateX(-101%); } 70% { transform: translateX(84%); } 100% { transform: translateX(84%); } }
@keyframes dlv-shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .dlv-ban .dlv-ban__plane, .dlv-ban .dlv-ban__txt em { animation: none; } .dlv-ban .dlv-ban__plane { transform: translateX(-10%); } }
/* 116 на компе: колонка цены узкая — баннер квадратный, чтобы текст и самолёт не налезали */
.pdv3-sp-wrapper a.dlv-ban .dlv-ban__scene { aspect-ratio: 1; }
/* 116: до 1260px «В корзину» в нижней панели — там баннер прячем, копия стоит в середине карточки */
a.dlv-ban.dlv-ban--inline { display: none; }
@media (max-width: 1260px) {
  .pdv3-sp-wrapper a.dlv-ban { display: none; }
  a.dlv-ban.dlv-ban--inline { display: block; margin: 0 0 20px; max-width: 420px; }
}
/* 146: под кнопками hero */
.cx-hero-actions a.dlv-ban { flex: 0 0 100%; margin-top: 0; }
.cx-hero-actions a.dlv-ban .dlv-ban__scene { max-width: 320px; }
/* 116 (Стас и Коля, 13.11): газель с грузом и бургером на крыше (14.11 — бургер в самой картинке) едет по дороге — панорама бесконечно едет влево, колёса крутятся. 146 пока со старым небом. */
a.dlv-ban--gz .dlv-ban__scene { background: #b7d9e4; }
.pdv3-sp-wrapper a.dlv-ban--gz .dlv-ban__scene { aspect-ratio: 2 / 3; }
a.dlv-ban--gz.dlv-ban--inline .dlv-ban__scene { aspect-ratio: 1; }
a.dlv-ban--gz.dlv-ban--inline .dlv-ban__txt b { font-size: clamp(18px, 6.4cqw, 24px); }
.dlv-ban .dlv-gz__road { display: block; position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 5280 / 560; background: url(/css/dlv-pan.webp) 0 0 / 50% 100% repeat-x; animation: dlv-road 26s linear infinite; }
.dlv-ban .dlv-gz__van { display: block; position: absolute; left: 7%; bottom: calc(7% + 4px); width: 86%; aspect-ratio: 2054 / 1344; background: url(/css/dlv-gazel.webp) 0 0 / contain no-repeat; animation: dlv-bump .34s ease-in-out infinite alternate; }
a.dlv-ban--gz.dlv-ban--inline .dlv-gz__van { left: 20%; width: 60%; }
.dlv-ban .dlv-gz__w { display: block; position: absolute; top: 79.91%; aspect-ratio: 1; background: 0 0 / 100% no-repeat; animation: dlv-spin .7s linear infinite; }
.dlv-ban .dlv-gz__w--1 { left: 21.23%; width: 12.46%; background-image: url(/css/dlv-wheel1.webp); }
.dlv-ban .dlv-gz__w--2 { left: 77.22%; width: 12.85%; top: 79.61%; background-image: url(/css/dlv-wheel2.webp); }
a.dlv-ban--gz .dlv-ban__txt { top: 6%; left: 7%; right: 7%; }
a.dlv-ban--gz .dlv-ban__txt b { font-size: clamp(16px, 8.6cqw, 26px); }
@keyframes dlv-road { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dlv-bump { from { transform: translateY(0); } to { transform: translateY(-1.2%) rotate(-.3deg); } }
@keyframes dlv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dlv-ban .dlv-gz__road, .dlv-ban .dlv-gz__van, .dlv-ban .dlv-gz__w { animation: none; } }
a.dlv-ban--gz .dlv-ban__txt b i { font-weight: inherit; }
/* 146 (Маша, 14.11): тот же баннер с газелью, что на 116, — третьей колонкой hero 220px вровень с карточкой; до 992px — под кнопками */
@media (min-width: 992px) {
  .cx-hero-grid:has(> a.dlv-ban--cx) { grid-template-columns: auto minmax(0, 1fr) 220px; }
  .cx-hero-grid > a.dlv-ban--cx { grid-column: 3; grid-row: 1; }
  .cx-hero-grid:has(> a.dlv-ban--cx) .cx-promo { grid-column: 2 / span 2; }
  .cx-hero-grid > a.dlv-ban--cx .dlv-ban__scene { height: 100%; aspect-ratio: auto; }
}
.cx-hero-grid > a.dlv-ban--cx { margin: 0; }
@media (max-width: 991px) {
  .cx-hero-grid > a.dlv-ban--cx { max-width: 420px; }
  .cx-hero-grid > a.dlv-ban--cx .dlv-ban__scene { aspect-ratio: 1; }
  .cx-hero-grid > a.dlv-ban--cx .dlv-ban__txt b { font-size: clamp(18px, 6.4cqw, 24px); }
  .cx-hero-grid > a.dlv-ban--cx .dlv-gz__van { left: 20%; width: 60%; }
}
/* окно с условиями акции по клику на баннер (js/dlv-ban.js, Маша, 14.11) */
.dlv-pop { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(39, 47, 61, .55); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.dlv-pop.is-open { opacity: 1; visibility: visible; transition: opacity .2s; }
.dlv-pop__card { position: relative; width: 100%; max-width: 440px; padding: 28px 24px 24px; border-radius: 16px; background: #FFF; box-shadow: 0 12px 40px rgba(39, 47, 61, .2); transform: translateY(12px); transition: transform .2s; }
.dlv-pop.is-open .dlv-pop__card { transform: none; }
.dlv-pop__x { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #F4F4F4; color: #272F3D; cursor: pointer; }
.dlv-pop__x svg { width: 18px; height: 18px; }
.dlv-pop__t { padding-right: 36px; font-size: 20px; line-height: 1.25; font-weight: 800; color: #272F3D; }
.dlv-pop__t i { font-style: normal; color: #E8501A; white-space: nowrap; }
.dlv-pop__list { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 14px; }
.dlv-pop__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; padding: 0; font-size: 15px; line-height: 1.4; color: #3B4352; }
.dlv-pop__list li::before { content: none; }
.dlv-pop__list svg { color: #E8501A; }
.dlv-pop__btn { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 12px; background: #E8501A; color: #FFF; font-size: 16px; font-weight: 600; text-decoration: none; }
.dlv-pop__btn:hover { color: #FFF; filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) { .dlv-pop, .dlv-pop__card { transition: none; } }
