<!-- Стили, необходимые для правильного отображения этого блока -->
* Общие стили и сбросы */
 *, *::before, *::after { box-sizing: border-box; }
 .container { max-width: 1200px; margin: 20px auto; padding: 20px; background-color: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }

 /* Заголовки внутри блока */
 .container header { text-align: center; padding-bottom: 20px; border-bottom: 2px solid #0056b3; }
 .container h2 { font-size: 1.8em; color: #007bff; }
 .container h3 { font-size: 1.4em; color: #6c757d; }
 .novelty-badge { display: inline-block; background-color: #ff0000; color: #ffffff; padding: 2px 8px; border-radius: 4px; font-size: 0.9em; font-weight: bold; margin-left: 10px; }

 /* Обложки книг */
 .book-cover { display: block; margin: 20px auto; max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); float: left; margin-right: 20px; margin-bottom: 10px; }
 .book-cover.main-cover, .book-cover.paper-book, .book-cover.electronic-book { width: 320px; height: 480px; object-fit: cover; }
 .book-cover.audio-book { width: 320px; height: 320px; object-fit: cover; }
 .book-cover.excerpt-image { width: 100%; max-width: 600px; height: auto; object-fit: cover; margin: 20px auto; border-radius: 8px; float: none; display: block; }

 /* Кнопки */
 .cta-button { display: inline-block; padding: 12px 25px; margin: 10px 10px 10px 0; border-radius: 8px; color: #fff !important; text-decoration: none; font-weight: bold; transition: transform 0.2s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); border: none; }
 .cta-button:hover { transform: translateY(-2px); }
 .cta-button.litres-bg { background: linear-gradient(to bottom, #0f2700 0%, #0f8c00 100%); }

 /* Переключатели */
 .toggle-container { width: 100%; text-align: center; margin-top: 30px; margin-bottom: 20px; clear:both; }
 .toggle-button { padding: 12px 25px; margin: 0 10px; border: 2px solid #007bff !important; border-radius: 8px; background-color: #f8f9fa !important; color: #007bff !important; font-weight: bold; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }
 .toggle-button:hover { background-color: #e2f0ff !important; }
 .toggle-button.active { background-color: #007bff !important; color: #fff !important; border-color: #007bff !important; box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); }
 .toggle-button:disabled { background-color: #cccccc !important; color: #666666 !important; border-color: #999999 !important; cursor: not-allowed; box-shadow: none; }

 /* Контентные блоки */
 .main-content-wrapper, .book-details, .audiobook-details { overflow: hidden; }
 .book-details, .audiobook-details { background-color: #e9ecef; padding: 25px; border-radius: 8px; margin-top: 20px; font-size: 0.95em; border-left: 5px solid #007bff; }
 .excerpt { padding: 20px; background-color: #f1f3f5; border: 1px dashed #ced4da; margin-top:20px; }
 .excerpt p { text-indent: 20px; margin-bottom: 1em; text-align: justify; }
 .price-info { font-size: 1.1em; font-weight: bold; color: #dc3545; margin-top: 5px; }
 hr { border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); margin: 30px 0; clear: both;}
 
 #blink { animation: blinker 1s linear infinite; }
 @keyframes blinker { 50% { opacity: 0; } }

 /* Таблица */
 .book-table-container { margin-top: 40px; overflow-x: auto; }
 .book-table { width: 100%; border-collapse: collapse; }
 .book-table th, .book-table td { padding: 12px; border: 1px solid #ddd; text-align: left; vertical-align: top; }
 .book-table img.book-image-thumb { width: 80px; height: auto; display: block; }
 .book-table th { background-color: #333; color: white; }
 .current-book-marker { font-weight: bold; color: #007bff; }
 .book-table tbody tr.current-book-row { background-color: #d4edda; }

 /* Адаптивность */
 @media (max-width: 768px) {
 .book-cover { float: none; display:block; margin: 0 auto 15px; }
 .book-table thead { display: none; }
 .book-table, .book-table tbody, .book-table tr, .book-table td { display: block; width: 100%; }
 .book-table tr { margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; padding: 10px; }
 .book-table td { text-align: right; padding-left: 50%; position: relative; border: none; border-bottom: 1px solid #eee; }
 .book-table td:last-child { border-bottom: 0; }
 .book-table td::before { content: attr(data-label); position: absolute; left: 10px; width: 45%; padding-left: 10px; font-weight: bold; text-align: left; }
 }
 @media (max-width: 600px) { 
 .toggle-button, .cta-button { display: block; width: calc(100% - 20px); margin: 10px auto; }
 }
