/*
Theme Name: AsmonTheme
Theme URI: https://asmon.fr
Author: AsmonStudio
Author URI: https://asmon.fr
Description: Thème officiel des Terres d'Asmon : accueil immersif, univers, ressources, boutique WooCommerce et dons.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asmon-theme
Update URI: false
*/

.d-flex{
    display:flex;
}

.justify-content-center{
    justify-content: center;
}

.text-center{
    text-align: center;
}

.mt-1{
    margin-top:0.25em;
}

.mt-2{
    margin-top:0.5em;
}

.mt-3{
    margin-top:0.75em;
}

.mt-4{
    margin-top:1em;
}

.mb-1{
    margin-bottom:0.25em;
}

.mb-2{
    margin-bottom:0.5em;
}

.mb-3{
    margin-bottom:0.75em;
}

.mb-4{
    margin-bottom:1em;
}

.ml-1{
    margin-left:0.25em;
}

.ml-2{
    margin-left:0.5em;
}

.ml-3{
    margin-left:0.75em;
}

.ml-4{
    margin-left:1em;
}

.mr-1{
    margin-right:0.25em;
}

.mr-2{
    margin-right:0.5em;
}

.mr-3{
    margin-right:0.75em;
}

.mr-4{
    margin-right:1em;
}

/* Bouton retour en haut, aligné sur la DA Asmon */
.ct-back-to-top {
	--top-button-background-color: rgba(18, 15, 11, 0.88);
	--top-button-background-hover-color: rgba(28, 23, 16, 0.96);
	--theme-icon-color: rgba(201, 168, 76, 0.82);
	--theme-icon-hover-color: #e8dec8;
	border: 1px solid rgba(201, 168, 76, 0.32);
	box-shadow:
		0 0 18px rgba(201, 168, 76, 0.1),
		0 4px 16px rgba(0, 0, 0, 0.35);
}

.ct-back-to-top:hover {
	border-color: rgba(201, 168, 76, 0.55);
	box-shadow:
		0 0 24px rgba(201, 168, 76, 0.18),
		0 6px 20px rgba(0, 0, 0, 0.4);
}

.ct-back-to-top .ct-icon {
	fill: var(--theme-icon-color, rgba(201, 168, 76, 0.82));
}

/* Au-dessus de la barre basse d’Asmon-Character (60px, ≤640px). */
@media (max-width: 640px) {
	body.asmon-character-front:not(:has(.asmon-shop-tab)) .ct-back-to-top {
		z-index: 10000;
		--back-top-bottom-offset: calc(60px + env(safe-area-inset-bottom, 0px) + 0.85rem);
		bottom: calc(var(--theme-frame-size, 0px) + var(--back-top-bottom-offset));
	}
}