/* ==========================================================================
   Variables de marque Proxidesk — utilisées dans tout le plugin
   (inscription, liste d'offres, formulaire d'activation, tableau de bord).
   ========================================================================== */
:root {
	--pxa-red: #8E1010;
	--pxa-red-dark: #6b0c0c;
	--pxa-red-soft: #fbeaea;
	--pxa-anthracite: #1c1c1c;
	--pxa-anthracite-soft: #34302f;
}

.pxa-page,
.pxa-liste-wrap,
.pxa-liste-page,
.pxa-single,
.pxa-dash,
.pxa-dash-page,
.pxa-programme,
.pxa-page *,
.pxa-liste-wrap *,
.pxa-liste-page *,
.pxa-single *,
.pxa-dash *,
.pxa-dash-page *,
.pxa-programme * {
	font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
	box-sizing: border-box;
}

/* ==========================================================================
   Formulaire d'inscription (bouton devenir partenaire)
   ========================================================================== */

.pxa-page {
	background-color: #f4f4f4;
	background-repeat: no-repeat;
}

.pxa-card {
	background: rgba(255, 255, 255, .82);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	max-width: 460px;
	width: 100%;
	padding: 36px;
	border-top: 5px solid var(--pxa-red);
	border-radius: 4px 4px 14px 14px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}

.pxa-titre {
	color: #181818;
	margin-top: 0;
	margin-bottom: 22px;
	text-align: center;
	font-size: 20px;
	white-space: nowrap;
}

/* ==========================================================================
   Champs de formulaire — communs à l'inscription et au formulaire d'activation
   ========================================================================== */

#pxa-form label,
#pxa-form-activation label {
	display: block;
	font-weight: 600;
	color: #181818;
	margin-top: 14px;
	margin-bottom: 4px;
	font-size: 14px;
}

#pxa-form input,
#pxa-form-activation input,
#pxa-form-activation select {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #dcdfe3;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: 14px;
	background: #fff;
}

#pxa-form input:focus,
#pxa-form-activation input:focus,
#pxa-form-activation select:focus {
	outline: none;
	border-color: var(--pxa-red);
	box-shadow: 0 0 0 3px var(--pxa-red-soft);
}

#pxa-submit-btn:disabled,
#pxa-form-submit-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

#pxa-form-activation h3 {
	margin-top: 26px;
	margin-bottom: 6px;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--pxa-red-soft);
	color: var(--pxa-red);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.pxa-msg {
	margin-top: 14px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
}

.pxa-msg.is-success {
	background: #f5e0e0;
	color: #6b0c0c;
}

.pxa-msg.is-error {
	background: #fbe7e7;
	color: #8a2c2c;
}

/* ==========================================================================
   Liste des offres disponibles
   ========================================================================== */

.pxa-liste-wrap {
	max-width: 1100px;
	margin: 40px auto;
	padding: 0 16px;
}

.pxa-liste-page {
	padding: 40px 0;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	box-sizing: border-box;
}

.pxa-liste-page .pxa-liste-wrap,
.pxa-liste-page .pxa-single {
	margin-top: 0;
	margin-bottom: 0;
}

.pxa-liste-titre {
	color: var(--pxa-anthracite);
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 4px;
}

.pxa-liste-sous-titre {
	color: #666;
	margin-top: 0;
}

.pxa-grille-produits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.pxa-carte-produit {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: #181818;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
	border: 1px solid #f0f0f0;
	transition: transform .18s ease, box-shadow .18s ease;
	padding-bottom: 6px;
}

.pxa-carte-produit:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
	border-color: var(--pxa-red-soft);
}

.pxa-carte-image {
	background: #f7f7f7;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pxa-carte-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pxa-carte-corps {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.pxa-carte-produit h3 {
	font-size: 15px;
	margin: 0 0 6px;
	color: var(--pxa-anthracite);
}

.pxa-carte-prix {
	margin: 0 0 12px;
	font-weight: 800;
	color: var(--pxa-red);
	font-size: 16px;
}

.pxa-carte-cta {
	margin-top: auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--pxa-red);
}

.pxa-carte-trait {
	display: block;
	height: 5px;
	margin: 6px 16px 0;
	border-radius: 3px;
}

.pxa-carte-trait--rouge {
	background: var(--pxa-red);
}

.pxa-carte-trait--vert {
	background: #00a168;
}

/* ==========================================================================
   Formulaire d'activation — page façon fiche produit (image / formulaire)
   ========================================================================== */

.pxa-single {
	max-width: 1100px;
	margin: 40px auto;
	padding: 0 16px;
	display: grid;
	grid-template-columns: minmax(280px, 42%) 1fr;
	gap: 40px;
	align-items: start;
}

@media (max-width: 780px) {
	.pxa-single {
		grid-template-columns: 1fr;
	}
}

.pxa-single-image {
	position: sticky;
	top: 20px;
	background: #f7f7f7;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.pxa-single-image img {
	width: 100%;
	height: auto;
	display: block;
}

.pxa-dash-eyebrow {
	display: inline-block;
	background: var(--pxa-red-soft);
	color: var(--pxa-red);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.pxa-single-titre {
	margin: 0 0 4px;
	color: var(--pxa-anthracite);
	font-size: 24px;
	font-weight: 800;
}

.pxa-single-prix {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 800;
	color: var(--pxa-red);
}

.pxa-directive {
	background: var(--pxa-red-soft);
	border-left: 4px solid var(--pxa-red);
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 22px;
	font-size: 14px;
	color: #4a2020;
}

.pxa-directive p:first-child {
	margin-top: 0;
}

.pxa-directive p:last-child {
	margin-bottom: 0;
}

.pxa-single-retour {
	margin-top: 18px;
}

.pxa-single-retour a {
	color: var(--pxa-red);
	font-weight: 600;
	text-decoration: none;
}

.pxa-checkbox-ligne {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 18px;
	font-size: 13px;
	color: #444;
	font-weight: 400;
}

.pxa-checkbox-ligne input {
	width: auto;
	margin-top: 3px;
	flex: 0 0 auto;
}

.pxa-conversion-grille {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 8px 0 4px;
}

.pxa-conversion-champ {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #dcdfe3;
	border-radius: 8px;
	padding: 10px 12px;
	background: #fafafa;
}

.pxa-conversion-drapeau {
	font-size: 20px;
	line-height: 1;
}

.pxa-conversion-valeur {
	font-weight: 700;
	color: var(--pxa-anthracite);
	font-size: 14px;
}

/* ==========================================================================
   Tableau de bord partenaire
   ========================================================================== */

.pxa-dash {
	max-width: 1000px;
	margin: 40px auto;
	padding: 0 16px;
}

.pxa-dash-page {
	padding: 40px 0;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	box-sizing: border-box;
}

.pxa-dash-page .pxa-dash {
	margin: 0 auto;
}

.pxa-dash-hero {
	background: linear-gradient(135deg, var(--pxa-anthracite) 0%, var(--pxa-red-dark) 100%);
	border-radius: 18px;
	padding: 32px;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	justify-content: space-between;
	align-items: flex-start;
}

.pxa-dash-hero-texte h2 {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 800;
}

.pxa-dash-hero-texte p {
	margin: 0;
	opacity: .85;
	font-size: 14px;
}

.pxa-dash-code-bloc {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 14px;
	padding: 16px 20px;
	min-width: 280px;
	flex: 1 1 320px;
}

.pxa-dash-code-ligne + .pxa-dash-code-ligne {
	margin-top: 14px;
}

.pxa-dash-code-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	opacity: .7;
	margin-bottom: 4px;
}

.pxa-copie-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: rgba(0, 0, 0, .25);
	border-radius: 8px;
	padding: 8px 10px;
}

.pxa-copie-wrap code {
	font-family: 'Plus Jakarta Sans', monospace;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: none;
	padding: 0;
}

.pxa-copie-btn {
	position: relative;
	background: var(--pxa-red);
	border: none;
	border-radius: 6px;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	cursor: pointer;
}

.pxa-copie-btn::before,
.pxa-copie-btn::after {
	content: "";
	position: absolute;
	border: 1.6px solid #fff;
	border-radius: 2px;
	background: transparent;
}

.pxa-copie-btn::before {
	width: 11px;
	height: 13px;
	top: 6px;
	left: 6px;
	background: var(--pxa-red);
}

.pxa-copie-btn::after {
	width: 11px;
	height: 13px;
	top: 10px;
	left: 11px;
}

.pxa-copie-btn.is-copie {
	background: #4ba05f;
}

.pxa-copie-btn.is-copie::before {
	background: #4ba05f;
}

.pxa-dash-hero-nom {
	color: #fff !important;
}

.pxa-dash .pxa-stats-grille {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.pxa-dash .pxa-stat-carte {
	position: relative;
	background: #fff;
	border-radius: 10px;
	padding: 20px 18px;
	text-align: left;
	border: 1px solid #eee;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.pxa-dash .pxa-stat-carte--accent {
	border-color: var(--pxa-red);
	background: var(--pxa-red-soft);
}

.pxa-stat-icone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--pxa-red-soft);
	color: var(--pxa-red);
	margin-bottom: 10px;
}

.pxa-stat-icone svg {
	width: 18px;
	height: 18px;
}

.pxa-stat-valeur {
	display: block;
	font-size: 20px;
	font-weight: 800;
	color: var(--pxa-red);
}

.pxa-stat-label {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #555;
}

.pxa-dash-wallet-carte {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.pxa-dash-wallet-texte h3 {
	margin: 0 0 4px;
	color: var(--pxa-anthracite);
	font-size: 17px;
}

.pxa-dash-wallet-texte p {
	margin: 0;
	color: #666;
	font-size: 14px;
}

#pxa-transfert-btn.pxa-btn-wallet {
	width: auto;
	margin-top: 0;
	padding: 14px 26px;
}

.pxa-dash-historique {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 24px;
	margin-top: 20px;
}

.pxa-dash-historique h3 {
	margin: 0 0 16px;
	color: var(--pxa-anthracite);
	font-size: 17px;
}

.pxa-dash-historique-vide {
	color: #777;
	margin: 0;
}

.pxa-dash-table-wrap {
	overflow-x: auto;
}

.pxa-dash-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.pxa-dash-table th {
	text-align: left;
	padding: 10px 12px;
	color: #777;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .03em;
	border-bottom: 2px solid #f0f0f0;
	white-space: nowrap;
}

.pxa-dash-table td {
	padding: 12px;
	border-bottom: 1px solid #f4f4f4;
	color: var(--pxa-anthracite);
	white-space: nowrap;
}

.pxa-dash-table-commission {
	font-weight: 800;
	color: var(--pxa-red);
}

/* ==========================================================================
   Contraste des meta de ligne (carte à recharger, montant...) sur les
   pages panier / commande, qui ont un fond sombre chez Proxidesk.
   ========================================================================== */

.woocommerce-checkout .wc-item-meta,
.woocommerce-checkout .wc-item-meta *,
.woocommerce-cart .wc-item-meta,
.woocommerce-cart .wc-item-meta * {
	color: #fff !important;
	opacity: 1 !important;
}

.woocommerce-checkout .wc-item-meta-label,
.woocommerce-cart .wc-item-meta-label {
	font-weight: 700;
}

/* ==========================================================================
   Page "Commande reçue" (order-received) — couleurs et typographie Proxidesk
   ========================================================================== */

.woocommerce-order {
	max-width: 900px;
	margin: 40px auto;
	padding: 0 16px;
	font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.woocommerce-order .woocommerce-notice,
.woocommerce-order .woocommerce-thankyou-order-received {
	display: block;
	background: linear-gradient(135deg, #1c1c1c 0%, #6b0c0c 100%);
	color: #fff;
	padding: 26px 28px;
	border-radius: 16px;
	font-size: 17px;
	font-weight: 700;
	border: none;
	list-style: none;
	margin: 0 0 24px;
}

.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 16px;
	padding: 26px;
	margin: 0 0 24px;
	list-style: none;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}

.woocommerce-order-overview li {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #888;
}

.woocommerce-order-overview li strong {
	display: block;
	color: #8E1010;
	font-size: 17px;
	font-weight: 800;
	text-transform: none;
	letter-spacing: normal;
	margin-top: 6px;
}

.woocommerce-order-details,
.woocommerce-customer-details {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 16px;
	padding: 26px;
	margin: 0 0 24px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
	color: #1c1c1c;
	font-size: 18px;
	font-weight: 800;
	border-bottom: 2px solid #fbeaea;
	padding-bottom: 12px;
	margin-top: 0;
}

.woocommerce-order-details table.woocommerce-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.woocommerce-order-details table.woocommerce-table thead th {
	text-align: left;
	color: #888;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .03em;
	border-bottom: 2px solid #f0f0f0;
	padding: 10px 8px;
}

.woocommerce-order-details table.woocommerce-table td {
	padding: 14px 8px;
	border-bottom: 1px solid #f4f4f4;
	color: #1c1c1c;
}

.woocommerce-order-details table.woocommerce-table tfoot th,
.woocommerce-order-details table.woocommerce-table tfoot td {
	font-weight: 800;
	color: #1c1c1c;
}

.woocommerce-order-details .wc-item-meta {
	color: #666 !important;
	opacity: 1 !important;
	font-size: 13px;
}

.woocommerce-order-details .wc-item-meta-label {
	color: #1c1c1c !important;
	font-weight: 700;
}

.woocommerce-customer-details address {
	border: none;
	padding: 0;
	font-style: normal;
	color: #333;
	line-height: 1.6;
}

/* ==========================================================================
   Page de présentation du programme partenaire
   ========================================================================== */

.pxa-programme {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 16px;
}

.pxa-prog-hero {
	text-align: center;
	max-width: 720px;
	margin: 50px auto 70px;
}

.pxa-prog-hero h1 {
	color: var(--pxa-anthracite);
	font-size: 34px;
	font-weight: 800;
	margin: 12px 0 20px;
	line-height: 1.2;
}

.pxa-prog-hero-texte {
	color: #444;
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 14px;
}

.pxa-prog-cta {
	display: inline-block;
	width: auto;
	margin-top: 22px;
	padding: 15px 30px;
	font-size: 15px;
	text-decoration: none;
}

.pxa-prog-section {
	margin-bottom: 60px;
}

.pxa-prog-section h2 {
	text-align: center;
	color: var(--pxa-anthracite);
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 34px;
}

.pxa-prog-etapes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
}

.pxa-prog-etape {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 26px 20px;
	text-align: center;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}

.pxa-prog-etape-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--pxa-red-soft);
	color: var(--pxa-red);
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 14px;
}

.pxa-prog-etape h3 {
	color: var(--pxa-anthracite);
	font-size: 16px;
	margin: 0 0 8px;
}

.pxa-prog-etape p {
	color: #555;
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0;
}

.pxa-prog-note {
	text-align: center;
	color: #666;
	font-size: 14px;
	max-width: 600px;
	margin: 30px auto 0;
}

.pxa-prog-note--clair {
	color: rgba(255, 255, 255, .85);
}

.pxa-prog-section--sombre {
	background: linear-gradient(135deg, var(--pxa-anthracite) 0%, var(--pxa-red-dark) 100%);
	border-radius: 20px;
	padding: 50px 30px;
	margin-left: -16px;
	margin-right: -16px;
}

.pxa-prog-section--sombre h2 {
	color: #fff;
}

.pxa-prog-commissions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	max-width: 760px;
	margin: 0 auto;
}

.pxa-prog-commission-carte {
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 14px;
	padding: 26px 18px;
	text-align: center;
}

.pxa-prog-commission-carte--accent {
	background: #fff;
	border-color: #fff;
}

.pxa-prog-commission-label {
	display: block;
	color: #fff;
	font-weight: 800;
	font-size: 16px;
}

.pxa-prog-commission-carte--accent .pxa-prog-commission-label {
	color: var(--pxa-anthracite);
}

.pxa-prog-commission-sous {
	display: block;
	color: rgba(255, 255, 255, .7);
	font-size: 12px;
	margin: 4px 0 14px;
}

.pxa-prog-commission-carte--accent .pxa-prog-commission-sous {
	color: #888;
}

.pxa-prog-commission-montant {
	display: block;
	color: #fff;
	font-size: 22px;
	font-weight: 800;
}

.pxa-prog-commission-carte--accent .pxa-prog-commission-montant {
	color: var(--pxa-red);
}

.pxa-prog-avantages {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 640px;
}

.pxa-prog-avantages li {
	position: relative;
	padding: 14px 0 14px 32px;
	border-bottom: 1px solid #f0f0f0;
	color: #444;
	font-size: 14.5px;
	line-height: 1.6;
}

.pxa-prog-avantages li:last-child {
	border-bottom: none;
}

.pxa-prog-avantages li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 14px;
	color: var(--pxa-red);
	font-weight: 800;
}

.pxa-prog-avantages li strong {
	color: var(--pxa-anthracite);
}

.pxa-prog-cta-finale {
	text-align: center;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 20px;
	padding: 50px 30px;
	margin-bottom: 60px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}

.pxa-prog-cta-finale h2 {
	margin-bottom: 14px;
}

.pxa-prog-cta-finale p {
	color: #555;
	max-width: 480px;
	margin: 0 auto;
	line-height: 1.6;
}
