.thumb-product {
 position: relative;
 overflow: hidden;
 max-height: 320px;
 height: 320px;
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 background: #00000065 !important; /* Цвет фона */
}

.thumb-product img {
 width: auto;
 height: 120%;
 object-fit: contain;
 display: block;
 filter: brightness(70%);
 transition: transform 0.5s ease, filter 0.5s ease;
 transform: scale(1);
}

/* При наведении уменьшаем картинку */
.thumb-product:hover img {
 transform: scale(0.38); /* Можно настроить масштаб */
 filter: brightness(100%); /* При желании немного увеличить яркость при наведении */
}
 
 
 /* Отключаем анимацию на экранах меньше или равно 1024px */
@media (max-width: 1024px) {
 .thumb-product img {
 transform: none !important;
 transition: none !important;
 cursor: default !important; /* Обычный стандартный курсор */
 }
 .thumb-product:hover img {
 transform: none !important;
 filter: brightness(70%) !important;
 cursor: default !important; /* Обычный стандартный курсор */
 }
}
 
 .thumb-product {
 cursor: zoom-in;
 transition: cursor 0.3s ease;
}

.thumb-product:hover {
 cursor: zoom-out;
}



/* Общая обертка */
.brief-section {
 display: flex;
 flex-wrap: wrap;
 gap: 10px; /* Расстояние между элементами */
 margin: 15px 0;
}

/* Существующие стили */
.brief-info {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 background: rgba(255, 200, 0, 0.1);
 border-left: 4px solid #ffc800;
 padding: 6px 10px;
 color: #ffc800;
 font-size: 14px;
 border-radius: 6px;
 transition: background 0.3s, box-shadow 0.3s;
}

.update-badge {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 10px 14px;
 background: linear-gradient(135deg, #6f00ff 0%, #bb6aff 100%);
 border: 1px solid rgba(255, 255, 255, 0.08);
 border-radius: 20px;
 box-shadow: 0 0 15px rgba(187, 106, 255, 0.4);
 color: #fff;
 font-weight: bold;
 font-size: 14px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
 cursor: help;
 transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.update-badge i {
 font-size: 18px;
 animation: spin 3s linear infinite;
}

@keyframes spin {
 0% { transform: rotate(0deg); }
 100% { transform: rotate(360deg); }
}

.update-badge:hover {
 background: linear-gradient(135deg, #7f10ff 0%, #c27aff 100%);
 box-shadow: 0 0 20px rgba(187, 106, 255, 0.6);
 transform: scale(1.07);
}



.password-modal {
 display: none;
 position: fixed;
 z-index: 11000;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.7);
 backdrop-filter: blur(6px);
 justify-content: center;
 align-items: center;
}

.password-modal-content {
 background: #1c1c1c;
 border-radius: 10px;
 padding: 30px;
 text-align: center;
 color: white;
 position: relative;
 width: 400px;
 box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
 animation: fadeIn 0.3s ease-in-out;
 border: 1px solid rgba(0, 0, 0, .2);
}

.password-modal-header {
 height: 200px;
 background: url('/images/lock.webp') center/cover no-repeat;
 margin: -30px -30px 20px;
 border-radius: 10px 10px 0 0;
 position: relative;
}

.close-password-modal {
 position: absolute;
 right: 15px;
 top: 10px;
 font-size: 24px;
 color: white;
 cursor: pointer;
}

.password-modal-body .password-logo {
 height: 50px;
 margin-bottom: 20px;
}

.password-box {
 background: #2b2b2b;
 padding: 15px;
 border-radius: 5px;
 font-size: 18px;
 font-family: monospace;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.copy-btn {
 background: #e81c5a;
 color: white;
 border: none;
 padding: 6px 10px;
 border-radius: 4px;
 cursor: pointer;
 font-size: 14px;
}

.copy-btn:hover {
 background-color: #ff4b7f;
 box-shadow: 0 0 10px rgba(232, 28, 90, 0.4);
}

.password-hint {
 background: rgba(255, 255, 255, 0.03);
 padding: 10px;
 font-size: 13px;
 color: #aaa;
 border-radius: 6px;
 margin-top: 15px;
 line-height: 1.5;
 font-style: italic;
}


@keyframes fadeIn {
 from { opacity: 0; transform: scale(0.9); }
 to { opacity: 1; transform: scale(1); }
}

 .modal-password-download {
 margin-top: 20px;
 text-align: center;
}

.modal-password-download .download-btn {
 background: linear-gradient(145deg, #e81c5a, #ff4b7f);
 color: #fff;
 padding: 12px 30px;
 border-radius: 8px;
 text-decoration: none;
 font-size: 16px;
 display: inline-block;
 box-shadow: 0 4px 15px rgba(232, 28, 90, 0.3);
 transition: all 0.3s ease;
 cursor: pointer;
}

.modal-password-download .download-btn:hover {
transform: scale(1.05);
 box-shadow: 0 4px 25px rgba(232, 28, 90, 0.6);
}


.telegram-btn {
 display: inline-block;
 background-color: #229ED9;
 color: white;
 padding: 10px 16px;
 border-radius: 6px;
 text-decoration: none;
 font-weight: bold;
 transition: 0.3s;

}
.telegram-btn:hover {
 background-color: #1a8cb9;
}
.telegram-btn i {
 margin-right: 8px;
}
.hide-btn {
 background: transparent;
 border: none;
 color: #ccc;
 font-size: 12px;
 cursor: pointer;
 margin-left: 5px;
 text-decoration: underline;
}
.hide-btn:hover {
 color: #fff;
}



.no-comments-box {
 background: #1a1a1a;
 border: 1px solid #333;
 padding: 30px;
 border-radius: 8px;
 text-align: center;
 color: #ccc;
 margin: 20px 0;
}

.no-comments-icon {
 font-size: 40px;
 margin-bottom: 15px;
 color: #e81c5a;
}

.no-comments-text {
 font-size: 16px;
 font-weight: 500;
 line-height: 1.6;
}