.pgm-retouch-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 100%;
}

.pgm-retouch-photo {
	position: relative;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 14px;
	background: #fafafa;
}

.pgm-retouch-remove-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 3;
	width: 24px;
	height: 24px;
	line-height: 1;
	border: 1px solid #ccc;
	border-radius: 50%;
	background: #fff;
	color: #666;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pgm-retouch-remove-btn:hover {
	background: #f2f2f2;
	color: #b3261e;
	border-color: #b3261e;
}

.pgm-retouch-photo.is-removed .pgm-retouch-photo-head,
.pgm-retouch-photo.is-removed .pgm-retouch-remove-btn {
	visibility: hidden;
}

.pgm-retouch-removed-overlay {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 2;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	background:
		repeating-linear-gradient(
			45deg,
			rgba(120, 120, 120, 0.25),
			rgba(120, 120, 120, 0.25) 8px,
			rgba(230, 230, 230, 0.6) 8px,
			rgba(230, 230, 230, 0.6) 16px
		);
	border-radius: 3px;
}

.pgm-retouch-photo.is-removed .pgm-retouch-removed-overlay {
	display: flex;
}

.pgm-retouch-removed-overlay span {
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 2px;
}

.pgm-retouch-photo-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px;
}

.pgm-retouch-thumb-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	flex: none;
	width: 128px;
}

.pgm-retouch-thumb-col img {
	width: 128px;
	height: 128px;
	object-fit: cover;
	border-radius: 3px;
}

.pgm-retouch-filename {
	font-size: 11px;
	text-align: center;
	word-break: break-all;
}

.pgm-retouch-price-tag {
	font-weight: 700;
	white-space: nowrap;
	font-size: 13px;
}

.pgm-retouch-categories {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 0 1 200px;
}

.pgm-retouch-cat-choice {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}

.pgm-retouch-levels-col {
	flex: 1 1 260px;
	min-width: 220px;
}

.pgm-retouch-levels {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 3px;
	padding: 10px 12px;
	width: 100%;
	box-sizing: border-box;
}

.pgm-retouch-level-choice {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 5px 0;
	font-size: 13px;
	cursor: pointer;
}

.pgm-retouch-level-choice input[type="radio"] {
	flex: none;
	margin-top: 3px;
}

.pgm-retouch-level-text {
	flex: 1 1 auto;
	min-width: 0; /* laisse vraiment le texte s'enrouler dans la colonne, plutôt que de pousser le prix hors du bloc */
}

.pgm-retouch-level-desc {
	color: #666;
}

.pgm-retouch-level-price {
	flex: none;
	font-weight: 700;
	white-space: nowrap;
	margin-left: 8px;
}

.pgm-retouch-manual-note {
	margin-top: 8px;
}

.pgm-retouch-manual-note textarea {
	width: 100%;
	min-height: 50px;
	box-sizing: border-box;
}

.pgm-retouch-summary {
	border-top: 1px solid #ddd;
	padding-top: 12px;
	font-size: 14px;
}

.pgm-retouch-fixed-total strong {
	font-size: 16px;
}

.pgm-retouch-manual-summary {
	background: #fff4e5;
	border: 1px solid #f0c987;
	border-radius: 4px;
	padding: 10px 12px;
	margin-top: 8px;
}

.pgm-retouch-manual-summary button.button,
.pgm-retouch-restore-btn.button {
	display: inline-block;
	background: #111;
	color: #fff !important;
	text-decoration: none !important;
	text-align: center;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	border-radius: 3px;
	border: none;
	cursor: pointer;
	box-shadow: none;
}

.pgm-retouch-manual-summary button.button:hover,
.pgm-retouch-restore-btn.button:hover {
	background: #1fae63;
	color: #fff !important;
}

/* Repris de purchase-flow.css : upload et invite de connexion, pour que ce
   fichier reste autonome (un seul shortcode = un seul jeu d'assets). */

.wcg-upload-zone {
	border: 2px dashed #ccc;
	border-radius: 6px;
	padding: 1.25em;
	text-align: center;
	margin: 1em 0;
	max-width: 100%;
}

.wcg-upload-label {
	display: inline-block;
	cursor: pointer;
	font-weight: 600;
	padding: 0.5em 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.wcg-upload-hint {
	font-size: 0.8em;
	opacity: 0.7;
	margin-top: 0.5em;
}

.wcg-account-invite {
	background: #f7f7f7;
	border-radius: 6px;
	padding: 1em;
	margin-top: 1em;
	max-width: 100%;
}

.wcg-btn {
	display: inline-block;
	padding: 0.5em 1.25em;
	border-radius: 4px;
	background: #222;
	color: #fff;
	text-decoration: none;
	margin-right: 0.5em;
}

.wcg-btn-secondary {
	background: transparent;
	color: #222;
	border: 1px solid #222;
}

.pgm-retouch-order {
	margin-top: 10px;
}

.pgm-retouch-order a.button {
	display: inline-block;
	background: #111;
	color: #fff !important;
	text-decoration: none !important;
	text-align: center;
	padding: 11px 28px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.2;
	border-radius: 3px;
	border: none;
	box-shadow: none;
}

.pgm-retouch-order a.button:hover,
.pgm-retouch-order a.button:focus {
	background: #1fae63;
	color: #fff !important;
}

.pgm-retouch-propagate {
	margin: 8px 0 0;
	text-align: right;
}

.pgm-retouch-propagate-btn {
	font-size: 12px;
	text-decoration: underline;
}
