/* "Ver en mi pared" (2026-10-24): botón debajo de "Vista 3D | A escala" (solo en
   celulares) + modal con el canvas en 3D y el botón de realidad aumentada.
   El modal lo arma js/megaphoto/ver-en-pared.js. */

/* ---- botón (mismo negro y recto que el botón doble; el ancho lo copia canvas.js) ---- */
.ver-pared-wrap {
    margin-top: 8px;
    text-align: center;
}

.ver-pared-wrap a.mp-btn--black {
    display: inline-block;
    min-width: 0;
    margin: 0;
    padding: 12px 15px;
    box-sizing: border-box;
    background: #252525;
    border: solid 1px #252525;
    border-radius: 3px;
    color: #fff;
    font-weight: 400;
}

.ver-pared-wrap a.mp-btn--black:hover {
    background: #000;
    color: #fff;
}

/* ---- modal ---- */
.vp-fondo {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.vp-fondo.abierto {
    display: flex;
}

.vp-caja {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 100%;
    overflow: auto;
    background: #fff;
    border-radius: 0;
    padding: 18px 18px 14px;
    box-sizing: border-box;
    text-align: left;
}

.vp-caja h3 {
    margin: 0 44px 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.vp-escena {
    position: relative;
}

.vp-visor {
    display: block;
    width: 100%;
    height: 58vh;
    background: #efefee;
}

.vp-estado {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
    pointer-events: none;
}

.vp-boton-ar {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 12px 18px;
    border: solid 1px #252525;
    border-radius: 3px;
    background: #252525;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    cursor: pointer;
}

.vp-pie {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #555;
    text-align: center;
}

/* enmarcados (2026-10-24): el botón va en una columna junto con "Vista Espacial | A escala"
   y se estira al ancho del botón doble solo con CSS. La fila de acciones mide 80px fijos
   (inline en el html): con el botón visible crece */
.vistas-columna {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    vertical-align: top;
}

.vistas-columna .ver-pared-wrap a.mp-btn--black {
    display: block;
    width: 100%;
    position: static;
    white-space: nowrap;
}

.acciones-preview.con-pared {
    height: auto !important;
    min-height: 80px;
}
/* computadora (2026-10-25): el 3D más bajo y debajo el QR para abrirlo en el celular */
.vp-caja.vp-con-qr .vp-visor {
    height: 44vh;
}

.vp-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
}

.vp-qr:empty {
    display: none;
}

.vp-qr-img {
    width: 170px;
    height: 170px;
    flex: none;
    image-rendering: pixelated;
}

.vp-qr-texto {
    max-width: 330px;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    text-align: left;
}

.vp-qr-texto a {
    font-size: 13px;
    color: #555;
    text-decoration: underline;
    cursor: pointer;
}