/* S'assurer que le wrapper principal est toujours visible */
#wrapper {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
}

/* S'assurer que les conteneurs parents sont visibles */
.add-to-cart-container,
.add-to-cart-container form.cart,
form.cart {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	top: auto !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
}

.wc-pc13-configurator {
	border: 1px solid #e5e5e5;
	padding: 24px;
	margin-bottom: 30px;
	background: #fff;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	top: auto !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	overflow: visible !important;
}

/* Masquer le bloc de copyright */
.wc-pc13-copyright {
	display: none !important;
}

/* Masquer les métadonnées du produit (Archives, Categories) après le configurateur */
.wc-pc13-configurator~.product_meta,
.wc-pc13-configurator~.entry-meta,
.product_meta:has(+ .wc-pc13-configurator),
.entry-meta:has(+ .wc-pc13-configurator),
.single-product .product_meta,
.single-product .entry-meta,
.single-product .product_meta-wrapper,
.single-product .entry-meta-wrapper,
.single-product .product-meta,
.single-product .entry-footer,
.single-product .entry-footer .posted-on,
.single-product .entry-footer .cat-links,
.single-product .entry-footer .tags-links,
.single-product .posted_in,
.single-product .tagged_as {
	display: none !important;
}

/* Masquer spécifiquement Archives et Categories pour Flatsome */
.single-product .product_meta .posted_in,
.single-product .product_meta .tagged_as,
.single-product .entry-meta .posted-on,
.single-product .entry-meta .cat-links,
.single-product .product-meta .posted_in,
.single-product .product-meta .tagged_as {
	display: none !important;
}

/* Masquer le bouton "Ajouter au panier" natif et son conteneur si le configurateur est présent */
.single-product:has(.wc-pc13-configurator) .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
.single-product:has(.wc-pc13-configurator) form.cart .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
form.cart:has(.wc-pc13-configurator) .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
.wc-pc13-configurator~form.cart .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
.wc-pc13-configurator~.add-to-cart-container .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
.single_add_to_cart_button.wc-pc13-native-button,
.add-to-cart-container:has(.wc-pc13-configurator) .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
.add-to-cart-container form:has(.wc-pc13-configurator) .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
button.single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
.add-to-cart-container button.single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn) {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

/* Masquer le conteneur add-to-cart-container s'il ne contient que le bouton natif */
.add-to-cart-container:has(.single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn)):not(:has(.wc-pc13-add-to-cart-btn)) {
	display: none !important;
}

/* Masquer spécifiquement le bouton dans le conteneur Flatsome */
.add-to-cart-container .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
.add-to-cart-container form .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn),
.ux-layout-single .add-to-cart-container .single_add_to_cart_button:not(.wc-pc13-add-to-cart-btn) {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Masquer le sélecteur de quantité pour les produits avec configurateur */
.wc-pc13-configurator~.quantity,
.wc-pc13-configurator~form .quantity,
form.cart:has(.wc-pc13-configurator) .quantity,
.product form.cart:has(.wc-pc13-configurator) .quantity,
.ux-quantity,
.ux-quantity__button,
.ux-quantity__input,
.quantity input[type="number"],
.quantity .qty {
	display: none !important;
}

/* Alternative pour les navigateurs qui ne supportent pas :has() */
form.cart .wc-pc13-configurator~.quantity {
	display: none !important;
}

form.cart .quantity:has(+ .wc-pc13-configurator) {
	display: none !important;
}

.wc-pc13-preview-column h3 {
	margin: 0 0 32px 0;
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.5px;
	line-height: 1.2;
	position: relative;
	padding-bottom: 16px;
	width: 100%;
}

.wc-pc13-preview-column h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
	border-radius: 2px;
}

.wc-pc13-controls-column h3 {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 24px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
	padding-bottom: 12px;
}

.wc-pc13-controls-column h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
	border-radius: 2px;
}

.wc-pc13-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.wc-pc13-preview-column {
	flex: 0 0 72%;
	max-width: 72%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: sticky;
	top: 100px;
	align-self: flex-start;
	height: fit-content;
	max-height: calc(100vh - 120px);
	overflow: auto;
	padding-right: 6px;
}

.wc-pc13-controls-column {
	flex: 0 0 26%;
	max-width: 26%;
}

.wc-pc13-preview {
	--preview-limit: min(720px, calc(100vh - 320px));
	--preview-scale: min(1, calc(var(--preview-limit) / 720px));
	--slot-size: calc(80px * var(--preview-scale));
	--ring-radius: calc(140px * var(--preview-scale));
	--center-size: calc(180px * var(--preview-scale));
	width: min(100%, var(--preview-limit));
	height: min(100%, var(--preview-limit));
	max-width: min(100%, var(--preview-limit));
	max-height: min(100%, var(--preview-limit));
	aspect-ratio: 1 / 1;
	position: relative;
}

/* Panneau flottant pour les contrôles de photo périphérique */
.wc-pc13-floating-controls {
	position: absolute;
	z-index: 1000;
	background: #fff;
	border: 2px solid #21759b;
	border-radius: 8px;
	padding: 10px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	min-width: 180px;
	max-width: 200px;
	transform: translate(-50%, -50%);
	pointer-events: auto;
}

.wc-pc13-floating-controls-close {
	position: absolute;
	top: 4px;
	right: 4px;
	background: none;
	border: none;
	font-size: 20px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	transition: all 0.2s ease;
	z-index: 1001;
}

.wc-pc13-floating-controls-close:hover {
	background: #e0e0e0;
	color: #333;
}

.wc-pc13-floating-controls-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wc-pc13-floating-controls-title {
	margin: 0 0 6px 0;
	font-size: 12px;
	font-weight: 600;
	color: #21759b;
	text-align: center;
}

.wc-pc13-floating-controls label {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 11px;
}

.wc-pc13-floating-controls label span {
	font-weight: 500;
	color: #333;
	font-size: 11px;
}

.wc-pc13-floating-controls input[type="range"] {
	width: 100%;
	height: 4px;
}

.wc-pc13-slot-loading {
	position: relative;
	pointer-events: none;
}

.wc-pc13-slot-loading::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	border: 2px solid #21759b;
	border-top-color: transparent;
	animation: wc-pc13-spin 0.8s linear infinite;
	z-index: 15;
}

@keyframes wc-pc13-spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.wc-pc13-floating-actions {
	display: flex;
	gap: 6px;
	margin-top: 4px;
}

.wc-pc13-floating-actions .button {
	flex: 1;
	font-size: 11px;
	padding: 5px 8px;
	line-height: 1.2;
}

.wc-pc13-floating-remove {
	flex: 1;
	font-size: 10px;
	padding: 4px 8px;
}

.wc-pc13-preview.hide-slots .wc-pc13-slot-image {
	display: none !important;
}

.wc-pc13-preview.hide-slots .wc-pc13-slot-inner {
	background: transparent;
	border: 0;
	box-shadow: none;
	pointer-events: none;
}

.wc-pc13-clock-face {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #fafafa;
	border: 4px solid #ddd;
	overflow: hidden;
	position: relative;
}

.wc-pc13-ring {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.wc-pc13-slot,
.wc-pc13-center {
	position: absolute;
	transform-origin: center;
}

.wc-pc13-slot {
	top: 50%;
	left: 50%;
	width: var(--slot-size);
	height: var(--slot-size);
	border-radius: 50%;
	transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--ring-radius))) rotate(calc(-1 * var(--angle)));
}

.wc-pc13-slot-inner {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #fff;
	border: 2px dashed #999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	z-index: 5;
	transition: all 0.3s ease;
}

.wc-pc13-slot-inner.has-image {
	border: none;
}

.wc-pc13-slot.active .wc-pc13-slot-inner {
	border: 2px solid #21759b;
	box-shadow: 0 0 0 2px rgba(33, 117, 155, 0.15);
	z-index: 10;
}

.wc-pc13-slot.active .wc-pc13-slot-inner.has-image {
	border: 2px solid #21759b;
	box-shadow: 0 0 0 2px rgba(33, 117, 155, 0.15);
	background: transparent;
}

.wc-pc13-slot-label {
	position: absolute;
	top: 50%;
	left: 50%;
	height: auto;
	width: auto;
	min-width: 32px;
	display: none;
	align-items: center;
	justify-content: center;
	transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--numbers-offset, 0px))) rotate(calc(-1 * var(--angle)));
	font-size: var(--numbers-size, 32px);
	font-weight: 600;
	color: var(--numbers-color, rgba(0, 0, 0, 0.65));
	text-shadow: 0 0 6px rgba(255, 255, 255, 0.85);
	pointer-events: none;
	padding: 4px 6px;
	border-radius: 12px;
	transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
	z-index: 25;
}

.wc-pc13-preview.show-numbers .wc-pc13-slot-label {
	display: flex;
}

.wc-pc13-slot.active .wc-pc13-slot-label {
	background: rgba(33, 117, 155, 0.7);
	color: #fff !important;
	padding: 4px 8px;
	font-weight: 600;
}

/* Calque indépendant pour les chiffres */
.wc-pc13-numbers-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 30;
}

.wc-pc13-number-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--numbers-offset, 0px))) rotate(calc(-1 * var(--angle)));
	font-size: var(--numbers-size, 32px);
	font-weight: 600;
	color: var(--numbers-color, rgba(0, 0, 0, 0.65));
	text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
	pointer-events: none;
	padding: 4px 6px;
	border-radius: 12px;
	display: none;
}

.wc-pc13-number-label[data-shadow="true"] {
	text-shadow: 0 0 2px rgba(255, 255, 255, 0.3), var(--numbers-shadow);
}

.wc-pc13-number-label[data-glow="true"] {
	text-shadow: 0 0 2px rgba(255, 255, 255, 0.3), var(--numbers-glow);
}

.wc-pc13-number-label[data-shadow="true"][data-glow="true"] {
	text-shadow: 0 0 2px rgba(255, 255, 255, 0.3), var(--numbers-shadow), var(--numbers-glow);
}

.wc-pc13-preview.show-numbers .wc-pc13-number-label {
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-pc13-preview.print-mode {
	background: #ffffff;
	box-shadow: none;
}

.wc-pc13-preview.print-mode .wc-pc13-clock-face {
	border: none;
	background: #ffffff;
}

.wc-pc13-preview.print-mode .wc-pc13-slot-inner {
	border: none;
}

.wc-pc13-preview.print-mode .wc-pc13-center {
	box-shadow: none;
	background: transparent;
	--center-inset: 0px !important;
	border-radius: 50% !important;
	aspect-ratio: 1 / 1 !important;
	overflow: hidden !important;
}

.wc-pc13-preview.print-mode .wc-pc13-center.has-image .wc-pc13-center-image {
	inset: 0 !important;
	border-radius: 50% !important;
	aspect-ratio: 1 / 1 !important;
}

.wc-pc13-preview.print-mode .wc-pc13-hands {
	display: none;
}

.wc-pc13-slot-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: all 0.3s ease;
	cursor: pointer;
	pointer-events: auto;
	border-radius: 50%;
	will-change: transform, background-position, background-size;
	contain: layout style paint;
	transform: translateZ(0);
	/* Force l'accélération GPU */
}

.wc-pc13-slot-image.empty {
	cursor: pointer;
	pointer-events: none;
}

.wc-pc13-slot.active .wc-pc13-slot-image {
	border: 2px solid #21759b;
	box-shadow: 0 0 0 2px rgba(33, 117, 155, 0.15);
}

.wc-pc13-center {
	--center-inset: 14px;
	top: 50%;
	left: 50%;
	width: var(--center-size, 180px);
	height: var(--center-size, 180px);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: #f7f7f7;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	cursor: pointer;
	z-index: 1;
	position: absolute;
}

.wc-pc13-center-image {
	position: absolute;
	inset: var(--center-inset);
	background-size: cover;
	background-position: center;
	transition: transform 0.2s ease, inset 0.2s ease;
	cursor: move;
	border-radius: 50%;
	will-change: transform, background-position, background-size;
	contain: layout style paint;
	transform: translateZ(0);
	/* Force l'accélération GPU */
}

.wc-pc13-center.wc-pc13-center-cover {
	--center-inset: 0px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
	background: transparent;
}

.wc-pc13-center.has-image.active {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.wc-pc13-center.active {
	/* Pas de bordure bleue pour le visuel central, même sélectionné */
	border: none;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
	z-index: 1;
	transition: all 0.3s ease;
}

.wc-pc13-center.has-image {
	background: transparent;
}

.wc-pc13-center.has-image .wc-pc13-center-image {
	inset: 0;
}

.wc-pc13-hands {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	pointer-events: none !important;
	z-index: 5;
}

.wc-pc13-hands * {
	pointer-events: none !important;
}

.wc-pc13-hand {
	position: absolute;
	background: #111;
	transform-origin: center bottom;
	left: -3px;
	border-radius: 3px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wc-pc13-hand.hour,
.wc-pc13-hand.minute {
	transition: transform 0.3s ease-out;
}

.wc-pc13-hand.second {
	/* Pas de transition pour une rotation fluide continue */
	will-change: transform;
}

.wc-pc13-hand.hour {
	width: 8px;
	height: 150px;
	top: -150px;
}

.wc-pc13-hand.minute {
	width: 6px;
	height: 220px;
	top: -220px;
}

.wc-pc13-hand.second {
	width: 2px;
	height: 220px;
	top: -220px;
	background: #d11f1f;
	border-radius: 3px;
}

.wc-pc13-hands-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 32px;
	height: 32px;
	background: #111;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
	z-index: 10;
}

.wc-pc13-preview-hint {
	margin-top: 0.75rem;
	color: rgba(0, 0, 0, 0.6);
}

.wc-pc13-global-settings {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 24px;
	padding: 20px;
	background: #fafafa;
	border-radius: 12px;
	border: 1px solid #e8e8e8;
}

.wc-pc13-total-price {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 10px;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
	margin-bottom: 8px;
}

.wc-pc13-total-price-label {
	font-size: 16px;
	opacity: 0.95;
}

.wc-pc13-total-price-value {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.wc-pc13-global-settings>label {
	font-weight: 600;
	font-size: 14px;
	color: #333;
	margin-bottom: 4px;
	display: block;
}

.wc-pc13-hand-options {
	display: flex;
	gap: 12px;
	flex-wrap: nowrap;
	align-items: flex-start;
}

.wc-pc13-hand-field {
	flex: 1 1 auto;
	min-width: 150px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wc-pc13-hand-field label {
	font-weight: 600;
	font-size: 14px;
	color: #333;
}

.wc-pc13-center-panel {
	border: 1px solid #d0e5f5;
	border-radius: 10px;
	padding: 16px 18px;
	background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
	display: none;
	flex-direction: column;
	gap: 14px;
	margin-top: 8px;
}

.wc-pc13-center-panel.is-active {
	display: flex;
}

.wc-pc13-center-panel h5 {
	margin: 0 0 8px 0;
	font-size: 15px;
	font-weight: 600;
	color: #21759b;
}

.wc-pc13-center-panel label {
	display: grid;
	gap: 8px;
	font-weight: 500;
}

.wc-pc13-center-panel label span {
	font-size: 13px;
	color: #555;
	font-weight: 500;
}

.wc-pc13-center-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 12px;
}

.wc-pc13-center-actions .button {
	min-width: 0;
	border-radius: 20px;
	padding: 6px 14px;
	font-size: 13px;
	transition: all 0.2s ease;
}

.wc-pc13-center-actions .button:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wc-pc13-center-controls {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 12px;
	padding: 16px;
	border: 1px solid #d0e5f5;
	border-radius: 10px;
	background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
}

.wc-pc13-center-controls label {
	display: grid;
	gap: 8px;
	font-weight: 500;
}

.wc-pc13-center-controls label span {
	font-size: 13px;
	color: #555;
	font-weight: 500;
}

.wc-pc13-center-controls input[type="range"] {
	width: 100%;
}

.wc-pc13-toggle {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	padding: 12px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-wrap: wrap;
}

.wc-pc13-toggle input[type="checkbox"] {
	order: 1;
	flex-shrink: 0;
}

.wc-pc13-toggle span {
	order: 2;
	flex: 1;
}

.wc-pc13-toggle:has(.wc-pc13-numbers-fields) {
	flex-direction: column;
	align-items: stretch;
	cursor: default;
}

.wc-pc13-toggle:has(.wc-pc13-numbers-fields)>span {
	cursor: pointer;
}

/* Empêcher que les interactions dans numbers-fields déclenchent le toggle parent */
.wc-pc13-toggle:has(.wc-pc13-numbers-fields) .wc-pc13-numbers-fields {
	pointer-events: auto;
	cursor: default;
}

.wc-pc13-toggle:has(.wc-pc13-numbers-fields) .wc-pc13-numbers-fields * {
	pointer-events: auto;
}

.wc-pc13-toggle:has(.wc-pc13-numbers-fields) input[type="range"],
.wc-pc13-toggle:has(.wc-pc13-numbers-fields) input[type="color"],
.wc-pc13-toggle:has(.wc-pc13-numbers-fields) select {
	pointer-events: auto;
}

.wc-pc13-toggle:has(.wc-pc13-slots-fields) {
	flex-direction: column;
	align-items: stretch;
	cursor: default;
}

.wc-pc13-toggle:has(.wc-pc13-slots-fields)>span {
	cursor: pointer;
}

/* Empêcher que les interactions dans slots-fields déclenchent le toggle parent */
.wc-pc13-toggle:has(.wc-pc13-slots-fields) .wc-pc13-slots-fields {
	pointer-events: auto;
	cursor: default;
}

.wc-pc13-toggle:has(.wc-pc13-slots-fields) .wc-pc13-slots-fields * {
	pointer-events: auto;
}

.wc-pc13-toggle:has(.wc-pc13-slots-fields) input[type="range"],
.wc-pc13-toggle:has(.wc-pc13-slots-fields) input[type="color"],
.wc-pc13-toggle:has(.wc-pc13-slots-fields) select {
	pointer-events: auto;
}

.wc-pc13-toggle:hover {
	background: #f8f8f8;
	border-color: #21759b;
}

.wc-pc13-toggle input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: #21759b;
	margin: 0;
}

.wc-pc13-numbers-fields {
	display: none;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	border: 1px solid #d0e5f5;
	border-radius: 10px;
	background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
	margin-top: 12px;
	width: 100%;
	pointer-events: auto;
}

/* Empêcher les interactions dans numbers-fields de déclencher le toggle parent */
.wc-pc13-numbers-fields * {
	pointer-events: auto;
}

.wc-pc13-number-style-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 0;
}

.wc-pc13-number-effects-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 0;
}

.wc-pc13-numbers-fields label {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 8px;
	font-weight: 500;
}

.wc-pc13-numbers-fields label span {
	font-size: 13px;
	color: #555;
	font-weight: 500;
	order: -1;
	grid-row: 1;
}

.wc-pc13-numbers-fields input[type="range"],
.wc-pc13-numbers-fields input[type="color"],
.wc-pc13-numbers-fields select {
	width: 100%;
	order: 1;
	grid-row: 2;
}

.wc-pc13-range-value {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	order: 2;
	grid-row: 3;
	color: #666;
	font-weight: 500;
	text-align: center;
}

.wc-pc13-numbers-fields input[type="color"] {
	width: 100%;
	max-width: 80px;
	height: 40px;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}

.wc-pc13-numbers-fields input[type="color"]:hover {
	border-color: #21759b;
	box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.wc-pc13-numbers-fields.is-active {
	display: flex;
}

.wc-pc13-slots-fields {
	display: none;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	border: 1px solid #d0e5f5;
	border-radius: 10px;
	background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
	margin-top: 12px;
	width: 100%;
	pointer-events: auto;
}

/* Empêcher les interactions dans slots-fields de déclencher le toggle parent */
.wc-pc13-slots-fields * {
	pointer-events: auto;
}

.wc-pc13-slots-fields label {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 8px;
	font-weight: 500;
}

.wc-pc13-slots-fields label span {
	font-size: 13px;
	color: #555;
	font-weight: 500;
	order: -1;
	grid-row: 1;
}

.wc-pc13-slots-fields input[type="range"],
.wc-pc13-slots-fields input[type="color"],
.wc-pc13-slots-fields select {
	width: 100%;
	order: 1;
	grid-row: 2;
}

.wc-pc13-slots-fields input[type="color"] {
	width: 100%;
	max-width: 80px;
	height: 40px;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}

.wc-pc13-slots-fields input[type="color"]:hover {
	border-color: #21759b;
	box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.wc-pc13-slots-fields.is-active {
	display: flex;
}

.wc-pc13-number-shadow-fields,
.wc-pc13-number-glow-fields {
	margin-top: 10px;
	padding-left: 20px;
	border-left: 2px solid #d0e5f5;
}

.wc-pc13-number-shadow-fields label,
.wc-pc13-number-glow-fields label {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 8px;
	font-weight: 500;
}

.wc-pc13-number-shadow-fields label span,
.wc-pc13-number-glow-fields label span {
	font-size: 13px;
	color: #555;
	font-weight: 500;
	order: -1;
	grid-row: 1;
}

.wc-pc13-number-shadow-fields input[type="range"],
.wc-pc13-number-glow-fields input[type="range"] {
	width: 100%;
	order: 1;
	grid-row: 2;
}

.wc-pc13-slot-styling {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e8e8e8;
}

.wc-pc13-slot-styling h5 {
	margin: 0 0 16px 0;
	font-size: 15px;
	font-weight: 600;
	color: #333;
}

.wc-pc13-slot-border-fields {
	display: none;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	border: 1px solid #d0e5f5;
	border-radius: 10px;
	background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
	margin-top: 8px;
}

.wc-pc13-slot-border-fields label {
	display: grid;
	gap: 8px;
	font-weight: 500;
}

.wc-pc13-slot-border-fields label span {
	font-size: 13px;
	color: #555;
	font-weight: 500;
}

.wc-pc13-slot-border-fields input[type="range"] {
	width: 100%;
}

.wc-pc13-slot-border-fields input[type="color"] {
	width: 100%;
	max-width: 80px;
	height: 40px;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}

.wc-pc13-slot-border-fields input[type="color"]:hover {
	border-color: #21759b;
	box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.wc-pc13-global-settings select,
.wc-pc13-global-settings input[type="color"] {
	width: 100%;
	max-width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	transition: all 0.2s ease;
}

.wc-pc13-global-settings select:hover,
.wc-pc13-global-settings select:focus {
	border-color: #21759b;
	outline: none;
	box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.wc-pc13-global-settings input[type="color"] {
	height: 40px;
	cursor: pointer;
}

.wc-pc13-diameter-note {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #666;
	font-style: italic;
	line-height: 1.4;
	position: relative;
}

.wc-pc13-info-icon {
	display: inline-block;
	margin-left: 6px;
	cursor: help;
	font-size: 14px;
	vertical-align: middle;
	position: relative;
	user-select: none;
}

.wc-pc13-info-icon:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 8px;
	padding: 12px 16px;
	background: #2c3e50;
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	border-radius: 6px;
	white-space: normal;
	width: 320px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	pointer-events: none;
	font-style: normal;
	text-align: left;
}

.wc-pc13-info-icon:hover::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 2px;
	border: 6px solid transparent;
	border-top-color: #2c3e50;
	z-index: 1001;
	pointer-events: none;
}

.wc-pc13-slot-editor {
	border: 1px solid #e8e8e8;
	padding: 20px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	display: none;
	/* Masqué par défaut */
}

.wc-pc13-slot-editor.has-selection {
	display: block;
	/* Affiché quand une zone est sélectionnée */
}

.wc-pc13-slot-title {
	margin-top: 0;
	margin-bottom: 16px;
	font-size: 16px;
	font-weight: 600;
	color: #21759b;
	padding-bottom: 12px;
	border-bottom: 2px solid #e8e8e8;
}

.wc-pc13-slot-fields {
	display: grid;
	gap: 18px;
}

.wc-pc13-slot-fields label {
	display: grid;
	gap: 8px;
}

.wc-pc13-slot-fields label span {
	font-size: 13px;
	font-weight: 500;
	color: #555;
}

.wc-pc13-center-size-field {
	display: none;
}

.wc-pc13-slot-fields input[type="range"],
.wc-pc13-global-settings input[type="range"] {
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background: #e0e0e0;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.wc-pc13-slot-fields input[type="range"]::-webkit-slider-thumb,
.wc-pc13-global-settings input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #21759b;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
}

.wc-pc13-slot-fields input[type="range"]::-webkit-slider-thumb:hover,
.wc-pc13-global-settings input[type="range"]::-webkit-slider-thumb:hover {
	background: #1b5d7c;
	transform: scale(1.1);
}

.wc-pc13-slot-fields input[type="range"]::-moz-range-thumb,
.wc-pc13-global-settings input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #21759b;
	cursor: pointer;
	border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
}

.wc-pc13-slot-fields input[type="range"]::-moz-range-thumb:hover,
.wc-pc13-global-settings input[type="range"]::-moz-range-thumb:hover {
	background: #1b5d7c;
	transform: scale(1.1);
}

.wc-pc13-upload-label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wc-pc13-upload-label input[type="file"] {
	display: none;
}

.wc-pc13-upload-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	border-radius: 25px;
	transition: all 0.2s ease;
}

.wc-pc13-upload-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wc-pc13-upload-button::before {
	content: '+';
	font-size: 18px;
	line-height: 1;
}

.wc-pc13-dropzone-container {
	border: 2px dashed #c5c5c5;
	border-radius: 8px;
	background: #fff;
	padding: 18px;
	text-align: center;
	display: grid;
	gap: 8px;
}

.wc-pc13-dropzone {
	border: none;
	background: transparent;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.wc-pc13-dropzone.is-dragover {
	background: rgba(33, 117, 155, 0.08);
}

.wc-pc13-dropzone .dz-message {
	font-size: 14px;
	color: #444;
	margin: 0;
}

.wc-pc13-dropzone .dz-preview {
	display: none;
}

.wc-pc13-dropzone-hint {
	font-size: 12px;
	color: #777;
	margin: 0;
}

/* Actions principales : Ajouter au panier et Télécharger */
.wc-pc13-primary-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
	align-items: center;
}

.wc-pc13-download-actions-primary {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 0.5rem;
}

.wc-pc13-download-actions-primary .button {
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wc-pc13-download-actions-primary .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Actions secondaires : Partager, Sauvegarder, Images aléatoires et Recherche */
.wc-pc13-secondary-actions {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.75rem;
	margin-bottom: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	opacity: 0.85;
}

.wc-pc13-secondary-actions .button {
	border-radius: 18px;
	padding: 6px 12px;
	font-size: 12px;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.wc-pc13-save-email-btn {
	white-space: normal;
	line-height: 1.3;
}

.wc-pc13-secondary-actions .button:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	opacity: 1;
}

/* Style spécifique pour les boutons photos aléatoires et recherche (fond bleu) */
.wc-pc13-secondary-actions .wc-pc13-fill-unsplash,
.wc-pc13-secondary-actions .wc-pc13-search-unsplash-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	font-weight: 600;
	border: none;
	box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.wc-pc13-secondary-actions .wc-pc13-fill-unsplash:hover,
.wc-pc13-secondary-actions .wc-pc13-search-unsplash-btn:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
	opacity: 1;
}

/* Ancien style pour compatibilité */
.wc-pc13-download-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	justify-content: flex-end;
}

.wc-pc13-download-actions .button {
	border-radius: 20px;
	padding: 6px 12px;
	font-size: 12px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wc-pc13-download-actions .button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modal de partage */
.wc-pc13-share-modal {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.wc-pc13-share-modal-content {
	background-color: #fff;
	padding: 30px;
	border-radius: 12px;
	max-width: 500px;
	width: 90%;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: slideUp 0.3s ease;
}

@keyframes slideUp {
	from {
		transform: translateY(30px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.wc-pc13-share-modal-close {
	position: absolute;
	right: 15px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	color: #999;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s ease;
}

.wc-pc13-share-modal-close:hover {
	color: #333;
}

.wc-pc13-share-modal-content h3 {
	margin: 0 0 20px 0;
	font-size: 22px;
	color: #333;
}

/* Modale email */
.wc-pc13-email-modal {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.wc-pc13-email-modal-content {
	background-color: #fff;
	padding: 30px;
	border-radius: 12px;
	max-width: 450px;
	width: 90%;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: slideUp 0.3s ease;
}

.wc-pc13-email-modal-close {
	position: absolute;
	right: 15px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	color: #999;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s ease;
}

.wc-pc13-email-modal-close:hover {
	color: #333;
}

.wc-pc13-email-modal-content h3 {
	margin: 0 0 20px 0;
	font-size: 22px;
	color: #333;
}

.wc-pc13-email-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.wc-pc13-email-form label {
	font-weight: 600;
	color: #555;
	font-size: 14px;
}

.wc-pc13-email-form input[type="email"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.2s ease;
}

.wc-pc13-email-form input[type="email"]:focus {
	outline: none;
	border-color: #21759b;
	box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.wc-pc13-email-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 10px;
}

.wc-pc13-email-modal-actions .button {
	padding: 10px 20px;
	font-size: 14px;
}

.wc-pc13-share-options {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wc-pc13-share-link {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wc-pc13-share-link label {
	font-weight: 600;
	color: #555;
	font-size: 14px;
}

.wc-pc13-share-link-input {
	display: flex;
	gap: 8px;
}

.wc-pc13-share-link-input input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 13px;
	background: #f9f9f9;
}

.wc-pc13-share-link-input .button {
	padding: 10px 20px;
	white-space: nowrap;
}

.wc-pc13-share-buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.wc-pc13-share-buttons a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 14px 18px;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 10px;
	text-decoration: none;
	color: #333;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.wc-pc13-share-buttons a svg {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.wc-pc13-share-buttons a:hover {
	background: #e9e9e9;
	border-color: #bbb;
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Couleurs spécifiques par réseau social */
.wc-pc13-share-email:hover {
	background: #e8f4f8;
	border-color: #21759b;
	color: #21759b;
}

.wc-pc13-share-whatsapp:hover {
	background: #e8f5e9;
	border-color: #25d366;
	color: #25d366;
}

.wc-pc13-share-facebook:hover {
	background: #e8f0fe;
	border-color: #1877f2;
	color: #1877f2;
}

.wc-pc13-share-x:hover {
	background: #f5f5f5;
	border-color: #000;
	color: #000;
}

/* Actions tertiaires : Images aléatoires et Recherche (moins visibles) */
.wc-pc13-tertiary-actions {
	margin-top: 1rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	opacity: 0.7;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.wc-pc13-tertiary-actions .button {
	width: auto;
	padding: 7px 14px;
	font-size: 11px;
	line-height: 1.4;
	border-radius: 20px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #f5f5f5;
	color: #666;
	font-weight: 500;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.wc-pc13-tertiary-actions .button:hover {
	background: #e9e9e9;
	color: #555;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
	opacity: 1;
}

.wc-pc13-tertiary-actions .button:active {
	transform: translateY(0);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Ancien style pour compatibilité */
.wc-pc13-demo-actions {
	margin-top: 0.75rem;
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
}

.wc-pc13-demo-actions .button {
	width: auto;
	padding: 9px 16px;
	font-size: 12px;
	line-height: 1.4;
	border-radius: 25px;
	border: none;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.wc-pc13-demo-actions .button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.wc-pc13-demo-actions .button:hover::before {
	left: 100%;
}

.wc-pc13-demo-actions .button:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
	transform: translateY(-2px);
}

.wc-pc13-demo-actions .button:active {
	transform: translateY(0);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.wc-pc13-fill-unsplash-icon {
	font-size: 20px;
	display: inline-block;
	animation: pulse 2s ease-in-out infinite;
	line-height: 1;
}

.wc-pc13-search-unsplash {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	align-items: center;
}

.wc-pc13-search-input {
	flex: 1;
	padding: 12px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s ease;
	background: #fff;
}

.wc-pc13-search-input:focus {
	outline: none;
	border-color: #21759b;
	box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.wc-pc13-search-input:disabled {
	background: #f5f5f5;
	cursor: not-allowed;
	opacity: 0.7;
}

.wc-pc13-search-unsplash-btn {
	flex-shrink: 0;
	padding: 12px 24px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wc-pc13-search-unsplash-btn:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.wc-pc13-search-unsplash-btn:active {
	transform: translateY(0);
}

.wc-pc13-search-unsplash-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
}

.wc-pc13-search-icon {
	font-size: 16px;
	display: inline-block;
	line-height: 1;
}

.wc-pc13-demo-actions .button.is-loading {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
}

/* Modal de recherche Unsplash */
.wc-pc13-unsplash-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.wc-pc13-unsplash-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.wc-pc13-unsplash-modal-content {
	position: relative;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 900px;
	width: 90%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	z-index: 1;
	animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: scale(0.9) translateY(-20px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.wc-pc13-unsplash-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 28px;
	border-bottom: 1px solid #e8e8e8;
}

.wc-pc13-unsplash-modal-header h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #333;
}

.wc-pc13-unsplash-modal-close {
	background: none;
	border: none;
	font-size: 32px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.wc-pc13-unsplash-modal-close:hover {
	background: #f5f5f5;
	color: #333;
}

.wc-pc13-unsplash-modal-body {
	padding: 24px 28px;
	overflow-y: auto;
	flex: 1;
}

.wc-pc13-unsplash-search {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.wc-pc13-unsplash-suggestions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.wc-pc13-suggestions-label {
	font-size: 13px;
	color: #666;
	font-weight: 500;
	flex-shrink: 0;
}

.wc-pc13-suggestions-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wc-pc13-suggestion-tag {
	padding: 6px 14px;
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 20px;
	font-size: 13px;
	color: #555;
	cursor: pointer;
	transition: all 0.2s ease;
	font-weight: 500;
	white-space: nowrap;
}

.wc-pc13-suggestion-tag:hover {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-color: transparent;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.wc-pc13-suggestion-tag:active {
	transform: translateY(0);
	box-shadow: 0 1px 4px rgba(102, 126, 234, 0.2);
}

.wc-pc13-unsplash-search-input {
	flex: 1;
	padding: 10px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s ease;
	background: #fff;
	height: 44px;
	box-sizing: border-box;
}

.wc-pc13-unsplash-search-input:focus {
	outline: none;
	border-color: #21759b;
	box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.wc-pc13-unsplash-search-submit {
	padding: 10px 24px;
	height: 44px;
	box-sizing: border-box;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
	position: relative;
	overflow: hidden;
}

.wc-pc13-unsplash-search-submit::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.wc-pc13-unsplash-search-submit:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wc-pc13-unsplash-search-submit:hover::before {
	left: 100%;
}

.wc-pc13-unsplash-search-submit:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.wc-pc13-unsplash-search-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
	transform: none;
}

.wc-pc13-unsplash-results {
	min-height: 200px;
}

.wc-pc13-unsplash-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	gap: 16px;
}

.wc-pc13-unsplash-loading p {
	margin: 0;
	color: #666;
	font-size: 15px;
}

.wc-pc13-unsplash-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.wc-pc13-unsplash-item {
	position: relative;
	aspect-ratio: 1;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 3px solid transparent;
	background: #f5f5f5;
}

.wc-pc13-unsplash-item:hover {
	transform: scale(1.05);
	border-color: #21759b;
	box-shadow: 0 8px 24px rgba(33, 117, 155, 0.3);
	z-index: 1;
}

.wc-pc13-unsplash-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wc-pc13-unsplash-item::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0);
	transition: background 0.3s ease;
}

.wc-pc13-unsplash-item:hover::after {
	background: rgba(33, 117, 155, 0.1);
}

.wc-pc13-unsplash-empty {
	text-align: center;
	padding: 60px 20px;
	color: #999;
}

.wc-pc13-unsplash-empty p {
	margin: 0;
	font-size: 15px;
}

.wc-pc13-unsplash-load-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px 20px;
	gap: 12px;
}

.wc-pc13-unsplash-load-more p {
	margin: 0;
	color: #666;
	font-size: 14px;
}

#wc-pc13-unsplash-sentinel {
	height: 20px;
	width: 100%;
}

.wc-pc13-loading-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	vertical-align: middle;
	margin-right: 8px;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.15);
	}
}

.wc-pc13-add-to-cart {
	margin-top: 1.5rem;
	width: 100%;
	padding: 20px 24px;
	border: 2px solid #e5e7eb;
	border-radius: 24px;
	background: #f3f4f6;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wc-pc13-add-to-cart-btn {
	background: #27ae60 !important;
	color: rgba(255, 255, 255, 1) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 28px !important;
	letter-spacing: 1.1px !important;
	padding: 10px 22px !important;
	border-radius: 32px !important;
	border: none !important;
	box-shadow: 0 6px 16px rgba(39, 174, 96, 0.25);
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	position: relative !important;
	overflow: hidden !important;
}

.wc-pc13-cart-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	stroke-width: 2.5;
	transition: transform 0.3s ease;
}

.wc-pc13-add-to-cart-btn:hover .wc-pc13-cart-icon {
	transform: scale(1.1) rotate(-5deg);
}

.wc-pc13-add-to-cart-text {
	display: inline-block;
}

.wc-pc13-add-to-cart-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.wc-pc13-add-to-cart-btn:hover::before {
	left: 100%;
}

.wc-pc13-add-to-cart-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(39, 174, 96, 0.35);
	background: #229954 !important;
}

.wc-pc13-add-to-cart-btn.is-disabled,
.wc-pc13-add-to-cart-btn:disabled {
	opacity: 0.55;
	box-shadow: none;
	transform: none;
	cursor: not-allowed;
}

.wc-pc13-add-to-cart-btn.is-loading {
	position: relative;
	opacity: 0.6;
	cursor: progress;
}

.wc-pc13-add-to-cart-price {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
}

.wc-pc13-add-to-cart-btn.is-loading::after {
	content: '';
	position: absolute;
	inset: 50% auto auto 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.6);
	border-top-color: rgba(255, 255, 255, 0.2);
	animation: wc-pc13-spin 0.75s linear infinite;
}

@keyframes wc-pc13-spin {
	to {
		transform: rotate(360deg);
	}
}

/* États du bouton PDF */
.wc-pc13-download-pdf.wc-pc13-pdf-generating {
	opacity: 0.7;
	position: relative;
}

.wc-pc13-download-pdf.wc-pc13-pdf-ready {
	background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
	color: #fff !important;
}

.wc-pc13-download-pdf.wc-pc13-pdf-ready:hover {
	background: linear-gradient(135deg, #218838 0%, #1aa085 100%) !important;
}

.wc-pc13-pdf-spinner {
	display: none;
}

.wc-pc13-pdf-generating .wc-pc13-pdf-spinner {
	display: inline-block;
}

.wc-pc13-add-to-cart-note {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.5;
	text-align: center;
}

.single_add_to_cart_button.wc-pc13-native-button {
	display: none !important;
}

.wc-pc13-tutorial {
	margin-top: 2rem;
	width: 100%;
	padding: 24px;
	background: #f9fafb;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
}

.wc-pc13-tutorial-title {
	margin: 0 0 24px 0;
	font-size: 22px;
	font-weight: 600;
	color: #1f2937;
	text-align: center;
}

.wc-pc13-tutorial-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.wc-pc13-tutorial-step {
	display: flex;
	gap: 16px;
	padding: 20px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	transition: all 0.2s ease;
}

.wc-pc13-tutorial-step:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.wc-pc13-tutorial-icon {
	font-size: 36px;
	line-height: 1;
	flex-shrink: 0;
}

.wc-pc13-tutorial-content {
	flex: 1;
}

.wc-pc13-tutorial-content strong {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	color: #1f2937;
	font-weight: 600;
}

.wc-pc13-tutorial-content p {
	margin: 0;
	font-size: 15px;
	color: #6b7280;
	line-height: 1.6;
}

.wc-pc13-tutorial-tips {
	padding: 18px;
	background: #eff6ff;
	border-left: 4px solid #3b82f6;
	border-radius: 8px;
}

.wc-pc13-tutorial-tips p {
	margin: 0;
	font-size: 15px;
	color: #1e40af;
	line-height: 1.7;
}

@media (max-width: 768px) {
	.wc-pc13-tutorial-steps {
		grid-template-columns: 1fr;
	}
}

.wc-pc13-help-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 16px;
	background: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 12px;
	color: #666;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.wc-pc13-help-btn:hover {
	background: #e0e0e0;
	border-color: #21759b;
	color: #21759b;
}

.wc-pc13-help-modal {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.wc-pc13-help-modal-content {
	background-color: #fff;
	padding: 30px;
	border-radius: 12px;
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: slideUp 0.3s ease;
}

.wc-pc13-help-modal-close {
	position: absolute;
	right: 15px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	color: #999;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s ease;
}

.wc-pc13-help-modal-close:hover {
	color: #333;
}

.wc-pc13-help-modal-content h3 {
	margin: 0 0 20px 0;
	font-size: 22px;
	color: #333;
}

.wc-pc13-help-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.wc-pc13-help-form label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-weight: 600;
	color: #555;
	font-size: 14px;
}

.wc-pc13-help-form label span {
	font-weight: 600;
	color: #555;
}

.wc-pc13-help-form input[type="text"],
.wc-pc13-help-form input[type="email"],
.wc-pc13-help-form select,
.wc-pc13-help-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.wc-pc13-help-form input[type="text"]:focus,
.wc-pc13-help-form input[type="email"]:focus,
.wc-pc13-help-form select:focus,
.wc-pc13-help-form textarea:focus {
	outline: none;
	border-color: #21759b;
	box-shadow: 0 0 0 3px rgba(33, 117, 155, 0.1);
}

.wc-pc13-help-form textarea {
	resize: vertical;
	min-height: 120px;
}

.wc-pc13-help-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 10px;
}

.wc-pc13-help-modal-actions .button {
	padding: 10px 20px;
	font-size: 14px;
}

.wc-pc13-help-modal-message {
	padding: 12px;
	border-radius: 6px;
	margin-top: 15px;
	font-size: 14px;
}

.wc-pc13-help-modal-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.wc-pc13-help-modal-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.wc-pc13-copyright {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
	text-align: center;
}

.wc-pc13-copyright p {
	margin: 0;
	font-size: 12px;
	color: #9ca3af;
	line-height: 1.5;
}

/* Vignette d'aperçu dans le panier - doit être carrée */
.wc-pc13-preview-thumb {
	width: 100% !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border-radius: 8px;
	display: block;
}

/* Vignette d'aperçu dans le panier - doit être carrée */
.woocommerce-cart-form .wc-pc13-preview-thumb {
	width: 100% !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border-radius: 8px;
	display: block;
}

/* Mini panier - vignette fixe petite, pas en background */
.widget_shopping_cart .wc-pc13-preview-thumb,
.woocommerce-mini-cart .wc-pc13-preview-thumb {
	width: 60px !important;
	height: 60px !important;
	max-width: 60px !important;
	max-height: 60px !important;
	min-width: 60px !important;
	min-height: 60px !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border-radius: 8px;
	display: block !important;
	position: relative !important;
	z-index: 1;
	flex-shrink: 0;
}

.widget_shopping_cart .woocommerce-mini-cart-item,
.woocommerce-mini-cart .woocommerce-mini-cart-item {
	text-align: left !important;
}

@media (max-width: 1024px) {
	.wc-pc13-columns {
		flex-direction: column;
	}

	.wc-pc13-preview-column,
	.wc-pc13-controls-column {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.wc-pc13-preview-column {
		position: relative;
		top: auto;
		max-height: none;
	}

	.wc-pc13-preview {
		max-width: 720px;
		margin: 0 auto;
	}

	/* Garder les mêmes tailles qu'en desktop pour le même rendu */
	.wc-pc13-preview {
		--slot-size: 80px;
		--ring-radius: 140px;
	}

	.wc-pc13-center {
		width: var(--center-size, 180px);
		height: var(--center-size, 180px);
	}
}

.wc-pc13-remove,
.wc-pc13-remove-center {
	border-radius: 20px !important;
	padding: 8px !important;
	font-size: 13px !important;
	transition: all 0.2s ease !important;
	min-width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
}

.wc-pc13-remove-center svg {
	width: 18px;
	height: 18px;
}

.wc-pc13-remove-center:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.wc-pc13-remove:hover,
.wc-pc13-remove-center:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	background-color: #dc3232;
	color: #fff;
}

/* Tooltip stylé pour le bouton de suppression */
.wc-pc13-remove-center[data-tooltip] {
	position: relative;
}

.wc-pc13-remove-center[data-tooltip]:hover:not(:disabled)::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 8px;
	padding: 6px 10px;
	background-color: #333;
	color: #fff;
	font-size: 12px;
	border-radius: 6px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	animation: tooltipFadeIn 0.2s ease forwards;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wc-pc13-remove-center[data-tooltip]:hover:not(:disabled)::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 2px;
	border: 5px solid transparent;
	border-top-color: #333;
	opacity: 0;
	pointer-events: none;
	animation: tooltipFadeIn 0.2s ease forwards;
	z-index: 1000;
}

@keyframes tooltipFadeIn {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.wc-pc13-select-center {
	border-radius: 20px !important;
	padding: 8px 16px !important;
	font-size: 11px !important;
	transition: all 0.2s ease !important;
	position: relative;
}

.wc-pc13-select-center.wc-pc13-no-image {
	background: #28a745 !important;
	border-color: #28a745 !important;
	color: #ffffff !important;
	padding: 10px 20px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
}

.wc-pc13-select-center.wc-pc13-no-image:hover:not(.wc-pc13-loading) {
	background: #218838 !important;
	border-color: #218838 !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.wc-pc13-select-center:hover:not(.wc-pc13-loading) {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.wc-pc13-select-center.wc-pc13-loading,
.wc-pc13-upload-button.wc-pc13-loading {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
}

.wc-pc13-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(0, 0, 0, 0.2);
	border-top-color: #333;
	border-radius: 50%;
	animation: wc-pc13-spin 0.8s linear infinite;
	vertical-align: middle;
	margin-right: 8px;
}

@keyframes wc-pc13-spin {
	to {
		transform: rotate(360deg);
	}
}

/* États du bouton PDF */
.wc-pc13-download-pdf.wc-pc13-pdf-generating {
	opacity: 0.7;
	position: relative;
}

.wc-pc13-download-pdf.wc-pc13-pdf-ready {
	background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
	color: #fff !important;
}

.wc-pc13-download-pdf.wc-pc13-pdf-ready:hover {
	background: linear-gradient(135deg, #218838 0%, #1aa085 100%) !important;
}

.wc-pc13-pdf-spinner {
	display: none;
}

.wc-pc13-pdf-generating .wc-pc13-pdf-spinner {
	display: inline-block;
}

.wc-pc13-cart-notification {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 999999;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	padding: 0;
	max-width: 400px;
	opacity: 0;
	transform: translateX(400px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-pc13-cart-notification.show {
	opacity: 1;
	transform: translateX(0);
}

.wc-pc13-notification-content {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	position: relative;
}

.wc-pc13-notification-image {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 12px;
	border: 2px solid #e0e0e0;
	flex-shrink: 0;
}

.wc-pc13-notification-text {
	flex: 1;
	min-width: 0;
}

.wc-pc13-notification-text strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #21759b;
	margin-bottom: 4px;
}

.wc-pc13-notification-text p {
	margin: 0;
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

.wc-pc13-cart-count {
	color: #21759b !important;
	font-weight: 500;
	margin-top: 4px !important;
}

.wc-pc13-notification-price {
	margin-top: 6px !important;
	font-size: 16px !important;
	color: #27ae60 !important;
	font-weight: 600 !important;
}

.wc-pc13-notification-price strong {
	color: #27ae60 !important;
	font-weight: 700 !important;
}

.wc-pc13-cart-button {
	display: inline-block;
	margin-top: 10px;
	padding: 8px 16px;
	background: #21759b;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.2s ease;
	text-align: center;
}

.wc-pc13-cart-button:hover {
	background: #1a5f7f;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(33, 117, 155, 0.3);
}

.wc-pc13-notification-close {
	position: absolute;
	top: 8px;
	right: 8px;
	background: transparent;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 4px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.wc-pc13-notification-close:hover {
	background: #f5f5f5;
	color: #333;
}

@media (max-width: 768px) {
	.wc-pc13-cart-notification {
		right: 10px;
		left: 10px;
		max-width: none;
		transform: translateY(-100px);
	}

	.wc-pc13-cart-notification.show {
		transform: translateY(0);
	}

	.wc-pc13-notification-image {
		width: 60px;
		height: 60px;
	}
}

.wc-pc13-cart-summary {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 8px;
	font-size: 12px;
	line-height: 1.4;
	padding: 8px;
	background: #fafafa;
	border-radius: 6px;
	border: 1px solid #e8e8e8;
	margin-top: 6px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.wc-pc13-cart-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 4px;
	margin-bottom: 0;
	line-height: 1.2;
}

.wc-pc13-cart-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 1px 3px rgba(102, 126, 234, 0.2);
	text-transform: uppercase;
	letter-spacing: 0.2px;
	gap: 4px;
	white-space: nowrap;
	margin-bottom: 2px;
}

.wc-pc13-cart-badge-hands {
	background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
	box-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
}

.wc-pc13-cart-badge-numbers {
	background: linear-gradient(135deg, #f5a623 0%, #d68910 100%);
	box-shadow: 0 2px 4px rgba(245, 166, 35, 0.2);
}

.wc-pc13-cart-badge-diameter {
	background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
	box-shadow: 0 2px 4px rgba(39, 174, 96, 0.2);
}

.wc-pc13-cart-color-indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.wc-pc13-cart-info {
	color: #555;
	font-size: 13px;
	line-height: 1.6;
}

.wc-pc13-cart-photos {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.wc-pc13-cart-photo-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	color: #444;
	font-weight: 500;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e0e0e0;
	font-size: 11px;
}

.wc-pc13-cart-icon {
	font-size: 14px;
	line-height: 1;
	opacity: 0.8;
}

.wc-pc13-cart-download-buttons {
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid #e8e8e8;
	display: flex;
	gap: 8px;
	justify-content: flex-start;
}

.wc-pc13-cart-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	background: linear-gradient(135deg, #21759b 0%, #1b5d7c 100%);
	color: #fff !important;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	border-radius: 20px;
	transition: all 0.3s ease;
	flex: 0 0 auto;
	box-shadow: 0 2px 4px rgba(33, 117, 155, 0.25);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wc-pc13-cart-download-btn:hover {
	background: linear-gradient(135deg, #1b5d7c 0%, #154a63 100%);
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(33, 117, 155, 0.4);
}

.wc-pc13-cart-download-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(33, 117, 155, 0.25);
}

/* Styles spécifiques pour le mini-panier - alignement à gauche */
.widget_shopping_cart .wc-pc13-cart-summary,
.woocommerce-mini-cart .wc-pc13-cart-summary {
	padding: 6px;
	gap: 6px;
	font-size: 11px;
	text-align: left !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	flex-direction: column;
}

.widget_shopping_cart .wc-pc13-cart-badges,
.woocommerce-mini-cart .wc-pc13-cart-badges {
	gap: 3px;
	justify-content: flex-start !important;
	text-align: left !important;
	align-items: flex-start !important;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.widget_shopping_cart .wc-pc13-cart-badge,
.woocommerce-mini-cart .wc-pc13-cart-badge {
	padding: 3px 8px;
	font-size: 9px;
	border-radius: 10px;
	gap: 3px;
	flex-shrink: 0;
}

.widget_shopping_cart .wc-pc13-cart-color-indicator,
.woocommerce-mini-cart .wc-pc13-cart-color-indicator {
	width: 10px;
	height: 10px;
	border-width: 1px;
}

.widget_shopping_cart .wc-pc13-cart-photos,
.woocommerce-mini-cart .wc-pc13-cart-photos {
	gap: 6px;
	flex-wrap: wrap;
	margin-top: 2px;
}

.widget_shopping_cart .wc-pc13-cart-photo-item,
.woocommerce-mini-cart .wc-pc13-cart-photo-item {
	font-size: 10px;
	padding: 2px 6px;
	gap: 3px;
}

.widget_shopping_cart .wc-pc13-cart-icon,
.woocommerce-mini-cart .wc-pc13-cart-icon {
	font-size: 11px;
	line-height: 1;
	flex-shrink: 0;
}

/* Améliorer les couleurs des badges dans le mini-panier */
.widget_shopping_cart .wc-pc13-cart-badge-hands,
.woocommerce-mini-cart .wc-pc13-cart-badge-hands {
	background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

.widget_shopping_cart .wc-pc13-cart-badge-numbers,
.woocommerce-mini-cart .wc-pc13-cart-badge-numbers {
	background: linear-gradient(135deg, #f5a623 0%, #d68910 100%);
}

.widget_shopping_cart .wc-pc13-cart-badge-diameter,
.woocommerce-mini-cart .wc-pc13-cart-badge-diameter {
	background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

/* Styles pour la mise en page compacte du mini-panier */
.wc-pc13-cart-summary-compact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
	padding: 8px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	text-align: left !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	width: 100%;
}

.wc-pc13-cart-badges-compact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: flex-start;
	width: 100%;
}

.wc-pc13-cart-badge-compact {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 600;
	color: #555;
	background: #f8f9fa;
	border-radius: 12px;
	border: 1px solid #e9ecef;
	line-height: 1.3;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.wc-pc13-cart-badge-compact:hover {
	background: #e9ecef;
	border-color: #dee2e6;
}

.wc-pc13-cart-price-compact {
	display: flex;
	justify-content: flex-start !important;
	align-items: center;
	margin-top: 4px;
	padding: 4px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	text-align: left !important;
}

.wc-pc13-cart-price-value {
	font-size: 15px;
	font-weight: 700;
	color: #27ae60;
	text-align: left;
	margin: 0;
	padding: 2px 8px;
	background: linear-gradient(135deg, #f8fff9 0%, #f0fdf4 100%);
	border-radius: 8px;
	border: 1px solid #dcfce7;
}

/* Améliorer l'espacement dans le mini-panier - alignement à gauche maintenu */
.widget_shopping_cart .woocommerce-mini-cart-item .wc-pc13-cart-summary,
.woocommerce-mini-cart .woocommerce-mini-cart-item .wc-pc13-cart-summary {
	margin-top: 6px;
	padding: 8px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	text-align: left !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
}

/* S'assurer que le texte ne dépasse pas - uniquement pour les horloges personnalisées */
.widget_shopping_cart .woocommerce-mini-cart-item:has(.wc-pc13-cart-summary) .product-name,
.woocommerce-mini-cart .woocommerce-mini-cart-item:has(.wc-pc13-cart-summary) .product-name {
	word-wrap: break-word;
	hyphens: auto;
}

.widget_shopping_cart .wc-pc13-cart-download-buttons,
.woocommerce-mini-cart .wc-pc13-cart-download-buttons {
	margin-top: 6px;
	padding-top: 6px;
	gap: 6px;
}

.widget_shopping_cart .wc-pc13-cart-download-btn,
.woocommerce-mini-cart .wc-pc13-cart-download-btn {
	padding: 5px 12px;
	font-size: 10px;
	border-radius: 12px;
}

/* Afficher l'aperçu personnalisé dans le mini panier avec une petite vignette */
.widget_shopping_cart .cart_list li .product-thumbnail .wc-pc13-cart-clock-wrapper,
.woocommerce-mini-cart .product-thumbnail .wc-pc13-cart-clock-wrapper {
	padding: 2px;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	display: inline-block;
	transition: all 0.2s ease;
	border: 1px solid #e0e0e0;
	position: relative;
	z-index: 2;
	max-width: 60px;
	max-height: 60px;
	width: 60px;
	height: 60px;
	overflow: hidden;
}

.widget_shopping_cart .cart_list li .product-thumbnail .wc-pc13-cart-clock-wrapper:hover,
.woocommerce-mini-cart .product-thumbnail .wc-pc13-cart-clock-wrapper:hover {
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
	transform: scale(1.05);
	border-color: #21759b;
}

.widget_shopping_cart .cart_list li .product-thumbnail img.wc-pc13-preview-thumb,
.woocommerce-mini-cart .product-thumbnail img.wc-pc13-preview-thumb {
	max-width: 56px !important;
	max-height: 56px !important;
	width: 56px !important;
	height: 56px !important;
	min-width: 56px !important;
	min-height: 56px !important;
	object-fit: cover !important;
	border-radius: 4px;
	display: block !important;
	position: relative !important;
	z-index: 1;
	flex-shrink: 0;
}

/* Panier latéral (widget) - Afficher la vignette personnalisée */
.widget_shopping_cart .cart_list li .product-thumbnail {
	min-width: 60px;
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: transparent !important;
}

/* Mini panier - Afficher la vignette personnalisée petite */
/* Ne s'appliquer que quand il y a une horloge personnalisée */
.woocommerce-mini-cart .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) {
	min-width: 60px;
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
	position: relative;
	background: transparent !important;
	background-image: none !important;
}

/* S'assurer qu'aucun background-image n'est appliqué sur le thumbnail - uniquement pour les horloges personnalisées */
.woocommerce-mini-cart .product-thumbnail:has(.wc-pc13-cart-clock-wrapper),
.widget_shopping_cart .cart_list li .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) {
	background-image: none !important;
	background-size: auto !important;
	background-position: center !important;
}

/* S'assurer qu'il n'y a qu'une seule vignette - masquer l'image produit par défaut si notre vignette est présente */
.woocommerce-cart .cart_item .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) img:not(.wc-pc13-preview-thumb),
.woocommerce-cart .cart_item .product-thumbnail .wc-pc13-cart-clock-wrapper~img {
	display: none !important;
}

.widget_shopping_cart .cart_list li .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) img:not(.wc-pc13-preview-thumb),
.widget_shopping_cart .cart_list li .product-thumbnail .wc-pc13-cart-clock-wrapper~img,
.widget_shopping_cart .cart_list li .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) img.wp-post-image {
	display: none !important;
}

.woocommerce-mini-cart .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) img:not(.wc-pc13-preview-thumb),
.woocommerce-mini-cart .product-thumbnail .wc-pc13-cart-clock-wrapper~img,
.woocommerce-mini-cart .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) img.wp-post-image,
.woocommerce-mini-cart .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) a img:not(.wc-pc13-preview-thumb) {
	display: none !important;
}

.widget_shopping_cart .cart_list li .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) img:not(.wc-pc13-preview-thumb),
.widget_shopping_cart .cart_list li .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) a img:not(.wc-pc13-preview-thumb) {
	display: none !important;
}

/* Forcer la suppression de tout background-image sur le thumbnail dans le mini panier - uniquement pour les horloges personnalisées */
.woocommerce-mini-cart .product-thumbnail:has(.wc-pc13-cart-clock-wrapper),
.woocommerce-mini-cart .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) a,
.widget_shopping_cart .cart_list li .product-thumbnail:has(.wc-pc13-cart-clock-wrapper),
.widget_shopping_cart .cart_list li .product-thumbnail:has(.wc-pc13-cart-clock-wrapper) a {
	background-image: none !important;
	background-size: auto !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

/* Afficher l'aperçu personnalisé dans le panier complet */
.wc-pc13-cart-clock-wrapper {
	display: inline-block;
	padding: 4px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.wc-pc13-cart-clock-wrapper:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.woocommerce-cart .cart_item .product-thumbnail .wc-pc13-cart-clock-wrapper {
	display: block;
}

.woocommerce-cart .cart_item .product-thumbnail img.wc-pc13-preview-thumb {
	max-width: 120px;
	max-height: 120px;
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

/* Masquer l'image produit par défaut si notre vignette est présente */
.woocommerce-cart .cart_item .product-thumbnail:has(img.wc-pc13-preview-thumb) img:first-child:not(.wc-pc13-preview-thumb) {
	display: none !important;
}

/* Améliorer l'espacement dans le panier */
.woocommerce-cart .cart_item td.product-thumbnail {
	padding-right: 15px;
}

.woocommerce-cart .cart_item .product-name {
	padding-left: 0;
}

/* Style pour les détails de l'horloge dans le panier */
.woocommerce-cart .cart_item dl.variation {
	margin: 8px 0 0 0;
}

.woocommerce-cart .cart_item dl.variation dt {
	font-weight: 600;
	margin-bottom: 4px;
	font-size: 12px;
	color: #666;
}

.woocommerce-cart .cart_item dl.variation dd {
	margin-left: 0;
	margin-bottom: 8px;
}

/* Style pour la liste des options du configurateur dans le panier */
.wc-pc13-cart-summary {
	margin-top: 8px;
	text-align: left !important;
}

.wc-pc13-cart-options-list {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left !important;
}

.wc-pc13-cart-options-list .wc-pc13-cart-option {
	margin-bottom: 6px;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

.wc-pc13-cart-options-list .wc-pc13-cart-option:last-child {
	margin-bottom: 0;
}

.wc-pc13-cart-options-list .wc-pc13-cart-option strong {
	font-weight: 600;
	color: #333;
	margin-right: 4px;
}

.wc-pc13-cart-color-indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin-left: 4px;
	vertical-align: middle;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.wc-pc13-cart-download-buttons {
	margin-top: 10px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wc-pc13-cart-download-btn {
	display: inline-block;
	padding: 6px 12px;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	font-size: 12px;
	transition: background-color 0.2s;
}

.wc-pc13-cart-download-btn:hover {
	background-color: #e8e8e8;
	color: #333;
	text-decoration: none;
}

/* Styles spécifiques uniquement pour les produits personnalisés dans le mini-cart */
/* Ces styles ne s'appliquent que si le produit a des données wc-pc13 */

/* Garder seulement les styles essentiels pour les informations du produit personnalisé */

/* Styles pour les boutons de suppression dans le mini-cart - uniquement pour les produits personnalisés */

/* Styles pour l'affichage des informations du produit personnalisé seulement */

/* Styles pour les informations du produit personnalisé dans le widget shopping cart */

/* Suppression des styles qui modifient la mise en page générale du mini-cart */

/* Styles spécifiques pour les informations du produit personnalisé */

/* Styles pour éviter les conflits avec le mini-cart réorganisé */
.wc-pc13-quantity-clone {
	display: inline-block;
	margin-left: 8px;
	font-size: 0.9em;
	color: #666;
	font-weight: normal;
}

/* Assurer l'alignement à gauche du mini-cart indépendamment du configurateur */
.widget_shopping_cart,
.woocommerce-mini-cart {
	text-align: left !important;
}

.widget_shopping_cart .woocommerce-mini-cart-item,
.woocommerce-mini-cart .woocommerce-mini-cart-item {
	text-align: left !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
}

.widget_shopping_cart .woocommerce-mini-cart-item .product-name,
.woocommerce-mini-cart .woocommerce-mini-cart-item .product-name {
	text-align: left !important;
}

/* Les styles du configurateur n'affectent que les produits personnalisés */
.wc-pc13-cart-summary,
.wc-pc13-cart-summary * {
	text-align: left !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
}

/* Masquer la fonctionnalité AR (Réalité Augmentée) */
.wc-pc13-ar-btn,
.wc-pc13-ar-modal {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

/* Styles pour le bouton de suppression dans le mini panier - uniquement pour les horloges personnalisées */
.woocommerce-mini-cart-item:has(.wc-pc13-cart-summary) a.remove.remove_from_cart_button {
	position: absolute !important;
	right: 8px !important;
	top: 16px !important;
	width: 24px !important;
	height: 24px !important;
	font-size: 16px !important;
	line-height: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid #ddd !important;
	color: #666 !important;
	transition: all 0.2s ease !important;
	z-index: 10 !important;
}

.woocommerce-mini-cart-item:has(.wc-pc13-cart-summary) a.remove.remove_from_cart_button:hover {
	background: #f5f5f5 !important;
	color: #333 !important;
	border-color: #bbb !important;
	transform: scale(1.1) !important;
}

/* Styles pour le bouton de suppression dans le widget shopping cart */
.widget_shopping_cart .cart_list li a.remove.remove_from_cart_button {
	position: absolute !important;
	right: 8px !important;
	top: 16px !important;
	width: 24px !important;
	height: 24px !important;
	font-size: 16px !important;
	line-height: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid #ddd !important;
	color: #666 !important;
	transition: all 0.2s ease !important;
	z-index: 10 !important;
}

.widget_shopping_cart .cart_list li a.remove.remove_from_cart_button:hover {
	background: #f5f5f5 !important;
	color: #333 !important;
	border-color: #bbb !important;
	transform: scale(1.1) !important;
}