/* Плашка акции на доставку (страница «Доставка по РФ» + окно «Доставка и сборка»). scripts/delivery_promo/, 19.11.2026 */
.rs-dpromo-box{ container-type:inline-size; margin:0 0 40px; }
.rs-dpromo-box--compact{ margin:0 0 24px; }
.rs-dpromo{ display:grid; grid-template-columns:64px auto 1fr auto; gap:20px 28px; align-items:center; background:var(--colorRed, #e74d4d); color:#fff; border-radius:20px; padding:14px 18px 14px 14px; }
.rs-dpromo__badge{ width:64px; height:64px; border-radius:50%; background:#fff; color:var(--colorRed, #e74d4d); display:flex; align-items:center; justify-content:center; font-family:"Nekst", sans-serif; font-weight:700; font-size:18px; line-height:1; white-space:nowrap; letter-spacing:-.02em; }
.rs-dpromo__main{ min-width:0; }
.rs-dpromo__live{ display:flex; align-items:center; gap:8px; font-size:12px; line-height:1; text-transform:uppercase; letter-spacing:.08em; }
.rs-dpromo__live i{ position:relative; flex:0 0 auto; width:7px; height:7px; border-radius:50%; background:#fff; }
.rs-dpromo__live i::after{ content:""; position:absolute; left:0; top:0; width:100%; height:100%; border-radius:50%; background:#fff; animation:rs-dpromo-pulse 1.8s ease-out infinite; }
@keyframes rs-dpromo-pulse{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(3); opacity:0; } }
@media (prefers-reduced-motion: reduce){ .rs-dpromo__live i::after{ animation:none; } }
.rs-dpromo__title{ font-family:"Nekst", sans-serif; font-weight:700; font-size:20px; line-height:1.2; text-transform:uppercase; margin:6px 0 4px; }
.rs-dpromo__note{ font-size:13px; line-height:1.4; color:rgba(255,255,255,.88); }
.rs-dpromo__note--wide{ max-width:560px; }
.rs-dpromo__title{ white-space:nowrap; }
.rs-dpromo__road{ position:relative; height:64px; min-width:140px; }
.rs-dpromo__road::before{ content:""; position:absolute; left:6px; right:0; top:52px; border-top:2px dashed rgba(255,255,255,.5); }
.rs-dpromo__dot{ position:absolute; left:0; top:47px; width:12px; height:12px; border-radius:50%; background:#fff; }
.rs-dpromo__truck{ position:absolute; right:22%; top:2px; width:92px; height:50px; transform:scaleX(-1); }
.rs-dpromo__garland{ position:absolute; right:22%; top:2px; width:92px; height:50px; overflow:visible; }
.rs-dpromo__bulb{ stroke:#fff; stroke-width:.35; animation:rs-dpromo-blink 1.5s ease-in-out infinite; }
.rs-dpromo__bulb--1{ fill:#ffd54a; color:#ffd54a; }
.rs-dpromo__bulb--2{ fill:#8be38f; color:#8be38f; animation-delay:.5s; }
.rs-dpromo__bulb--3{ fill:#7fd3ff; color:#7fd3ff; animation-delay:1s; }
@keyframes rs-dpromo-blink{ 0%, 100%{ opacity:1; filter:drop-shadow(0 0 1.5px currentColor); } 50%{ opacity:.25; filter:none; } }
@media (prefers-reduced-motion: reduce){ .rs-dpromo__bulb{ animation:none; } }
@container (max-width: 1100px){
  .rs-dpromo{ grid-template-columns:64px 1fr auto; }
  .rs-dpromo__road{ display:none; }
  .rs-dpromo__title{ white-space:normal; }
}
.rs-dpromo__note--narrow{ display:none; }
.rs-dpromo__code{ border:2px dashed rgba(255,255,255,.7); border-radius:12px; padding:8px 18px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; line-height:1; white-space:nowrap; }
.rs-dpromo__code small{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; text-indent:.08em; margin-bottom:5px; }
.rs-dpromo__code b{ font-family:"Nekst", sans-serif; font-weight:700; font-size:22px; letter-spacing:.06em; text-indent:.06em; }
@container (max-width: 600px){
  .rs-dpromo{ grid-template-columns:48px 1fr; gap:10px 12px; padding:14px; border-radius:16px; }
  .rs-dpromo__badge{ width:48px; height:48px; font-size:14px; }
  .rs-dpromo__title{ font-size:15px; margin:4px 0 0; }
  .rs-dpromo__note--wide{ display:none; }
  .rs-dpromo__side{ grid-column:1 / -1; display:flex; align-items:center; gap:12px; }
  .rs-dpromo__note--narrow{ display:block; font-size:12px; }
  .rs-dpromo__code{ flex:0 0 auto; padding:7px 12px; }
  .rs-dpromo__code small{ display:none; }
  .rs-dpromo__code b{ font-size:17px; }
}
