/* LP Espace client */
.lpec-eng{border:2px solid var(--lpx-border,#e5e9f0);border-radius:var(--lpx-radius-sm,12px);background:var(--lpx-slate-light,#f1f5f9);padding:14px 16px;margin:6px 0 16px;font-size:14px;line-height:1.5}
.lpec-eng.is-ok{border-color:var(--lpx-green,#82bc00);background:var(--lpx-green-light,#f1f8e2)}
.lpec-eng p{margin:0 0 6px}
.lpec-eng-d{color:var(--lpx-slate,#64748b);font-size:13px}
.lpec-eng-c{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-weight:700;margin-top:8px}
.lpec-eng-c input{width:20px;height:20px;flex:0 0 auto;margin-top:1px;accent-color:var(--lpx-blue,#0056b3)}
.lpec-eng-err{color:#b91c1c;font-weight:700;font-size:13px;margin:8px 0 0 !important}
.lpec-eng.is-hidden,.lpec-eng-err.is-hidden{display:none}
.lpec-sub-note{margin:10px 0 0;font-size:12.5px;color:var(--lpx-slate,#64748b);font-weight:600}

.lpec-magic{border:1px solid #e5e7eb;border-radius:12px;padding:18px 20px;margin:0 0 28px;background:#f8fafc}
.lpec-magic h2{margin-top:0;font-size:1.2em}
.lpec-magic input[type=email]{width:100%;max-width:420px}
.lpec-ok{color:#1e6b2d;font-weight:600}.lpec-ko{color:#b32d2e;font-weight:600}
.lpec-muted{color:#6b7280}
.lpec-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0 0 20px}
.lpec-tile{display:block;border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;text-decoration:none !important;background:#fff}
.lpec-tile b{display:block;margin-bottom:4px}.lpec-tile span{color:#6b7280;font-size:.9em}
.lpec-list{list-style:none;margin:0 0 12px;padding:0}
.lpec-list li{border:1px solid #e5e7eb;border-left:4px solid #0056b3;border-radius:8px;padding:10px 14px;margin:0 0 8px;background:#fff}
.lpec-date{font-weight:700}
.lpec-slot{display:inline-block;font-size:.8em;font-weight:700;text-transform:uppercase;background:#eaf2fb;color:#0056b3;border-radius:10px;padding:1px 8px;margin-left:4px}
.lpec-h3{font-size:1em;margin:16px 0 8px}
.lpec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
.lpec-grid a{position:relative;display:block}
.lpec-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;display:block}
.lpec-grid span{position:absolute;left:6px;bottom:6px;background:rgba(0,0,0,.65);color:#fff;font-size:11px;padding:1px 7px;border-radius:6px}
.lpec-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px 18px;margin:0 0 20px;background:#fff}
.lpec-card header h2{margin:0;font-size:1.25em}
.lpec-facts{list-style:none;margin:12px 0;padding:0;line-height:1.7}
.lpec-alert{background:#fcebea;color:#8a1f1f;border-radius:8px;padding:10px 12px}
.lpec-act{border-top:1px solid #eef0f2;padding:10px 0}
.lpec-act summary{cursor:pointer;font-weight:700;padding:4px 0}
.lpec-act select{max-width:100%}
.lpec-act label{display:block;font-weight:600;margin-bottom:4px}
.lpec-check{display:flex !important;gap:8px;align-items:flex-start;font-weight:600}
.lpec-row{border:0;padding:0;margin:0 0 10px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.lpec-row legend{font-weight:600;margin-bottom:4px}
.lpec-danger summary{color:#b32d2e}
.lpec-btn-danger{background:#b32d2e !important;color:#fff !important;border-color:#b32d2e !important}
/* Taille de texte homogène quel que soit le thème (WooCommerce impose 2rem sur certains thèmes) */
.woocommerce-account .woocommerce-MyAccount-content .lpec-card,
.woocommerce-account .woocommerce-MyAccount-content .lpec-card p,
.woocommerce-account .woocommerce-MyAccount-content .lpec-card li,
.woocommerce-account .woocommerce-MyAccount-content .lpec-card label,
.woocommerce-account .woocommerce-MyAccount-content .lpec-card select,
.woocommerce-account .woocommerce-MyAccount-content .lpec-card legend,
.woocommerce-account .woocommerce-MyAccount-content .lpec-card button,
.woocommerce-account .woocommerce-MyAccount-content .lpec-list li,
.woocommerce-account .woocommerce-MyAccount-content > p.lpec-muted,
.lpec-magic p,.lpec-magic label{font-size:15px;line-height:1.55}
.woocommerce-account .woocommerce-MyAccount-content .lpec-card p{margin:0 0 10px}
.woocommerce-account .woocommerce-MyAccount-content .lpec-card .lpec-muted{font-size:14px}
.woocommerce-account .woocommerce-MyAccount-content .lpec-card header h2{font-size:1.3em}
.woocommerce-account .woocommerce-MyAccount-content .lpec-act label{text-align:left;display:block}
.woocommerce-account .woocommerce-MyAccount-content .lpec-check{display:flex}
.lpec-check span{flex:1}
.lpec-check input{flex:0 0 auto;margin-top:4px}
.lpec-admin-note{background:#fff8e5;border-left:4px solid #dba617;padding:10px 14px;margin:0 0 16px;font-size:14px;line-height:1.5}
.lpec-sc .lpec-pw{font-size:14px;margin-top:-16px}
/* Espace client via shortcode (Elementor) : menu + contenu, robuste face aux styles du thème */
.lpec-sc.lpec-account > .woocommerce{display:flex !important;flex-wrap:nowrap;gap:24px;align-items:flex-start}
.lpec-sc.lpec-account > .woocommerce > .woocommerce-MyAccount-navigation{flex:0 0 200px !important;width:200px !important;max-width:none !important;float:none !important;margin:0 !important}
.lpec-sc.lpec-account > .woocommerce > .woocommerce-MyAccount-content{flex:1 1 0 !important;min-width:0;width:auto !important;max-width:none !important;float:none !important;margin:0 !important}
.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul{list-style:none !important;margin:0 !important;padding:0 !important;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff}
.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul li{margin:0 !important;padding:0 !important;border-bottom:1px solid #eef0f2;list-style:none !important}
.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul li:last-child{border-bottom:0}
.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul li a{display:block;padding:10px 14px !important;text-decoration:none !important;color:#1f2937 !important;font-size:15px !important;line-height:1.35 !important;background:transparent}
.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul li a:hover{background:#f3f6fb}
.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul li.is-active a{background:#0056b3 !important;color:#fff !important;font-weight:600}
.lpec-sc.lpec-account .woocommerce-MyAccount-navigation-link--customer-logout a{color:#b32d2e !important}
@media (max-width:760px){
	.lpec-sc.lpec-account > .woocommerce{flex-direction:column;gap:14px}
	.lpec-sc.lpec-account > .woocommerce > .woocommerce-MyAccount-navigation{flex:none !important;width:100% !important}
	.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:6px;border:0;background:transparent;overflow:visible}
	.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul li{border:0}
	.lpec-sc.lpec-account .woocommerce-MyAccount-navigation ul li a{border:1px solid #d1d5db;border-radius:18px;padding:6px 12px !important;font-size:14px !important;background:#fff}
}
.lpec-account .woocommerce-MyAccount-content .lpec-card p,.lpec-account .woocommerce-MyAccount-content .lpec-card li,.lpec-account .woocommerce-MyAccount-content .lpec-card label,.lpec-account .woocommerce-MyAccount-content .lpec-card select,.lpec-account .woocommerce-MyAccount-content .lpec-card button,.lpec-account .woocommerce-MyAccount-content .lpec-list li{font-size:15px;line-height:1.55}
.lpec-preview-form{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.lpec-preview-form input[type=email]{min-width:240px;padding:6px 10px}
.lpec-preview{border:2px dashed #dba617;border-radius:12px;padding:14px 18px}
.lpec-preview-head{margin:0 0 10px}
.lpec-preview .lpec-card p,.lpec-preview .lpec-card li,.lpec-preview .lpec-list li{font-size:15px;line-height:1.55}
/* Titres et sous-titres à taille raisonnable, quel que soit le thème */
.lpec-sc h2,.woocommerce-account .woocommerce-MyAccount-content h2{font-size:1.35rem;line-height:1.3;margin:18px 0 10px;font-weight:700}
.lpec-sc h3,.lpec-sc .lpec-h3{font-size:1.05rem;margin:14px 0 8px}
.lpec-sc .lpec-card header h2{font-size:1.2rem;margin:0}
.lpec-sc p,.lpec-sc .lpec-muted,.lpec-sc .lpec-card header .lpec-muted{font-size:15px;line-height:1.55}
.lpec-sc .lpec-card header .lpec-muted{font-size:14px}
.lpec-sc > h2:first-child,.lpec-preview > .lpec-preview-head + h2{margin-top:4px}
.lpec-admin-note .button{padding:6px 14px;font-size:14px;line-height:1.3;min-height:0}
.lpec-admin-note label{font-size:14px}

.lpec-ret-info{font-size:12.5px;color:var(--lpx-slate,#64748b);margin:0 0 12px;text-align:center}.lpec-ret-info.is-hidden{display:none}
/* 1.7.3 : cases du tunnel plus lisibles */
.lpec-eng{transition:border-color .2s,background .2s}
.lpec-eng-c{font-weight:400;padding:12px;margin:10px -4px 0;border-radius:10px;background:#fff;border:1.5px solid var(--lpx-border,#e5e9f0)}
.lpec-eng-c:hover{border-color:var(--lpx-blue,#0056b3)}
.lpec-eng-c input{width:24px;height:24px;margin-top:0;accent-color:var(--lpx-green,#82bc00)}
.lpec-eng-c b{color:var(--lpx-dark,#0f172a)}
.lpec-legal{display:block;margin-top:4px;font-size:12.5px;line-height:1.45;color:var(--lpx-slate,#64748b)}
.lpec-eng.is-ok .lpec-eng-c{border-color:var(--lpx-green,#82bc00)}
.lpec-eng:has(.lpec-eng-err:not(.is-hidden)){border-color:#fca5a5;background:#fff7f7}
.lpec-alt{margin:10px 0 0 !important;font-size:13px;color:var(--lpx-slate,#64748b)}
.lpec-alt a{font-weight:700;color:var(--lpx-blue,#0056b3)}
.lpec-eng.is-ok .lpec-alt{display:none}
