#ar-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #00d1ef;
    color: white;
    border-radius: 10px;
    border: 2px solid white;
    cursor: pointer;
    transition: background-color 0.3s;
}

#ar-button:hover {
    background-color: #008c9f;
}

#ar-button:active {
    background-color: #006f80;
}

/* Inicio Estilos para mostrar QR de AR */

.qr-code__close-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #00d1ef;
    color: white;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.qr-code-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.qr-code {
    position: absolute;
    box-sizing: border-box;
    width: 248px;
    max-width: calc(100vw - 20px);
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 20px 0 #00000040;
    padding: 32px;
    font-family: 'Inter', sans-serif;
}

.qr-code__title,
.qr-code__subtitle {
    text-align: center;
    color: #252525;
}

.qr-code__title {
    font-weight: bold;
    font-size: 18px;
}

.qr-code__subtitle {
    font-size: 11px;
}

.qr-code__image-aspect-box {
    position: relative;
    padding-top: 100%;
}

.qr-code__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ar.active {
    position: relative;
    z-index: 0;
    float:right;
}

/* Ocultar el ícono en dispositivos móviles */
@media (max-width: 768px) {
    .ar.active {
        display: none; /* Oculta el ícono en pantallas pequeñas */
    }
}

/* Fin Estilos para mostrar QR de AR */

/* Estilo para la imagen escalable en la esquina inferior derecha */
    #floating-image {
      position: fixed; /* La imagen se mantiene fija */
      bottom: 20px; /* Distancia desde el fondo */
      right: 20px; /* Distancia desde la derecha */
      width: 200px; /* Tamaño inicial de la imagen en PC */
      height: auto; /* Mantiene la proporción de la imagen */
      transition: width 0.3s, height 0.3s; /* Transición suave cuando se cambia el tamaño */
    }

    /* Escalado de la imagen cuando pasa el mouse sobre ella */
    #floating-image:hover {
      width: 250px; /* Aumenta el tamaño al pasar el mouse */
      height: auto; /* Mantiene la proporción */
    }

    /* Estilo para pantallas pequeñas (móviles) */
    @media (max-width: 768px) {
      #floating-image {
        width: 100px; /* Tamaño más pequeño en móviles */
      }

      #floating-image:hover {
        width: 110px; /* Tamaño de la imagen al pasar el mouse (en móviles) */
      }
    }