

/* Start:/local/components/kommutator/model3d.gallery/templates/.default/style.css?17835873411795*/
/* Стили, специфичные для галереи.
   Базовые стили вьювера - в assets/viewer.css установленного модуля */

.ar-model3d-gallery {
    max-width: 100%;
    margin: 0 auto;
}

.ar-model3d-gallery__stage {
    position: relative;
    margin: 0 auto;
}

/* Лента превью */
.ar-model3d-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ar-model3d-gallery__thumb {
    position: relative;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #f3f4f6;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, transform 0.1s;
}

.ar-model3d-gallery__thumb:hover {
    transform: translateY(-2px);
}

.ar-model3d-gallery__thumb.is-active {
    border-color: #2f6fed;
}

.ar-model3d-gallery__thumb:focus-visible {
    outline: 2px solid #2f6fed;
    outline-offset: 2px;
}

.ar-model3d-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ar-model3d-gallery__thumb-label {
    padding: 4px;
    font-size: 12px;
    line-height: 1.2;
    color: #374151;
    text-align: center;
    word-break: break-word;
}

/* Заглушка превью: кубик, пока нет постера/снимка модели */
.ar-model3d-gallery__thumb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ar-model3d-gallery__thumb-icon svg {
    width: 55%;
    height: 55%;
    fill: none;
    stroke: #9ca3af;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* End */
/* /local/components/kommutator/model3d.gallery/templates/.default/style.css?17835873411795 */
