* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Arial, sans-serif; background: #2c2b2b; color: #333; }
.container { width: 95%; max-width: 1200px; margin: 0 auto; }

/* Шапка */
header { background: #2c3e50; color: #fff; padding: 20px 0; text-align: center; }
header h1 { font-size: 2em; }
/* Контейнер переключателя */
.pagesBlockuz1,
.pagesBlockuz2 {
 text-align: center;
 padding: 15px 0;
 margin: 20px 0;
}

/* Ссылки страниц */
.pagesBlockuz1 a,
.pagesBlockuz2 a {
 display: inline-block;
 padding: 8px 14px;
 margin: 0 5px;
 background: #eee;
 color: #333;
 text-decoration: none;
 border-radius: 4px;
 font-size: 14px;
 transition: background 0.2s, color 0.2s;
}

/* Текущая страница */
.pagesBlockuz1 b,
.pagesBlockuz2 b {
 display: inline-block;
 padding: 8px 14px;
 margin: 0 5px;
 background: #00ffbb;;
 color: #fff;
 border-radius: 4px;
 font-weight: bold;
}

/* Ховер эффекты */
.pagesBlockuz1 a:hover,
.pagesBlockuz2 a:hover {
 background: #00ffbb;;
 color: #fff;
}

/* Точки при большом количестве страниц */
.swchItemDots {
 padding: 8px 10px;
 color: #666;
 font-size: 14px;
}

/* Меню */
nav { background: #34495e; }
nav ul { display: flex; flex-wrap: wrap; list-style: none; justify-content: center; align-items: center; }
nav ul li { margin: 0 15px; }
nav ul li a { display: block; padding: 10px 5px; color: #fff; text-decoration: none; font-weight: bold; }
nav ul li a:hover { border-color: #00ffbb;background: #1abc9c; border-radius: 50px; }

/* Поиск */
nav form { margin-left: 20px; }
nav input[type="text"] { padding: 7px; border-radius: 5px; border: none; }
nav button { padding: 7px 10px; border:none; background: #1abc9c; color:#fff; border-radius:5px; cursor:pointer; }
nav button:hover { background:#16a085; }

/* Контент */
main { padding: 20px 0; }
.allEntries { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.allEntries div { background:#2c3e50;; border-radius:10px; padding:10px; box-shadow:0 0 10px rgba(0,0,0,0.1); text-align:center; transition: transform 0.3s; }
.shun div:hover { border-style: dotted dashed solid double;border-color: #00ffbb;background:#1abc9c;transform: scale(1.05); }
.allEntries img { width:100%; border-radius:10px; }
.allEntries h3 { margin:10px 0; font-size:1.1em; color:#fff;}
#allEntries {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 20px;
}

/* Футер */
footer { background: #2c3e50; color: #fff; text-align: center; padding: 15px 0; margin-top: 20px; }

/* Адаптивность */
@media(max-width:768px){ 
 nav ul { flex-direction: column; }
 nav form { margin:10px 0; }
}
.item-slider-box {
 max-width: 900px;
 margin: 0 auto;
 padding: 15px;
}

/* Название */
.item-title {
 text-align: center;
 font-size: 26px;
 margin-bottom: 15px;
 color: #222;
}

/* Слайдер */
.slider {
 position: relative;
 overflow: hidden;
 border-radius: 12px;
 background: #f2f2f2;
}

.slides {
 display: flex;
 transition: transform 0.4s ease;
}

.slides img {
 width: 100%;
 height: 420px;
 object-fit: contain;
 flex-shrink: 0;
 background: #fff;
}

/* Кнопки переключения */
.nav {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(0,0,0,0.6);
 color: #fff;
 border: none;
 font-size: 30px;
 padding: 6px 14px;
 cursor: pointer;
 border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Кнопка скачать */
.download-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 margin: 20px auto 0;
 padding: 14px 28px;
 background: #007acc;
 color: #fff;
 text-decoration: none;
 font-size: 18px;
 border-radius: 8px;
 transition: background 0.25s, transform 0.15s;
Z-INDEX:1000;
POSITION: relative;
}

.download-btn .icon {
 margin-right: 8px;
 font-size: 20px;
}

.download-btn:hover {
 background: #005fa3;
 transform: translateY(-2px);
}

/* Адаптив */
@media (max-width: 600px) {
 .slides img {
 height: 260px;
 }
}


 .stl-controls {
 position: absolute;
 bottom: 15px;
 left: 50%;
 transform: translateX(-50%);
 display: flex;
 gap: 5px;
 background: rgba(0, 0, 0, 0.5);
 padding: 8px;
 border-radius: 8px;
 backdrop-filter: blur(5px);
 z-index: 100;
 }
 .stl-btn {
 padding: 5px 10px;
 cursor: pointer;
 border: none;
 background: #444;
 color: white;
 border-radius: 4px;
 font-size: 12px;
 font-weight: bold;
 }
 .stl-btn:hover { background: #00ffbb; }
 .stl-btn.reset { background: #882222; }

#loader-overlay {
 position: fixed;
 top: 0; left: 0; width: 100%; height: 100%;
 background: rgba(26, 26, 26, 0.9);
 display: flex; flex-direction: column;
 justify-content: center; align-items: center;
 z-index: 100;
 transition: opacity 0.5s;
 }
 #progress-container {
 width: 300px; height: 10px;
 background: #333; border-radius: 5px; overflow: hidden;
 margin-top: 15px; border: 1px solid #444;
 }
 #progress-bar {
 width: 0%; height: 100%;
 background: #00ccff; box-shadow: 0 0 15px #00ccff;
 transition: width 0.2s;
 }
 #loader-text {
 font-family: sans-serif; color: #00ccff;
 font-size: 14px; letter-spacing: 1px;
 }
 .hidden { opacity: 0; pointer-events: none; }
