/* Ferefen - Espace client (Mon compte)
 * Charge uniquement sur les pages du compte (voir ff-styles.php).
 * Mobile d'abord : navigation en pastilles defilantes, cartes, formulaires larges.
 */
body.woocommerce-account{--ffa-indigo:var(--gcid-primary-color,#1F2B6E);--ffa-indigo-dark:#18225A;--ffa-safran:var(--gcid-secondary-color,#F2A20C);--ffa-orange:var(--gcid-fforange,#C05600);--ffa-text:var(--gcid-body-color,#434B6B);--ffa-muted:#5B6385;--ffa-line:#DDE1EF;--ffa-line-soft:#EEF1F6;--ffa-field:#C3C8DC;--ffa-soft:#F7F8FC;--ffa-soft2:#F1F3FA;--ffa-radius:14px}

/* 1. Mise en page */
body.woocommerce-account .et_pb_text_inner>.woocommerce{max-width:1120px;margin:0 auto}
body.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px;align-items:start}
body.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::before,body.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::after{content:none!important;display:none!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,body.woocommerce-account .woocommerce .woocommerce-MyAccount-content{float:none!important;width:auto!important;margin:0!important}
body.woocommerce-account .woocommerce-MyAccount-content{min-width:0;color:var(--ffa-text)}
body.woocommerce-account .woocommerce-MyAccount-content>p{padding-bottom:0;margin:0 0 16px}

/* 2. Navigation */
body.woocommerce-account .woocommerce-MyAccount-navigation{background:#FFF;border:1px solid var(--ffa-line);border-radius:var(--ffa-radius);padding:8px}
body.woocommerce-account .et_pb_text .woocommerce-MyAccount-navigation ul{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:2px;line-height:1.3}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important;padding:0;list-style:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;color:var(--ffa-indigo);font-size:15px;font-weight:600;line-height:1.3;text-decoration:none!important;transition:background-color .2s ease,color .2s ease}
body.woocommerce-account .woocommerce-MyAccount-navigation li a::before{content:"";flex:0 0 20px;width:20px;height:20px;background-color:currentColor;-webkit-mask:var(--ffa-ico) center/contain no-repeat;mask:var(--ffa-ico) center/contain no-repeat}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard a{--ffa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders a{--ffa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E")}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address a{--ffa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account a{--ffa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--wishlist a{--ffa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 1 0-7.8 7.8l1.1 1L12 21l7.7-7.5 1.1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E")}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a{--ffa-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E")}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,body.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible{background:var(--ffa-soft2);color:var(--ffa-indigo)}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible{outline:2px solid var(--ffa-safran);outline-offset:1px}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--ffa-indigo);color:#FFF}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px!important;padding-top:6px;border-top:1px solid var(--ffa-line)}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--ffa-muted);font-weight:500}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover{color:#B42318;background:#FDF1F0}

/* 3. Boutons */
body.woocommerce-account .woocommerce .button,body.woocommerce-account .woocommerce button.button,body.woocommerce-account .woocommerce a.button,body.woocommerce-account .woocommerce input.button,body.woocommerce-account .ffa-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 22px!important;border:0!important;border-radius:10px!important;background:var(--ffa-indigo)!important;color:#FFF!important;font-size:15px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:0!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer;transition:background-color .2s ease}
body.woocommerce-account .woocommerce .button::after,body.woocommerce-account .woocommerce .button::before{content:none!important;display:none!important}
body.woocommerce-account .woocommerce .button:hover,body.woocommerce-account .ffa-btn:hover{background:var(--ffa-indigo-dark)!important;color:#FFF!important}
body.woocommerce-account .woocommerce .button:focus-visible,body.woocommerce-account .ffa-btn:focus-visible{outline:3px solid var(--ffa-safran);outline-offset:2px}
body.woocommerce-account .ffa-btn--ghost,body.woocommerce-account .woocommerce .woocommerce-orders-table .button,body.woocommerce-account .woocommerce .woocommerce-Address .edit{background:#FFF!important;color:var(--ffa-indigo)!important;border:1px solid var(--ffa-field)!important;min-height:38px;padding:7px 14px!important;font-size:14px!important}
body.woocommerce-account .ffa-btn--ghost:hover,body.woocommerce-account .woocommerce .woocommerce-orders-table .button:hover,body.woocommerce-account .woocommerce .woocommerce-Address .edit:hover{border-color:var(--ffa-indigo)!important;background:var(--ffa-soft2)!important;color:var(--ffa-indigo)!important}
body.woocommerce-account .ffa-btn--wa{background:#1E7A43!important}
body.woocommerce-account .ffa-btn--wa:hover{background:#17633A!important}

/* 4. Messages */
body.woocommerce-account .woocommerce-message,body.woocommerce-account .woocommerce-info,body.woocommerce-account .woocommerce-error{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 18px!important;padding:14px 16px!important;border:1px solid var(--ffa-line)!important;border-left:4px solid var(--ffa-indigo)!important;border-radius:10px!important;background:var(--ffa-soft)!important;color:var(--ffa-text)!important;font-size:15px!important;line-height:1.5;list-style:none!important}
body.woocommerce-account .woocommerce-message{border-left-color:#1E7A43!important;background:#F1FAF4!important}
body.woocommerce-account .woocommerce-info{border-left-color:var(--ffa-safran)!important;background:#FFF9EC!important}
body.woocommerce-account .woocommerce-error{border-left-color:#B42318!important;background:#FDF1F0!important}
body.woocommerce-account .woocommerce-message::before,body.woocommerce-account .woocommerce-info::before,body.woocommerce-account .woocommerce-error::before{content:none!important;display:none!important}
body.woocommerce-account .woocommerce-message .button,body.woocommerce-account .woocommerce-info .button{order:2;float:none!important;margin:0!important;min-height:38px;padding:7px 14px!important;font-size:14px!important}
body.woocommerce-account .woocommerce-error li{margin:0;padding:0}

/* 5. Tableau de bord */
body.woocommerce-account .ffa-dash{display:flex;flex-direction:column;gap:18px}
body.woocommerce-account .ffa-hello{position:relative;overflow:hidden;padding:24px;border-radius:var(--ffa-radius);background:linear-gradient(135deg,#1F2B6E 0%,#2B3A8F 100%);color:#FFF}
body.woocommerce-account .ffa-hello::after{content:"";position:absolute;right:-40px;top:-40px;width:140px;height:140px;border-radius:50%;background:var(--ffa-safran);opacity:.18}
body.woocommerce-account .woocommerce-MyAccount-content .ffa-hello h2{margin:0 0 6px;padding:0;color:#FFF;font-size:24px;line-height:1.2}
body.woocommerce-account .ffa-hello p{margin:0;padding:0;color:rgba(255,255,255,.88);font-size:16px;line-height:1.5}
body.woocommerce-account .ffa-hello__out{position:relative;z-index:1;display:inline-block;margin-top:12px;color:#FFF!important;font-size:14px;opacity:.85;text-decoration:underline!important;text-underline-offset:3px}
body.woocommerce-account .ffa-hello__out:hover{opacity:1}
body.woocommerce-account .ffa-last{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding:18px 20px;border:1px solid var(--ffa-line);border-radius:var(--ffa-radius);background:#FFF}
body.woocommerce-account .ffa-last__main{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:4px}
body.woocommerce-account .ffa-eyebrow{color:var(--ffa-muted);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
body.woocommerce-account .ffa-last__num{color:var(--ffa-indigo);font-size:18px;font-weight:700;line-height:1.3}
body.woocommerce-account .ffa-last__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;color:var(--ffa-muted);font-size:14px}
body.woocommerce-account .ffa-last__total{color:var(--ffa-indigo);font-weight:700}
body.woocommerce-account .ffa-last--empty .ffa-last__num{font-size:17px}
body.woocommerce-account .ffa-status{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:var(--ffa-soft2);color:var(--ffa-indigo);font-size:13px;font-weight:700;line-height:1.5;white-space:nowrap}
body.woocommerce-account .ffa-status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
body.woocommerce-account .ffa-status--processing,body.woocommerce-account .ffa-status--on-hold{background:#FFF4DC;color:#8A5A00}
body.woocommerce-account .ffa-status--completed{background:#E6F6EC;color:#1E7A43}
body.woocommerce-account .ffa-status--cancelled,body.woocommerce-account .ffa-status--failed{background:#FDECEC;color:#B42318}
body.woocommerce-account .ffa-status--refunded,body.woocommerce-account .ffa-status--checkout-draft{background:var(--ffa-soft2);color:var(--ffa-muted)}
body.woocommerce-account .ffa-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.woocommerce-account .ffa-card{position:relative;display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid var(--ffa-line);border-radius:var(--ffa-radius);background:#FFF;text-decoration:none!important;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
body.woocommerce-account .ffa-card:hover{border-color:var(--ffa-safran);box-shadow:0 10px 24px -14px rgba(31,43,110,.45);transform:translateY(-2px)}
body.woocommerce-account .ffa-card:focus-visible{outline:3px solid var(--ffa-safran);outline-offset:2px}
body.woocommerce-account .ffa-card__ico{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--ffa-soft2);color:var(--ffa-indigo)}
body.woocommerce-account .ffa-card__ico svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.woocommerce-account .ffa-card__title{color:var(--ffa-indigo);font-size:16px;font-weight:700;line-height:1.25}
body.woocommerce-account .ffa-card__text{color:var(--ffa-muted);font-size:14px;line-height:1.45}
body.woocommerce-account .ffa-card__count{position:absolute;top:14px;right:14px;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--ffa-safran);color:var(--ffa-indigo);font-size:12px;font-weight:800;line-height:24px;text-align:center}
body.woocommerce-account .ffa-card--help .ffa-card__ico{background:#E7F6EC;color:#1E7A43}
body.woocommerce-account .et_pb_text ul.ffa-trust{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:14px 16px!important;border-radius:12px;background:var(--ffa-soft);color:var(--ffa-text);font-size:14px;list-style:none!important;line-height:1.4}
body.woocommerce-account .ffa-trust li{display:inline-flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none!important}
body.woocommerce-account .ffa-trust li::before{content:"";flex:0 0 16px;width:16px;height:16px;background-color:var(--ffa-orange);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat}

/* 6. Commandes */
body.woocommerce-account .woocommerce table.shop_table{width:100%;margin:0 0 20px;border:1px solid var(--ffa-line)!important;border-radius:var(--ffa-radius)!important;border-collapse:separate!important;border-spacing:0;overflow:hidden;background:#FFF}
body.woocommerce-account .woocommerce table.shop_table thead th{padding:12px 16px!important;border:0!important;background:var(--ffa-soft);color:var(--ffa-muted);font-size:12px;font-weight:700;letter-spacing:.05em;text-align:left;text-transform:uppercase}
body.woocommerce-account .woocommerce table.shop_table tbody td,body.woocommerce-account .woocommerce table.shop_table tbody th,body.woocommerce-account .woocommerce table.shop_table tfoot td,body.woocommerce-account .woocommerce table.shop_table tfoot th{padding:14px 16px!important;border:0!important;border-top:1px solid var(--ffa-line-soft)!important;color:var(--ffa-text);font-size:15px;vertical-align:middle;text-align:left}
body.woocommerce-account .woocommerce table.shop_table tfoot th{color:var(--ffa-indigo);font-weight:600}
body.woocommerce-account .woocommerce table.shop_table tfoot tr:last-child td,body.woocommerce-account .woocommerce table.shop_table tfoot tr:last-child th{font-weight:800;color:var(--ffa-indigo)}
body.woocommerce-account .woocommerce-orders-table__cell-order-number a,body.woocommerce-account .woocommerce table.shop_table td.product-name a{color:var(--ffa-indigo)!important;font-weight:700;text-decoration:none!important}
body.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover{color:var(--ffa-orange)!important}
body.woocommerce-account .woocommerce table.shop_table td.woocommerce-orders-table__cell-order-actions{text-align:right}
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button+.button{margin-left:6px}
body.woocommerce-account .woocommerce-pagination{display:flex;gap:10px;justify-content:space-between;margin-top:8px}

/* 7. Detail d'une commande */
body.woocommerce-account .woocommerce-MyAccount-content>p:has(mark.order-number){padding:14px 16px;border:1px solid var(--ffa-line);border-radius:12px;background:var(--ffa-soft);line-height:1.8}
body.woocommerce-account mark.order-number,body.woocommerce-account mark.order-date{background:none;color:var(--ffa-indigo);font-weight:700}
body.woocommerce-account mark.order-status{padding:3px 10px;border-radius:999px;background:#FFF4DC;color:#8A5A00;font-weight:700;white-space:nowrap}
body.woocommerce-account .woocommerce-MyAccount-content h2,body.woocommerce-account .woocommerce-MyAccount-content h3{margin:26px 0 12px;padding:0;color:var(--ffa-indigo);font-size:20px;line-height:1.3}
body.woocommerce-account .woocommerce-customer-details address,body.woocommerce-account .woocommerce-Address address{padding:0!important;border:0!important;color:var(--ffa-text);font-style:normal;line-height:1.65}
body.woocommerce-account .woocommerce-customer-details .woocommerce-column,body.woocommerce-account .woocommerce-customer-details>address{padding:16px 18px;border:1px solid var(--ffa-line)!important;border-radius:var(--ffa-radius)!important;background:#FFF}
body.woocommerce-account .woocommerce-customer-details .woocommerce-column h2{margin-top:0;font-size:17px}
body.woocommerce-account .woocommerce-customer-details--phone,body.woocommerce-account .woocommerce-customer-details--email{margin:6px 0 0!important;padding:0!important}
body.woocommerce-account .woocommerce-customer-details--phone::before,body.woocommerce-account .woocommerce-customer-details--email::before{display:none!important}

/* 8. Adresses */
body.woocommerce-account .woocommerce .col2-set,body.woocommerce-account .woocommerce-Addresses,body.woocommerce-account .woocommerce-columns--addresses{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%!important}
body.woocommerce-account .woocommerce .col2-set::before,body.woocommerce-account .woocommerce .col2-set::after{content:none!important;display:none!important}
body.woocommerce-account .woocommerce .col2-set .col-1,body.woocommerce-account .woocommerce .col2-set .col-2{float:none!important;width:auto!important;max-width:none!important;margin:0!important}
body.woocommerce-account .woocommerce-Address{display:flex;flex-direction:column;gap:12px;padding:18px 20px;border:1px solid var(--ffa-line);border-radius:var(--ffa-radius);background:#FFF}
body.woocommerce-account .woocommerce-Address-title{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
body.woocommerce-account .woocommerce-Address-title::before,body.woocommerce-account .woocommerce-Address-title::after{content:none!important;display:none!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2{margin:0!important;font-size:17px}
body.woocommerce-account .woocommerce .woocommerce-Address .edit{float:none!important}

/* 9. Formulaires */
body.woocommerce-account .woocommerce-MyAccount-content>form,body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields{max-width:720px}
body.woocommerce-account .woocommerce form .form-row{margin:0 0 16px!important;padding:0!important}
body.woocommerce-account .woocommerce form .form-row label,body.woocommerce-account .woocommerce form legend{display:block;margin:0 0 6px;color:var(--ffa-indigo);font-size:14px;font-weight:600;line-height:1.4}
body.woocommerce-account .woocommerce form .form-row .required{color:var(--ffa-orange);text-decoration:none}
body.woocommerce-account .woocommerce form .form-row input.input-text,body.woocommerce-account .woocommerce form .form-row textarea,body.woocommerce-account .woocommerce form .form-row select,body.woocommerce-account .woocommerce form input[type="email"],body.woocommerce-account .woocommerce form input[type="password"],body.woocommerce-account .woocommerce form input[type="text"],body.woocommerce-account .woocommerce form input[type="tel"]{width:100%!important;min-height:48px;padding:11px 14px!important;border:1px solid var(--ffa-field)!important;border-radius:10px!important;background:#FFF!important;color:var(--ffa-indigo)!important;font-size:16px!important;line-height:1.4!important;box-shadow:none!important;transition:border-color .2s ease,box-shadow .2s ease}
body.woocommerce-account .woocommerce form .form-row input.input-text:focus,body.woocommerce-account .woocommerce form .form-row textarea:focus,body.woocommerce-account .woocommerce form .form-row select:focus,body.woocommerce-account .woocommerce form input:focus{border-color:var(--ffa-indigo)!important;box-shadow:0 0 0 3px rgba(242,162,12,.35)!important;outline:none}
body.woocommerce-account .woocommerce form .form-row ::placeholder{color:#9AA1BD;opacity:1}
body.woocommerce-account .woocommerce form .form-row em{display:block;margin-top:6px;color:var(--ffa-muted);font-size:13px;font-style:normal;line-height:1.45}
body.woocommerce-account .woocommerce form .form-row-first,body.woocommerce-account .woocommerce form .form-row-last{width:calc(50% - 8px)!important}
body.woocommerce-account .woocommerce form .form-row-first{float:left!important}
body.woocommerce-account .woocommerce form .form-row-last{float:right!important}
body.woocommerce-account .woocommerce form .form-row-wide{clear:both;width:100%!important}
body.woocommerce-account .woocommerce form fieldset{margin:22px 0 18px;padding:16px 18px 4px;border:1px solid var(--ffa-line);border-radius:var(--ffa-radius)}
body.woocommerce-account .woocommerce form fieldset legend{padding:0 6px;margin:0;font-size:15px;font-weight:700}
body.woocommerce-account .woocommerce .password-input{position:relative;display:block;width:100%}
body.woocommerce-account .woocommerce .show-password-input{top:50%!important;right:12px!important;transform:translateY(-50%)}
body.woocommerce-account .select2-container--default .select2-selection--single{height:48px!important;border:1px solid var(--ffa-field)!important;border-radius:10px!important}
body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered{padding-left:14px!important;line-height:46px!important;color:var(--ffa-indigo)!important}
body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px!important;right:8px!important}
body.woocommerce-account .woocommerce form .form-row .woocommerce-form__label-for-checkbox{display:inline-flex;align-items:center;gap:8px;font-weight:500;color:var(--ffa-text)}
body.woocommerce-account .woocommerce form input[type="checkbox"]{width:18px;height:18px;accent-color:var(--ffa-indigo)}

/* 10. Connexion (visiteur non connecte) */
body.woocommerce-account:not(.logged-in) .et_pb_text_inner>.woocommerce{max-width:480px}
body.woocommerce-account .woocommerce>h2{margin:0 0 14px;padding:0;color:var(--ffa-indigo);font-size:24px;line-height:1.25}
body.woocommerce-account .woocommerce form.login,body.woocommerce-account .woocommerce form.register,body.woocommerce-account .woocommerce form.lost_reset_password{margin:0 0 18px!important;padding:22px!important;border:1px solid var(--ffa-line)!important;border-radius:var(--ffa-radius)!important;background:#FFF}
body.woocommerce-account .woocommerce form.login .form-row:has(.woocommerce-form-login__submit){display:flex;flex-direction:column-reverse;align-items:stretch;gap:14px}
body.woocommerce-account .woocommerce form.login .woocommerce-form-login__submit,body.woocommerce-account .woocommerce form.lost_reset_password .button,body.woocommerce-account .woocommerce form.register .button{width:100%;float:none!important;margin:0!important}
body.woocommerce-account .woocommerce .lost_password{margin:4px 0 0!important;padding:0!important;text-align:center}
body.woocommerce-account .woocommerce .lost_password a,body.woocommerce-account .ffa-guest a:not(.ffa-btn){color:var(--ffa-orange)!important;font-weight:600}
body.woocommerce-account .woocommerce .lost_password a:hover,body.woocommerce-account .ffa-guest a:not(.ffa-btn):hover{color:var(--ffa-indigo)!important}
body.woocommerce-account #customer_login{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.woocommerce-account .ffa-guest{display:flex;flex-direction:column;gap:10px;padding:20px 22px;border-radius:var(--ffa-radius);background:var(--ffa-soft2);color:var(--ffa-text)}
body.woocommerce-account .ffa-guest h3{margin:0;padding:0;color:var(--ffa-indigo);font-size:18px;line-height:1.3}
body.woocommerce-account .ffa-guest p{margin:0;padding:0;font-size:15px;line-height:1.55}
body.woocommerce-account .ffa-guest__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
body.woocommerce-account .ffa-guest__actions .ffa-btn{flex:1 1 180px}

/* 11. Tablette */
@media (max-width:980px){
body.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:minmax(0,1fr);gap:18px}
body.woocommerce-account .woocommerce-MyAccount-navigation{padding:0;border:0;background:none;border-radius:0}
body.woocommerce-account .et_pb_text .woocommerce-MyAccount-navigation ul{flex-direction:row;gap:8px;overflow-x:auto;padding:2px 2px 8px!important;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
body.woocommerce-account .woocommerce-MyAccount-navigation li{flex:0 0 auto;scroll-snap-align:start}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{padding:9px 14px;border:1px solid var(--ffa-line);border-radius:999px;background:#FFF;font-size:14px;white-space:nowrap;gap:8px}
body.woocommerce-account .woocommerce-MyAccount-navigation li a::before{flex-basis:18px;width:18px;height:18px}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{border-color:var(--ffa-indigo)}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{margin:0!important;padding:0;border:0}
body.woocommerce-account .ffa-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 12. Mobile */
@media (max-width:767px){
body.woocommerce-account .ffa-hello{padding:20px 18px}
body.woocommerce-account .woocommerce-MyAccount-content .ffa-hello h2{font-size:22px}
body.woocommerce-account .ffa-last{padding:16px}
body.woocommerce-account .ffa-last .ffa-btn{width:100%}
body.woocommerce-account .ffa-grid{gap:10px}
body.woocommerce-account .ffa-card{padding:14px;gap:8px}
body.woocommerce-account .ffa-card__ico{width:40px;height:40px;border-radius:11px}
body.woocommerce-account .ffa-card__title{font-size:15px}
body.woocommerce-account .ffa-card__text{font-size:13px}
body.woocommerce-account .ffa-card__count{top:12px;right:12px}
body.woocommerce-account .et_pb_text ul.ffa-trust{flex-direction:column;gap:8px}
body.woocommerce-account .woocommerce table.shop_table_responsive,body.woocommerce-account .woocommerce table.shop_table_responsive tbody{display:block;border:0!important;background:none;overflow:visible}
body.woocommerce-account .woocommerce table.shop_table_responsive thead{display:none}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr{display:block;margin:0 0 10px;padding:4px 14px;border:1px solid var(--ffa-line);border-radius:var(--ffa-radius);background:#FFF}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr td,body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr th{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:10px 0!important;border-top:1px solid var(--ffa-line-soft)!important;text-align:right!important}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr>:first-child{border-top:0!important}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr td::before,body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr th::before{content:attr(data-title);float:none!important;color:var(--ffa-muted);font-size:14px;font-weight:600;text-align:left}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-actions{justify-content:stretch}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-actions::before{content:none}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-actions .button{flex:1 1 auto}
body.woocommerce-account .woocommerce form .form-row-first,body.woocommerce-account .woocommerce form .form-row-last{float:none!important;width:100%!important}
body.woocommerce-account .woocommerce .col2-set,body.woocommerce-account .woocommerce-Addresses,body.woocommerce-account .woocommerce-columns--addresses,body.woocommerce-account #customer_login{grid-template-columns:minmax(0,1fr)}
body.woocommerce-account .woocommerce-Address{padding:16px}
body.woocommerce-account .woocommerce-MyAccount-content>form .button,body.woocommerce-account .woocommerce-address-fields .button{width:100%}
body.woocommerce-account .woocommerce form.login,body.woocommerce-account .woocommerce form.register,body.woocommerce-account .woocommerce form.lost_reset_password{padding:18px!important}
}
@media (max-width:380px){
body.woocommerce-account .ffa-grid{grid-template-columns:minmax(0,1fr)}
}
/* Le titre de l'adresse est deja dans l'en-tete de page */
body.woocommerce-account .woocommerce-MyAccount-content>form>h2:first-child{display:none}

/* 13. Ajustements */
body.woocommerce-account .woocommerce .woocommerce-Address .edit{display:inline-flex!important;align-items:center;justify-content:center;border-radius:10px!important;font-weight:700!important;line-height:1.2!important;text-decoration:none!important}
body.woocommerce-account .woocommerce-MyAccount-content h2,body.woocommerce-account .woocommerce-MyAccount-content h3,body.woocommerce-account .woocommerce>h2,body.woocommerce-account .ffa-guest h3{font-weight:700}
body.woocommerce-account .woocommerce-MyAccount-content .ffa-hello h2{font-weight:800}
body.woocommerce-account .woocommerce table.shop_table tbody tr td,body.woocommerce-account .woocommerce table.shop_table tbody tr th{background:transparent!important}
@media (max-width:767px){
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr td,body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr th{display:block!important;overflow:hidden;line-height:1.6}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr td::before,body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr th::before{float:left!important;margin-right:12px}
body.woocommerce-account .woocommerce table.shop_table_responsive tbody tr td.woocommerce-orders-table__cell-order-actions{display:flex!important;gap:8px}
}