/* Accaven — pages de contenu de la phase 3 (accaven-phase3-spec.md §2.4 à §2.9). */

/* ---------- Pages de texte (§2.7) ---------- */
.acc-text__date { margin: 8px 0 0; font-size: 14px; color: var(--acc-muted); }
.acc-text__grid { margin-top: 24px; }
.acc-text__body { max-width: 720px; font-size: 16px; line-height: 26px; color: var(--acc-navy); }
.acc-text__body h2 { margin: 28px 0 10px; scroll-margin-top: 96px; font-family: var(--acc-font-head); font-weight: 700; font-size: 18px; line-height: 26px; color: var(--acc-navy); letter-spacing: 0; text-transform: none; }
.acc-text__body > h2:first-child { margin-top: 0; }
.acc-text__body h3 { margin: 20px 0 8px; font-family: var(--acc-font-head); font-weight: 600; font-size: 15px; line-height: 22px; color: var(--acc-navy); }
.acc-text__body p { margin: 0 0 12px; }
.acc-text__body ul, .acc-text__body ol { margin: 0 0 12px; padding-left: 20px; }
.acc-text__body li { margin: 0 0 6px; }
.acc-text__body a { color: var(--acc-navy); text-decoration: underline; text-underline-offset: 2px; }
.acc-text__body strong { font-weight: 600; }
.acc-text__body .acc-note { margin: 16px 0; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-radius: var(--acc-radius-card); background: var(--acc-lime); font-weight: 600; }
.acc-text__body .acc-note--info { background: var(--acc-surface); font-weight: 400; }
.acc-text__body .acc-small { font-size: 14px; color: var(--acc-muted); }

.acc-toc { margin-bottom: 24px; border: 1px solid var(--acc-border); border-radius: var(--acc-radius-card); }
.acc-page .acc-toc__toggle { width: 100%; height: 52px; padding: 0 16px; margin: 0; display: flex; align-items: center; justify-content: space-between; border: 0; background: transparent; box-shadow: none; color: var(--acc-navy); font-family: var(--acc-font-head); font-weight: 600; font-size: 15px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.acc-toc__toggle svg { transition: transform var(--acc-ease); }
.acc-toc__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc-toc__title { display: none; }
.acc-toc__list { display: none; list-style: none; margin: 0; padding: 0 8px 8px; counter-reset: toc; }
.acc-toc.is-open .acc-toc__list { display: block; }
.acc-toc__list li { counter-increment: toc; }
.acc-toc__list a { min-height: 44px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border-radius: 8px; color: var(--acc-muted); font-size: 15px; line-height: 20px; text-decoration: none; }
.acc-toc__list a::before { content: counter(toc) "."; min-width: 18px; color: var(--acc-muted); }
.acc-toc__list a:hover { color: var(--acc-navy); }
.acc-toc__list a.is-active { background: var(--acc-surface); color: var(--acc-navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--acc-navy); }
@media (min-width: 768px) { .acc-text__body h2 { font-size: 20px; line-height: 28px; } }
@media (min-width: 1024px) {
  .acc-text__grid { margin-top: 40px; display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 64px; align-items: start; }
  .acc-toc { position: sticky; top: 96px; margin: 0; border: 0; }
  .acc-toc__toggle { display: none !important; }
  .acc-toc__title { display: block; margin: 0 0 8px; padding: 0 12px; font-family: var(--acc-font-head); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--acc-muted); }
  .acc-toc__list { display: block; padding: 0; }
  .acc-toc__list a::before { display: none; }
}

/* ---------- Colonnes étroites (Aide, Guide des tailles) ---------- */
.acc-help__col, .acc-sizes__col { max-width: 800px; }

/* ---------- Aide (§2.5) ---------- */
.acc-help__search, .acc-404__search { margin: 20px 0 8px; display: flex; gap: 8px; }
.acc-help__field { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.acc-help__field svg { position: absolute; left: 14px; color: var(--acc-muted); pointer-events: none; }
.acc-page .acc-help__field input { width: 100%; height: 52px; padding: 0 14px 0 42px; margin: 0; border: 1px solid var(--acc-control); border-radius: var(--acc-radius-btn); background: var(--acc-white); box-shadow: none; color: var(--acc-navy); font-family: var(--acc-font-body); font-size: 16px; }
.acc-page .acc-help__field input:focus { border-color: var(--acc-navy); outline: 2px solid var(--acc-navy); outline-offset: 2px; }
.acc-help__search .acc-btn, .acc-404__search .acc-btn { min-height: 52px; flex-shrink: 0; }
.acc-help__none { margin: 16px 0 0; font-size: 16px; }
.acc-help__none a { color: var(--acc-navy); font-weight: 600; text-decoration: underline; }
.acc-help__group { margin-top: 32px; }
.acc-help__group[hidden], [data-acc-faq-item][hidden] { display: none; }
.acc-help__more { margin-top: 40px; padding: 24px 20px; border-radius: 12px; background: var(--acc-surface); }
.acc-help__more p { margin: 0 0 20px; font-size: 15px; color: var(--acc-muted); }
.acc-help__btns, .acc-about__btns { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 767px) { .acc-help__search .acc-btn { display: none; } }
@media (min-width: 768px) {
  .acc-help__more { padding: 32px; }
  .acc-help__btns { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Guide des tailles (§2.6) ---------- */
.acc-sizes__guide { margin-top: 24px; }
.acc-sizes__panel { margin-top: 20px; }
.acc-sizes__panel .acc-h2, .acc-sizes__measures .acc-h2 { margin-bottom: 16px; }
.acc-sizes__note { margin: 10px 0 0; font-size: 14px; color: var(--acc-muted); }
.acc-sizes__measures { margin: 32px 0 24px; }
.acc-sizes__measures ul { margin: 0; padding-left: 18px; font-size: 16px; line-height: 24px; }
.acc-sizes__measures li { margin: 0 0 10px; }
.acc-sizes__measures strong { font-weight: 600; }

/* Tiroir de la fiche produit : desktop à droite (coquille du panier latéral), mobile en volet bas. */
.acc-sg { position: fixed; inset: 0; z-index: 100000; font-family: var(--acc-font-body); color: var(--acc-navy); }
.acc-sg[hidden] { display: none; }
.acc-sg__overlay { position: absolute; inset: 0; background: var(--acc-overlay); opacity: 0; transition: opacity 200ms ease; }
.acc-sg.is-open .acc-sg__overlay { opacity: 1; }
.acc-sg__panel { position: absolute; left: 0; right: 0; bottom: 0; height: 90vh; height: 90dvh; display: flex; flex-direction: column; border-radius: 16px 16px 0 0; background: var(--acc-white); transform: translateY(100%); transition: transform 200ms ease; }
.acc-sg.is-open .acc-sg__panel { transform: none; }
.acc-sg__panel:focus { outline: none; }
.acc-sg__grip { flex-shrink: 0; display: flex; justify-content: center; padding-top: 8px; }
.acc-sg__grip span { width: 36px; height: 4px; border-radius: 999px; background: var(--acc-control); }
.acc-sg__head { flex-shrink: 0; height: 56px; padding: 0 6px 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--acc-border); }
.acc-sg__head h2 { margin: 0; font-family: var(--acc-font-head); font-weight: 700; font-size: 18px; color: var(--acc-navy); text-transform: none; letter-spacing: 0; }
.acc-sg .acc-sg__close { width: 44px; height: 44px; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; box-shadow: none; color: var(--acc-navy); cursor: pointer; }
.acc-sg .acc-sg__body { flex: 1 1 auto; max-width: none; margin: 0; padding: 16px 16px 32px; overflow-y: auto; overscroll-behavior: contain; }
.acc-sg .acc-tabs { margin-right: -16px; padding-right: 16px; }
.acc-sg .acc-table { font-size: 14px; }
html.acc-sg-lock { overflow: hidden; }
@media (min-width: 768px) {
  .acc-sg__panel { left: auto; top: 0; width: 480px; height: auto; border-radius: 0; transform: translateX(100%); }
  .acc-sg__grip { display: none; }
  .acc-sg__head { height: 64px; padding: 0 12px 0 20px; }
  .acc-sg .acc-sg__body { padding: 20px 20px 40px; }
  .acc-sg .acc-tabs { flex-wrap: nowrap; margin-right: 0; padding-right: 0; }
  .acc-sg .acc-page .acc-tab, .acc-sg .acc-tab { height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .acc-sg__overlay, .acc-sg__panel { transition: none; } }

/* ---------- À propos (§2.8) ---------- */
.acc-about__intro { padding: 28px 20px; border-radius: 16px; background: var(--acc-surface); }
.acc-about__intro .acc-pill { margin-bottom: 12px; }
.acc-about__intro p { max-width: 700px; margin: 12px 0 0; font-size: 16px; line-height: 26px; }
.acc-about__section { margin-top: 40px; }
.acc-about__values { display: grid; gap: 16px; }
.acc-about__value { padding: 20px; border: 1px solid var(--acc-border); border-radius: 12px; }
.acc-about__vicon { width: 48px; height: 48px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--acc-surface); }
.acc-about__value p { margin: 8px 0 0; font-size: 15px; line-height: 23px; color: var(--acc-muted); }
.acc-about__tiles { display: flex; gap: 16px; margin-right: -16px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.acc-about__tiles::-webkit-scrollbar { display: none; }
.acc-about__tile { flex: 0 0 160px; scroll-snap-align: start; display: flex; flex-direction: column; color: var(--acc-navy); text-decoration: none; }
.acc-about__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--acc-radius-card); background: var(--acc-surface); }
.acc-about__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--acc-ease); }
.acc-about__tile:hover .acc-about__img img { transform: scale(1.03); }
.acc-about__tname { margin-top: 12px; font-family: var(--acc-font-head); font-weight: 600; font-size: 15px; }
.acc-about__tline { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--acc-muted); }
.acc-about__find { margin-top: 40px; padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--acc-border); border-radius: 12px; }
.acc-about__contact { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.acc-about__contact li { min-height: 32px; display: flex; align-items: center; gap: 10px; }
@media (min-width: 1024px) { .acc-about__tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; margin-right: 0; padding-right: 0; overflow: visible; } }
.acc-about__contact a { color: var(--acc-navy); text-decoration: underline; }
@media (min-width: 768px) {
  .acc-about__intro { padding: 56px; }
  .acc-about__section { margin-top: 56px; }
  .acc-about__values { grid-template-columns: repeat(3, 1fr); }
  .acc-about__value { padding: 24px; }
  .acc-about__find { margin-top: 56px; padding: 32px; flex-direction: row; align-items: center; justify-content: space-between; }
  .acc-about__btns { flex-direction: row; }
}

/* ---------- Contact (§2.4) ---------- */
.acc-contact__grid { margin-top: 24px; display: flex; flex-direction: column; gap: 32px; }
.acc-contact__channels { display: flex; flex-direction: column; gap: 12px; }
.acc-contact__channels .acc-msg { margin: 0; }
.acc-contact__card { padding: 18px; display: flex; gap: 16px; border: 1px solid var(--acc-border); border-radius: 12px; }
.acc-contact__icon { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--acc-surface); }
.acc-contact__value { margin: 4px 0 0; font-size: 16px; }
.acc-contact__value a { color: var(--acc-navy); font-weight: 600; text-decoration: underline; }
.acc-contact__hint { margin: 2px 0 0; font-size: 14px; color: var(--acc-muted); }
.acc-contact__form { padding: 20px; border: 1px solid var(--acc-border); border-radius: 12px; }
.acc-contact__form .acc-h2 { margin-bottom: 16px; }
.acc-contact__done .acc-msg { margin-bottom: 16px; }
.acc-contact__form [data-acc-cf][hidden], .acc-contact__done[hidden] { display: none; }
/* Contact Form 7 dans la mise en page de la refonte */
.acc-contact .wpcf7-form-control-wrap { display: block; }
.acc-contact .wpcf7-not-valid-tip { display: none; }
.acc-contact .wpcf7-not-valid { border-color: var(--acc-red) !important; box-shadow: inset 0 0 0 1px var(--acc-red) !important; }
.acc-contact .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--acc-red); border-radius: var(--acc-radius-card); background: var(--acc-white); color: var(--acc-navy); font-size: 15px; line-height: 22px; }
.acc-contact .wpcf7 form.sent .wpcf7-response-output { border-color: var(--acc-lime); background: var(--acc-lime); }
.acc-contact .wpcf7 form.init .wpcf7-response-output, .acc-contact .wpcf7 form.resetting .wpcf7-response-output, .acc-contact .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.acc-contact .wpcf7-spinner { display: none; }
.acc-contact .wpcf7 form.submitting input, .acc-contact .wpcf7 form.submitting textarea { background: var(--acc-surface); color: var(--acc-muted); pointer-events: none; }
.acc-contact input.wpcf7-submit { width: 100%; margin-top: 4px; -webkit-appearance: none; appearance: none; }
.acc-contact .acc-co__select { display: block; }
.acc-contact .acc-co__select select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--acc-control); border-radius: var(--acc-radius-btn); background: var(--acc-white); color: var(--acc-navy); font-size: 16px; }
.acc-contact .acc-field br { display: none; }
@media (min-width: 768px) { .acc-contact__form { padding: 32px; } }
@media (min-width: 1024px) {
  .acc-contact__grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
}

/* ---------- 404 (§2.9) ---------- */
.acc-404 { max-width: 560px; padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.acc-404__text { margin: 0; font-size: 16px; line-height: 24px; color: var(--acc-muted); }
.acc-404__search { width: 100%; margin: 8px 0 0; }
.acc-404__search .acc-btn span { display: none; }
.acc-404__search .acc-btn { width: 52px; padding: 0; }
.acc-404__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.acc-404 > .acc-btn { margin-top: 8px; }
@media (min-width: 768px) {
  .acc-404 { padding-top: 88px; padding-bottom: 104px; }
  .acc-404__search .acc-btn { width: auto; padding: 0 22px; }
  .acc-404__search .acc-btn span { display: inline; }
  .acc-404__search .acc-btn svg { display: none; }
}

/* Encadré (style d'éditeur « acc-note ») : icône camion devant le texte. */
.acc-text__body .acc-note::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; background: currentColor; -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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='1.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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.acc-text__body .acc-note--info::before { display: none; }

/* Bouton d'envoi CF7 : le style des boutons TheGem (input[type=submit]) est remplacé par celui de la refonte. */
.acc-contact .wpcf7 form input.wpcf7-submit { width: 100%; height: 52px; padding: 0 22px; margin: 4px 0 0; border: 1px solid var(--acc-navy); border-radius: var(--acc-radius-btn); background: var(--acc-navy); box-shadow: none; color: var(--acc-white); font-family: var(--acc-font-head); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: 0; text-transform: none; cursor: pointer; }
.acc-contact .wpcf7 form input.wpcf7-submit:hover { background: var(--acc-navy-hover); border-color: var(--acc-navy-hover); }
.acc-contact .wpcf7 form input.wpcf7-submit:focus-visible { outline: 2px solid var(--acc-navy); outline-offset: 2px; }
.acc-contact .wpcf7 form input.wpcf7-submit[aria-busy="true"], .acc-contact .wpcf7 form.submitting input.wpcf7-submit { background: var(--acc-border); border-color: var(--acc-border); color: var(--acc-muted); cursor: not-allowed; }
.acc-contact__card .acc-h3 { margin: 0; }

/* Tiroir sur la fiche produit : les règles de tableau et de titres du thème parent passent sinon devant. */
.acc-sg .acc-table th, .acc-sg .acc-table td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; }
.acc-sg .acc-table tbody th, .acc-sg .acc-table thead th:first-child { text-align: left !important; }
.acc-sg h2.acc-h2 { margin: 0 0 16px; font-size: 18px !important; line-height: 26px !important; letter-spacing: 0; }

/* ---------- Recherche sans résultat (§2.10) ---------- */
.acc-noresult { padding-bottom: 64px; }
.acc-noresult__search { max-width: 520px; margin: 20px 0 16px; }
.acc-noresult__tips { margin: 0 0 24px; padding-left: 20px; font-size: 16px; line-height: 24px; color: var(--acc-muted); }
.acc-noresult__tips li { margin: 0 0 6px; }
.acc-noresult__chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) { .acc-noresult .acc-page__title { font-size: 22px; line-height: 28px; } }
@media (max-width: 767px) { body.search .acc-catalog__title { font-size: 22px; line-height: 28px; } }

/* ---------- Liste d'envies (§2.3) ---------- */
.acc-wl__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 20px; }
.acc-wl__count { font-size: 15px; color: var(--acc-muted); }
.acc-wl__count[hidden], [data-acc-wl-empty][hidden] { display: none; }
.acc-wl__msg:empty { display: none; }
.acc-wl__msg .acc-msg a, .acc-wl__msg .acc-msg button { padding: 0; margin: 0; border: 0; background: none; box-shadow: none; color: var(--acc-navy); font: inherit; font-weight: 600; text-decoration: underline; text-transform: none; letter-spacing: 0; cursor: pointer; }
.acc-wl__item { transition: opacity 150ms ease, transform 150ms ease; }
.acc-wl__item.is-leaving { opacity: 0; transform: scale(.98); }
.acc-wl .acc-card__wish.is-on .acc-card__wish-dot { background: var(--acc-navy); color: var(--acc-white); }
.acc-wl .acc-card__wish.is-on svg { fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .acc-wl__item { transition: none; } }
@media (min-width: 768px) {
  .acc-wl .acc-card .acc-card__wish.is-on { background: var(--acc-navy); color: var(--acc-white); }
  .acc-wl .acc-card__wish.is-on .acc-card__wish-dot { background: none; }
}

/* ---------- Suivi de commande (§2.2) et détail de commande partagé ---------- */
.acc-track-page__col { max-width: 960px; }
.acc-track-form { max-width: 520px; margin-top: 24px; padding: 20px; border: 1px solid var(--acc-border); border-radius: 12px; }
.acc-track-form .acc-btn { margin-top: 4px; }
.acc-track-form [data-acc-track-btn]:not([aria-busy="true"]) svg { display: none; }
.acc-track-form__help { margin: 16px 0 0; font-size: 15px; line-height: 22px; color: var(--acc-muted); }
.acc-track-form__help a { color: var(--acc-navy); font-weight: 600; text-decoration: underline; }
.acc-track-form.is-busy input { background: var(--acc-surface); color: var(--acc-muted); }
.acc-track-page__result { margin-top: 24px; }
.acc-track-page__again { display: inline-block; margin-top: 24px; color: var(--acc-navy); font-size: 15px; text-decoration: underline; }
.acc-od { display: flex; flex-direction: column; gap: 20px; }
.acc-od__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.acc-page .acc-od__title { margin: 0; font-family: var(--acc-font-head); font-weight: 700; font-size: 20px; line-height: 28px; color: var(--acc-navy); text-transform: none; letter-spacing: 0; }
.acc-ty--embed { background: transparent; }
.acc-ty--embed .acc-ty__inner { max-width: none; padding: 0; }
.acc-od__actions { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) {
  .acc-track-form { padding: 28px; }
  .acc-page .acc-od__title { font-size: 24px; line-height: 32px; }
  .acc-od__actions { flex-direction: row; flex-wrap: wrap; }
}
/* Détail embarqué : livraison, puis récapitulatif, puis boutons (mobile) ; faits sur 4 colonnes dès 768 px. */
.acc-ty--embed .acc-ty__delivery { order: 1; }
.acc-ty--embed .acc-ty__order { order: 2; }
.acc-ty--embed .acc-od__actions { order: 3; margin-top: 0; }
/* « Commander à nouveau » : la règle .acc-ty a (thankyou.css) ne doit pas teinter le texte du bouton plein. */
.acc-ty a.acc-btn:not(.acc-btn--secondary), .acc-ty a.acc-btn:not(.acc-btn--secondary):hover { color: var(--acc-white); }
@media (min-width: 768px) { .acc-ty.acc-ty--embed .acc-ty__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .acc-ty--embed .acc-od__actions { margin-top: -8px; } }

/* ---------- Mon compte (§2.1) ---------- */
.acc-acct__auth-col { max-width: 960px; margin: 0 auto; }
.acc-acct__auth-col > .acc-page__title { margin-bottom: 20px; }
.acc-acct__tabs { margin-bottom: 16px; }
.acc-acct__auth { display: grid; gap: 24px; }
.acc-acct__card { padding: 24px 20px; border: 1px solid var(--acc-border); border-radius: 12px; background: var(--acc-white); }
.acc-acct__card--soft { border-color: var(--acc-surface); background: var(--acc-surface); }
.acc-acct__card--narrow { max-width: 480px; }
.acc-acct__card .acc-h2 { margin-bottom: 16px; }
.acc-acct__intro { margin: -6px 0 16px; font-size: 15px; line-height: 22px; color: var(--acc-muted); }
.acc-acct__row { margin: -4px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc-acct__row a, .acc-acct__guest a, .acc-acct__back a { color: var(--acc-navy); font-size: 15px; text-decoration: underline; text-underline-offset: 2px; }
.acc-acct__guest { margin: 24px 0 0; font-size: 15px; color: var(--acc-muted); }
.acc-acct__guest a { font-weight: 600; }
.acc-acct__back { margin: 16px 0 0; text-align: center; }
.acc-acct__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acc-acct__form [data-acc-busy]:not([aria-busy="true"]) svg { display: none; }
.acc-acct__form--520 { max-width: 520px; }
@media (min-width: 768px) {
  .acc-acct__tabs { display: none; }
  .acc-acct__auth { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .acc-acct__auth .acc-tabpanel[hidden] { display: block; }
  .acc-acct__card { padding: 32px; }
}

.acc-acct > .acc-page__title { margin-bottom: 16px; }
.acc-acct__layout { display: flex; flex-direction: column; gap: 20px; }
.acc-acct__nav ul { list-style: none; margin: 0 calc(-1 * var(--acc-gutter)) 0 0; padding: 2px var(--acc-gutter) 2px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.acc-acct__nav ul::-webkit-scrollbar { display: none; }
.acc-acct__navlink { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--acc-surface); color: var(--acc-navy); font-size: 14px; white-space: nowrap; text-decoration: none; }
.acc-acct__navlink svg { display: none; }
.acc-acct__navlink.is-current { background: var(--acc-navy); color: var(--acc-white); font-weight: 600; }
.acc-acct__main { min-width: 0; }
.acc-acct__hello { margin: 0 0 4px; font-family: var(--acc-font-head); font-weight: 700; font-size: 22px; line-height: 28px; color: var(--acc-navy); text-transform: none; letter-spacing: 0; }
.acc-acct__main > .acc-acct__intro { margin: 0 0 20px; }
.acc-acct__sub { margin: 24px 0 12px; font-family: var(--acc-font-head); font-weight: 600; font-size: 15px; color: var(--acc-navy); text-transform: none; letter-spacing: 0; }
.acc-acct__last { padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; border: 1px solid var(--acc-border); border-radius: 12px; }
.acc-acct__lastimg { width: 54px; height: 72px; flex-shrink: 0; overflow: hidden; border-radius: 6px; background: var(--acc-surface); }
.acc-acct__lastimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-acct__lastinfo { flex: 1 1 200px; min-width: 0; }
.acc-acct__lasthead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--acc-font-head); font-size: 15px; }
.acc-acct__lasthead strong { font-weight: 600; }
.acc-acct__lastinfo p, .acc-acct__ocard p { margin: 6px 0 0; font-size: 14px; color: var(--acc-muted); }
.acc-acct__lastinfo p strong, .acc-acct__ocard p strong { color: var(--acc-navy); font-weight: 600; }
.acc-acct__last .acc-btn { width: 100%; }
.acc-acct__shortcuts { display: grid; gap: 12px; }
.acc-acct__tile { min-height: 72px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--acc-border); border-radius: 12px; color: var(--acc-navy); text-decoration: none; }
.acc-acct__tile:hover { border-color: var(--acc-navy); }
.acc-acct__ticon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--acc-surface); }
.acc-acct__ttext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.acc-acct__ttext strong { font-family: var(--acc-font-head); font-weight: 600; font-size: 15px; }
.acc-acct__ttext span { font-size: 14px; color: var(--acc-muted); }
.acc-acct__orders { display: none; }
.acc-acct__ocards { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.acc-acct__ocard { padding: 16px; border: 1px solid var(--acc-border); border-radius: 12px; }
.acc-acct__ocard .acc-btn { margin-top: 14px; }
.acc-acct__backlink { margin-bottom: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--acc-navy); font-size: 15px; text-decoration: none; }
.acc-acct__backlink svg { transform: rotate(90deg); }
.acc-acct__sep { margin: 8px 0 0; border: 0; border-top: 1px solid var(--acc-border); }
.acc-acct .acc-od { margin-top: 0; }
@media (min-width: 768px) {
  .acc-acct__last { flex-wrap: nowrap; padding: 20px; }
  .acc-acct__last .acc-btn { width: auto; flex-shrink: 0; }
  .acc-acct__shortcuts { grid-template-columns: repeat(3, 1fr); }
  .acc-acct__tile--wide { grid-column: 1 / -1; }
  .acc-acct__orders { width: 100%; margin: 16px 0 0; display: table; border-collapse: collapse; border: 0; font-size: 15px; color: var(--acc-navy); }
  .acc-acct__orders th, .acc-acct__orders td { height: 60px; padding: 0 12px 0 0; border: 0; border-bottom: 1px solid var(--acc-border); text-align: left; vertical-align: middle; }
  .acc-acct__orders thead th { height: 40px; font-family: var(--acc-font-head); font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--acc-muted); }
  .acc-acct__orders tbody th { font-family: var(--acc-font-head); font-weight: 600; }
  .acc-acct__orders .is-num { text-align: right; }
  .acc-acct__orders .is-action { width: 1%; padding-right: 0; padding-left: 16px; text-align: right; }
  .acc-acct__ocards { display: none; }
}
@media (min-width: 1024px) {
  .acc-acct__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
  .acc-acct__nav ul { margin: 0; padding: 0; flex-direction: column; gap: 4px; overflow: visible; }
  .acc-acct__navlink { width: 100%; height: 48px; padding: 0 16px; border-radius: 8px; background: transparent; font-size: 15px; gap: 12px; }
  .acc-acct__navlink svg { display: block; flex-shrink: 0; }
  .acc-acct__navlink:hover { background: var(--acc-surface); }
  .acc-acct__navlink.is-current { background: var(--acc-surface); color: var(--acc-navy); box-shadow: inset 3px 0 0 var(--acc-navy); }
  .acc-acct__hello { font-size: 24px; line-height: 32px; }
}
/* Mon compte : neutralise les styles WooCommerce / TheGem de la page compte (titres en capitales, puces de navigation). */
.acc-page.acc-acct .acc-acct__hello, .acc-page.acc-acct .acc-acct__sub, .acc-page.acc-acct h2.acc-h2 { text-transform: none !important; letter-spacing: 0 !important; }
.acc-page.acc-acct .acc-acct__nav li { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; list-style: none; }
.acc-page.acc-acct .acc-acct__nav li::before, .acc-page.acc-acct .acc-acct__nav li::after { display: none; }
@media (min-width: 1024px) { .acc-page.acc-acct .acc-acct__navlink:not(.is-current) { background: transparent; box-shadow: none; } }
/* Le thème parent anime tous les liens (transition « all ») : les pastilles mobiles restaient visibles en fondu au chargement desktop. */
.acc-page.acc-acct .acc-acct__navlink { transition: none; }
