/* ═══════════════════════════════════════════════════════════
   RR Comptes — habillage des pages compte (connexion, inscription,
   Mon compte, mot de passe) à la DA de rave-relics.ch.
   Chargé UNIQUEMENT sur les pages compte (body.rr-compte), après store.css.
   Règle de lisibilité (Corentin, 16/11) : textes courants en Space Grotesk ≥ 16 px,
   jamais de petite police pixel.
   ═══════════════════════════════════════════════════════════ */

body.rr-compte {
  --rr-texte: #e9f5e9;
  --rr-doux: #9fbf96;
  --rr-filet: rgba(255,255,255,.09);
  --rr-sg: "Space Grotesk", "Inter", system-ui, sans-serif;
  --rr-plex: "Space Grotesk", "Inter", system-ui, sans-serif; /* la boutique ne charge que DotGothic16 + Space Grotesk */
  background:
    linear-gradient(rgba(var(--neon-rgb),.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(var(--neon-rgb),.04) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--bg);
  font-family: var(--rr-sg);
  color: var(--rr-texte);
}
body.rr-compte .rr-wrap { background: transparent; }

/* ── En-tête et pied du thème : lisibles, en français ───── */
/* La barre (logo planète + « ← SHOP ») est dessinée par le CSS additionnel du thème :
   on n'y touche pas, sauf le libellé, traduit en français. */
body.rr-compte.rr-fr .rr-back { font-size: 0; }
body.rr-compte.rr-fr .rr-back::after {
  content: "← BOUTIQUE"; font-size: 13px;
}
body.rr-compte .rr-footer { background: rgba(0,0,0,.92); }
body.rr-compte .rr-footer a,
body.rr-compte .rr-footer span { font-family: var(--rr-sg); font-size: 15px; color: var(--rr-doux); letter-spacing: 0; text-transform: none; }
body.rr-compte.rr-fr .rr-footer-back { font-size: 0 !important; }
body.rr-compte.rr-fr .rr-footer-back::after { content: "← Retour à la boutique"; font-size: 15px; }
body.rr-compte .rr-legal-bar { font-family: var(--rr-plex); font-size: 13px !important; color: var(--rr-doux); }

/* ── Colonne de page ────────────────────────────────────── */
body.rr-compte .rr-main { max-width: 1040px; padding: 56px 24px 72px; }

body.rr-compte .rr-tete { text-align: center; margin: 0 auto 40px; max-width: 640px; }
body.rr-compte .rr-etiquette {
  font-family: var(--rr-plex); font-size: 14px; font-weight: 600;
  letter-spacing: .2em; color: var(--neon); margin-bottom: 14px;
}
body.rr-compte .rr-titre {
  font-family: var(--rr-sg); font-weight: 800;
  font-size: clamp(36px, 6vw, 64px); line-height: 1; letter-spacing: -.03em;
  color: #fff; margin: 0;
}
body.rr-compte .rr-chapeau {
  font-family: var(--rr-sg); font-size: 18px; line-height: 1.45;
  color: var(--rr-texte); margin-top: 16px;
}

/* ── Les cartes (même grammaire que .panel du site) ─────── */
body.rr-compte #customer_login,
body.rr-compte .woocommerce-MyAccount-content,
body.rr-compte form.woocommerce-ResetPassword {
  position: relative;
}
body.rr-compte #customer_login {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  width: 100%; float: none;
}
body.rr-compte #customer_login::before,
body.rr-compte #customer_login::after { display: none; }
body.rr-compte #customer_login .u-column1,
body.rr-compte #customer_login .u-column2,
body.rr-compte .woocommerce-MyAccount-content,
body.rr-compte form.woocommerce-ResetPassword {
  float: none; width: auto; margin: 0;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(var(--neon-rgb),.04), rgba(0,0,0,.75));
  padding: 32px;
  position: relative;
}
body.rr-compte #customer_login .u-column1::before,
body.rr-compte #customer_login .u-column2::before,
body.rr-compte .woocommerce-MyAccount-content::before,
body.rr-compte form.woocommerce-ResetPassword::before,
body.rr-compte #customer_login .u-column1::after,
body.rr-compte #customer_login .u-column2::after,
body.rr-compte .woocommerce-MyAccount-content::after,
body.rr-compte form.woocommerce-ResetPassword::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border: 1px solid var(--neon); display: block;
}
body.rr-compte #customer_login .u-column1::before,
body.rr-compte #customer_login .u-column2::before,
body.rr-compte .woocommerce-MyAccount-content::before,
body.rr-compte form.woocommerce-ResetPassword::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
body.rr-compte #customer_login .u-column1::after,
body.rr-compte #customer_login .u-column2::after,
body.rr-compte .woocommerce-MyAccount-content::after,
body.rr-compte form.woocommerce-ResetPassword::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; clear: none; }
body.rr-compte #customer_login .u-column2 { border-color: rgba(var(--neon-rgb),.45); }

body.rr-compte .woocommerce h2,
body.rr-compte .woocommerce h3 {
  font-family: var(--rr-sg); font-weight: 700; font-size: 26px; line-height: 1.15;
  letter-spacing: -.01em; text-transform: none; color: #fff;
  border: 0; padding: 0; margin: 0 0 22px;
}

/* ── Texte courant ──────────────────────────────────────── */
body.rr-compte .woocommerce p,
body.rr-compte .woocommerce li,
body.rr-compte .woocommerce address,
body.rr-compte .woocommerce td,
body.rr-compte .woocommerce th,
body.rr-compte .woocommerce-privacy-policy-text p {
  font-family: var(--rr-sg); font-size: 16px; line-height: 1.5;
  color: var(--rr-texte); letter-spacing: 0; text-transform: none;
}
body.rr-compte .woocommerce-privacy-policy-text p { color: var(--rr-doux); }
body.rr-compte .woocommerce a { color: var(--neon); text-decoration: underline; text-underline-offset: 3px; }
body.rr-compte .woocommerce a.button { text-decoration: none; }

/* ── Champs ─────────────────────────────────────────────── */
body.rr-compte .woocommerce form .form-row { margin: 0 0 20px; padding: 0; }
body.rr-compte .woocommerce form .form-row label {
  font-family: var(--rr-sg); font-size: 16px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--rr-texte);
  margin-bottom: 8px;
}
body.rr-compte .woocommerce form .form-row input.input-text,
body.rr-compte .woocommerce form .form-row select,
body.rr-compte .woocommerce form .form-row textarea,
body.rr-compte .woocommerce form input[type="email"],
body.rr-compte .woocommerce form input[type="password"],
body.rr-compte .woocommerce form input[type="text"] {
  width: 100%;
  font-family: var(--rr-sg); font-size: 17px; /* ≥ 16 px : Safari iPhone ne zoome pas */
  color: #fff; background: #050805;
  border: 1px solid var(--line-2); border-radius: 0;
  padding: 14px 14px; min-height: 52px;
}
body.rr-compte .woocommerce form .form-row input.input-text:focus,
body.rr-compte .woocommerce form input:focus {
  border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon), var(--neon-glow); outline: none;
}
body.rr-compte .woocommerce form .show-password-input { top: 50%; transform: translateY(-50%); right: 12px; }
body.rr-compte .woocommerce-form-login__rememberme {
  display: inline-flex !important; align-items: center; gap: 10px;
  font-family: var(--rr-sg) !important; font-size: 16px !important; font-weight: 400 !important;
  margin: 0 0 18px !important; cursor: pointer;
}
body.rr-compte .woocommerce input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--neon); }

/* ── Boutons (grammaire .btn.primary du site, lisible) ──── */
body.rr-compte .woocommerce button.button,
body.rr-compte .woocommerce a.button,
body.rr-compte .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  font-family: var(--rr-plex); font-size: 15px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--neon); border: 1px solid var(--neon); color: #000;
  border-radius: 0; box-shadow: none; float: none; margin: 0;
}
body.rr-compte .woocommerce button.button::after,
body.rr-compte .woocommerce a.button::after {
  content: ""; width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 8px solid #000;
  transition: transform .15s;
}
body.rr-compte .woocommerce button.button:hover,
body.rr-compte .woocommerce a.button:hover { background: #fff; border-color: #fff; color: #000; }
body.rr-compte .woocommerce button.button:hover::after,
body.rr-compte .woocommerce a.button:hover::after { transform: translateX(3px); }
body.rr-compte .woocommerce-form-login__submit,
body.rr-compte .woocommerce-form-register__submit,
body.rr-compte form.woocommerce-ResetPassword button.button { width: 100%; }
/* La connexion = bouton secondaire (contour) ; l'inscription = bouton plein */
body.rr-compte .woocommerce-form-login__submit {
  background: transparent !important; color: var(--neon) !important;
}
body.rr-compte .woocommerce-form-login__submit::after { border-left-color: var(--neon) !important; }
body.rr-compte .woocommerce-form-login__submit:hover { background: rgba(var(--neon-rgb),.12) !important; }

body.rr-compte .woocommerce-LostPassword { margin-top: 18px; }

/* ── Avis Woo (erreur, succès, info) ────────────────────── */
body.rr-compte .woocommerce-error,
body.rr-compte .woocommerce-message,
body.rr-compte .woocommerce-info {
  font-family: var(--rr-sg); font-size: 16px; line-height: 1.5;
  background: #070a07; color: var(--rr-texte);
  border: 1px solid var(--line-2); border-left: 3px solid var(--neon);
  padding: 16px 20px; margin: 0 0 24px; list-style: none;
}
body.rr-compte .woocommerce-error { border-left-color: var(--hot); }
body.rr-compte .woocommerce-error::before,
body.rr-compte .woocommerce-message::before,
body.rr-compte .woocommerce-info::before { display: none; }
body.rr-compte .woocommerce-error li,
body.rr-compte .woocommerce-message,
body.rr-compte .woocommerce-info { padding-left: 20px; }

/* ── Onglets téléphone (posés par compte.js) ────────────── */
body.rr-compte .rr-onglets { display: none; }

/* ── Mon compte (connecté) ──────────────────────────────── */
body.rr-compte .woocommerce-MyAccount-navigation {
  float: none; width: 100%; margin: 0 0 24px;
}
body.rr-compte .woocommerce-MyAccount-navigation ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
body.rr-compte .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
body.rr-compte .woocommerce-MyAccount-navigation li a {
  display: block; padding: 12px 18px;
  font-family: var(--rr-plex); font-size: 14px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--rr-texte); border: 1px solid var(--line-2); background: rgba(0,0,0,.6);
}
body.rr-compte .woocommerce-MyAccount-navigation li a:hover { border-color: var(--neon); color: var(--neon); }
body.rr-compte .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--neon); border-color: var(--neon); color: #000;
}
body.rr-compte .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--rr-doux); }
body.rr-compte .woocommerce-MyAccount-content { float: none; width: auto; }
body.rr-compte .woocommerce-MyAccount-content mark { background: none; color: var(--neon); font-weight: 700; }

/* Tableaux (commandes) */
body.rr-compte .woocommerce table.shop_table {
  border: 0; border-collapse: collapse; width: 100%; background: transparent;
}
body.rr-compte .woocommerce table.shop_table th {
  font-family: var(--rr-plex); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--rr-doux);
  border: 0; border-bottom: 1px solid var(--line-2); padding: 12px 10px; text-align: left;
}
body.rr-compte .woocommerce table.shop_table td {
  border: 0; border-bottom: 1px solid var(--rr-filet); padding: 14px 10px; vertical-align: middle;
}
body.rr-compte .woocommerce table.shop_table td .button { min-height: 40px; padding: 8px 14px; font-size: 13px; }
/* Date et total des commandes : le theme les met en police pixel (store.css « Price amounts ») ; regle ≥ 16 px (0.3.0). */
body.rr-compte .woocommerce table.shop_table td time,
body.rr-compte .woocommerce table.shop_table td .woocommerce-Price-amount,
body.rr-compte .woocommerce table.shop_table td .amount,
body.rr-compte .woocommerce table.shop_table td bdi {
  font-family: var(--rr-sg); font-size: 16px; letter-spacing: 0; text-transform: none;
}

/* Adresses */
body.rr-compte .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
body.rr-compte .woocommerce-Addresses::before,
body.rr-compte .woocommerce-Addresses::after { display: none; }
body.rr-compte .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; }
body.rr-compte .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
body.rr-compte .woocommerce-Address-title h2,
body.rr-compte .woocommerce-Address-title h3 { font-size: 20px; margin: 0 0 12px; }
body.rr-compte .woocommerce address { font-style: normal; }
body.rr-compte fieldset { border: 1px solid var(--line-2); padding: 20px; margin: 8px 0 24px; }
body.rr-compte legend { font-family: var(--rr-sg); font-size: 18px; font-weight: 700; color: #fff; padding: 0 8px; }
body.rr-compte .woocommerce form .form-row-first,
body.rr-compte .woocommerce form .form-row-last { width: 100%; float: none; }
body.rr-compte .woocommerce form .form-row em { font-family: var(--rr-sg); font-size: 14px; color: var(--rr-doux); font-style: normal; }

/* ── Téléphone ──────────────────────────────────────────── */
@media (max-width: 767px) {
  body.rr-compte .rr-main { padding: 32px 16px 56px; }
  body.rr-compte .rr-tete { margin-bottom: 24px; }
  body.rr-compte .rr-chapeau { font-size: 17px; }
  body.rr-compte #customer_login { grid-template-columns: 1fr; gap: 20px; }
  body.rr-compte #customer_login .u-column1,
  body.rr-compte #customer_login .u-column2,
  body.rr-compte .woocommerce-MyAccount-content,
  body.rr-compte form.woocommerce-ResetPassword { padding: 24px 18px; }

  /* onglets : une seule carte visible à la fois */
  body.rr-compte.rr-onglets-actifs .rr-onglets {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 20px;
    border: 1px solid var(--line-2);
  }
  body.rr-compte .rr-onglets button {
    min-height: 52px; padding: 10px 8px; border: 0; cursor: pointer;
    font-family: var(--rr-plex); font-size: 14px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; background: rgba(0,0,0,.7); color: var(--rr-doux);
  }
  body.rr-compte .rr-onglets button[aria-selected="true"] { background: var(--neon); color: #000; }
  body.rr-compte.rr-onglets-actifs #customer_login > .rr-cache { display: none; }

  /* 0.3.2 : les onglets passent à la ligne (plus de rangée à faire glisser, plus de « Télé… » coupé) */
  body.rr-compte .woocommerce-MyAccount-navigation ul { flex-wrap: wrap; justify-content: flex-start; }
  body.rr-compte .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
  body.rr-compte .woocommerce-MyAccount-navigation li a { padding: 12px 14px; }
  body.rr-compte .woocommerce-Addresses { grid-template-columns: 1fr; }

  /* tableau des commandes : une carte par commande */
  body.rr-compte .woocommerce table.shop_table_responsive thead { display: none; }
  body.rr-compte .woocommerce table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line-2); padding: 10px 0; }
  body.rr-compte .woocommerce table.shop_table_responsive td {
    display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0; text-align: right;
  }
  body.rr-compte .woocommerce table.shop_table_responsive td::before {
    content: attr(data-title); font-family: var(--rr-plex); font-size: 13px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; color: var(--rr-doux); float: none; display: inline;
  }
}

/* ── Corrections relevées à l'aperçu (16/11) ────────────── */
body.rr-compte .woocommerce form.login,
body.rr-compte .woocommerce form.register,
body.rr-compte .woocommerce form.woocommerce-EditAccountForm {
  border: 0; padding: 0; margin: 0; border-radius: 0;
}
body.rr-compte .woocommerce .lost_password a,
body.rr-compte .woocommerce .woocommerce-LostPassword a {
  font-family: var(--rr-sg); font-size: 16px; text-transform: none; letter-spacing: 0;
}
body.rr-compte .woocommerce form.login::before,
body.rr-compte .woocommerce form.login::after,
body.rr-compte .woocommerce form.register::before,
body.rr-compte .woocommerce form.register::after { display: none !important; }
body.rr-compte .rr-tete { max-width: 820px; }
body.rr-compte form.register > p,
body.rr-compte .woocommerce-privacy-policy-text { margin: 0 0 14px; }
body.rr-compte form.register .woocommerce-form-row:last-child { margin-top: 24px; }
/* Libellé « ← BOUTIQUE » : le CSS additionnel du thème force 10 px au téléphone (!important) */
body.rr-compte.rr-fr .rr-header .rr-back { font-size: 0 !important; }
body.rr-compte.rr-fr .rr-header .rr-back::after { font-size: 13px !important; letter-spacing: .06em; }

/* ── Mon compte connecté : nav à gauche, contenu à droite (grille du thème 23/06) ── */
body.rr-compte .woocommerce { padding: 0; max-width: none; }
body.rr-compte .woocommerce > .rr-tete,
body.rr-compte .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
body.rr-compte.logged-in .woocommerce { grid-template-columns: 240px 1fr; gap: 32px; }
body.rr-compte .woocommerce-MyAccount-navigation::before,
body.rr-compte .woocommerce-MyAccount-navigation::after { display: none !important; content: none !important; }
body.rr-compte .woocommerce-MyAccount-navigation { margin: 0; }
body.rr-compte .woocommerce-MyAccount-navigation ul { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; }
body.rr-compte .woocommerce-MyAccount-navigation li a {
  font-family: var(--rr-sg); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none;
  padding: 14px 18px;
}
body.rr-compte .woocommerce-MyAccount-navigation li a::before,
body.rr-compte .woocommerce-MyAccount-navigation li a::after { display: none !important; }
@media (max-width: 767px) {
  body.rr-compte.logged-in .woocommerce { grid-template-columns: 1fr; gap: 20px; }
  body.rr-compte .woocommerce-MyAccount-navigation { margin: 0 -16px; }
  body.rr-compte .woocommerce-MyAccount-navigation ul { flex-direction: row; padding: 0 16px 4px; }
  body.rr-compte .woocommerce-MyAccount-navigation li a { padding: 12px 16px; white-space: nowrap; font-size: 15px; }
  body.rr-compte .woocommerce table.shop_table_responsive tr { display: block; }
  body.rr-compte .woocommerce table.shop_table_responsive tbody td { display: flex !important; width: 100%; box-sizing: border-box; }
}
@media (max-width: 767px) {
  body.rr-compte.logged-in .woocommerce { grid-template-columns: minmax(0, 1fr); }
  body.rr-compte .woocommerce > * { min-width: 0; }
  body.rr-compte .woocommerce-MyAccount-navigation ul { overflow-x: auto; }
}
body.rr-compte .woocommerce-Address-title a.edit {
  font-family: var(--rr-sg); font-size: 16px; letter-spacing: 0; text-transform: none;
}
body.rr-compte .woocommerce fieldset legend {
  font-family: var(--rr-sg); font-size: 18px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #fff;
}
body.rr-compte .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty { display: none; }
/* le thème (23/06) pose un curseur carré après chaque lien : hors de la DA lisible */
body.rr-compte .woocommerce-MyAccount-content a:not(.button)::after,
body.rr-compte .woocommerce .lost_password a::after,
body.rr-compte .woocommerce-privacy-policy-text a::after { content: none !important; display: none !important; }

/* ═══════════════════════════════════════════════════════════
   ENTRÉE (non connecté) — v3 du 16/11 : texte + écran vidéo,
   puis les deux cases connexion / inscription.
   ═══════════════════════════════════════════════════════════ */
body.rr-compte:not(.logged-in) .rr-main { max-width: 1120px; }
body.rr-compte .rr-entree {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; margin: 0 0 48px;
}
body.rr-compte .rr-entree-titre {
  font-family: var(--rr-sg); font-weight: 800; color: #fff; margin: 0;
  font-size: clamp(40px, 5.2vw, 72px); line-height: .98; letter-spacing: -.035em;
}
body.rr-compte .rr-entree-chapeau {
  font-family: var(--rr-sg); font-size: 19px; line-height: 1.45; color: var(--rr-texte); margin: 18px 0 0; max-width: 32ch;
}
/* ── En-tête : « ← BOUTIQUE » en haut à gauche, logo au centre ── */
body.rr-compte .rr-header { grid-template-columns: 1fr auto 1fr !important; }
body.rr-compte .rr-header .rr-back { grid-column: 1 !important; grid-row: 1; justify-self: start !important; }
body.rr-compte .rr-header .rr-brand { grid-column: 2 !important; grid-row: 1; justify-self: center !important; }

/* ── Pied : une seule ligne (copyright à gauche, liens légaux à droite), plus de « retour » ── */
body.rr-compte .rr-footer-back { display: none !important; }
body.rr-compte .rr-footer { justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
body.rr-compte .rr-pied-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
body.rr-compte .rr-pied-legal a {
  font-family: var(--rr-sg); font-size: 15px; color: var(--rr-doux); text-decoration: none; letter-spacing: 0; text-transform: none;
}
body.rr-compte .rr-pied-legal a:hover { color: var(--neon); }
body.rr-compte.rr-pied-fusionne .rr-legal-bar { display: none !important; }

@media (max-width: 767px) {
  body.rr-compte .rr-entree { grid-template-columns: 1fr; margin-bottom: 28px; gap: 22px; }
  body.rr-compte .rr-entree-chapeau { font-size: 17px; }
  body.rr-compte .rr-header .rr-brand { position: static !important; transform: none !important; }
}

/* pied : une ligne dès que la place le permet ; au téléphone, une rangée centrée qui passe à la ligne */
body.rr-compte .rr-footer { flex-wrap: nowrap; }
@media (max-width: 599px) {
  body.rr-compte .rr-footer { flex-wrap: wrap; justify-content: center; align-items: baseline; text-align: center; }
  body.rr-compte .rr-pied-legal { justify-content: center; gap: 6px 18px; }
  body.rr-compte .rr-footer span, body.rr-compte .rr-pied-legal a { font-size: 14px !important; }
}

/* ═══ v4 du 16/11 : fond vidéo plein écran, pas de quadrillage, pas de coins HUD ═══ */
body.rr-compte { background: #000 !important; }
/* la boucle derrière toute la page, teintée et saturée au vert du site, voilée pour la lecture */
body.rr-compte .rr-fond { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #000; }
body.rr-compte .rr-fond-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 0.8.1 — fond FIGÉ : le filet du tunnel en bandes haut et bas, sous les cadres, estompées vers le centre (plus de vidéo) */
body.rr-compte .rr-fond-haut, body.rr-compte .rr-fond-bas { position: absolute; left: 0; right: 0; height: clamp(150px, 24vh, 300px); background-repeat: no-repeat; background-size: 100% auto; filter: grayscale(1) contrast(1.35) brightness(1.15); }
body.rr-compte .rr-fond-haut { top: 0; background-position: center top; -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent); mask-image: linear-gradient(to bottom, #000 35%, transparent); }
body.rr-compte .rr-fond-bas { bottom: 0; background-position: center bottom; -webkit-mask-image: linear-gradient(to top, #000 35%, transparent); mask-image: linear-gradient(to top, #000 35%, transparent); }
body.rr-compte .rr-fond-vert .rr-fond-video { filter: grayscale(1) contrast(1.35) brightness(1.15); }
body.rr-compte .rr-fond-teinte { position: absolute; inset: 0; display: none; background: var(--neon); mix-blend-mode: multiply; }
body.rr-compte .rr-fond-vert .rr-fond-teinte { display: block; }
body.rr-compte .rr-fond-voile {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.30) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 40%, rgba(0,0,0,.75));
}
body.rr-compte .rr-wrap { position: relative; z-index: 1; }
body.rr-compte .rr-header, body.rr-compte .rr-footer { background: rgba(0,0,0,.82) !important; }

/* titre + ce que contient le compte */
body.rr-compte .rr-entree { grid-template-columns: 1.1fr .9fr; align-items: end; }
body.rr-compte .rr-entree-titre, body.rr-compte .rr-entree-chapeau { text-shadow: 0 2px 16px rgba(0,0,0,.85); }
body.rr-compte .rr-avantages { list-style: none; margin: 0; padding: 4px 20px; background: rgba(0,0,0,.72); border: 1px solid var(--line-2); }
body.rr-compte .rr-avantages li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--rr-filet); font-family: var(--rr-sg); font-size: 17px; color: var(--rr-texte);
}
body.rr-compte .rr-avantages li:last-child { border-bottom: 0; }
body.rr-compte .rr-avantages .rr-ok { color: var(--neon); font-weight: 700; font-size: 14px; letter-spacing: .08em; white-space: nowrap; }
body.rr-compte .rr-avantages .rr-bientot { color: var(--rr-doux); font-size: 14px; letter-spacing: .08em; white-space: nowrap; }

/* les deux cases : sans coins, fond sombre lisible, s'allument au survol / quand on y tape */
body.rr-compte #customer_login .u-column1::before, body.rr-compte #customer_login .u-column1::after,
body.rr-compte #customer_login .u-column2::before, body.rr-compte #customer_login .u-column2::after,
body.rr-compte .woocommerce-MyAccount-content::before, body.rr-compte .woocommerce-MyAccount-content::after,
body.rr-compte form.woocommerce-ResetPassword::before, body.rr-compte form.woocommerce-ResetPassword::after { display: none !important; content: none !important; }
body.rr-compte #customer_login .u-column1,
body.rr-compte #customer_login .u-column2 {
  background: rgba(0,0,0,.80); border: 1px solid var(--line-2) !important;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
body.rr-compte #customer_login .u-column1:hover, body.rr-compte #customer_login .u-column1:focus-within,
body.rr-compte #customer_login .u-column2:hover, body.rr-compte #customer_login .u-column2:focus-within {
  border-color: var(--neon) !important; background: rgba(0,6,0,.86);
  box-shadow: 0 0 0 1px rgba(var(--neon-rgb), .35), 0 0 28px rgba(var(--neon-rgb), .32), inset 0 0 40px rgba(var(--neon-rgb), .06);
}
@media (max-width: 767px) {
  body.rr-compte .rr-entree { grid-template-columns: 1fr; align-items: start; }
  body.rr-compte .rr-avantages { padding: 2px 16px; }
  body.rr-compte .rr-avantages li { font-size: 16px; padding: 11px 0; }
}
/* le fond est DANS .rr-wrap (contexte z-index 1) : -1 le place derrière tout le contenu, même non positionné */
body.rr-compte .rr-fond { z-index: -1; }

/* ═══ v5 du 16/11 : tout tient sur un écran, sans défiler ═══ */
/* « Retour vers la boutique » : sans cadre, même typo que le pied, triangle CSS à gauche */
body.rr-compte .rr-header .rr-back {
  border: 0 !important; padding: 6px 0 !important; box-shadow: none !important; background: none !important;
  display: inline-flex !important; align-items: center; gap: 10px;
  font-size: 0 !important; color: var(--rr-texte) !important; text-decoration: none !important;
}
body.rr-compte .rr-header .rr-back::before {
  content: ""; width: 0; height: 0; flex: 0 0 auto;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 8px solid var(--neon);
  transition: transform .15s;
}
body.rr-compte .rr-header .rr-back::after {
  content: "Retour vers la boutique" !important;
  font-family: var(--rr-sg) !important; font-size: 15px !important; letter-spacing: 0 !important; text-transform: none !important;
}
body.rr-compte.rr-en .rr-header .rr-back::after { content: "Back to the shop" !important; }
body.rr-compte .rr-header .rr-back:hover { color: var(--neon) !important; }
body.rr-compte .rr-header .rr-back:hover::before { transform: translateX(-3px); }
body.rr-compte .rr-header { padding-top: 12px !important; padding-bottom: 12px !important; }

/* la page = hauteur de l'écran ; le contenu se centre dedans */
body.rr-compte:not(.logged-in) .rr-wrap { min-height: 100vh; min-height: 100dvh; }
body.rr-compte:not(.logged-in) .rr-main {
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1320px; padding: clamp(16px, 3vh, 40px) 24px;
}
body.rr-compte .rr-footer { padding-top: 12px; padding-bottom: 12px; }

/* ordinateur : texte + liste à gauche, les deux cases à droite */
@media (min-width: 1000px) {
  body.rr-compte:not(.logged-in) .woocommerce {
    display: grid !important; grid-template-columns: minmax(280px, .78fr) 2fr; gap: clamp(28px, 3vw, 48px); align-items: center;
  }
  body.rr-compte:not(.logged-in) .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  body.rr-compte .rr-entree { display: block; margin: 0; }
  body.rr-compte .rr-entree-titre { font-size: clamp(34px, 3.4vw, 54px); }
  body.rr-compte .rr-entree-chapeau { font-size: 17px; margin-top: 12px; }
  body.rr-compte .rr-avantages { margin-top: clamp(16px, 3vh, 28px); }
  body.rr-compte .rr-entree #customer_login, body.rr-compte #customer_login { max-width: none; margin: 0; gap: 20px; }
}
/* cases compactes */
body.rr-compte #customer_login .u-column1, body.rr-compte #customer_login .u-column2 { padding: clamp(18px, 2.6vh, 28px) 24px; }
body.rr-compte #customer_login h2 { font-size: 22px; margin-bottom: clamp(10px, 1.8vh, 18px); }
body.rr-compte #customer_login form .form-row { margin-bottom: clamp(10px, 1.6vh, 16px); }
body.rr-compte #customer_login form .form-row label { font-size: 15px; margin-bottom: 6px; }
body.rr-compte #customer_login form input.input-text { min-height: 46px; padding: 10px 12px; }
body.rr-compte #customer_login button.button { min-height: 48px; padding: 10px 20px; }
body.rr-compte #customer_login .woocommerce-form-login__rememberme { margin-bottom: 12px !important; }
body.rr-compte #customer_login .woocommerce-LostPassword { margin-top: 12px; }
body.rr-compte #customer_login form.register > p, body.rr-compte #customer_login .woocommerce-privacy-policy-text p { font-size: 15px; line-height: 1.4; margin-bottom: 10px; }
body.rr-compte #customer_login form.register .woocommerce-form-row:last-child { margin-top: 14px; }
body.rr-compte .rr-avantages li { padding: 10px 0; font-size: 16px; }

/* tablette : titre + liste en haut, les deux cases dessous */
@media (min-width: 768px) and (max-width: 999px) {
  body.rr-compte .rr-entree { grid-template-columns: 1fr 1fr; align-items: center; margin-bottom: 24px; }
  body.rr-compte .rr-entree-titre { font-size: 40px; }
}
/* téléphone : liste en 2 × 2, une case à la fois (onglets) */
@media (max-width: 767px) {
  body.rr-compte:not(.logged-in) .rr-main { justify-content: flex-start; padding: 16px; }
  body.rr-compte .rr-entree { gap: 12px; margin-bottom: 14px; }
  body.rr-compte .rr-entree .rr-etiquette { margin-bottom: 6px; font-size: 12px; }
  body.rr-compte .rr-entree-titre { font-size: 32px; }
  body.rr-compte .rr-entree-chapeau { font-size: 16px; margin-top: 8px; }
  body.rr-compte .rr-avantages { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 4px 12px; }
  body.rr-compte .rr-avantages li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 7px 0; font-size: 14px; border-bottom: 0; }
  body.rr-compte .rr-avantages .rr-ok, body.rr-compte .rr-avantages .rr-bientot { font-size: 12px; }
  body.rr-compte.rr-onglets-actifs .rr-onglets { margin-bottom: 12px; }
  body.rr-compte .rr-onglets button { min-height: 44px; }
  body.rr-compte .rr-header .rr-back::after { font-size: 14px !important; }
}
@media (max-width: 767px) {
  /* le libellé entier ne laisse pas la place au logo centré : logo à droite au téléphone */
  body.rr-compte .rr-header { grid-template-columns: auto 1fr auto !important; }
  body.rr-compte .rr-header .rr-brand { grid-column: 3 !important; justify-self: end !important; }
}

/* la grille du thème (23/06) met 32-48 px entre chaque bloc : on reprend la main sur l'espacement */
body.rr-compte:not(.logged-in) .woocommerce { gap: 0; }
@media (min-width: 1000px) { body.rr-compte:not(.logged-in) .woocommerce { gap: clamp(28px, 3vw, 48px); } }
body.rr-compte .woocommerce-notices-wrapper:empty { display: none; }
@media (max-width: 767px) {
  body.rr-compte .rr-entree-chapeau { display: none; }
  body.rr-compte:not(.logged-in) .rr-main { padding: 14px 16px; }
  body.rr-compte #customer_login .u-column1, body.rr-compte #customer_login .u-column2 { padding: 16px; }
  body.rr-compte #customer_login h2 { font-size: 20px; margin-bottom: 10px; }
  body.rr-compte #customer_login form .form-row { margin-bottom: 10px; }
  body.rr-compte #customer_login form input.input-text { min-height: 44px; }
  body.rr-compte #customer_login .woocommerce-form-login__rememberme { margin-bottom: 10px !important; }
  body.rr-compte #customer_login .woocommerce-LostPassword { margin-top: 10px; }
  body.rr-compte .rr-footer { padding-top: 8px; padding-bottom: 8px; gap: 4px 18px; }
}
@media (min-width: 1000px) {
  /* placement explicite : rien d'autre (fond, onglets cachés) ne peut décaler les deux colonnes */
  body.rr-compte:not(.logged-in) .woocommerce { grid-template-areas: "avis avis" "entree cases"; }
  body.rr-compte:not(.logged-in) .woocommerce > .woocommerce-notices-wrapper { grid-area: avis; }
  body.rr-compte:not(.logged-in) .woocommerce > .rr-entree { grid-area: entree; }
  body.rr-compte:not(.logged-in) .woocommerce > #customer_login { grid-area: cases; }
}
@media (max-width: 767px) {
  body.rr-compte .rr-entree .rr-etiquette { display: none; }
  body.rr-compte:not(.logged-in) .rr-main { padding: 10px 16px; }
  body.rr-compte .rr-avantages li { padding: 5px 0; }
  body.rr-compte .rr-footer { padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 767px) {
  body.rr-compte .rr-onglets button { min-height: 40px; }
  body.rr-compte.rr-onglets-actifs .rr-onglets { margin-bottom: 10px; }
  body.rr-compte .rr-entree { margin-bottom: 10px; }
}
@media (max-width: 767px) {
  /* 5 lignes dans la liste (wantlist CSV, 16/11) : titre sur une ligne, liste en lignes serrées */
  body.rr-compte .rr-entree-titre { font-size: clamp(22px, 6.9vw, 32px); white-space: nowrap; }
  body.rr-compte .rr-avantages { display: block; padding: 4px 12px; }
  body.rr-compte .rr-avantages li { flex-direction: row; align-items: center; justify-content: space-between; padding: 4px 0; font-size: 14px; line-height: 1.3; }
}

/* 16/11 soir (Corentin) : la liste « ce que contient le compte » n'est plus encadrée — une simple liste,
   et sur ordinateur son bas s'aligne sur le bas des deux cases de droite. */
body.rr-compte .rr-avantages,
body.rr-compte .rr-avantages[class] { background: none; border: 0; padding-left: 0; padding-right: 0; box-shadow: none; }
body.rr-compte .rr-avantages li { text-shadow: 0 1px 10px rgba(0,0,0,.9); }
body.rr-compte .rr-avantages li:last-child { border-bottom: 0; }
@media (min-width: 1000px) {
  body.rr-compte:not(.logged-in) .woocommerce { align-items: stretch; }
  body.rr-compte:not(.logged-in) .woocommerce > .rr-entree { display: flex; flex-direction: column; }
  body.rr-compte:not(.logged-in) .woocommerce > .rr-entree .rr-avantages { margin-top: auto; padding-top: clamp(16px, 3vh, 28px); padding-bottom: 0; }
  body.rr-compte:not(.logged-in) .woocommerce > #customer_login { align-self: stretch; }
}

/* 16/11 soir (Corentin) : titre en MAJUSCULES ; sur ordinateur « [ ESPACE MEMBRE ] » passe AU-DESSUS du haut des cases,
   pour que le haut des lettres du titre s'aligne sur le haut des cases (et le bas de la liste sur leur bas). */
body.rr-compte .rr-entree-titre { text-transform: uppercase; letter-spacing: -.02em; }
@media (min-width: 1000px) {
  body.rr-compte:not(.logged-in) .woocommerce > .rr-entree { position: relative; }
  body.rr-compte:not(.logged-in) .woocommerce > .rr-entree .rr-etiquette { position: absolute; left: 0; bottom: 100%; margin: 0 0 14px; }
  body.rr-compte:not(.logged-in) .woocommerce > .rr-entree .rr-entree-titre { margin-top: 0; line-height: .92; }
  body.rr-compte:not(.logged-in) .woocommerce > .rr-entree .rr-entree-texte { margin-top: 0; padding-top: 0; }
  body.rr-compte:not(.logged-in) .woocommerce > .rr-entree .rr-avantages { align-self: stretch; width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
}

/* 16/11 soir (Corentin) : titre en casse normale (meilleure lecture) ; liste = triangles, sans « actif / bientôt » ;
   ce qui n'existe pas encore est grisé. Triangles et non étoiles : l'étoile est réservée à la wishlist ★. */
body.rr-compte .rr-entree-titre { text-transform: none; letter-spacing: -.035em; line-height: .98; }
body.rr-compte .rr-avantages li {
  display: flex; justify-content: flex-start; align-items: center; gap: 14px; border-bottom: 0;
}
body.rr-compte .rr-avantages li::before {
  content: ""; flex: none; width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid var(--neon);
}
body.rr-compte .rr-avantages li.rr-off { color: rgba(255,255,255,.5); }
body.rr-compte .rr-avantages li.rr-off::before { border-left-color: currentColor; }
@media (max-width: 767px) {
  body.rr-compte .rr-avantages li { flex-direction: row; align-items: center; gap: 10px; }
}

/* 16/11 nuit (photos de Corentin) : le bouton des avis Woo (« Parcourir les produits », « Voir le panier ») était VIDE —
   le thème impose `color: neon !important` à tout lien d'un avis, d'où texte vert sur fond vert. Boutons : texte noir. */
body.rr-compte .woocommerce-message a.button,
body.rr-compte .woocommerce-info a.button,
body.rr-compte .woocommerce-error a.button { color: #000 !important; }
body.rr-compte .woocommerce-message a.button:hover,
body.rr-compte .woocommerce-info a.button:hover,
body.rr-compte .woocommerce-error a.button:hover { color: #000 !important; background: #fff; }

/* 0.3.2 : Prénom et Nom facultatifs — pas d'astérisque */
body.rr-compte #account_first_name_field .required,
body.rr-compte #account_last_name_field .required { display: none; }

/* 0.3.4 : « Mot de passe perdu » et nouveau mot de passe — la case est centrée sous le titre (elle restait calée à gauche) */
body.rr-compte.rr-mdp .woocommerce { display: block !important; max-width: 560px; margin: 0 auto !important; }
body.rr-compte.rr-mdp form.woocommerce-ResetPassword { margin: 0 auto; }

/* 0.3.5 : l'œil « voir le mot de passe » (icône ::before de Woo, noire sur fond noir) — presque invisible. Clair, plus grand, vraie zone de toucher. */
body.rr-compte .woocommerce form .show-password-input {
  width: 44px; height: 44px; right: 4px; opacity: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
body.rr-compte .woocommerce form .show-password-input::before {
  width: 26px; height: 26px; background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: invert(1); opacity: .9;
}
body.rr-compte .woocommerce form .show-password-input:hover::before,
body.rr-compte .woocommerce form .show-password-input.display-password::before { opacity: 1; filter: invert(1) sepia(1) saturate(6) hue-rotate(70deg); }

/* 0.4.0 : page « Ma wantlist » (dépôt du CSV) — texte courant en Space Grotesk 16 px minimum */
body.rr-compte .rr-wl, body.rr-compte .rr-wl p, body.rr-compte .rr-wl label { font-family: var(--rr-sg), system-ui, sans-serif; font-size: 17px; line-height: 1.55; color: var(--rr-texte); }
body.rr-compte .rr-wl-etat { color: #fff; }
body.rr-compte .rr-wl-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 18px 0; padding: 20px; border: 1px solid var(--line-2); background: rgba(0,0,0,.5); }
body.rr-compte .rr-wl-form label { flex: 1 0 100%; font-weight: 600; color: #fff; }
body.rr-compte .rr-wl-form input[type="file"] { flex: 1 1 260px; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--rr-texte); border: 1px dashed var(--line-2); background: rgba(0,0,0,.6); }
body.rr-compte .rr-wl-form .button { min-height: 46px; }
body.rr-compte .rr-wl-aide { font-size: 16px; color: var(--rr-doux); }
body.rr-compte .rr-wl-retrait { margin-top: 18px; }
body.rr-compte .rr-wl-lien { background: none !important; border: 0 !important; color: var(--rr-doux) !important; text-decoration: underline; padding: 0 !important; min-height: 44px; font-size: 16px; cursor: pointer; }
body.rr-compte .rr-wl-liste { list-style: none; margin: 18px 0; padding: 0; border-top: 1px solid var(--line-2); }
body.rr-compte .rr-wl-liste li { display: flex; flex-direction: column; gap: 2px; padding: 12px 4px; border-bottom: 1px solid var(--line-2); font-family: var(--rr-sg), system-ui, sans-serif; font-size: 17px; line-height: 1.4; }
body.rr-compte .rr-wl-art { color: #fff; font-weight: 600; }
body.rr-compte .rr-wl-tit { color: var(--rr-doux); }
body.rr-compte .rr-wl-stock { color: #fff; font-weight: 600; }
body.rr-compte .rr-wl-liste li { border-left: 3px solid transparent; padding-left: 12px; }
body.rr-compte .rr-wl-liste li.rr-wl-dispo { border-left-color: var(--neon); }
@media (min-width: 640px) { body.rr-compte .rr-wl-liste li { flex-direction: row; gap: 14px; align-items: baseline; } body.rr-compte .rr-wl-art { flex: 0 1 40%; } }

/* 0.5.1 — deux zones séparées (importer / ma wantlist) et pastille « En stock » */
body.rr-compte .rr-wl-zone { margin: 0 0 8px; }
body.rr-compte .rr-wl-zone + .rr-wl-zone { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-2); }
body.rr-compte .rr-wl-titre { margin: 0 0 12px; font-family: var(--rr-sg), system-ui, sans-serif; font-size: 20px; font-weight: 700; letter-spacing: .02em; color: #fff; text-transform: none; }
body.rr-compte .rr-wl-txt { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
body.rr-compte .rr-wl-liste li { align-items: center !important; flex-direction: row !important; gap: 14px; }
@media (min-width: 640px) { body.rr-compte .rr-wl-txt { flex-direction: row; gap: 14px; align-items: baseline; } body.rr-compte .rr-wl-txt .rr-wl-art { flex: 0 1 42%; } }
body.rr-compte .rr-wl-voir { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--neon); background: rgba(var(--neon-rgb),.10); color: var(--neon) !important; font-family: var(--rr-sg), system-ui, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; box-shadow: 0 0 14px rgba(var(--neon-rgb),.25); transition: background .15s, color .15s, box-shadow .15s; }
body.rr-compte .rr-wl-voir::after { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
body.rr-compte .rr-wl-voir:hover, body.rr-compte .rr-wl-voir:focus { background: var(--neon); color: #000 !important; box-shadow: 0 0 22px rgba(var(--neon-rgb),.55); }
@media (max-width: 480px) { body.rr-compte .rr-wl-liste li.rr-wl-dispo { flex-wrap: wrap; } body.rr-compte .rr-wl-voir { flex: 1 0 100%; justify-content: center; } }

/* 0.5.1b — colonnes fixes (artiste | titre | stock) et sous-menu Paramètres */
body.rr-compte .rr-wl-liste li { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 160px; column-gap: 20px; align-items: center; }
body.rr-compte .rr-wl-liste li .rr-wl-art, body.rr-compte .rr-wl-liste li .rr-wl-tit { flex: none; }
body.rr-compte .rr-wl-col { display: flex; justify-content: flex-end; }
body.rr-compte .rr-wl-col .rr-wl-voir { flex: none; width: 100%; justify-content: center; }
@media (max-width: 640px) {
  body.rr-compte .rr-wl-liste li { grid-template-columns: 1fr; row-gap: 2px; }
  body.rr-compte .rr-wl-col { justify-content: stretch; }
  body.rr-compte .rr-wl-col:empty { display: none; }
  body.rr-compte .rr-wl-col .rr-wl-voir { margin-top: 8px; }
}
body.rr-compte .rr-sousmenu { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 22px; padding: 0 0 12px; border-bottom: 1px solid var(--line-2); font-family: var(--rr-sg), system-ui, sans-serif; font-size: 16px; }
body.rr-compte .rr-sousmenu a { color: var(--rr-doux); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
body.rr-compte .rr-sousmenu a:hover { color: #fff; }
body.rr-compte .rr-sousmenu a.actif { color: var(--neon); font-weight: 700; }

/* 0.5.2 — téléphone : une liste verticale (plus de pastilles qui passent à la ligne), Paramètres avec un écrou */
body.rr-compte .woocommerce-MyAccount-navigation-link--edit-account a { display: flex; align-items: center; gap: 12px; }
body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a::before { display: block !important; content: ""; width: 20px; height: 20px; flex: 0 0 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M19.4%2013a7.7%207.7%200%200%200%200-2l2.1-1.6a.5.5%200%200%200%20.1-.6l-2-3.5a.5.5%200%200%200-.6-.2l-2.5%201a7.3%207.3%200%200%200-1.7-1l-.4-2.6a.5.5%200%200%200-.5-.4h-4a.5.5%200%200%200-.5.4l-.4%202.6a7.3%207.3%200%200%200-1.7%201l-2.5-1a.5.5%200%200%200-.6.2l-2%203.5a.5.5%200%200%200%20.1.6L4.6%2011a7.7%207.7%200%200%200%200%202l-2.1%201.6a.5.5%200%200%200-.1.6l2%203.5c.1.2.4.3.6.2l2.5-1c.5.4%201.1.7%201.7%201l.4%202.6c0%20.2.3.4.5.4h4c.3%200%20.5-.2.5-.4l.4-2.6c.6-.3%201.2-.6%201.7-1l2.5%201c.2.1.5%200%20.6-.2l2-3.5a.5.5%200%200%200-.1-.6L19.4%2013zM12%2015.5A3.5%203.5%200%201%201%2012%208.5a3.5%203.5%200%200%201%200%207z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M19.4%2013a7.7%207.7%200%200%200%200-2l2.1-1.6a.5.5%200%200%200%20.1-.6l-2-3.5a.5.5%200%200%200-.6-.2l-2.5%201a7.3%207.3%200%200%200-1.7-1l-.4-2.6a.5.5%200%200%200-.5-.4h-4a.5.5%200%200%200-.5.4l-.4%202.6a7.3%207.3%200%200%200-1.7%201l-2.5-1a.5.5%200%200%200-.6.2l-2%203.5a.5.5%200%200%200%20.1.6L4.6%2011a7.7%207.7%200%200%200%200%202l-2.1%201.6a.5.5%200%200%200-.1.6l2%203.5c.1.2.4.3.6.2l2.5-1c.5.4%201.1.7%201.7%201l.4%202.6c0%20.2.3.4.5.4h4c.3%200%20.5-.2.5-.4l.4-2.6c.6-.3%201.2-.6%201.7-1l2.5%201c.2.1.5%200%20.6-.2l2-3.5a.5.5%200%200%200-.1-.6L19.4%2013zM12%2015.5A3.5%203.5%200%201%201%2012%208.5a3.5%203.5%200%200%201%200%207z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 640px) {
  body.rr-compte .woocommerce-MyAccount-navigation ul { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
  body.rr-compte .woocommerce-MyAccount-navigation li { flex: none; width: 100%; }
  body.rr-compte .woocommerce-MyAccount-navigation li a { padding: 0 16px; min-height: 52px; display: flex; align-items: center; font-size: 15px; }
}

/* 0.5.3 — formulaire sans cadre, fichier collé au bouton, rien ne bouge de gauche à droite, menu déroulant */
body.rr-compte .rr-wl-form { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 14px 0 0; padding: 0; border: 0; background: none; }
body.rr-compte .rr-wl-form input[type="file"] { flex: none; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; }
body.rr-compte .rr-wl-form .button { width: 100%; justify-content: center; margin: 0; }
body.rr-compte .rr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.rr-compte .rr-wl-import .rr-wl-aide { margin: 0 0 4px; }
body.rr-compte .rr-menu-bouton { display: none; }
@media (max-width: 767px) {
  html:has(body.rr-compte), body.rr-compte { overflow-x: hidden; max-width: 100%; }
  body.rr-compte { overscroll-behavior-x: none; }
  body.rr-compte .woocommerce-MyAccount-navigation { margin: 0; }
  body.rr-compte .rr-menu-bouton { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 16px; box-sizing: border-box; border: 1px solid var(--line-2); background: rgba(0,0,0,.6); color: #fff; font-family: var(--rr-sg), system-ui, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  body.rr-compte .rr-menu-fleche { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--neon); transition: transform .15s; }
  body.rr-compte .rr-ouvert .rr-menu-fleche { transform: rotate(180deg); }
  body.rr-compte .woocommerce-MyAccount-navigation.rr-ouvert .rr-menu-bouton { border-color: var(--neon); }
  body.rr-compte .woocommerce-MyAccount-navigation ul { display: none; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 0; margin: 0; border: 1px solid var(--line-2); border-top: 0; background: rgba(0,0,0,.85); }
  body.rr-compte .woocommerce-MyAccount-navigation.rr-ouvert ul { display: flex; }
  body.rr-compte .woocommerce-MyAccount-navigation li { width: 100%; }
  body.rr-compte .woocommerce-MyAccount-navigation li a { border: 0; border-bottom: 1px solid var(--line-2); min-height: 52px; background: none; }
  body.rr-compte .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
  body.rr-compte .woocommerce-MyAccount-navigation li.is-active a { background: var(--neon); color: #000; }
  body.rr-compte .rr-wl-liste li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) { body.rr-compte .woocommerce-MyAccount-navigation li { margin: 0 !important; height: 52px; box-sizing: border-box; } body.rr-compte .woocommerce-MyAccount-navigation li a { height: 100%; box-sizing: border-box; } }

/* 0.5.4 — téléphone : un bouton « Menu » (trois barres), une liste sans cases, un emoji par entrée */
@media (max-width: 767px) {
  body.rr-compte .rr-menu-bouton { justify-content: flex-start; gap: 12px; border-color: transparent; background: none; padding: 0; min-height: 48px; font-size: 17px; letter-spacing: .08em; }
  body.rr-compte .rr-menu-fleche { margin-left: auto; margin-right: 4px; }
  body.rr-compte .rr-menu-ham { width: 24px; height: 16px; flex: 0 0 24px; background: linear-gradient(var(--neon) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--neon) 0 0) 0 50% / 100% 2px no-repeat, linear-gradient(var(--neon) 0 0) 0 100% / 100% 2px no-repeat; }
  body.rr-compte .woocommerce-MyAccount-navigation.rr-ouvert .rr-menu-bouton { border-color: transparent; }
  body.rr-compte .woocommerce-MyAccount-navigation ul { border: 0; background: none; }
  body.rr-compte .woocommerce-MyAccount-navigation li { height: 48px; }
  body.rr-compte .woocommerce-MyAccount-navigation li a { border: 0 !important; background: none !important; min-height: 48px; padding: 0 4px; gap: 14px; font-size: 16px; }
  body.rr-compte .woocommerce-MyAccount-navigation li.is-active a { background: none !important; color: var(--neon); }
  body.rr-compte .woocommerce-MyAccount-navigation li a::before { display: inline-block !important; width: 26px; height: auto; flex: 0 0 26px; background: none !important; -webkit-mask: none !important; mask: none !important; font-size: 20px; line-height: 1; text-align: center; content: ""; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "🏠"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a::before { content: "📦"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads a::before { content: "🎵"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--wantlist a::before { content: "❤️"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "⚙️"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "👋"; }
  body.rr-compte .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--rr-doux); }
}
@media (max-width: 767px) {
  body.rr-compte .rr-menu-bouton::before, body.rr-compte .rr-menu-bouton::after { display: none !important; content: none !important; }
  body.rr-compte .woocommerce-MyAccount-navigation ul { overflow: visible !important; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a::before { width: 26px; flex: 0 0 26px; }
}
/* 0.5.5 — pas de barre verte : la ligne se repère à son bouton « En stock » */
body.rr-compte .rr-wl-liste li.rr-wl-dispo { border-left-color: transparent; }
/* 0.7.1 — « Moyens de paiement » : un seul cadre (Stripe empilait 4 cadres, dont un lavande de WooCommerce) */
body.rr-compte #add_payment_method #payment,
body.rr-compte #add_payment_method #payment.woocommerce-Payment { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0; }
body.rr-compte #add_payment_method #payment ul.payment_methods { padding: 0 !important; margin: 0 0 16px !important; list-style: none; border: 0 !important; }
body.rr-compte #add_payment_method #payment div.payment_box { background: none !important; border: 0 !important; padding: 0 !important; margin: 12px 0 0 !important; box-shadow: none; color: inherit; }
body.rr-compte #add_payment_method #payment div.payment_box::before { display: none !important; }
body.rr-compte #add_payment_method #payment fieldset.wc-payment-form { border: 0 !important; padding: 0 !important; margin: 0 !important; }
body.rr-compte #add_payment_method #payment .form-row { padding: 0 !important; margin: 20px 0 0 !important; }
body.rr-compte #add_payment_method #place_order,
body.rr-compte #add_payment_method button.button { width: 100%; text-align: center; letter-spacing: .06em; line-height: 1.25; background: var(--neon); border-color: var(--neon); color: #000; }
body.rr-compte #add_payment_method #place_order:hover { background: #fff; border-color: #fff; }
body.rr-compte #add_payment_method button.button::after { flex: 0 0 auto; }
/* 0.7.1 — wishlist entière affichée (plus de coupure à 100) ; les lignes hors écran ne sont pas dessinées */
body.rr-compte .rr-wl-liste li { content-visibility: auto; contain-intrinsic-size: auto 56px; }
/* 0.7.1 — import : seul le bouton « Choisir un fichier » est natif ; le nom du fichier s'affiche en dessous, entier */
body.rr-compte .rr-wl-form input[type="file"] { color: transparent; font-size: 16px; }
body.rr-compte .rr-wl-form input[type="file"]::file-selector-button { font: inherit; font-size: 16px; color: var(--rr-texte); background: rgba(0,0,0,.6); border: 1px solid var(--line-2); padding: 8px 14px; margin-right: 12px; cursor: pointer; }
body.rr-compte .rr-wl-nom { display: block; margin: 8px 0 12px; font-family: var(--rr-sg), system-ui, sans-serif; font-size: 16px; color: var(--rr-doux); overflow-wrap: anywhere; }
/* 0.7.1 — le titre d'un cadre (ex. « Changement de mot de passe ») ne chevauche plus la bordure : il est dans le cadre, au-dessus des champs */
body.rr-compte fieldset { overflow: hidden; }
body.rr-compte fieldset > legend { float: left; width: 100%; padding: 0; margin: 0 0 16px; }
body.rr-compte fieldset > legend + * { clear: both; }
/* 0.7.2 — le thème impose display:block + sa police pixel 11 px au bouton de paiement : on reprend la grammaire des boutons du compte */
body.rr-compte #add_payment_method #place_order {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px !important;
  font-family: var(--rr-plex) !important; font-size: 15px !important; font-weight: 700; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase;
}
body.rr-compte #add_payment_method #place_order::after { flex: 0 0 auto; display: block; }
/* 0.7.2 — « Paramètres » : l'engrenage à gauche du mot (le thème forçait display:block, l'icône passait au-dessus) */
body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; }
/* 0.7.2 — textes d'aide de formulaire : 16 px comme le reste du texte courant */
body.rr-compte .woocommerce form .form-row em { font-size: 16px; }
/* 0.7.2 — jauge de mot de passe : texte noir sur fond clair (le thème mettait du blanc sur jaune) */
body.rr-compte .woocommerce-password-strength { color: #000 !important; font-family: var(--rr-sg), system-ui, sans-serif; font-size: 16px; font-weight: 700; padding: 8px 12px; text-align: center; border: 0; }
body.rr-compte .woocommerce-password-strength.short { background: #ff7b7b !important; }
body.rr-compte .woocommerce-password-strength.bad { background: #ffb766 !important; }
body.rr-compte .woocommerce-password-strength.good { background: #ffe566 !important; }
body.rr-compte .woocommerce-password-strength.strong { background: #6bf0b4 !important; }
body.rr-compte small.woocommerce-password-hint { color: var(--rr-doux); font-size: 16px; }
/* 0.7.2 — menu ordinateur : un pictogramme par entrée (comme au téléphone) et des cases toutes de la même taille */
@media (min-width: 768px) {
  body.rr-compte .woocommerce-MyAccount-navigation li { height: 56px; }
  body.rr-compte .woocommerce-MyAccount-navigation li a { display: flex !important; flex-direction: row !important; align-items: center; gap: 14px; height: 100%; min-height: 56px; padding: 0 18px; box-sizing: border-box; font-size: 17px; }
  body.rr-compte .woocommerce-MyAccount-navigation li a::before { display: inline-block !important; content: ""; width: 28px; height: auto; flex: 0 0 28px; background: none !important; -webkit-mask: none !important; mask: none !important; font-size: 20px; line-height: 1; text-align: center; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "🏠"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a::before { content: "📦"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads a::before { content: "🎵"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--wantlist a::before { content: "❤️"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "⚙️"; }
  body.rr-compte .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "👋"; }
}
/* 0.8.0 — case d'accord de l'inscription */
body.rr-compte .rr-accord { margin: 18px 0 8px; }
body.rr-compte .rr-accord-label { display: flex; align-items: flex-start; gap: 12px; font-family: var(--rr-sg), system-ui, sans-serif; font-size: 16px; line-height: 1.45; color: var(--rr-texte); cursor: pointer; text-transform: none; letter-spacing: 0; }
body.rr-compte .rr-accord-label input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--neon); }
body.rr-compte .rr-accord-label a { color: var(--neon); text-decoration: underline; }
body.rr-compte .woocommerce-error a { color: #fff; text-decoration: underline; }
body.rr-compte .rr-oubli { margin: 6px 0 18px; font-family: var(--rr-sg), system-ui, sans-serif; font-size: 16px; }
body.rr-compte .rr-oubli a { color: var(--neon); text-decoration: underline; }

/* 0.8.2 — la liste des avantages vient JUSTE sous le chapeau (plus calée en bas de la rangée) */
body.rr-compte .rr-entree-texte .rr-avantages { margin: 32px 0 0; max-width: 520px; }

/* 0.8.2 — même espace entre les champs dans « Se connecter » et « S'inscrire » (la règle form.register > p le fixait à 10 px, la connexion montait à 16 px) */
body.rr-compte #customer_login form.register > p.form-row { margin-bottom: clamp(10px, 1.6vh, 16px); }

/* 0.8.3 — un seul bouton « Voir mes N disques en stock » au-dessus de la liste de la wishlist */
body.rr-compte .rr-wl-toutvoir { margin: 22px 0 14px; }
body.rr-compte .rr-wl-voir-tout { min-height: 48px; font-weight: 700; letter-spacing: .06em; }

/* 0.8.4 — case d'accord : même police et même alignement que « Se souvenir de moi » (le texte ne passe plus sous la case) */
body.rr-compte .woocommerce form .rr-accord { margin: 18px 0 8px !important; }
body.rr-compte .woocommerce form .rr-accord-label {
  display: flex !important; align-items: flex-start !important; gap: 10px !important;
  font-family: var(--rr-sg), system-ui, sans-serif !important; font-size: 16px !important; font-weight: 400 !important;
  line-height: 24px !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer;
}
body.rr-compte .woocommerce form .rr-accord-label input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0 !important; accent-color: var(--neon); }
body.rr-compte .woocommerce form .rr-accord-label span { flex: 1 1 auto; font: inherit; font-weight: 400 !important; }
body.rr-compte .rr-wl-badge { margin-right: 12px; padding: 3px 10px; background: var(--neon); color: #000; font-family: var(--rr-sg), system-ui, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.rr-compte .rr-wl-col { align-items: center; }
body.rr-compte .rr-wl-liste li.rr-wl-nouveau { background: rgba(var(--neon-rgb),.06); }
