/* ============================================================
   СТРАНИЦА НОВОСТИ — основная обёртка
   ============================================================ */
.zz-news-modern {
    max-width: 1360px;
    margin: 0 auto 60px;
    padding: 0 20px;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #f0f4f8;
    width: 100%;
}

/* ============================================================
   АДМИН-ТУЛБАР (кнопка "Редактировать")
   ============================================================ */
.zz-admin-toolbar {
    position: absolute;
    top: 20px;
    left: 24px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.zz-admin-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #0a0f16 !important;
    text-decoration: none !important;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
}
.zz-admin-tool-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(245,158,11,0.6);
    color: #0a0f16 !important;
}
.zz-admin-tool-btn:disabled { opacity: .6; cursor: not-allowed; }
.zz-admin-tool-btn i { font-size: 14px; }
.zz-admin-tool-btn-alt {
    background: rgba(13,20,32,0.85);
    color: #f59e0b !important;
    border: 1px solid rgba(245,158,11,0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.zz-admin-tool-btn-alt:hover {
    background: rgba(13,20,32,0.95);
    color: #fbbf24 !important;
    box-shadow: 0 8px 25px rgba(245,158,11,0.4);
}

/* ============================================================
   РЕЙТИНГ + ЛАЙКИ + ПОЛЕЗНОСТЬ
   ============================================================ */
.zz-news-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 22px 28px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}
.zz-news-rating:hover { border-color: rgba(245,158,11,0.2); }
.zz-news-rating::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0.5;
}

/* Рейтинг — звёзды */
.zz-rating-section {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.zz-rating-label {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.zz-rating-label i { color: #f59e0b; }
.zz-rating-stars { display: inline-flex; gap: 3px; }
.zz-star {
    font-size: 26px;
    line-height: 1;
    color: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: transform .2s, color .2s;
    user-select: none;
}
.zz-star.active { color: #f59e0b; text-shadow: 0 0 14px rgba(245,158,11,.4); }
.zz-star.hover  { color: #fbbf24; transform: scale(1.15); }
.zz-rating-info {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}
.zz-rating-avg { color: #f59e0b; font-weight: 700; font-size: 17px; }

/* Лайки */
.zz-like-section {
    display: inline-flex;
    gap: 10px;
    background: rgba(0,0,0,0.25);
    padding: 6px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.06);
}
.zz-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: none;
    border-radius: 30px;
    color: rgba(255,255,255,0.55);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s cubic-bezier(0.25, 0.8, 0.25, 1);
    user-select: none;
}
.zz-like-btn .zz-like-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    transition: all .3s;
    font-size: 13px;
}
.zz-like-btn:hover {
    color: #4ade80;
    background: rgba(74,222,128,0.08);
}
.zz-like-btn:hover .zz-like-icon {
    background: rgba(74,222,128,0.15);
    transform: translateY(-2px) scale(1.05);
}
.zz-like-btn.active {
    color: #4ade80;
    background: rgba(74,222,128,0.12);
}
.zz-like-btn.active .zz-like-icon {
    background: #4ade80;
    color: #0a0f16;
    box-shadow: 0 0 16px rgba(74,222,128,0.4);
    animation: zzPulse 0.5s ease;
}
@keyframes zzPulse {
    0%   { transform: scale(0.8); }
    50%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.zz-like-btn.zz-dislike:hover {
    color: #f87171;
    background: rgba(248,113,113,0.08);
}
.zz-like-btn.zz-dislike:hover .zz-like-icon {
    background: rgba(248,113,113,0.15);
    transform: translateY(2px) scale(1.05);
}
.zz-like-btn.zz-dislike.active {
    color: #f87171;
    background: rgba(248,113,113,0.12);
}
.zz-like-btn.zz-dislike.active .zz-like-icon {
    background: #f87171;
    color: #0a0f16;
    box-shadow: 0 0 16px rgba(248,113,113,0.4);
}
.zz-like-count {
    font-variant-numeric: tabular-nums;
    min-width: 14px;
    text-align: center;
    font-size: 14px;
}

/* ============================================================
   ПОЛЕЗНОСТЬ — круговая диаграмма (КЛЮЧЕВОЙ БЛОК)
   ============================================================ */
.zz-usefulness-section {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zz-usefulness-circle {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}
.zz-usefulness-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    display: block;
}
.zz-usefulness-circle .zz-usefulness-bg {
    fill: none;
    stroke: rgba(255,255,255,0.08);
    stroke-width: 3;
}
.zz-usefulness-circle .zz-usefulness-fill {
    fill: none;
    stroke: #f59e0b;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 0 4px rgba(245,158,11,0.5));
}
.zz-usefulness-circle .zz-usefulness-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.1;
    pointer-events: none;
}
.zz-usefulness-circle .zz-usefulness-text strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #f59e0b;
}
.zz-usefulness-circle .zz-usefulness-text span {
    display: block;
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   HERO
   ============================================================ */
.zz-news-hero {
    position: relative;
    width: 100%;
    height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}
.zz-news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,15,22,0.75) 0%, rgba(10,15,22,0.4) 100%);
    z-index: 1;
    border-radius: 24px;
}
.zz-news-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: #fff;
}
.zz-news-hero .hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.zz-news-hero .hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}
.zz-news-hero .hero-meta i { color: #f59e0b; margin-right: 4px; }
.zz-news-hero .hero-meta .author { font-weight: 600; color: #f59e0b; }
.zz-news-hero .zoom-hint {
    position: absolute;
    bottom: 20px; right: 24px;
    z-index: 3;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    padding: 6px 16px;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.7;
}

/* Хлебные крошки */
.zz-news-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.3);
}
.zz-news-breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: 0.2s;
}
.zz-news-breadcrumb a:hover { color: #f59e0b; }
.zz-news-breadcrumb span { margin: 0 8px; }

/* Сетка */
.zz-news-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 992px) {
    .zz-news-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Статья */
.zz-article {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 36px 32px;
    transition: border-color 0.3s;
    overflow: hidden;
}
.zz-article-content { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.82); }
.zz-article-content p { margin: 0 0 22px; }
.zz-article-content h2, .zz-article-content h3 { color: #fff; margin-top: 32px; margin-bottom: 16px; font-weight: 700; }
.zz-article-content h2 { font-size: 1.8rem; }
.zz-article-content h3 { font-size: 1.4rem; }
.zz-article-content img {
    max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); cursor: pointer; transition: transform 0.3s;
}
.zz-article-content img:hover { transform: scale(1.02); }
.zz-article-content blockquote {
    border-left: 4px solid #f59e0b; padding: 12px 24px; margin: 24px 0;
    background: rgba(245,158,11,0.06); border-radius: 0 12px 12px 0;
    font-style: italic; color: rgba(255,255,255,0.7);
}

.zz-article-footer {
    margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.zz-article-back {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.15);
    color: #f59e0b;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}
.zz-article-back:hover {
    background: rgba(245,158,11,0.18);
    border-color: #f59e0b;
    transform: translateX(-4px);
}

/* Сайдбар */
.zz-sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 20px; }
@media (max-width: 992px) {
    .zz-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    .zz-sidebar { grid-template-columns: 1fr; }
}
.zz-sidebar-block {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 22px 20px;
    transition: border-color 0.3s;
}
.zz-sidebar-block:hover { border-color: rgba(245,158,11,0.1); }
.zz-sidebar-block h3 {
    font-size: 1.1rem; font-weight: 700; color: #f59e0b; margin: 0 0 16px;
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.zz-recent-list { list-style: none; padding: 0; margin: 0; }
.zz-recent-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.zz-recent-list li:last-child { border-bottom: none; }
.zz-recent-list li a {
    display: block; color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 100;
    transition: 0.2s; line-height: 1.4;
}
.zz-recent-list li a:hover { color: #f59e0b; }
.zz-recent-list .recent-date {
    font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 4px;
    display: flex; align-items: center; gap: 4px;
}
.zz-subscribe-block {
    background: linear-gradient(145deg, rgba(245,158,11,0.04), rgba(245,158,11,0.01));
    border-color: rgba(245,158,11,0.08);
    text-align: center;
}
.zz-subscribe-block p { font-size: 14px; color: rgba(255,255,255,0.5); margin: 0 0 14px; line-height: 1.5; }
.zz-subscribe-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    background: #f59e0b;
    color: #0a0f16;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.zz-subscribe-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,0.3);
}

/* ============================================================
   КОММЕНТАРИИ
   ============================================================ */
.zz-news-comments {
    margin: 40px 0 20px;
    padding: 28px 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
}
.zz-news-comments h3 {
    font-size: 20px; font-weight: 700; color: #fff;
    margin: 0 0 20px 0;
    display: flex; align-items: center; gap: 10px;
}
.zz-news-comments h3 i { color: #f59e0b; }
.zz-news-comments h3 .count-badge {
    background: rgba(245,158,11,0.15); color: #f59e0b;
    font-size: 13px; font-weight: 600;
    padding: 2px 12px; border-radius: 30px;
}
.zz-comment-form { margin-bottom: 26px; }
.zz-comment-form textarea,
.zz-reply-form textarea {
    width: 100%; min-height: 90px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: #f0f4f8;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    transition: border-color .25s, background .25s;
}
.zz-comment-form textarea:focus,
.zz-reply-form textarea:focus { border-color: #f59e0b; background: rgba(255,255,255,0.06); }
.zz-comment-toolbar { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.zz-toolbar-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all .25s;
    user-select: none;
}
.zz-toolbar-btn:hover { border-color: #f59e0b; color: #f59e0b; background: rgba(245,158,11,.06); }
.zz-toolbar-btn.active { border-color: #f59e0b; color: #f59e0b; background: rgba(245,158,11,.1); }

.zz-smile-picker {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
    gap: 4px;
    max-height: 220px;
    overflow-y: auto;
    padding: 10px;
    margin-top: 8px;
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}
.zz-smile-picker.open { display: grid; }
.zz-smile-item {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 8px;
    transition: background .15s, transform .15s;
}
.zz-smile-item:hover { background: rgba(245,158,11,0.15); transform: scale(1.15); }
.zz-smile-item img { width: 28px; height: 28px; object-fit: contain; pointer-events: none; }

.zz-upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.zz-upload-thumb {
    position: relative;
    width: 76px; height: 76px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.zz-upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.zz-upload-thumb .zz-thumb-remove {
    position: absolute; top: 2px; right: 2px;
    width: 20px; height: 20px;
    background: rgba(0,0,0,0.7); border: none; border-radius: 50%;
    color: #fff; font-size: 12px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.zz-upload-thumb .zz-thumb-remove:hover { background: #dc3545; }

.zz-comment-form .form-row,
.zz-reply-form .form-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 12px; gap: 12px; flex-wrap: wrap;
}
.zz-comment-form .chars-counter,
.zz-reply-form .chars-counter { font-size: 12px; color: rgba(255,255,255,0.3); }
.zz-btn-send {
    padding: 10px 26px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none; border-radius: 10px;
    color: #0a0f16; font-weight: 700; font-size: 14px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    display: inline-flex; align-items: center; gap: 8px;
}
.zz-btn-send:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,.3); }
.zz-btn-send:disabled { opacity: .5; cursor: not-allowed; }

.zz-comment-login {
    padding: 20px;
    background: rgba(245,158,11,0.06);
    border: 1px dashed rgba(245,158,11,0.25);
    border-radius: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    text-align: center;
    margin-bottom: 26px;
}
.zz-comment-login i { color: #f59e0b; margin-right: 8px; }
.zz-comment-login a { color: #f59e0b; text-decoration: underline; cursor: pointer; font-weight: 600; }

#commentsList { margin-top: 4px; }
.zz-comment-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: border-color .25s, background .25s;
}
.zz-comment-item:hover { border-color: rgba(245,158,11,0.15); background: rgba(255,255,255,0.035); }
.zz-comment-item .ci-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px; margin-bottom: 8px;
}
.zz-comment-item .ci-author {
    font-weight: 600; color: #f59e0b;
    display: flex; align-items: center; gap: 8px;
}
.zz-comment-item .ci-author .avatar {
    width: 28px; height: 28px;
    background: rgba(245,158,11,0.15);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: #f59e0b;
}
.zz-comment-item .ci-time {
    font-size: 12px; color: rgba(255,255,255,0.3);
    display: flex; align-items: center; gap: 6px;
}
.zz-edited-mark {
    display: inline-block;
    background: rgba(245,158,11,0.1);
    color: #f59e0b;
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 20px;
    border: 1px solid rgba(245,158,11,0.2);
    font-weight: 500;
}
.zz-comment-item .ci-text {
    font-size: 14px; line-height: 1.6;
    color: rgba(255,255,255,0.8);
    white-space: pre-line;
    word-break: break-word;
}
.zz-comment-item .ci-text img.zz-inline-smile {
    width: 22px; height: 22px;
    vertical-align: -5px;
    margin: 0 1px;
    display: inline-block;
}
.zz-comment-item .ci-images {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.zz-comment-item .ci-images a {
    display: block;
    width: 100px; height: 100px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform .2s, border-color .2s;
}
.zz-comment-item .ci-images a:hover { transform: scale(1.03); border-color: #f59e0b; }
.zz-comment-item .ci-images img { width: 100%; height: 100%; object-fit: cover; display: block; }

.zz-comment-item .ci-actions {
    margin-top: 10px;
    display: flex; gap: 4px; flex-wrap: wrap;
}
.zz-comment-item .ci-actions button {
    background: transparent; border: none;
    color: rgba(255,255,255,0.35);
    font-size: 12px; cursor: pointer;
    padding: 4px 10px; border-radius: 20px;
    transition: all .2s;
    display: inline-flex; align-items: center; gap: 5px;
}
.zz-comment-item .ci-actions button:hover { background: rgba(255,255,255,0.06); color: #f59e0b; }
.zz-comment-item .ci-actions .zz-btn-delete-comment:hover { background: rgba(220,53,69,0.12); color: #dc3545; }

.zz-comment-item.editing .ci-text,
.zz-comment-item.editing .ci-images,
.zz-comment-item.editing .ci-actions,
.zz-comment-item.editing .zz-reply-wrap { display: none; }
.zz-comment-item .ci-edit-form { display: none; margin-top: 10px; }
.zz-comment-item.editing .ci-edit-form { display: block; }
.zz-comment-item .ci-edit-form textarea {
    width: 100%; min-height: 70px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #f0f4f8;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
}
.zz-comment-item .ci-edit-form textarea:focus { border-color: #f59e0b; }
.zz-comment-item .ci-edit-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.zz-comment-item .ci-edit-actions .btn-save-edit {
    padding: 8px 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none; border-radius: 8px;
    color: #0a0f16; font-weight: 700; font-size: 13px;
    cursor: pointer;
}
.zz-comment-item .ci-edit-actions .btn-cancel-edit {
    padding: 8px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: rgba(255,255,255,0.6);
    font-weight: 500; font-size: 13px; cursor: pointer;
}

.zz-comment-children {
    margin-left: 32px;
    margin-top: 10px;
    padding-left: 14px;
    border-left: 2px solid rgba(245,158,11,0.15);
}
@media (max-width: 600px) {
    .zz-comment-children { margin-left: 12px; padding-left: 10px; }
}
.zz-comment-children.depth-4 { margin-left: 0; padding-left: 0; border-left: none; }

.zz-reply-form-wrap {
    margin-top: 12px;
    padding: 14px 16px;
    background: rgba(245,158,11,0.04);
    border: 1px dashed rgba(245,158,11,0.2);
    border-radius: 12px;
}
.zz-reply-form textarea { min-height: 70px; font-size: 14px; }
.zz-reply-form .zz-reply-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 8px;
    font-size: 13px; color: rgba(255,255,255,0.5);
}
.zz-reply-form .zz-reply-to { color: #f59e0b; font-weight: 600; }
.zz-reply-form .zz-reply-close {
    background: transparent; border: none;
    color: rgba(255,255,255,0.4);
    font-size: 18px; line-height: 1;
    cursor: pointer; padding: 2px 8px; border-radius: 6px;
}
.zz-reply-form .zz-reply-close:hover { background: rgba(220,53,69,0.15); color: #dc3545; }

.zz-comments-empty {
    text-align: center; color: rgba(255,255,255,0.3);
    padding: 24px; font-size: 14px;
}

/* ============================================================
   TOAST
   ============================================================ */
.zz-toast {
    position: fixed; bottom: 30px; right: 30px;
    background: #0d1420;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 22px;
    color: #f0f4f8;
    font-size: 14px; font-weight: 500;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    z-index: 99999;
    transform: translateY(20px); opacity: 0;
    transition: all .35s;
    display: flex; align-items: center; gap: 10px;
    max-width: 90vw;
}
.zz-toast.show { transform: translateY(0); opacity: 1; }
.zz-toast.success i { color: #28a745; }
.zz-toast.error i   { color: #dc3545; }
.zz-toast.info i    { color: #17a2b8; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 768px) {
    .zz-news-hero { height: 340px; border-radius: 16px; }
    .zz-news-hero .hero-title { font-size: 2.2rem; }
    .zz-news-hero .hero-meta { font-size: 13px; gap: 8px 16px; }
    .zz-article { padding: 24px 16px; }
    .zz-admin-tool-btn { padding: 8px 14px; font-size: 12px; }
    .zz-admin-toolbar { top: 12px; left: 12px; }
    .zz-star { font-size: 22px; }
    .zz-like-btn { padding: 6px 14px; font-size: 13px; }
    .zz-usefulness-circle { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
    .zz-news-hero { height: 260px; }
    .zz-news-hero .hero-title { font-size: 1.6rem; }
    .zz-news-modern { padding: 0 12px; }
    .zz-news-rating { padding: 16px; gap: 12px; }
    .zz-like-section { width: 100%; justify-content: center; }
    .zz-usefulness-section { width: 100%; justify-content: center; }
}

/* ============================================================
   ПОСЛЕДНИЕ НОВОСТИ — мета-данные
   ============================================================ */
.zz-recent-list .recent-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}
.zz-recent-list .recent-date {
    margin: 0;
    color: rgba(255,255,255,0.3);
}
.zz-recent-list .recent-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #f59e0b;
    font-weight: 600;
}
.zz-recent-list .recent-rating small {
    font-size: 10px;
    opacity: 0.6;
    font-weight: 400;
}
.zz-recent-list .recent-comments {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* ============================================================
   ПОИСК ПО САЙТУ (Яндекс)
   ============================================================ */
.zz-yasearch-block h3 {
    color: #f59e0b !important;
}
.zz-yasearch-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}
.zz-yasearch-input-wrap {
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}
.zz-yasearch-input-wrap:focus-within {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.zz-yasearch-input-wrap input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: #f0f4f8;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
}
.zz-yasearch-input-wrap input[type="search"]::placeholder {
    color: rgba(255,255,255,0.3);
}
.zz-yasearch-input-wrap input[type="search"]::-webkit-search-cancel-button {
    filter: invert(1);
    opacity: 0.4;
}
.zz-yasearch-input-wrap button[type="submit"] {
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: #0a0f16;
    font-size: 16px;
    cursor: pointer;
    transition: background .25s;
}
.zz-yasearch-input-wrap button[type="submit"]:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.zz-yasearch-hint {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    text-align: center;
}
.zz-yasearch-hint strong {
    color: rgba(255,255,255,0.5);
}

/* ============================================================
   ЧИТАЙТЕ ТАКЖЕ
   ============================================================ */
.zz-similar-news {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.zz-similar-news h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.zz-similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.zz-similar-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.zz-similar-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f59e0b;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}
.zz-similar-card:hover {
    border-color: rgba(245,158,11,0.25);
    background: rgba(255,255,255,0.04);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.zz-similar-card:hover::before {
    transform: scaleY(1);
}
.zz-similar-card .sim-title {
    font-weight: 100;
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.4;
    transition: color 0.3s;
}
.zz-similar-card:hover .sim-title {
    color: #f59e0b;
}
.zz-similar-card .sim-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-top: auto;
    padding-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.zz-similar-card .sim-meta::before {
    content: 'Дата:';
    font-size: 11px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .zz-similar-news h3 { font-size: 1.3rem; }
    .zz-similar-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .zz-similar-card {
        padding: 16px 18px;
    }
    .zz-similar-card .sim-title {
        font-size: 1rem;
    }
}


/* ============================================================
   ТОВАРЫ ИЗ СТАТЬИ (карусель)
   ============================================================ */
.zz-attached-products {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
    width: 100%;
}
.zz-attached-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.zz-attached-products h3 {
    font-size: 15px;
    font-weight: 100;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.zz-attached-products h3 i { color: #f59e0b; }
.zz-attached-products h3 .count-badge {
    background: rgba(245,158,11,0.15);
    color: #f59e0b;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 30px;
}

/* Стрелки карусели */
.zz-carousel-nav {
    display: flex;
    gap: 8px;
}
.zz-carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 14px;
    flex-shrink: 0;
}
.zz-carousel-btn:hover:not(:disabled) {
    background: #f59e0b;
    color: #0a0f16;
    border-color: #f59e0b;
    transform: scale(1.08);
}
.zz-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Обёртка карусели */
.zz-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 8px 0;
}
.zz-products-track {
    display: flex;
    gap: 16px;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}
.zz-product-slide {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    max-width: 100%;
}

/* Карточка товара */
.zz-product-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}
.zz-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.zz-product-card:hover {
    border-color: rgba(245,158,11,0.3);
    transform: translateY(-6px);
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.zz-product-card:hover::before {
    transform: scaleX(1);
}

/* Картинка товара */
.zz-product-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.zz-product-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.5s;
}
.zz-product-card:hover .zz-product-img {
    transform: scale(1.08);
}

/* Бейджи */
.zz-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.zz-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}
.zz-badge-stock {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Информация о товаре */
.zz-product-info {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.zz-product-article {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}
.zz-product-article i { color: #f59e0b; }
.zz-product-article span { color: #f59e0b; font-weight: 600; }

.zz-product-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.zz-product-price-wrap {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed rgba(255,255,255,0.06);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.zz-product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: -0.5px;
}
.zz-product-price-currency {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.zz-product-no-price {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}
.zz-product-btn {
    margin-top: 12px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: rgba(245,158,11,0.08);
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(245,158,11,0.15);
}
.zz-product-card:hover .zz-product-btn {
    background: #f59e0b;
    color: #0a0f16;
    border-color: #f59e0b;
}
.zz-product-btn i { transition: transform 0.3s; }
.zz-product-card:hover .zz-product-btn i { transform: translateX(4px); }

/* Точки карусели */
.zz-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.zz-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}
.zz-carousel-dot.active {
    background: #f59e0b;
    width: 24px;
    border-radius: 4px;
}

/* Адаптив */
@media (max-width: 1200px) {
    .zz-product-slide { flex: 0 0 calc((100% - 32px) / 3); }
}
@media (max-width: 992px) {
    .zz-product-slide { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 768px) {
    .zz-product-slide { flex: 0 0 80%; min-width: 240px; }
    .zz-product-img-wrap { height: 160px; }
    .zz-product-info { padding: 14px; }
    .zz-product-title { font-size: 0.8rem; min-height: 2.2em; }
    .zz-product-price { font-size: 1.1rem; }
    .zz-carousel-btn { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
    .zz-attached-products-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .zz-carousel-nav { margin-left: auto; }
    .zz-product-slide { flex: 0 0 85%; min-width: 220px; }
    .zz-product-img-wrap { height: 180px; }
}
@media (max-width: 360px) {
    .zz-product-slide { flex: 0 0 90%; min-width: 200px; }
    .zz-product-card { border-radius: 12px; }
    .zz-product-img-wrap { height: 140px; }
    .zz-product-info { padding: 10px; gap: 6px; }
    .zz-product-title { font-size: 0.75rem; line-height: 1.3; min-height: 2em; }
    .zz-product-article { font-size: 11px; }
    .zz-product-price { font-size: 16px; }
    .zz-product-price-currency { font-size: 12px; }
    .zz-product-btn { padding: 8px; font-size: 12px; border-radius: 8px; }
    .zz-carousel-btn { width: 32px; height: 32px; font-size: 12px; }
}


/* ============================================================
   ЖИВОЙ ПОИСК ПО БЛОГУ — общий стиль для /novosti и news_item
   ============================================================ */

/* ============================================================
   КОНТЕЙНЕР
   ============================================================ */
.zz-live-search {
    position: relative;
    max-width: 640px;
    margin: 0 auto 32px;
    width: 100%;
    text-align: left;
}

/* ============================================================
   ПОЛЕ ВВОДА
   ============================================================ */
.zz-live-search-field {
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .25s, background .25s, box-shadow .25s;
    position: relative;
}
.zz-live-search-field:focus-within {
    border-color: #f59e0b;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(245,158,11,0.1);
}

.zz-live-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    color: rgba(255,255,255,0.3);
    font-size: 16px;
    flex-shrink: 0;
    transition: color .25s;
}
.zz-live-search-field:focus-within .zz-live-search-icon {
    color: #f59e0b;
}

.zz-live-search-input {
    flex: 1;
    min-width: 0;
    padding: 16px 12px 16px 0;
    background: transparent;
    border: none;
    color: #f0f4f8;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    outline: none;
}
.zz-live-search-input::placeholder {
    color: rgba(255,255,255,0.3);
}
.zz-live-search-input::-webkit-search-cancel-button {
    filter: invert(1);
    opacity: 0.4;
    cursor: pointer;
}

/* ============================================================
   СТАТУС (спиннер)
   ============================================================ */
.zz-live-search-status {
    display: flex;
    align-items: center;
    padding-right: 14px;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    flex-shrink: 0;
}
.zz-live-search-status .zz-ls-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.15);
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: zzLsSpin 0.7s linear infinite;
}
@keyframes zzLsSpin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   КНОПКА ОЧИСТКИ
   ============================================================ */
.zz-live-search-clear {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    transition: all .2s;
    display: none;
}
.zz-live-search-clear.visible {
    display: inline-block;
}
.zz-live-search-clear:hover {
    color: #f59e0b;
    background: rgba(245,158,11,0.1);
}

/* ============================================================
   СПИСОК РЕЗУЛЬТАТОВ — КЛЮЧЕВОЕ: text-align: left
   ============================================================ */
.zz-live-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #0d1420;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
    max-height: 480px;
    overflow-y: auto;
    z-index: 999;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: #f59e0b transparent;
    text-align: left;       /* ← ВАЖНО: выравнивание по левому краю */
    padding: 0;
    margin: 0;
}
.zz-live-search-results.open {
    display: block;
}
.zz-live-search-results::-webkit-scrollbar {
    width: 6px;
}
.zz-live-search-results::-webkit-scrollbar-thumb {
    background: rgba(245,158,11,0.5);
    border-radius: 4px;
}

/* ============================================================
   ЗАГОЛОВОК СПИСКА
   ============================================================ */
.zz-ls-header {
    padding: 12px 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: sticky;
    top: 0;
    background: #0d1420;
    z-index: 1;
    text-align: left;       /* ← выравнивание влево */
}

/* ============================================================
   ОДИН РЕЗУЛЬТАТ
   ============================================================ */
.zz-ls-item {
    display: flex;
    gap: 14px;
    padding: 12px 18px;
    text-decoration: none;
    color: inherit;
    transition: background .2s;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    text-align: left;       /* ← выравнивание влево */
    align-items: flex-start;
}
.zz-ls-item:last-child {
    border-bottom: none;
}
.zz-ls-item:hover,
.zz-ls-item.active {
    background: rgba(245,158,11,0.06);
}

/* Превью */
.zz-ls-item .zz-ls-image {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(255,255,255,0.15);
    font-size: 24px;
}
.zz-ls-item .zz-ls-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Текстовый блок */
.zz-ls-item .zz-ls-body {
    flex: 1;
    min-width: 0;
    text-align: left;       /* ← выравнивание влево */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Название */
.zz-ls-item .zz-ls-title {
    font-size: 14px;
    font-weight: 600;
    color: #f0f4f8;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;       /* ← выравнивание влево */
    margin: 0;
}
.zz-ls-item .zz-ls-title mark {
    background: rgba(245,158,11,0.25);
    color: #fbbf24;
    padding: 0 2px;
    border-radius: 3px;
}
.zz-ls-item:hover .zz-ls-title,
.zz-ls-item.active .zz-ls-title {
    color: #f59e0b;
}

/* Описание */
.zz-ls-item .zz-ls-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;       /* ← выравнивание влево */
    margin: 0;
}

/* Мета: дата, рейтинг, комментарии */
.zz-ls-item .zz-ls-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    flex-wrap: wrap;
    text-align: left;       /* ← выравнивание влево */
    margin: 0;
}
.zz-ls-item .zz-ls-meta .zz-ls-date {
    color: rgba(255,255,255,0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.zz-ls-item .zz-ls-meta .zz-ls-rating {
    color: #f59e0b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.zz-ls-item .zz-ls-meta .zz-ls-comments {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* ============================================================
   ПУСТОЙ РЕЗУЛЬТАТ
   ============================================================ */
.zz-ls-empty {
    padding: 32px 24px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}
.zz-ls-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.3;
}
.zz-ls-empty strong {
    color: #f59e0b;
}

/* ============================================================
   ПОДСКАЗКА ПРО КЛАВИШИ
   ============================================================ */
.zz-ls-hint {
    padding: 10px 18px;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    border-top: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.01);
    text-align: center;
}
.zz-ls-hint kbd {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: monospace;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    margin: 0 2px;
}

/* ============================================================
   ВАРИАНТЫ РАЗМЕЩЕНИЯ
   ============================================================ */

/* После hero на странице новости */
.zz-live-search--page {
    margin-top: 28px;
    margin-bottom: 32px;
    max-width: 100%;
}

/* На странице /novosti (под заголовком) */
.zz-live-search--blog {
    margin-top: 24px;
    margin-bottom: 40px;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 600px) {
    .zz-live-search {
        margin-bottom: 24px;
    }
    .zz-live-search-field {
        border-radius: 12px;
    }
    .zz-live-search-icon {
        width: 44px;
        font-size: 14px;
    }
    .zz-live-search-input {
        padding: 14px 10px 14px 0;
        font-size: 15px;
    }
    .zz-ls-header {
        padding: 10px 14px;
    }
    .zz-ls-item {
        padding: 10px 14px;
        gap: 10px;
    }
    .zz-ls-item .zz-ls-image {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        border-radius: 8px;
        font-size: 20px;
    }
    .zz-ls-item .zz-ls-title {
        font-size: 13px;
    }
    .zz-ls-item .zz-ls-desc {
        display: none;
    }
}

@media (max-width: 400px) {
    .zz-live-search-input {
        font-size: 14px;
        padding: 12px 8px 12px 0;
    }
    .zz-live-search-icon {
        width: 38px;
    }
    .zz-ls-item .zz-ls-meta {
        gap: 8px;
        font-size: 10px;
    }
}


/* ============================================================
   БЛОК «ОТВЕТ ДЛЯ ...» С ЦИТАТОЙ
   ============================================================ */
.zz-comment-item .ci-reply-to {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: rgba(245,158,11,0.05);
    border-left: 3px solid rgba(245,158,11,0.4);
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .15s;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255,255,255,0.5);
    user-select: none;
}
.zz-comment-item .ci-reply-to:hover {
    background: rgba(245,158,11,0.1);
    border-left-color: #f59e0b;
    transform: translateX(2px);
}
.zz-comment-item .ci-reply-icon {
    color: #f59e0b;
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1;
    font-weight: 700;
}
.zz-comment-item .ci-reply-label {
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}
.zz-comment-item .ci-reply-author {
    color: #f59e0b;
    font-weight: 600;
    flex-shrink: 0;
}
.zz-comment-item .ci-reply-quote {
    color: rgba(255,255,255,0.4);
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    margin-top: 2px;
    padding-left: 20px;
    border-left: 2px solid rgba(245,158,11,0.15);
    padding-top: 2px;
    padding-bottom: 2px;
}

/* Цитата в форме ответа */
.zz-reply-form .zz-reply-quote-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: rgba(245,158,11,0.06);
    border-left: 3px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    line-height: 1.4;
}
.zz-reply-form .zz-reply-quote-author {
    color: #f59e0b;
    font-weight: 700;
}
.zz-reply-form .zz-reply-quote-text {
    color: rgba(255,255,255,0.55);
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   ПОДСВЕТКА ПРИ ПЕРЕХОДЕ К КОММЕНТАРИЮ
   ============================================================ */
.zz-comment-item.ci-highlight {
    animation: ciHighlight 2s ease;
}
@keyframes ciHighlight {
    0% {
        background: rgba(245,158,11,0.18);
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
    }
    50% {
        background: rgba(245,158,11,0.1);
        border-color: rgba(245,158,11,0.5);
        box-shadow: 0 0 0 2px rgba(245,158,11,0.1);
    }
    100% {
        background: rgba(255,255,255,0.02);
        border-color: rgba(255,255,255,0.05);
        box-shadow: none;
    }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 600px) {
    .zz-comment-item .ci-reply-to {
        font-size: 11px;
        padding: 6px 10px;
    }
    .zz-comment-item .ci-reply-quote {
        padding-left: 14px;
        -webkit-line-clamp: 1;
    }
    .zz-reply-form .zz-reply-quote-block {
        font-size: 11px;
    }
    .zz-reply-form .zz-reply-quote-text {
        -webkit-line-clamp: 1;
    }
}




/* ============================================================
   ЛАЙКИ КОММЕНТАРИЕВ
   ============================================================ */
.zz-comment-item .ci-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.zz-comment-item .ci-likes {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.zz-comment-item .ci-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    color: rgba(255,255,255,0.45);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    user-select: none;
    line-height: 1.2;
}
.zz-comment-item .ci-like-btn i {
    font-size: 12px;
    transition: transform .2s;
}
.zz-comment-item .ci-like-btn:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    border-color: rgba(255,255,255,0.12);
}
.zz-comment-item .ci-like-btn:active {
    transform: scale(0.95);
}

/* Лайк активный */
.zz-comment-item .ci-like-btn-up:hover {
    color: #4ade80;
    border-color: rgba(74,222,128,0.3);
    background: rgba(74,222,128,0.06);
}
.zz-comment-item .ci-like-btn-up:hover i {
    transform: translateY(-2px);
}
.zz-comment-item .ci-like-btn-up.active {
    background: rgba(74,222,128,0.15);
    border-color: #4ade80;
    color: #4ade80;
    box-shadow: 0 0 0 2px rgba(74,222,128,0.1);
}
.zz-comment-item .ci-like-btn-up.active i {
    filter: drop-shadow(0 0 6px rgba(74,222,128,0.5));
}

/* Дизлайк активный */
.zz-comment-item .ci-like-btn-down:hover {
    color: #f87171;
    border-color: rgba(248,113,113,0.3);
    background: rgba(248,113,113,0.06);
}
.zz-comment-item .ci-like-btn-down:hover i {
    transform: translateY(2px);
}
.zz-comment-item .ci-like-btn-down.active {
    background: rgba(248,113,113,0.15);
    border-color: #f87171;
    color: #f87171;
    box-shadow: 0 0 0 2px rgba(248,113,113,0.1);
}
.zz-comment-item .ci-like-btn-down.active i {
    filter: drop-shadow(0 0 6px rgba(248,113,113,0.5));
}

/* ============================================================
   ПОДСВЕТКА КОММЕНТАРИЕВ ПО ЛАЙКАМ
   ============================================================ */

/* Популярный — много лайков */
.zz-comment-item.ci-popular {
    background: linear-gradient(135deg,
        rgba(74,222,128,0.07) 0%,
        rgba(74,222,128,0.02) 50%,
        rgba(255,255,255,0.02) 100%);
    border-color: rgba(74,222,128,0.25);
    box-shadow: inset 3px 0 0 rgba(74,222,128,0.5);
    transition: background .6s ease, border-color .6s ease;
}
.zz-comment-item.ci-popular::after {
    content: '🔥';
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 14px;
    opacity: 0.7;
    animation: ciPopFade 2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ciPopFade {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.15); opacity: 1; }
}

/* Непопулярный — много дизлайков */
.zz-comment-item.ci-unpopular {
    background: linear-gradient(135deg,
        rgba(120,20,30,0.18) 0%,
        rgba(60,15,20,0.10) 50%,
        rgba(40,15,20,0.05) 100%);
    border-color: rgba(220,53,69,0.2);
    box-shadow: inset 3px 0 0 rgba(220,53,69,0.5);
    transition: background .6s ease, border-color .6s ease;
    opacity: 0.95;
}

/* ============================================================
   position: relative для ::after — важно!
   ============================================================ */
.zz-comment-item {
    position: relative;
}






/* ============================================================
   РЕЙТИНГ СТАТЬИ — НА ВСЮ ШИРИНУ
   ============================================================ */
.zz-rating-fullwidth {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 18px 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.zz-rating-fullwidth::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0.6;
}

.zz-rating-fullwidth .zz-rating-section {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
    padding: 0;
    border: none;
}

@media (max-width: 768px) {
    .zz-rating-fullwidth {
        padding: 14px 18px;
        border-radius: 14px;
    }
    .zz-rating-fullwidth .zz-rating-section {
        gap: 12px;
    }
}

/* ============================================================
   КНОПКА «СМОТРЕТЬ ТОП» В HERO
   ============================================================ */
.hero-top-btn-wrap {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.hero-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #0a0f16 !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow:
        0 6px 20px rgba(245, 158, 11, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-top-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 32px rgba(245, 158, 11, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #0a0f16 !important;
}

.hero-top-btn:active {
    transform: translateY(-1px);
}

.hero-top-btn .fa-trophy {
    font-size: 15px;
}

.hero-top-btn .fa-arrow-down {
    font-size: 11px;
    opacity: 0.85;
    transition: transform 0.3s;
}

.hero-top-btn:hover .fa-arrow-down {
    transform: translateY(4px);
    opacity: 1;
}

@media (max-width: 600px) {
    .hero-top-btn {
        padding: 10px 22px;
        font-size: 13px;
    }
}

/* ============================================================
   ТОП — КОМПАКТНАЯ ТЁМНАЯ ТЕМА В СТИЛЕ САЙТА
   ============================================================ */
.zz-top-items {
    margin: 32px 0 16px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
}

/* ===== ШАПКА ===== */
.zz-top-items-header {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    padding: 16px 22px;
    text-align: center;
    position: relative;
    box-shadow:
        0 4px 18px rgba(245, 158, 11, 0.22),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.zz-top-items-header h2 {
    color: #0a0f16;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zz-top-items-header h2 i {
    color: #0a0f16;
    font-size: 0.9em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Сортировка */
.zz-top-items-sort {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    display: inline-flex;
    gap: 3px;
    background: rgba(10, 15, 22, 0.3);
    padding: 3px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.zz-top-sort-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: rgba(10, 15, 22, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.zz-top-sort-btn:hover {
    color: #0a0f16;
    background: rgba(255, 255, 255, 0.3);
}

.zz-top-sort-btn.active {
    background: #0a0f16;
    color: #fbbf24;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* ===== СПИСОК КАРТОЧЕК ===== */
.zz-top-items-list {
    background-image:
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 35%);
}

/* ===== КАРТОЧКА МОДЕЛИ (2 колонки) ===== */
.zz-top-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    padding: 20px 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    transition: background 0.3s;
}

.zz-top-card:last-child {
    border-bottom: none;
}

.zz-top-card:hover {
    background: rgba(245, 158, 11, 0.04);
}

/* Ранг */
.zz-top-card-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    font-weight: 900;
    font-size: 16px;
}

.zz-top-card.zz-top-rank-1 .zz-top-card-rank {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    border-color: #fcd34d;
    color: #0a0f16;
    box-shadow: 0 3px 14px rgba(245, 158, 11, 0.4);
    transform: scale(1.12);
}

.zz-top-card.zz-top-rank-2 .zz-top-card-rank {
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    border-color: #e2e8f0;
    color: #0a0f16;
}

.zz-top-card.zz-top-rank-3 .zz-top-card-rank {
    background: linear-gradient(135deg, #f59e0b 0%, #92400e 100%);
    border-color: #d97706;
    color: #fff;
}

.zz-top-card-rank-num {
    line-height: 1;
}

/* ===== ЛЕВАЯ КОЛОНКА: КАРТИНКА ===== */
.zz-top-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    min-height: 150px;
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.2),
        0 3px 14px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.zz-top-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.zz-top-card-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 1;
}

.zz-top-card:hover .zz-top-card-image img {
    transform: scale(1.05);
}

.zz-top-card-image.no-image::before {
    content: '\f1b9';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 56px;
    color: rgba(245, 158, 11, 0.2);
    z-index: 1;
}

/* ===== ЦЕНТРАЛЬНАЯ КОЛОНКА ===== */
.zz-top-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.zz-top-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.zz-top-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    order: -1;
}

.zz-top-card-score {
    font-size: 2rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.zz-top-stars {
    display: inline-flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 13px;
    vertical-align: middle;
    margin-left: 4px;
}

.zz-top-stars .far {
    color: rgba(255, 255, 255, 0.18);
}

.zz-top-card-percent {
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Название */
.zz-top-card-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 200;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    word-wrap: break-word;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Заголовок характеристик */
.zz-top-card-chars-title {
    font-size: 11px;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 4px 0 0 0;
    padding-top: 10px;
    border-top: 2px solid rgba(245, 158, 11, 0.3);
    display: inline-block;
    padding-right: 40px;
}

.zz-top-card-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Характеристики */
.zz-top-char {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.zz-top-char::before {
    content: '+';
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #052e16;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    margin-top: 1px;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

.zz-top-char.zz-char-minus::before {
    content: '−';
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(248, 113, 113, 0.3);
}

/* Отзывы */
.zz-top-card-reviews {
    background: rgba(245, 158, 11, 0.06);
    border-left: 3px solid rgba(245, 158, 11, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    display: flex;
    gap: 8px;
    font-weight: 200;
}

.zz-top-card-reviews i {
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Артикулы */
.zz-top-card-articles {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    display: flex;
    gap: 8px;
    font-weight: 200;
}

.zz-top-card-articles i {
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== ФУТЕР-СТРОКА: КУПИТЬ + ГОЛОСОВАНИЕ ===== */
.zz-top-card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
}

/* ===== КНОПКА КУПИТЬ ===== */
.zz-top-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #0a0f16 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    box-shadow:
        0 3px 12px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    flex: 0 0 auto;
    white-space: nowrap;
}

.zz-top-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 18px rgba(245, 158, 11, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
    color: #0a0f16 !important;
}

.zz-top-buy-btn:active {
    transform: translateY(-1px);
}

.zz-top-buy-btn .zz-buy-arrow {
    font-size: 10px;
    opacity: 0.85;
    transition: transform 0.3s;
}

.zz-top-buy-btn:hover .zz-buy-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* ============================================================
   ГОЛОСОВАНИЕ: ЛАЙК + ДИЗЛАЙК (компактные, с вмещающимися числами)
   ============================================================ */
.zz-top-card-votes {
    display: inline-flex;
    gap: 5px;
    flex: 0 0 auto;
}

.zz-top-vote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    white-space: nowrap;
    flex: 0 0 auto;
    min-width: 0;
    line-height: 1;
}

.zz-top-vote-btn i {
    font-size: 11px;
    transition: transform 0.25s;
    flex-shrink: 0;
}

/* Скрываем текстовые лейблы в узких кнопках — они избыточны */
.zz-top-vote-btn .zz-top-vote-label {
    display: none;
}

/* ---------- ЛАЙК ---------- */
.zz-top-vote-btn.zz-vote-up:hover {
    border-color: rgba(74, 222, 128, 0.5);
    color: #86efac;
    background: rgba(74, 222, 128, 0.06);
}

.zz-top-vote-btn.zz-vote-up:hover i {
    transform: translateY(-1px);
}

.zz-top-vote-btn.zz-vote-up.active {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.55);
    color: #86efac;
}

/* ---------- ДИЗЛАЙК ---------- */
.zz-top-vote-btn.zz-vote-down:hover {
    border-color: rgba(248, 113, 113, 0.5);
    color: #fca5a5;
    background: rgba(248, 113, 113, 0.06);
}

.zz-top-vote-btn.zz-vote-down:hover i {
    transform: translateY(1px);
}

.zz-top-vote-btn.zz-vote-down.active {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.55);
    color: #fca5a5;
}

/* Счётчик — компактный, вписывается в кнопку */
.zz-top-card-votes .zz-top-vote-count {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 11px;
    min-width: 12px;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 992px) {
    .zz-top-card {
        grid-template-columns: 150px 1fr;
        gap: 16px;
        padding: 18px 16px;
    }
    .zz-top-card-image {
        min-height: 130px;
        padding: 10px;
    }
    .zz-top-card-image img {
        max-height: 130px;
    }
    .zz-top-items-header {
        padding: 14px 18px;
    }
    .zz-top-items-sort {
        position: static;
        transform: none;
        margin-top: 10px;
        justify-content: center;
        display: flex;
        background: rgba(10, 15, 22, 0.35);
        border-color: rgba(255, 255, 255, 0.2);
    }
    .zz-top-items-header h2 {
        font-size: 1.05rem;
    }
    .zz-top-card-score {
        font-size: 1.7rem;
    }
}

@media (max-width: 600px) {
    .zz-top-items {
        border-radius: 14px;
        margin: 24px 0 12px;
    }
    .zz-top-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 14px;
    }
    .zz-top-card-image {
        min-height: 120px;
        max-width: 180px;
        margin: 0 auto;
    }
    .zz-top-card-image img {
        max-height: 120px;
    }
    .zz-top-card-rank {
        width: 32px;
        height: 32px;
        font-size: 13px;
        top: 8px;
        left: 8px;
    }
    .zz-top-card-title {
        font-size: 0.95rem;
    }
    .zz-top-card-score {
        font-size: 1.6rem;
    }
    .zz-top-card-desc {
        font-size: 13px;
    }
    .zz-top-buy-btn {
        width: 100%;
        justify-content: center;
    }
    .zz-top-items-sort {
        flex-direction: column;
        align-items: stretch;
    }
    .zz-top-sort-btn {
        justify-content: center;
    }
    .zz-top-card-footer-row {
        flex-direction: column;
        align-items: stretch;
    }
    .zz-top-card-votes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        width: 100%;
    }
    .zz-top-vote-btn {
        justify-content: center;
        padding: 8px 10px;
        font-size: 12px;
    }
}