/* Awesome CSS Code: Single Product | 14/08/2026 18:35 */

/* --- Code: Bundle Product - Bundle Parent Widget (Serie 65) --- */
.ck-bundle-parent-widget {
    background: #f5f5f5 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 5px !important;
    padding-bottom: 10px !important;
    border-radius: 3px !important;
    margin-bottom: 20px !important;
}
.dark .ck-bundle-parent-widget {
    background: #191c20 !important;
}

.ck-bundle-parent-widget-title {
    border-bottom: 1px dotted #dbdfea !important;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.dark .ck-bundle-parent-widget-title {
    border-bottom: 1px dotted #404555 !important;
}

.ck-bundle-parent-widget-item {
    display: flex;
    gap: 8px;
}

.ck-bundle-parent-widget_item-thumb {
    width: 55px;
}

.ck-bundle-parent-widget_item-thumb img {
    border-radius: 3px !important;
}

.ck-bundle-parent-widget-info {
    display: flex !important;
    align-items: center !important;
    width: 100%;
}
.ck-bundle-parent-widget_item-name {
    flex-grow: 1;
    text-align: start;
}
.ck-bundle-parent-widget_item-price {
    text-align: end;
    margin-left: 15px;
}

/* --- Code: CK Product Description Popup [PCJ#41] --- */
/* Hide Popup When Page Loading & Piloté par la classe is-open */
.ck-single-product-description-popup-wrapper {
    display: none; 
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: rgba(0,0,0,0.7);
}

/* Display flex quand la classe is-open est présente */
.ck-single-product-description-popup-wrapper.is-open {
    display: flex;
}

.ck-single-product-description-popup-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 85%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
	background-color: #FFFFFF; 
    color: #212121;
}
.dark .ck-single-product-description-popup-container {
	background-color: #111418; 
    color: #FFFFFF;
}

@media (min-width: 721px) {
    .ck-single-product-description-popup-wrapper.is-open { 
        align-items: center; 
    }
    .ck-single-product-description-popup-container {
        width: 530px;
        height: 80%;
        border-radius: 15px;
    }
}

.ck-single-product-description-popup-header {
    flex-shrink: 0;
    height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #DBDFEA;
}
.dark .ck-single-product-description-popup-header {
    border-bottom: 1px solid #404555;
}

.ck-single-product-description-popup-header-title {
    font-weight: 700;
    font-size: 22px;
}

.ck-single-product-description-popup-header-close-button {
    background: transparent;
    border: none;
    /*color: var(--ck-text-color);*/
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.ck-single-product-description-popup-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
}

/*===== POPUP DESCRIPTION BUTTON TRIGGER =====*/
/*.ck-single-product-description-popup-button-trigger-container {
    position: relative;
    top: -35px;
}*/

/* The Button Trigger */
.ck-single-product-description-popup-button-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    background: #6c2dff; 
    color: white !important;
	font-size: 13px;
    float: right;
    border-radius: 40px;
}

.ck-single-product-description-popup-button-trigger svg {
    position: relative;
    top: -2px;
}

/* --- Code: Make "From Same Author" With WooComerce Product Shorcode [PCJ#22] --- */
/*=====================================
// SINGLE PRODUCT - FROM SAME AUTHOR WIDGET
//====================================*/
:root {
    --mfa-gap: 20px;
    --mfa-blue: #0080ff;
    --mfa-arrow-size: 38px;
}

/*--- STRUCTURE DE LA SECTION ---*/
.more-from-author-widget-wrapper {
    margin-bottom: 0px;
    width: 100%;
    position: relative;
    clear: both;
}

/*--- HEADER (TITRE À GAUCHE, ACTIONS À DROITE) ---*/
.more-from-author-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

/* Titre avec la barre décorative violette */
.more-from-author-widget-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #212121;
}
.dark .more-from-author-widget-title {
    color: #FFFFFF;
}

.more-from-author-widget-title::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 20px;
    background-color: #ac52ff;
    margin-right: 10px;
}

/*--- CONTENEUR ACTIONS (FLÈCHES + LIEN) ---*/
.more-from-author-widget-header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Groupe des flèches */
.more-from-author-widget-slider-arrows-container {
    display: flex;
    gap: 10px;
}

/*--- STYLE DES FLÈCHES ---*/
.more-from-author-widget-slider-arrow {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    border-radius: 50%;
    width: var(--mfa-arrow-size);
    height: var(--mfa-arrow-size);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #212121;
    padding: 0 !important;
    outline: none !important;
}
.dark .more-from-author-widget-slider-arrow {
    color: #FFFFFF;
}

.more-from-author-widget-slider-arrow:hover:not(:disabled) {
    border-color: var(--mfa-blue) !important;
    color: var(--mfa-blue);
    transform: translateY(-2px);
}

.more-from-author-widget-slider-arrow:disabled {
    opacity: 0.15;
    cursor: not-allowed;
}

.more-from-author-widget-arrow-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/*--- STYLE DU LIEN READMORE ---*/
.more-from-author-widget-readmore-group {
    display: flex !important;
    align-items: center;
    gap: 5px;
}

.more-from-author-widget-readmore-link {
    font-size: 13px;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.more-from-author-widget-readmore-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/*--- GRILLE DE PRODUITS (SCROLL HORIZONTAL) ---*/
.more-from-author-widget-items-container {
    width: 100%;
    overflow: hidden;
}
	
/* Nettoyage forcé des styles de thèmes (flottements, etc) */
.more-from-author-widget-items-container .woocommerce ul.products::before,
.more-from-author-widget-items-container .woocommerce ul.products::after {
	display: none !important;
	content: none !important;
}

.more-from-author-widget-items-container .woocommerce ul.products {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(var(--mfa-rows, 1), auto) !important;
    /* Calcul dynamique basé sur les variables PHP */
    grid-auto-columns: calc( (100% - (var(--mfa-gap) * (var(--mfa-cols, 5) - 1))) / var(--mfa-cols, 5) ) !important;
    gap: var(--mfa-gap) !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 5px 0 10px 0 !important;
    list-style: none !important;
    scrollbar-width: none; /* Firefox */
}

/* Masquer scrollbar Chrome/Safari/Edge */
.more-from-author-widget-items-container .woocommerce ul.products::-webkit-scrollbar {
    display: none;
}

.more-from-author-widget-items-container .woocommerce ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

/*--- RESPONSIVE MOBILE ---*/
@media (max-width: 768px) {
    .more-from-author-widget-slider-arrows-container { 
        display: none; 
    }
    
    .more-from-author-widget-title { 
        font-size: 1.3rem; 
    }

    .more-from-author-widget-title::before {
        width: 10px;
        height: 15px;
    }

    /* Le "Full Width" mobile comme sur le Master */
    .more-from-author-widget-items-container {
        width: auto !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .more-from-author-widget-items-container .woocommerce ul.products {
        grid-auto-columns: 155px !important; 
        gap: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .more-from-author-widget-header {
        margin-left: -12px;
    }
}

/* --- Code: Make "From Same Category" With WooComerce Product Shorcode [PCJ#84] --- */
/*======================================
// SINGLE PRODUCT - FROME SAME CATEGORY WIDGET
//=====================================*/
:root {
    --fsc-gap: 20px;
    --fsc-blue: #0080ff;
    --fsc-white: #ffffff;
    --fsc-arrow-size: 38px;
}

/*--- STRUCTURE DE LA SECTION ---*/
.from-same-category-widget-wrapper {
    margin-bottom: 0px;
    width: 100%;
    position: relative;
    clear: both;
}

/*--- HEADER (TITRE À GAUCHE, ACTIONS À DROITE) ---*/
.from-same-category-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

/* Titre avec la barre décorative violette */
.from-same-category-widget-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #212121;
}
.dark .from-same-category-widget-title {
    color: #FFFFFF;
}

.from-same-category-widget-title::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 20px;
    background-color: #ac52ff;
    margin-right: 10px;
}

/*--- CONTENEUR ACTIONS (FLÈCHES + LIEN) ---*/
.from-same-category-widget-header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Groupe des flèches */
.from-same-category-widget-slider-arrows-container {
    display: flex;
    gap: 10px;
}

/*--- STYLE DES FLÈCHES ---*/
.from-same-category-widget-slider-arrow {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    width: var(--fsc-arrow-size);
    height: var(--fsc-arrow-size);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0 !important;
    outline: none !important;
	color: #212121;
}
.dark .from-same-category-widget-slider-arrow {
    color: #FFFFFF;
}

.from-same-category-widget-slider-arrow:hover:not(:disabled) {
    border-color: var(--fsc-blue) !important;
    color: var(--fsc-blue);
    transform: translateY(-2px);
}

.from-same-category-widget-slider-arrow:disabled {
    opacity: 0.15;
    cursor: not-allowed;
}

.from-same-category-widget-arrow-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

/*--- STYLE DU LIEN READMORE ---*/
.from-same-category-widget-readmore-group {
    display: flex !important;
    align-items: center;
    gap: 5px;
}

.from-same-category-widget-readmore-link {
    font-size: 13px;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.from-same-category-widget-readmore-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/*--- GRILLE DE PRODUITS (SCROLL HORIZONTAL) ---*/
.from-same-category-widget-items-container {
    width: 100%;
    overflow: hidden;
}
	
/* Nettoyage forcé des styles de thèmes (flottements, etc) */
.from-same-category-widget-items-container .woocommerce ul.products::before,
.from-same-category-widget-items-container .woocommerce ul.products::after {
	display: none !important;
	content: none !important;
}

.from-same-category-widget-items-container .woocommerce ul.products {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: repeat(var(--fsc-rows, 1), auto) !important;
    /* Calcul dynamique basé sur les variables PHP columns et rows */
    grid-auto-columns: calc( (100% - (var(--fsc-gap) * (var(--fsc-cols, 5) - 1))) / var(--fsc-cols, 5) ) !important;
    gap: var(--fsc-gap) !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 5px 0 10px 0 !important;
    list-style: none !important;
    scrollbar-width: none; /* Firefox */
}

/* Masquer scrollbar Chrome/Safari/Edge */
.from-same-category-widget-items-container .woocommerce ul.products::-webkit-scrollbar {
    display: none;
}

.from-same-category-widget-items-container .woocommerce ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

/*--- RESPONSIVE MOBILE ---*/
@media (max-width: 768px) {
    .from-same-category-widget-slider-arrows-container {
        display: none;
    }

    .from-same-category-widget-title {
        font-size: 1.3rem;
    }

    .from-same-category-widget-title::before {
        width: 10px;
        height: 15px;
    }

    /* Débordement pour effet "plein écran" mobile */
    .from-same-category-widget-items-container {
        width: auto !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .from-same-category-widget-items-container .woocommerce ul.products {
        grid-auto-columns: 155px !important;
        gap: 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .from-same-category-widget-header {
        margin-left: -12px;
    }
}

/* --- Code: Custom WooCommerce Promo Badge --- */
/* On desactive le Badge Natif via CSS egalement */
.onsale {
	display: none !important;
}

/* Own Loop Product Promo Badge */
.woocommerce ul.products li.product {
    position: relative; 
}
.woocommerce ul.products li.product .ck-custom-loop-product-promo-badge {
    position: absolute;
    top: 10px;      
    left: 10px; 
    z-index: 99;    
    background-color: #6C2DFF; 
    color: #ffffff;
    font-weight: bold;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    pointer-events: none;
}

/* Own Single Product Promo Badge */
.woocommerce div.product .woocommerce-product-gallery__image .ck-custom-single-product-promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 999; 
    background-color: #6C2DFF;
    color: #ffffff;
    font-weight: bold;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    pointer-events: none;
}

/* --- Code: Single Product -  Add Plus-Minus Buttons To Quantity Field [PCJ#105] --- */
/* Custom Container Arround The Qty Field */
.ck-quantity-field-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-radius: 3px;
    padding: 5px 10px;
    min-width: 115px;
    height: 45px;
    box-sizing: border-box;
    margin-right: 7px;
	max-width: 115px;
	border: 1px solid #212121;
}
.dark .ck-quantity-field-wrapper {
	border: 1px solid #404555;
}

/* L'input WooCommerce */
.ck-quantity-field-wrapper .quantity {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.ck-quantity-field-wrapper .quantity input.qty {
    background: transparent !important;
    border: none !important;
    font-size: 16px;
    width: 33px !important;
    height: 35px;
    text-align: center;
    margin: 0;
    padding: 0;
    box-shadow: none !important;
	color: #212121 !important;
}
.dark .ck-quantity-field-wrapper .quantity input.qty {
	color: #ffffff !important;
}

/* Groupe de boutons à droite */
.ck-qty-buttons-group {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: 5px;
}

/* Style des boutons circulaires */
.ck-qty-btn {
    width: 25px;
    height: 25px;
    border-radius: 50% !important;
    border: none !important;
    background-color: #003edd !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.ck-qty-btn:hover {
    background-color: #0036D1 !important;
}

.ck-qty-btn:active {
    transform: scale(0.9);
}
	
.ck-qty-btn:focus {
    outline: none !important;
	box-shadow: none !important;
}

/* Supprimer les flèches natives */
.ck-quantity-field-wrapper input::-webkit-outer-spin-button,
.ck-quantity-field-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Code: Single Product Audio Player [PCJ#83] --- */
/*=============================================
// I - THE PLAYER
// Le CSS du lecteur lui-meme
//============================================*/

/*----------------------------------
// CONTENEUR GLOBAL
//---------------------------------*/
#wc-audio-preview-container {
	display: flex;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 0px;
	margin-bottom: -5px;
	align-items: center;
}

/*----------------------------------
// BOUTONS (PLAY & PAUSE WRAPPER)
//---------------------------------*/
#wc-audio-preview-play,
#wc-audio-preview-pause-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-start;

	/* Espacements */
	padding: 8px 15px 8px 0;
	margin: 0 10px 0 -1px;

	/* Design & Typo */
	cursor: pointer;
	border: none;
	/*color: white;*/
	font-weight: bold;
	border-radius: 4px;

	/* Dimensions */
	width: 160px;
	height: 38px;
	box-sizing: border-box;

	/* Animation */
	transition: background-color 0.2s;
}

/* Couleurs des fonds (Transparentes) */
#wc-audio-preview-play { 
	background-color: #4CAF5000; 
}
#wc-audio-preview-pause-wrapper { 
	background-color: #f4433600; 
}

/* Hover (Survol) */
#wc-audio-preview-play:hover { 
	background-color: #45a04900; 
}
#wc-audio-preview-pause-wrapper:hover { 
	background-color: #e5393500; 
}

/*----------------------------------
// LES BOUTONS DE CONTROLE PLAY PAUSE SVG
//---------------------------------*/
svg.wc-player-controle {
	display: flex !important;
	padding: 3px;
	margin-right: 5px;
	margin-left: 1px;
	border-radius: 1px;
	background: #0060ff;
	position: relative;
	color: #ffffff;
	top: -1px;
}

/*----------------------------------
// ZONE DE TEXTE ET MINUTERIE
//---------------------------------*/
#wc-audio-preview-pause {
	all: unset;
	/*color: #ffffff;*/
	font-weight: bold;
	cursor: pointer;
	display: flex;
	align-items: center;
	height: 100%;
}

#pause-text-and-timer {
	display: flex;
	align-items: center;
}

/*----------------------------------
// WRAPPER POUR LE SHORTCODE DES BARRES (DÉCALAGE)
//---------------------------------*/
#wc-audio-sound-bars-wrapper {
	display: flex;
	margin-left: 5px;
	margin-top: -7px;
	align-items: center;
}



/*=============================================
// II - THE PLAYER BARS
// Le CSS du Sound Payer Bars
//============================================*/
.ck-audio-player-bars-container {
	position: relative;
	display: flex;
	height: 16px;
	align-items: flex-end;
}

/* La "vraie" classe créée */
.ck-audio-player-bar {
	height: 1.5px;
	width: 1.5px;
	background-color: #0070ff; /* cc7722 */
	border-radius: 4px;
	margin: 0 1px;
}
.ck-audio-player-bar:nth-child(2n) {
	background-color: #0050ff;
}

/* Animation */
.ck-player-bar-1 {animation: lineWaveAnim1 0.25s 0.75s both infinite alternate;}
.ck-player-bar-2 {animation: lineWaveAnim2 0.5s 0.5s both infinite alternate;}
.ck-player-bar-3 {animation: lineWaveAnim1 0.75s 0.25s both infinite alternate;}
.ck-player-bar-4 {animation: lineWaveAnim2 0.5s both infinite alternate;}
.ck-player-bar-5 {animation: lineWaveAnim1 0.75s 0.5s both infinite alternate;}
.ck-player-bar-6 {animation: lineWaveAnim2 0.5s 0.25s both infinite alternate;}
.ck-player-bar-7 {animation: lineWaveAnim1 0.75s 0.75s both infinite alternate;}

@keyframes lineWaveAnim1 {
	from {height: 1px;} to {height: 10px;}
}

@keyframes lineWaveAnim2 {
	from {height: 2px;} to {height: 16px;}
}

/* --- Code: Single Product Comments Popup [PCJ#39] --- */
/*======================================
// SINGLE PRODUCT COMMENTS POPUP CSS
// Le CSS du popup du formulaire de commentaire
//=====================================*/
/* Overlay / Arrière-plan sombre */
.ck-comments-popup-wrapper {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    align-items: flex-end; /* Aligne en bas sur mobile (YouTube style) */
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.8); /* Plus sombre pour le focus */
}
/* Display flex quand la classe is-open est présente */
.ck-comments-popup-wrapper.is-open {
    display: flex;
}

/* Header Figé */
.ck-comments-popup-header {
    flex-shrink: 0; /* Empêche le header de s'écraser */
    height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
	position: relative;
    border-bottom: 1px solid #DBDFEA;
}
.dark .ck-comments-popup-header {
    border-bottom: 1px solid #404555;
}

.ck-comments-popup-header-title {
    font-weight: 700;
    font-size: 17px;
}

/* Button Close */
.ck-comments-popup-header-close-button {
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

/* Le Popup lui-même */
.ck-comments-popup-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height:85%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden; /* Empêche le popup entier de scroller */
	background-color: #FFFFFF;
}
.dark .ck-comments-popup-container {
    background-color: #111418;
}

/* Adaptation Bureau (Popup centré) */
@media (min-width: 721px) {
    ..ck-comments-popup-wrapper.is-open {
        align-items: center; /* Centrage total sur PC */
    }
    .ck-comments-popup-container {
        width: 530px;
        height: 90% !important;
        border-radius: 15px; /* Arrondi partout sur PC */
    }
}

/* Zone de contenu scrollable */
.ck-comments-popup-body {
    flex-grow: 1; /* Prend tout l'espace restant */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Scroll fluide iOS */
}
/* Masquer la barre de défilement (optionnel pour look épuré) */
.ck-comments-popup-body::-webkit-scrollbar {
    width: 4px;
}
.ck-comments-popup-body::-webkit-scrollbar-thumb {
    background: #333;
}

.ck-comments-popup-body-comment-shortcode {
    padding: 20px;
}



/* FOOTER ZONE FORMULAIRE FIGÉE */
.ck-comments-popup-footer {
	flex-shrink: 0; 
	background: #fff; 
	padding: 15px; 
	border-top: 1px solid #eee;
}
.dark .ck-comments-popup-footer { 
	background: #1a1d21; 
	border-top-color: #333; 
}

/* Footer "Se connecter pour commenter" Container */
.ck-comment-popup-auth-required-container {
    display: flex;
    gap: 5px;
}

/* Footer "Se connecter pour commenter" Text */
.ck-comment-popup-auth-required-message {
    line-height: 1.2;
    margin-bottom: 5px;
}

/* Footer "Se connecter pour commenter" : le bouton */
.ck-comment-popup-auth-popup-trigger-button {
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 3px;
    font-size: 13px;
    min-width: 95px;
}

/* --- Code: Single Product Comments Teaser [PC#40] --- */
/*=====================================
// SINGLE PRODUCT COMMENT TEASER
// Un avant gout des commentaires du produit
//====================================*/
.ck-comment-container {
    padding-left: 10px !important;
	padding-right: 10px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
	margin-top: 15px !important;
	margin-bottom: 15px !important;
 /*   margin-left: 10px !important;
    margin-right: 10px !important; */
    border-radius: 5px !important;
	cursor: pointer !important;
	max-width: -webkit-fill-available !important;
	background: #f5f5f5;  
	/*color: #212121;*/
}
.dark .ck-comment-container {
	background: #2A2C33;  
	color: #ffffff;
}

.ck-comment-title {
    display: inline-flex;
    align-items: center;
    font-family: inherit;
    font-weight: 700;
	margin-bottom: 10px !important;
}
.ck-comment-title svg {
    margin-right: 5px;
}

.ck-comment-count {
    color: #838db1;
}

.ck-comment-details {
    display: flex !important;
	align-items: center !important;
}
.ck-comment-avatar {
	min-width: 30px !important;
    width: 30px !important;
    margin-right: 5px !important;
    border-radius: 3px !important;
	position: relative;
    top: -7px;
}
.ck-comment-avatar img {
    border-radius: 50px !important;
}
.ck-comment-author-name {
    position: relative !important;
    font-size: 10px !important;
    top: -2px !important;
}
.ck-comment-content {
    position: relative !important;
    font-size: 12px !important;
    top: -6px !important;
	line-height: 15px !important;
}
/* Comments Content To 2 Lines */
.ck-comment-content {	
	display: -webkit-box;
	overflow: hidden;
    text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.ck-be-the-first-to-comment {
    font-size: 14px !important;
	padding-bottom: 5px !important;
	margin-bottom: 0px !important;
}

/* --- Code: Social Share Native [PCJ#161] --- */
/*=============================
// SOCIAL SHARE NATIVE - THE CSS
//============================*/
.ck-native-social-share-wrapper {
    display: flex !important;
	align-items: center;
    gap: 5px;
    margin-top: 0;
    width: fit-content;
    float: right;
    clear: both;
    position: relative;
    top: 5px;
    left: -12px;
}
    
.ck-native-social-share-container {
    background: #e3e3e3;
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding-left: 7px;
    padding-right: 7px;
    height: 25px;
}
.dark .ck-native-social-share-container {
    background: #373a45;
}	

.ck-native-social-share-icon {
    position: relative;
    top: -1.5px;
    margin-right: 3px;
}

/* --- Code: Single Product --- */
.single-product div.product {
    overflow: inherit;
}


/********* SINGLE PRODUCT ************/	
@media (min-width: 768px) {
    .storefront-full-width-content.single-product div.product .summary {
		max-width: 580px !important;
        float: left !important;
    }
}

/* Store Name Before Single Product Title In MOBILE */
@media ( max-width:  767px ) { 
.summary .ck-marketking_vendor_store_name {
    text-align: center !important;
} }	
	
/* Single Product Title */
.product_title.entry-title {
	font-weight: 400 !important;
	margin-bottom: 2px !important;
}
/* Single Product Title In MOBILE */ 
@media ( max-width:  767px ) { 
.product_title.entry-title {
    text-align: center !important;
} } 

/* Variable Product Title */
.product-type-variable .product_title.entry-title {
    text-align: left !important;
	margin-bottom: 15px !important;
}

/* CK Simple Single Product Category */
.ck-single-product-cat,
.ck-single-product-cat a {
    color: #999999 !important;
}
/* CK Single Product Category in MOBILE */
@media ( max-width:  767px ) { 
.ck-single-product-cat {
    text-align: center !important;
} }	

/* CK Variable Product Category */
.ck-variable-single-product-cat,
.ck-variable-single-product-cat a {
    color: #999999 !important;
}

.product_meta.no-brand-image {
    display: none !important;
}

/* Help To Hide Native Single Product Category */
.product-meta-inner {
    display: none !important;
} 

/* I Hide Single Product Short Description */
/* to Show Audio Information By ACF Field */
/* Single Product Summary */
.woocommerce-product-details__short-description {
	display: none !important;
}

/* Price */
.single-product div.product p.price {
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 700;
    color: inherit !important;
}

/***** SINGLE PRODUCT AUDIO INFOMATION By ACF Field *****/
.audio-information-details-wrapper {
	margin-left: 20px !important;
}

.audio-information-field-label {
	font-size: 16px;
    font-weight: 600 !important;
	/*padding-left: 20px !important;*/
	/*color: #43454b !important;*/
}
.dark .audio-information-field-label {
	color: #ffffff !important;
}

/*.audio-information-field-value {
	color: #43454b !important;
} */
.dark .audio-information-field-value {
	color: #ffffff !important;
} 

.ck-single-product-description-label {
    color: cornflowerblue;
}
.ck-single-product-description-dropdown-icon {
	width: 16px !important;
	height: 16px;
	fill: none;
	stroke: currentColor;
	position: relative;
	top: 5px;
	/*rotate: -90deg;*/
    rotate: 180deg; 
	
}
/**** END SINGLE PRODUCT AUDIO INFOMATION By ACF Field ****/


/***** SINGLE PRODUCT FORM-CART *****/
/*******
La zone qui contient le champ quantite et 
les boutons "Add To Cart" & "Buy Now"
********/
/* Form Cart Wrapper */
.single-product div.product form.cart {
	display: flex; /*No Important Here*/
    flex-wrap: wrap !important;
	margin-bottom: 15px !important;
}

/* Quantity Input Container */
.single-product div.product form.cart .quantity {
    float: none;
}

/* Quantity Input */
input.qty:focus {
    border: none !important;
    outline: none !important;
}

/* "Add To Cart" Button */
.single_add_to_cart_button {
    width: 100% !important;
    flex: 1 !important;
    border-radius: 3px;
	background-color: #003edd !important;
    color: #ffffff;
	font-weight: 600;
}

/* WPC "Buy Now" Button */
#ck-woocommerce-buy-now-button,
button.wpcbn-btn.wpcbn-btn-single {
    margin-left: 0px !important;
    flex: 0 0 100% !important;
    margin-top: 10px !important;
    border-radius: 3px;
    width: 100%;
	height: 45px;
    background-color: #6c2dff !important;
    color: #ffffff !important;
    border: 0px !important;
	font-weight: 600;
    font-size: 14px;
}

/* add icon on AddToCart Button */
.single_add_to_cart_button::before {
    content: "";
    display: inline-block;
    position: relative;
    top: -3px;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-shopping-bag-plus'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none' /%3E%3Cpath d='M12.5 21h-3.926a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304h11.339a2 2 0 0 1 1.977 2.304l-.263 1.708' /%3E%3Cpath d='M16 19h6' /%3E%3Cpath d='M19 16v6' /%3E%3Cpath d='M9 11v-5a3 3 0 0 1 6 0v5' /%3E%3C/svg%3E");
}

/* add icon on BuyNow Button */
#ck-woocommerce-buy-now-button::before, 
button.wpcbn-btn.wpcbn-btn-single::before {
    content: "";
    display: inline-block;
    position: relative;
    top: -3px;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-shopping-bag'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none' /%3E%3Cpath d='M6.331 8h11.339a2 2 0 0 1 1.977 2.304l-1.255 8.152a3 3 0 0 1 -2.966 2.544h-6.852a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304' /%3E%3Cpath d='M9 11v-5a3 3 0 0 1 6 0v5' /%3E%3C/svg%3E");
}
/***** END SINGLE PRODUCT FORM-CART *****/


/***** SINGLE PRODUCT BUNDLE FORM-CART *****/
.cart .bundle_data {
    width: 100%;
}
.cart .bundle_data .bundle_button {
    display: flex;
}
/***** END SINGLE PRODUCT BUNDLE FORM-CART *****/

/* --- Code: Single Product Featured Image --- */
/* Supprime le zooming au survol */
img.zoomImg {
    display: none !important;
}

/* Supprime l'apparition retardée */
.woocommerce-product-gallery {
    transition: none !important;
	opacity: 1 !important;
}

/* Single Product Image Container */
.woocommerce-product-gallery__image {
	position: relative;
	display: block;
	width: fit-content;
	margin: 0 auto;
}

/* Single Product Image Container */
.woocommerce-product-gallery__image a, 
.woocommerce-product-gallery__image img {
	border-radius: 10px !important;
	width: 280px !important;
	height: 290px !important;
	object-fit: cover !important;
	pointer-events: none !important;
}

@media ( min-width:  768px ) { 
	.woocommerce-product-gallery__image {
		float: right;
		clear: both;
	}
	.woocommerce-product-gallery__image a, 
	.woocommerce-product-gallery__image img {
		width: 450px !important;
		height: 460px !important;
	}
}

/* --- Code: Single Product Comments --- */
/*====================================
// COMMENTS LIST
//====================================*/
/* Hide Comments List Title "Laisser un commentaire" */
#reviews .woocommerce-Reviews-title,
.comment-reply-title {
    display: none !important;
}
/* Hide "Aucun commentaire" Text */
.woocommerce-noreviewsXX {
	display: none;
}

/* All Comments Container */
.commentlist {
    list-style: none !important;
    margin-left: 0px !important;
}

/*===== EACH COMMENT =====*/
/* Each Comment (Comments Avatar et Comments Text) */
.commentlist li .comment_container {
    display: flex;
    align-items: flex-start;
}

/* Comments Author Avatar (La partie Gauche) */
.comment_container .avatar {
    width: 30px !important;
    float: none !important;
    margin-right: 7px !important;
}

/* Comments Text (La partie Droite) */
.comment_container .comment-text {
    background: #00000012;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    position: relative;
    top: -3px;
}

.dark .comment_container .comment-text {
    background: #ffffff12;
}

/* Comments Meta (Name & Date) */
.comment_container .meta {
    margin-bottom: 3px !important;
}

/* Comments Author Name */
.comment_container .woocommerce-review__author {
	display: block;
    font-size: 13px;
	margin-bottom: -5px;
}

/* Hide Tiret Who Separe Comments Author and Date */
.comment_container .woocommerce-review__dash {
    display: none;
}

/* Comments Published Date */
.comment_container .woocommerce-review__published-date {
    font-size: 11px !important;
	color: #838383;
}

/* Le Commentaire lui-meme */
.comment_container .description p {
    margin: 0px !important;
}



/*====================================
// COMMENTS FORM
//====================================*/
/* Comments Core Wrapper */
.woocommerce-Reviews {
    margin-bottom: 0px;
}

/* Comments Section */
#respond.comment-respond {
    padding: 0px !important;
}

/* Hide "Votre adresse e-mail ne sera pas publiée" */
#commentform .comment-notes  {
    display: none;
}

/* Hide Ratting */
#commentform .comment-form-rating {
    display: none;
}

/* Hide "Enregistrer mon nom, mon..." */
#commentform .comment-form-cookies-consent {
    display: none;
}

/* Comments Form Field Section */
#commentform {
    display: flex !important;
    align-items: flex-end !important;
    gap: 10px;
}

/* Comments Field Container */
#commentform .comment-form-comment {
	margin-bottom: 0px;
	width: 100%;
}

/* Comments Field Input */
#commentform #comment {
	height: 45px; /* No !important Here */
    min-height: 45px;
    max-height: 100px;
    padding: 10px 15px;
    border-radius: 20px;
    resize: none;
    box-sizing: border-box;
    width: 100%;
}

/* Comments Author, Email & URL Field */
#commentform .comment-form-author input, 
#commentform .comment-form-email input, 
#commentform .comment-form-url input {
    height: 40px;
    border-radius: 3px;
}

#commentform .comment-form-author, 
#commentform .comment-form-email, 
#commentform .comment-form-url {
	margin-bottom: 10px;
}

@media (min-width: 768px) {
    #commentform .comment-form-author, 
	#commentform .comment-form-email, 
	#commentform .comment-form-url {
        width: 100% !important;
        float: none;
        margin-right: 0px;
        margin-bottom: 10px;
    }
}

#commentform #submit {
    width: 45px;
    height: 45px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
	background: #0058ff !important;
    border: none !important;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

#commentform #submit svg {
	position: relative;
    left: -3px;
    rotate: 50deg;
}

/* --- Code: Single Product Own "From Same Author" --- */
/* Single Product – Own "From Same Author" Products */
.woocommerce-from-same-author-container {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.woocommerce-from-same-author-container .product-wrap {
    width: 192px !important;
}
@media (max-width:767px) {
    .woocommerce-from-same-author-container .product-wrap {
        width: 155px !important;
        margin-right: 0px !important;
    	padding-left: 0px !important;
        padding-right: 0px !important;
    }
    
    .woocommerce-from-same-author-container .slider-wrapper {
    	padding-left: 10px;
    	padding-right: 10px;
        overflow-x: scroll !important;
        gap: 10px;
    } 
}

/* --- Code: Single Product Own "From Same Category" --- */
/* Single Product – Own Related Products From Same Category */
.woocommerce-product-from-same-category-container {
    padding-left: 5px !important;
    padding-right: 5px !important;
	clear: both;
}

.woocommerce-product-from-same-category-container .product-wrap {
    width: 192px !important;
}
@media (max-width:767px) {
.woocommerce-product-from-same-category-container .product-wrap {
    width: 155px !important;
    margin-right: 0px !important;
	padding-left: 0px !important;
    padding-right: 0px !important;
}

.woocommerce-product-from-same-category-container .slider-wrapper {
	padding-left: 10px;
	padding-right: 10px;
    overflow-x: scroll !important;
    gap: 10px;
} }

/* --- Code: Single Product Loader --- */
/*==========================================
// LA CLASS .loading
// .loading est aussi la classe Native de WooCommerce
// WPC Ajax AddToCart l'utilise directement, et je
// profite pour le styler, et ça prodite à tout le site
//=========================================*/
.loading {
    position: relative !important;
    color: transparent !important; /* Cache le texte pendant le load */
    cursor: not-allowed !important;
    opacity: 0.8 !important;
}

/* Le Spinner */
.loading::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important;
    height: 20px !important;
    margin-top: -10px !important;
    margin-left: -10px !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-radius: 50% !important;
    border-top-color: var(--ck-text-color) !important;
    animation: ck_spin 0.1s linear infinite;
}

/* Animation de rotation */
@keyframes ck_spin {
    to { transform: rotate(360deg); }
}

/* --- Code: WooCommerce Loop Product --- */
/* Loop Product Image Container */
.ck-woocommerce-loop-product-image-container {
    width: 100%;
    display: block;
	border-radius: 5px;
    overflow: hidden !important;
}
.ck-woocommerce-loop-product-image-container img {
    width: 100% !important;
    height: auto !important;
    display: block;
	aspect-ratio: 1 / 1;
    transition: transform 0.5s ease !important;
}

/* Loop Product Image */
.products .product img {
    display: block !important;
    margin-top: 0px !important;
    margin-right: auto !important;
    margin-bottom: 0px !important;
    margin-left: auto !important;
}


/* Loop Product Effet Zoom On Hover */
.products .product:hover img {
    transform: scale(1.1);
	width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
}


/* Loop Product Details Container */
.ck-woocommerce-loop-product-details-container {
    padding-top: 6px;
}

/* Loop Product Details */
.products .product {
    text-align: left !important;
	font-size: 14px;
	margin-bottom: 20px !important;
}

/* Loop Product Title */
.products .product .woocommerce-loop-product__title, 
.products .product .wc-block-grid__product-title {
    font-size: 14px !important;
	margin-bottom: 0px !important;
}


/* Loop Product Price */
.products .product .price {
    color: #212121 !important;
    font-weight: 400;
	margin-top: 0px;
	font-size: 13.5px;
}
.dark .products .product .price {
	color: #ffffff !important;
}
/* Prix baré */
.products .product .price del {
    opacity: 1;
}
/* Prix Promo */
.products li.product .price ins {
    font-weight: 600 !important;
}


ul.products::before, 
ul.products::after {
    display: none;
}
