/* ==========================================================================
   Информационная плашка «Эти авто нет смысла везти»
   Белая карточка-«лист», красный акцент слева, три условия чипами через «и».
   ========================================================================== */

.notice-sec { padding-block: clamp(28px, 4vw, 48px) 0; }

.notice {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 300px);
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px);
  border-radius: var(--shape-card);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1.5px rgba(192, 51, 44, .18);
}
.notice::before {                  /* красная полоса слева */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: linear-gradient(180deg, #E0453C, var(--c-red));
}
/* иконка с пульсирующим кольцом */
.notice__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 12px 4px 12px 4px;
  background: var(--c-red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(192, 51, 44, .3);
}
.notice__icon svg { width: 32px; height: 32px; }
.notice__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 14px 5px 14px 5px;
  border: 2px solid var(--c-red);
  opacity: 0;
  animation: notice-ring 2.4s ease-out infinite;
}
@keyframes notice-ring {
  0% { transform: scale(.9); opacity: .7; }
  70%, 100% { transform: scale(1.25); opacity: 0; }
}

.notice__main { display: grid; gap: 12px; min-width: 0; }
.notice__badge {
  justify-self: start;
  margin: 0;
  padding: 5px 12px;
  border-radius: 6px 3px 6px 3px;
  background: rgba(192, 51, 44, .1);
  font: 700 12px/1 var(--f-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-red-400);
}
.notice__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-heading);
}

.notice__conds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.notice__cond {
  display: grid;
  gap: 1px;
  padding: 8px 14px;
  border-radius: 8px 3px 8px 3px;
  background: var(--c-bg);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.notice__cond span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); }
.notice__cond b { font-size: 15px; font-weight: 700; color: var(--c-heading); white-space: nowrap; }
.notice__and { font: 700 14px/1 var(--f-display); color: var(--c-red-400); }

/* чипы условий появляются по очереди */
.js .notice .notice__cond { opacity: 0; transform: translateY(8px); }
.js .notice.is-visible .notice__cond { opacity: 1; transform: none; transition: opacity .4s, transform .5s var(--ease-out); transition-delay: calc(var(--i) * 120ms + .25s); }

.notice__ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--c-text-muted); }
.notice__ex em {
  padding: 3px 9px;
  border-radius: 5px 3px 5px 3px;
  background: rgba(224, 84, 76, .12);
  font-style: normal;
  font-weight: 600;
  color: #F08A83;
  text-decoration: line-through;
  text-decoration-color: rgba(240, 138, 131, .6);
}

.notice__side { display: grid; gap: 14px; justify-items: start; }
.notice__side p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--c-text-muted); }
.notice__side b { color: var(--c-heading); }

@media (max-width: 1100px) {
  .notice { grid-template-columns: auto minmax(0, 1fr); }
  .notice__side { grid-column: 2; }
}
@media (max-width: 640px) {
  .notice { grid-template-columns: 1fr; padding: 22px 20px 22px 26px; }
  .notice__icon { width: 52px; height: 52px; }
  .notice__icon svg { width: 26px; height: 26px; }
  .notice__side { grid-column: auto; }
  .notice__side .btn { justify-self: stretch; justify-content: center; }
  .notice__cond { flex: 1 1 100%; }
  .notice__and { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .notice__icon::after { animation: none; }
}
