

/* Start:/local/components/kommutator/model3d.arbutton/templates/.default/style.css?17835873413447*/
/* Кнопка «Смотреть в AR» - в стиле остальных кнопок модуля */
.ar-model3d-arbtn {
    display: inline-block;
}

.ar-model3d-arbtn__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    background: var(--ar-control-bg, rgba(15, 23, 42, 0.72));
    color: var(--ar-control-color, #fff);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

/* Иконка ровно в размер текста (1em) и с микросдвигом вверх -
   оптическое выравнивание по центру заглавных букв. */
.ar-model3d-arbtn__button svg {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    margin-top: -0.08em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ar-model3d-arbtn__icon {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    margin-top: -0.08em;
    object-fit: contain;
    display: block;
}

.ar-model3d-arbtn__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ar-model3d-arbtn__button:active {
    transform: scale(0.97);
}

.ar-model3d-arbtn__button--rect {
    border-radius: 12px;
}

/* Затемняющий оверлей на весь экран */
.ar-model3d-arbtn__overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.ar-model3d-arbtn__overlay[hidden] {
    display: none;
}

/* Окно с QR-кодом */
.ar-model3d-arbtn__modal {
    position: relative;
    max-width: 360px;
    width: 100%;
    padding: 28px 28px 26px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
    text-align: center;
}

.ar-model3d-arbtn__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #f3f4f6;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s;
}

.ar-model3d-arbtn__close:hover {
    background: #e5e7eb;
}

.ar-model3d-arbtn__close svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.ar-model3d-arbtn__title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 24px 8px;
}

.ar-model3d-arbtn__text {
    font-size: 14px;
    line-height: 1.45;
    color: #6b7280;
    margin-bottom: 18px;
}

.ar-model3d-arbtn__qr {
    display: inline-block;
    border-radius: 8px;
}

.ar-model3d-arbtn__footer {
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
    margin-top: 14px;
}

/* Блокировка прокрутки страницы, пока открыто окно */
body.ar-model3d-arbtn--open {
    overflow: hidden;
}

/* End */
/* /local/components/kommutator/model3d.arbutton/templates/.default/style.css?17835873413447 */
