/* Hympyr Espace client : habillage de « Mon compte » aux couleurs du site (palette de Hympyr Core). */
body.logged-in.woocommerce-account .woocommerce{font-family:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--hy-graphite,#1D2226);max-width:1120px;margin:0 auto;padding:24px 16px;display:grid;grid-template-columns:240px 1fr;gap:32px;align-items:start}
body.logged-in.woocommerce-account .woocommerce{grid-template-columns:240px minmax(0,1fr)}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper,.woocommerce-account .woocommerce>.woocommerce-message,.woocommerce-account .woocommerce>.woocommerce-error,.woocommerce-account .woocommerce>.woocommerce-info{grid-column:1/-1;width:auto;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation{grid-column:1;grid-row:2}
.woocommerce-account .woocommerce-MyAccount-content{grid-column:2;grid-row:2}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li+li{margin-top:2px!important}
.woocommerce-account .woocommerce-MyAccount-navigation{background:#fff;border:1px solid #DEDCD5;border-radius:24px;padding:12px;box-shadow:0 1px 2px rgba(29,34,38,.06),0 12px 32px -16px rgba(61,36,8,.25);position:sticky;top:24px}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:11px 16px;border-radius:14px;color:var(--hy-brun,#3D2408);text-decoration:none;font-weight:500;font-size:.95rem;transition:background .2s}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:var(--hy-craie,#F5F4F0)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--hy-action,#98612A);color:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{color:#8a6d4b;font-weight:400}
.woocommerce-account .woocommerce-MyAccount-content{min-width:0;margin:0;width:auto;float:none}
.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:auto}
.woocommerce-account h2,.woocommerce-account h3{color:var(--hy-brun,#3D2408);letter-spacing:-.01em;font-weight:600}
.hy-carte{background:#fff;border:1px solid #DEDCD5;border-radius:24px;padding:20px 22px;box-shadow:0 1px 2px rgba(29,34,38,.06),0 12px 32px -16px rgba(61,36,8,.22)}
.hy-bonjour{font-size:1.5rem;font-weight:600;color:var(--hy-brun,#3D2408);margin:0 0 18px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.hy-badge{font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;background:var(--hy-matiere,#EEE2D0);color:var(--hy-brun,#3D2408);border-radius:99px;padding:5px 12px}
.hy-badge.att{background:#fbe3b0;color:#7a5200}
.hy-info{margin:0 0 18px;background:var(--hy-matiere,#EEE2D0);border-color:transparent}.hy-info p{margin:0}
.hy-kpis,.hy-kpi{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px}
.hy-kpis .hy-carte,.hy-kpi .hy-carte{display:flex;flex-direction:column;gap:2px}
.hy-kpis small,.hy-kpi small{color:#6f6a60;font-size:.8rem}.hy-kpis b,.hy-kpi b{font-size:1.6rem;color:var(--hy-brun,#3D2408);line-height:1.25}
.hy-cta{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin:0 0 28px}
.hy-titre{margin:8px 0 12px;font-size:1.05rem}
.hy-bouton,.woocommerce-account .button.hy-bouton{display:inline-block;background:var(--hy-action,#98612A);color:#fff;border:0;border-radius:99px;padding:12px 24px;font:600 .95rem "Poppins",system-ui,sans-serif;text-decoration:none;cursor:pointer;transition:background .2s,transform .2s}
.hy-bouton:hover,.woocommerce-account .button.hy-bouton:hover{background:var(--hy-brun,#3D2408);color:#fff}
.hy-lien{color:var(--hy-action,#98612A);font-weight:600;text-decoration:none;background:none;border:0;padding:0;cursor:pointer;font:inherit;font-weight:600}.hy-lien:hover{text-decoration:underline}.hy-danger{color:#a32d2d}
.hy-liste{display:grid;gap:12px}
.hy-ligne{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;justify-content:space-between;padding:16px 20px}
.hy-ligne b{display:block;color:var(--hy-brun,#3D2408)}.hy-ligne small{display:block;color:#6f6a60;font-size:.82rem}
.hy-montant{font-weight:600}.hy-montant small{display:inline;color:#6f6a60;font-weight:400}
.hy-etat{border-radius:99px;padding:4px 14px;font-size:.8rem;font-weight:600}
.hy-etat.payee{background:#e3f1e5;color:#1d6b2f}.hy-etat.a_regler{background:#fbe3b0;color:#7a5200}.hy-etat.en_retard{background:#f8d7d7;color:#8e1f1f}
.hy-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:0}.hy-inline{display:inline;margin:0}
.hy-filtres{display:flex;gap:8px;margin:0 0 16px}.hy-filtre{border:1px solid #DEDCD5;border-radius:99px;padding:6px 16px;text-decoration:none;color:var(--hy-brun,#3D2408);font-size:.9rem;background:#fff}.hy-filtre.on{background:var(--hy-brun,#3D2408);color:#fff;border-color:var(--hy-brun,#3D2408)}
.hy-vide{text-align:center;color:#6f6a60}.hy-intro{margin:0 0 16px;color:#6f6a60}
.hy-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-bottom:20px}
.hy-site h3{margin:0 0 4px;font-size:1.05rem}.hy-site p{margin:.3em 0}.hy-petit{font-size:.85rem;color:#6f6a60}
.hy-faits{display:flex;flex-wrap:wrap;gap:8px}.hy-pastille-c{background:var(--hy-craie,#F5F4F0);border:1px solid #DEDCD5;border-radius:99px;padding:3px 12px;font-size:.8rem}.hy-pastille-c.ko{background:#f8d7d7;border-color:#f0b4b4;color:#8e1f1f}
.hy-form{max-width:640px}.hy-form .form-row{margin:0 0 14px}.hy-form label,.hy-type legend{font-weight:500;display:block;margin-bottom:4px}
.woocommerce-account input.input-text,.woocommerce-account textarea.input-text,.woocommerce-account select{border:1px solid #cfccc3;border-radius:14px;padding:11px 14px;font:inherit;width:100%;background:#fff;box-sizing:border-box}
.woocommerce-account input.input-text:focus,.woocommerce-account textarea.input-text:focus{outline:2px solid var(--hy-orange,#CB7A28);outline-offset:1px;border-color:transparent}
.hy-fieldset{border:0;padding:0;margin:0 0 16px}.hy-type{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hy-type legend{grid-column:1/-1;padding:0}
.hy-choix{display:flex;gap:10px;align-items:flex-start;border:1px solid #DEDCD5;border-radius:18px;padding:14px 16px;cursor:pointer;background:#fff}.hy-choix:has(input:checked){border-color:var(--hy-orange,#CB7A28);background:#fff8ef}.hy-choix input{margin-top:5px}.hy-choix b{display:block}.hy-choix small{color:#6f6a60}
[hidden]{display:none!important}
@media (max-width:820px){body.logged-in.woocommerce-account .woocommerce{grid-template-columns:minmax(0,1fr)}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{grid-column:1}.woocommerce-account .woocommerce-MyAccount-navigation{grid-row:2}.woocommerce-account .woocommerce-MyAccount-content{grid-row:3}.woocommerce-account .woocommerce-MyAccount-navigation{position:static}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:4px}.woocommerce-account .woocommerce-MyAccount-navigation li a{white-space:nowrap}.hy-type{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.hy-bouton{transition:none}}

/* Priorité sur la mise en page de WooCommerce et du thème (colonnes flottantes, largeurs en %) */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{float:none!important;width:auto!important;margin-left:0!important;margin-right:0!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a{text-decoration:none}
.hy-ec a:not(.button){color:var(--hy-action,#98612A)}
.hy-ec .hy-kpis .hy-carte>span,.hy-ec .hy-kpi .hy-carte>span{font-size:.85rem;color:#6f6a60}
.hy-ec .hy-kpis b .amount,.hy-ec .hy-kpi b .amount{font-size:inherit;font-weight:inherit;color:inherit}
.hy-ec .hy-filtre{text-decoration:none}.hy-ec .hy-filtre.on{color:#fff}
.hy-ec .hy-ligne b .amount{color:inherit}
.hy-ec button.hy-lien,.hy-ec .hy-inline button{border:0!important;background:none!important;padding:0!important;box-shadow:none!important;border-radius:0!important;font:inherit;font-weight:600;cursor:pointer;color:var(--hy-action,#98612A)}
.hy-ec button.hy-danger{color:#a32d2d!important}
