/* Awesome CSS Code: WC MyAccount | 19/10/2026 08:46 */

/* --- Code: WooCommerce MyAccount - Menu Drawer --- */
/*=========================================
// DRAWER EXTRA
//=========================================*/
#ck-myaccount-menu-drawer-wrap * {
    list-style: none !important;
}
#ck-myaccount-menu-drawer-wrap ul {
    margin: 0;
}


/*=========================================
// DRAWER
// Glissement coulissante (450ms ease)
//=========================================*/
#ck-myaccount-menu-drawer-wrap {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    color: #212121;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: none;
    transform: translate3d(-100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    will-change: transform;
    transition: transform 450ms ease, visibility 0s linear 450ms;
}

.dark #ck-myaccount-menu-drawer-wrap {
    background: #191c20;
    color: #ffffff;
}

/* ÉTAT OUVERT DU TIROIR */
#ck-myaccount-menu-drawer-wrap.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 450ms ease, visibility 0s linear 0s;
}

/*=========================================
// OVERLAY (L'ARRIÈRE-PLAN SOMBRE)
// Fondu 400ms ease fluide,
//=========================================*/
#ck-myaccount-menu-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999998;
	background: rgba(16, 25, 36, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 400ms ease, visibility 0s linear 400ms;
}

/* ÉTAT OUVERT DE L'OVERLAY */
#ck-myaccount-menu-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 400ms ease, visibility 0s linear 0s;
}


/*=========================================
// HEADER
// Partie haut figée
//=========================================*/
.ck-myaccount-menu-drawer-head {
    flex: 0 0 auto;
    padding: 20px 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
}

.dark .ck-myaccount-menu-drawer-head {
    border-bottom-color: #404555;
}

.ck-myaccount-menu-drawer-head-group {
    display: flex;
    align-items: center;
}

.ck-myaccount-menu-drawer-head-icon {
    display: flex;
    width: 25px;
    margin-right: 6px;
    position: relative;
    top: -2px;
}

.ck-myaccount-menu-drawer-head-title {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 400;
}

#ck-myaccount-menu-drawer-close {
    width: 20px;
    justify-content: center;
    display: flex;
    font-size: 20px;
    cursor: pointer;
}

/*=========================================
// CONTENU SCROLLABLE
// La zone scrollable
//=========================================*/
.ck-myaccount-menu-drawer-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 10px 5px !important;
    scrollbar-width: thin;
}

/*=========================================
// ACCESSIBILITÉ
// Respect de la préférence de réduction des animations
// Réduit les animations si demandé par l'appareil
//=========================================*/
@media (prefers-reduced-motion: reduce) {
    #ck-myaccount-menu-drawer-wrap,
    #ck-myaccount-menu-drawer-wrap.open,
    #ck-myaccount-menu-drawer-overlay,
    #ck-myaccount-menu-drawer-overlay.open {
        transition-duration: 1ms;
    }
}

/* --- Code: WooCommerce MyAccount - Auto Hide Success Notice --- */
/*=================================================================================
// WOOCOMMERCE MYACCOUNT AUTO-HIDE SUCCESS NOTICES
// AND ADD LOADER TO SAVE BUTTON - THE CSS CODE
// Ce code améliore l'expérience utilisateur (UX) sur la page Mon Compte 
// de WooCommerce lors de la modification du profil ou des adresses. Il ajoute :
// 1. Spinner & blocage anti-double clic sur le bouton de sauvegarde
// 2. Disparition automatique des messages de succès (Auto-Hide)
// 3. Défilement automatique vers les notifications (Scroll Auto)
//================================================================================*/
.woocommerce-message { 
	transition: opacity 0.8s ease-in-out; 
}

.ck-myaccount-button-save-spinner {
	display: inline-block;
	width: 12px;
	height: 12px;
	border: 2px solid rgba(255,255,255,.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: ck-myaccount-button-save-spin 1s ease-in-out infinite;
	margin-right: 8px;
	vertical-align: middle;
}
@keyframes ck-myaccount-button-save-spin { to { transform: rotate(360deg); } }

/* --- Code: WooCommerce MyAccount Dashboard Card [PC#146] --- */
/*==========================================
// MYACCOUNT DASHBOARD CARDS
//=========================================*/
/* Cards Container */
.ck-myaccount-dashboard-card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: -10px;
}

/* Style de la carte individuelle */
.ck-myaccount-dashboard-card {
    border-radius: 5px;
    padding: 25px;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border: 1px solid #c4c4c5;
}
.dark .ck-myaccount-dashboard-card {
    border: 1px solid #404555;
}

.ck-myaccount-dashboard-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #007cba; /* Ou votre couleur de marque */
}

.ck-myaccount-dashboard-card-icon-container {
    font-size: 2rem;
}

.ck-myaccount-dashboard-card-content h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.ck-myaccount-dashboard-card-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}
/*** THE CARD ICONS***/
.ck-myaccount-dashboard-card-icon {
    border-radius: 18px;
    padding: 10px;
}

.ck-myaccount-dashboard-card-order-icon {
    color: #0e55db;
    background: #b9ceff;
}

.ck-myaccount-dashboard-card-download-icon {
    color: #bd0edb;
    background: #f9d3ff;
}

.ck-myaccount-dashboard-card-edit-account-icon {
    color: #11b300;
    background: #e9ffe3;
}

/* --- Code: WooCommerce MyAccount - Display Author Avavtar [PC#36] --- */
/*===============================================
// AUTHOR PROFILE AVATAR
// Afficher l'image du profile et quelques infos sur l'auteur
//==============================================*/
.ck-myaccount-user-profile-wrapper {
    display: flex;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 20px;
}
.ck-myaccount-user-profile-avatar-container {
    width: 70px;
    /*margin-left: 10px;*/
    margin-right: 10px;
}
.ck-myaccount-user-profile-avatar-container .ck-myaccount-user-profile-avatar {
    border-radius: 5px !important;
}
.ck-myaccount-user-profile-display-name-container {
    line-height: 1;
    white-space: nowrap;
    font-weight: 500;
    font-size: 13px;
}
.ck-myaccount-user-profile-email-container {
    font-size: 12px;
    white-space: nowrap;
	color: #6b7280;
}
.ck-myaccount-user-profile-member-since-container {
    font-size: 12px;
    line-height: 1;
	color: #6b7280;
}
.ck-myaccount-user-profile-logout-url {
    background: #b90101;
    color: #ffffff;
    font-size: 12px;
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 1px;
    padding-bottom: 2px;
}

/* --- Code: WooCommerce MyAccount - Empty Item Boxes [PC#143] --- */
.ck-myaccount-empty-box-container {
    text-align: center;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    margin: 20px 0;
    border: 1px solid #e8ecf4;
    border-radius: 15px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
}
.dark .ck-myaccount-empty-box-container {
    background: #2A2C33;
}
 
.ck-myaccount-empty-box-icon {
    color: #d1d5db;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.ck-myaccount-empty-box-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.1;
}

.ck-myaccount-empty-box-container p {
    color: #6b7280 !important;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.1;
}
.dark .ck-myaccount-empty-box-container p {
    color: #9fa9b5 !important;
}

.ck-myaccount-empty-box-button {
    color: #fff !important;
    padding: 15px 35px !important;
    border-radius: 50px !important;
    font-weight: 500 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    text-decoration: none;
    display: inline-block;
}

.ck-myaccount-empty-box-button {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* --- Code: WooCommerce MyAccount - Menu Drawer Trigger --- */
/*======================================
// MYACCOUNT MOBILE MENU DRAWER TRIGGER CSS
// Style du declencheur du Drawer MyAccount
//=====================================*/
.ck-myaccount-menu-drawer-trigger-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ck-myaccount-menu-drawer-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 3px 10px;
    background-color: transparent;
    color: currentColor;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e8ecf4;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ck-myaccount-menu-drawer-trigger .ck-myaccount-menu-drawer-trigger-icon {
    display: block;
    flex-shrink: 0;
}

.ck-myaccount-menu-drawer-trigger:hover {
    opacity: 0.8;
}

/* Suppression du halo de focus natif */
.ck-myaccount-menu-drawer-trigger:focus,
.ck-myaccount-menu-drawer-trigger:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.ck-myaccount-current-endpoint-title-container {
    display: flex;
    align-items: center;
    
    padding: 3px 10px;
    border: 1px solid #e8ecf4;
    border-radius: 6px;
}

.ck-myaccount-current-endpoint-title {
    font-size: 14px;
    font-weight: 600;
}

/* Hide On Desktop */
@media (min-width:768px) {
.ck-myaccount-menu-drawer-trigger-wrapper {
    display: none !important;
}}

/* --- Code: WooCommerce MyAccount - Menu & Content Wrapper [C] --- */
/*=====================================
// I. STRUCTURE GENERAL
//====================================*/
.woocommerce-account .site-content {
	margin-top: 0px !important;
}
@media (max-width: 767px) {
    .woocommerce-account .site-content {
        margin-top: 0px !important;
    }
}

/*=====================================
// II. STRUCTURE GLOBALE MYACCOUNT
// Structure du template my-account.php overridé
//====================================*/
/*------------------------------
// 1. Le Wrapper Global
// Contient la Sidebar et le Contenu Principal.
//-----------------------------*/
@media (min-width:768px) {
.ck-woocommerce-myaccount-wrapper {
    display: flex;
	align-items: flex-start;
    gap: 40px;
	width: 100%;
} 

/*------------------------------
// 2. Sidebar Container
// MyAccount Navigation Menu.
//-----------------------------*/
.ck-woocommerce-myaccount-navigation-wrapper {
    flex: 0 0 300px; 
	width: 100%;
    max-width: 300px;
    position: sticky; 
	padding-top: 30px;
	margin-bottom: 20px;
	border-right: 1px solid #e8ecf4;
	height: -webkit-fill-available;
}
.ck-woocommerce-myaccount-navigation-wrapper .woocommerce-MyAccount-navigation {
	border-top: 1px solid #e8ecf4;
	padding-top: 20px;
}
} /* End @media (min-width:768px) */

.ck-woocommerce-myaccount-navigation-wrapper {
	padding-top: 15px;
}


/*------------------------------
// 3. Neutralisation du menu natif de WooCommerce
// Comme il est dans notre aside, on annule les 
// styles par défaut du thème/plugin.
//-----------------------------*/
.ck-woocommerce-myaccount-wrapper .woocommerce-MyAccount-navigation,
.ck-woocommerce-myaccount-wrapper .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}
.ck-woocommerce-myaccount-wrapper .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


/*=====================================
// III. STRUCTURE DEKTOP FULL WIDTH
// // Structure Desktop du template my-account.php overridé
//====================================*/
@media (min-width: 768px) {
    .woocommerce-account .site-content .col-full {
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        box-sizing: content-box;
    }
	.ck-woocommerce-myaccount-content-wrapper {
		margin: 0 auto;
		width: 100% !important;
		max-width: 1200px !important;
		margin-top: 30px;
		padding-right: 35px;
	}
}

/* --- Code: WooCommerce MyAccount - Content Header Custom Title [PC#124] --- */
/*==============================================
// MYACCOUNT CONTENT HEADER TITLE
// Ajoute un titre personnalisé à chaque page de MyAcccount
//=============================================*/
.myaccount-content-header-title {
	margin-right: 10px;
	/*width: 22px;
	height: 22px;*/
	position: relative;
	top: -1.5px;
}

/* MarketKing - Menu "Demande de remboursement" */
/* On ne cible que le h2 qui est le TOUT PREMIER enfant du contenu MyAccount */
/* ET seulement si on est sur la page de remboursement */
body[class*="refund"] .woocommerce-MyAccount-content > h2:first-of-type:not(.ck-account-section-title) {
    display: none;
}
		
/* MarketKing Menu "Message" Title */
#marketking_myaccount_messages_title,
/* Event Ticket Core - Menu "Mes Billets" Title */
.myaccount-tickets-title {
    display: none !important;
}

/* --- Code: WooCommerce MyAccount > Dashboard Page --- */
/**************** MENU GENERAL ****************/ 
/*=====================================
// MASQUER SUR LA PAGE, AFFICHER SUR LE DRAWER
//====================================*/
@media (max-width: 767px) {
	/* Masquer User Profil Avatar sur la page Parce que deja disponible sur MyAccount Menu Drawer */
	.ck-woocommerce-myaccount-wrapper .ck-myaccount-user-profile-wrapper {
		display: none !important;
	}
	
	/* Masquer Navigation sur la page (deja sur le Drawer MyAccount) */
	/* (No !important here) */
	.ck-woocommerce-myaccount-wrapper .woocommerce-MyAccount-navigation {
		display: none; 
	}
	
	/* Forcer l'affichage de Navigation sur le Drawer */
	.ck-myaccount-mobile-menu-drawer-content .woocommerce-MyAccount-navigation {
		display: block !important;
	}
}


/* Hide MyAccount Page Header Title */
.storefront-full-width-content.woocommerce-account .entry-header {
    display: none !important;
}

.woocommerce-MyAccount-content p:empty {
    display: none !important;
}
/************** END MENU GENERAL **************/


/**************** STYLED MENU ****************/
/* MyAccount All Menus Container */
.woocommerce-MyAccount-navigation {
    padding-right: 15px;
}

/* MyAccount All Menus Container - UL */
.woocommerce-MyAccount-navigation ul {
    border: 0px !important;
}

/* MyAccount All Menus Container - Native Icon */
.woocommerce-MyAccount-navigation ul li a::before {
    display: none;
}

/* MyAccount Each Menu Container */
.woocommerce-MyAccount-navigation-link {
    border: 0px !important;
}

/* MyAccount Each Menu */
.woocommerce-MyAccount-navigation-link a {
	color: #283759 !important;
	border-left: 5px solid #ffffff00;
	padding-left: 10px;
	padding-right: 20px;
	font-size: 15px;
}

/* MyAccount Each Menu in Mobile */
@media (max-width: 767px) {
	.woocommerce-MyAccount-navigation-link a {
		padding-left: 3px;
		padding-right: 5px;
		padding-top: 10px;
		padding-bottom: 10px;
		font-size: 13px !important;
	}
}

/* MyAccount Each Menu - Menu Active */
.woocommerce-MyAccount-navigation-link.is-active a {
	color: #0060ff !important;
	border-color: #0060ff;
	background: aliceblue;
	border-radius: 0 24px 24px 0;
}

/* MyAccount Each Menu - Menu Hover */
.woocommerce-MyAccount-navigation-link a:hover {
	color: #5B4DFF !important;
	/*border-color: #0060ff;*/
}

.ck-myaccount-menu-drawer-content .woocommerce-MyAccount-navigation {
    padding-right: 15px;
    margin-left: -10px !important;
	font-weight: 500;
}
/**************** END STYLED MENU ****************/

/* --- Code: WooCommerce MyAccount > Edit Account --- */
form.woocommerce-EditAccountForm.edit-account {
    border: 1px solid #e8ecf4;
    border-radius: 15px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
    padding: 18px 16px;
}
.dark form.woocommerce-EditAccountForm.edit-account {
    border: 0px solid #e8ecf4;
}


/***** Edit PassWord Zone *****/
/* Text "Changement de Mot de passe" */
.woocommerce-EditAccountForm fieldset legend {
    background: transparent;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 0px !important;
    text-transform: uppercase;
}
/* Edit PassWord Foem Wrapper */
.woocommerce-EditAccountForm fieldset {
    background: transparent !important;
    border: 1px solid #9d6767;
    border-radius: 10px;
}
.dark .woocommerce-EditAccountForm fieldset {
    border: 1px solid #9d6767;
}
/***** Edit PassWord Zone *****/
