html.asa-ar-viewer,
body.asa-ar-viewer {
    touch-action: none !important;
    touch-action: manipulation !important;
}



/* Image du tableau */
/* Desktop */
#asa-ar-artwork {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    touch-action: none;
    cursor: grab;
}

#asa-ar-artwork:active {
    cursor: grabbing;
}

/* ⭐ Mobile (iOS + Android) — drag + pinch */
@media (max-width: 1024px) {
    #asa-ar-artwork {
        position: absolute !important;
        z-index: 9999 !important;

        /* ⭐ Nécessaire pour pinch */
        touch-action: none !important;

        /* ⭐ Nécessaire pour drag */
        pointer-events: auto !important;
    }
}

/* Caméra en plein écran */
#asa-ar-camera {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    z-index: 1;

    /* ⭐ ESSENTIEL POUR MOBILE */
    pointer-events: none !important;
}

/* ⭐ Correction Chrome (Android + iOS) */
html.chrome-browser #asa-ar-artwork {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}


/* Card AR */
.asa-ar-card {
    display: flex;
    flex-direction: column; /* ⭐ Icône au-dessus du texte */
    align-items: center;
    text-align: center;
    gap: 16px;

    background: #ffffff;
    border-radius: 14px;
    padding: 22px 24px;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.12),
        0 3px 8px rgba(0,0,0,0.08);

    margin-top: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.asa-ar-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(0,0,0,0.18),
        0 4px 10px rgba(0,0,0,0.10);
}

/* Icône */
.asa-ar-card-icon {
    font-size: 42px;
    background: #f3f3f3;
    width: 64px;
    height: 64px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenu */
.asa-ar-card-content h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.asa-ar-card-content p {
    margin: 6px 0 12px 0;
    font-size: 14px;
    color: #555;
}

/* Bouton */
.asa-ar-card-button {
    display: inline-block;
    background: #000;
    color: #fff!important;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.25s ease;
}

.asa-ar-card-button:hover {
    background: #333;
	color: #fff!important;
}

/* Mobile */
@media (max-width: 768px) {
    .asa-ar-card {
        padding: 20px;
    }

    .asa-ar-card-icon {
        font-size: 38px;
        width: 58px;
        height: 58px;
    }
}
