﻿    .attention-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 9999;
      display: none; /* Важно! */
      align-items: center;
      justify-content: center;
      font-family: sans-serif;
    }

    .attention-modal {
      display: flex;
      flex-direction: row;
      background: #fff;
      color: #111;
      max-width: 600px;
      width: 100%;
      border-radius: 12px;
      box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
      overflow: hidden;
    }

.attention-image-container {
  width: 40%;
  background: #eee;
  max-height: 100%;
}

    .attention-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .attention-content {
      padding: 2rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .attention-content h2 {
      color: #b71c1c;
      font-size: 1.4rem;
      margin-bottom: 1rem;
    }

    .attention-content p {
      font-size: 0.95rem;
      line-height: 1.5;
      color: #333;
      margin-bottom: 1rem;
    }

    #attention-close {
      align-self: flex-start;
      background: #d32f2f;
      color: white;
      border: none;
      padding: 0.6rem 1.2rem;
      border-radius: 6px;
      font-size: 0.95rem;
      cursor: pointer;
    }

    #attention-close:hover {
      background: #a30000;
    }