/* ==========================================================================
   Rahim Techo Marine - surfaces WooCommerce
   Direction : design Novamira « Rahim Techo Marine »
   Dials : variance 0.35 (composition sobre) / density 0.45 / motion 0.1 (statique)
   Contraintes dures : aucun dégradé ; le jaune #FFC72C sert à UNE action par vue.
   ========================================================================== */

:root {
  --rt-bg: #FFFFFF;
  --rt-surface: #F3F6FD;
  --rt-ink: #10183A;
  --rt-muted: #4A5578;
  --rt-border: #DCE2F0;
  --rt-primary: #0E2170;
  --rt-accent: #1F4FD8;
  --rt-cta: #FFC72C;
  --rt-on-navy: #D6DEF7;
  --rt-input-border: #B9C3DD;

  --rt-pack-green: #1E8E3E;
  --rt-pack-orange: #D9480F;
  --rt-pack-purple: #7B3FE4;

  --rt-font-display: "Barlow Condensed", "Barlow", sans-serif;
  --rt-font-body: "Barlow", sans-serif;

  --rt-sm: 8px;
  --rt-md: 16px;
  --rt-lg: 32px;
  --rt-xl: 88px;

  --rt-r-sm: 8px;
  --rt-r-md: 10px;
  --rt-r-lg: 16px;

  --rt-container: 1200px;
  --rt-gutter: 24px;
}

/* --------------------------------------------------------------------------
   1. Neutralisation des fuites (Hello Elementor + woocommerce.css)
   :where() ramène la spécificité à 0 : les règles de composants gagnent toujours.
   -------------------------------------------------------------------------- */

/* Volontairement limité à .rt-shop / .rt-single : ce sont de vrais conteneurs de
   gabarit. .rt-wc est posé sur <body> pour le panier et la commande, où un reset
   large casserait l'en-tête et le pied de page du site. */
:where(.rt-shop, .rt-single) h1,
:where(.rt-shop, .rt-single) h2,
:where(.rt-shop, .rt-single) h3,
:where(.rt-shop, .rt-single) h4,
:where(.rt-shop, .rt-single) p,
:where(.rt-shop, .rt-single) ul,
:where(.rt-shop, .rt-single) ol,
:where(.rt-shop, .rt-single) li,
:where(.rt-shop, .rt-single) figure,
:where(.rt-shop, .rt-single) blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.rt-shop, .rt-single, .rt-wc {
  font-family: var(--rt-font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--rt-ink);
  background: var(--rt-bg);
}

.rt-shop h1, .rt-shop h2, .rt-shop h3,
.rt-single h1, .rt-single h2, .rt-single h3,
.rt-wc h1, .rt-wc h2, .rt-wc h3 {
  font-family: var(--rt-font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

/* La grille produits de WooCommerce est en float : on la remet en grid. */
.rt-shop ul.products,
.rt-shop ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  clear: none;
}
.rt-shop ul.products::before,
.rt-shop ul.products::after { content: none; display: none; }

/* --------------------------------------------------------------------------
   2. Conteneur partagé - même bord gauche que l'accueil Elementor (1200px)
   -------------------------------------------------------------------------- */

.rt-wrap {
  width: 100%;
  max-width: var(--rt-container);
  margin-inline: auto;
  padding-inline: var(--rt-gutter);
  box-sizing: border-box;
}

.rt-section { padding-block: var(--rt-xl); }
.rt-section--surface { background: var(--rt-surface); }
.rt-section--tight { padding-block: 56px; }

/* --------------------------------------------------------------------------
   3. Boutons
   Primaire marine (identique à l'accueil) ; variante jaune = UNE action par vue.
   motion 0.1 : changement de couleur instantané, aucun transform.
   -------------------------------------------------------------------------- */

/* Toutes les règles de bouton sont portées par .rt-shop / .rt-single / .rt-wc pour
   atteindre la spécificité (0,2,0). Le kit Elementor colore les liens via
   .elementor-kit-7 a (0,1,1) : une classe seule (0,1,0) perdrait. Base et
   modificateurs partagent la même spécificité, l'ordre du fichier fait donc
   gagner le modificateur. */

.rt-shop .rt-btn,
.rt-single .rt-btn,
.rt-wc .rt-btn {
  display: inline-block;
  font-family: var(--rt-font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  padding: 15px 24px;
  border: 0;
  border-radius: var(--rt-r-md);
  cursor: pointer;
  box-shadow: none;
}

.rt-shop .rt-btn--navy,
.rt-single .rt-btn--navy,
.rt-wc .rt-btn--navy { background: var(--rt-primary); color: #FFFFFF; }
.rt-shop .rt-btn--navy:hover, .rt-shop .rt-btn--navy:focus-visible,
.rt-single .rt-btn--navy:hover, .rt-single .rt-btn--navy:focus-visible,
.rt-wc .rt-btn--navy:hover, .rt-wc .rt-btn--navy:focus-visible {
  background: var(--rt-primary-hover); color: #FFFFFF;
}

.rt-shop .rt-btn--cta,
.rt-single .rt-btn--cta,
.rt-wc .rt-btn--cta { background: var(--rt-cta); color: var(--rt-primary); }
.rt-shop .rt-btn--cta:hover, .rt-shop .rt-btn--cta:focus-visible,
.rt-single .rt-btn--cta:hover, .rt-single .rt-btn--cta:focus-visible,
.rt-wc .rt-btn--cta:hover, .rt-wc .rt-btn--cta:focus-visible {
  background: var(--rt-cta-hover); color: var(--rt-primary);
}

/* Sur fond marine : contour blanc franc, jamais un lien nu (contraste AA). */
.rt-shop .rt-btn--ghost,
.rt-single .rt-btn--ghost,
.rt-wc .rt-btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 13px 22px;
}
.rt-shop .rt-btn--ghost:hover, .rt-shop .rt-btn--ghost:focus-visible,
.rt-single .rt-btn--ghost:hover, .rt-single .rt-btn--ghost:focus-visible,
.rt-wc .rt-btn--ghost:hover, .rt-wc .rt-btn--ghost:focus-visible {
  background: #FFFFFF;
  color: var(--rt-primary);
}

.rt-shop .rt-btn--block,
.rt-single .rt-btn--block,
.rt-wc .rt-btn--block { display: block; width: 100%; }

.rt-btn:focus-visible,
.rt-shop a:focus-visible,
.rt-single a:focus-visible {
  outline: 3px solid var(--rt-accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. En-tête de boutique (bandeau marine)
   -------------------------------------------------------------------------- */

.rt-hero {
  background: var(--rt-primary);
  color: #FFFFFF;
  padding-block: 72px;
}
.rt-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: var(--rt-lg);
  align-items: end;
}
.rt-hero h1 {
  color: #FFFFFF;
  font-size: clamp(40px, 6vw, 64px);
  margin: 0 0 var(--rt-md);
}
.rt-hero__lead {
  color: var(--rt-on-navy);
  font-size: 19px;
  max-width: 60ch;
}
.rt-hero__aside {
  border-left: 1px solid rgba(214,222,247,0.3);
  padding-left: var(--rt-lg);
}
.rt-hero__aside dt {
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rt-on-navy);
  margin-bottom: 4px;
}
.rt-hero__aside dd {
  margin: 0 0 var(--rt-md);
  color: #FFFFFF;
  font-weight: 600;
}
.rt-hero__aside dd:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   5. Filtres de catégorie
   -------------------------------------------------------------------------- */

.rt-filters {
  border-bottom: 1px solid var(--rt-border);
  background: var(--rt-bg);
}
.rt-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rt-sm);
  padding-block: var(--rt-md);
}
.rt-shop .rt-filters__link {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--rt-primary);
  background: var(--rt-surface);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-r-sm);
  padding: 9px 16px;
}
.rt-shop .rt-filters__link:hover { border-color: var(--rt-accent); color: var(--rt-accent); }
.rt-shop .rt-filters__link[aria-current="true"] {
  background: var(--rt-primary);
  border-color: var(--rt-primary);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   6. Groupe de catégorie + grille
   -------------------------------------------------------------------------- */

.rt-group { margin-bottom: 72px; }
.rt-group:last-child { margin-bottom: 0; }
.rt-group__head { max-width: 68ch; margin-bottom: var(--rt-lg); }
.rt-group__head h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  margin-bottom: var(--rt-sm);
}
.rt-group__head p { color: var(--rt-muted); }

.rt-grid {
  display: grid;
  gap: var(--rt-lg);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rt-grid--options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rt-md); }

/* --------------------------------------------------------------------------
   7. Carte de pack - barre de couleur 8px, prix dans la couleur du pack
   -------------------------------------------------------------------------- */

.rt-pack {
  --pack: var(--rt-accent);
  display: flex;
  flex-direction: column;
  background: var(--rt-bg);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-r-lg);
  overflow: hidden;
  box-shadow: none;
  list-style: none;
}
.rt-pack__bar { display: block; height: 8px; background: var(--pack); }
.rt-pack__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 28px;
  gap: var(--rt-md);
}
.rt-pack__name {
  font-size: 28px;
  margin: 0;
  color: var(--rt-ink);
}
.rt-pack__name a { color: inherit; text-decoration: none; }
.rt-pack__name a:hover { color: var(--rt-accent); }
.rt-pack__price {
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  color: var(--pack);
  margin: 0;
}
.rt-pack__price .woocommerce-Price-amount { font: inherit; color: inherit; }
.rt-pack__price del { display: none; }
.rt-pack__note {
  font-size: 15px;
  font-weight: 600;
  color: var(--rt-muted);
  margin-top: -10px;
}
.rt-pack__desc { color: var(--rt-muted); margin: 0; }
.rt-pack__desc p { margin: 0 0 var(--rt-sm); }
.rt-pack__desc p:last-child { margin-bottom: 0; }
.rt-pack__action { margin-top: auto; padding-top: var(--rt-sm); }

/* Variante compacte pour les options publicitaires */
.rt-pack--option .rt-pack__body { padding: 20px; gap: 10px; }
.rt-pack--option .rt-pack__name { font-size: 22px; }
.rt-pack--option .rt-pack__price { font-size: 32px; }
.rt-pack--option .rt-pack__desc { font-size: 15px; }

/* --------------------------------------------------------------------------
   8. Bande de réassurance
   -------------------------------------------------------------------------- */

.rt-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rt-lg);
}
.rt-trust__item { border-top: 2px solid var(--rt-primary); padding-top: var(--rt-md); }
.rt-trust__item h3 { font-size: 22px; margin-bottom: 6px; }
.rt-trust__item p { color: var(--rt-muted); font-size: 16px; margin: 0; }

/* --------------------------------------------------------------------------
   9. Bloc devis (porte l'unique action jaune de la vue boutique)
   -------------------------------------------------------------------------- */

.rt-quote {
  background: var(--rt-primary);
  color: #FFFFFF;
  border-radius: var(--rt-r-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--rt-lg);
  align-items: center;
}
.rt-quote h2 { color: #FFFFFF; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: var(--rt-sm); }
.rt-quote p { color: var(--rt-on-navy); max-width: 58ch; margin: 0; }
.rt-quote__actions { display: flex; flex-direction: column; gap: var(--rt-sm); }

/* --------------------------------------------------------------------------
   10. Fiche de pack
   -------------------------------------------------------------------------- */

.rt-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.rt-single .rt-single__eyebrow {
  display: inline-block;
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--pack, var(--rt-accent));
  margin-bottom: var(--rt-sm);
}
.rt-single h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 var(--rt-md);
}
.rt-single__price {
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 84px);
  line-height: 1;
  color: var(--pack, var(--rt-accent));
  margin: 0;
}
.rt-single__price .woocommerce-Price-amount { font: inherit; color: inherit; }
.rt-single__pricenote {
  font-weight: 600;
  color: var(--rt-muted);
  margin: var(--rt-sm) 0 var(--rt-lg);
}
.rt-single__desc {
  font-size: 19px;
  color: var(--rt-ink);
  max-width: 66ch;
  padding-top: var(--rt-lg);
  border-top: 1px solid var(--rt-border);
}
.rt-single__desc p { margin: 0 0 var(--rt-md); }
.rt-single__desc p:last-child { margin-bottom: 0; }

.rt-disclaimer {
  margin-top: var(--rt-lg);
  background: var(--rt-surface);
  border-radius: var(--rt-r-sm);
  padding: var(--rt-md);
  font-size: 15px;
  color: var(--rt-muted);
  max-width: 68ch;
}

/* Carte de commande collante */
.rt-order {
  position: sticky;
  top: 24px;
  background: var(--rt-bg);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-r-lg);
  padding: 28px;
  box-shadow: none;
}
.rt-order__head {
  font-size: 24px;
  margin-bottom: var(--rt-md);
  padding-bottom: var(--rt-md);
  border-bottom: 1px solid var(--rt-border);
}
.rt-order__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--rt-sm);
  margin-bottom: var(--rt-md);
}
.rt-order__total span { color: var(--rt-muted); font-weight: 600; }
.rt-order__total strong {
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--pack, var(--rt-primary));
}
.rt-order__pay {
  margin-top: var(--rt-md);
  padding-top: var(--rt-md);
  border-top: 1px solid var(--rt-border);
  font-size: 15px;
  color: var(--rt-muted);
}
.rt-order__pay strong { color: var(--rt-ink); display: block; margin-bottom: 4px; font-weight: 700; }

/* Formulaire d'ajout au panier WooCommerce dans la carte */
.rt-order form.cart { margin: 0; display: grid; gap: var(--rt-md); }
.rt-order form.cart::before, .rt-order form.cart::after { content: none; display: none; }
.rt-order .quantity { display: flex; align-items: center; gap: var(--rt-sm); }
.rt-order .quantity label { font-weight: 600; color: var(--rt-muted); }
.rt-order .quantity input.qty,
.rt-single input.qty {
  font-family: var(--rt-font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--rt-ink);
  width: 76px;
  padding: 10px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--rt-input-border);
  border-radius: var(--rt-r-sm);
  box-shadow: none;
}
/* WooCommerce colore ce bouton via
   .woocommerce:where(...) button.button.alt, soit (0,3,1). La règle ci-dessous
   monte à (0,4,1) pour reprendre la main sans recourir à !important. */
.rt-single .rt-order button.single_add_to_cart_button,
.rt-single .rt-order button.single_add_to_cart_button.alt {
  display: block;
  width: 100%;
  font-family: var(--rt-font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  padding: 15px 24px;
  background-color: var(--rt-cta);
  background-image: none;
  color: var(--rt-primary);
  border: 0;
  border-radius: var(--rt-r-md);
  box-shadow: none;
  cursor: pointer;
}
.rt-single .rt-order button.single_add_to_cart_button:hover,
.rt-single .rt-order button.single_add_to_cart_button.alt:hover,
.rt-single .rt-order button.single_add_to_cart_button:focus-visible,
.rt-single .rt-order button.single_add_to_cart_button.alt:focus-visible {
  background-color: var(--rt-cta-hover);
  color: var(--rt-primary);
}
.rt-order .stock, .rt-order .price { display: none; }

/* Options à ajouter sous la fiche */
.rt-crosssell { margin-top: 72px; padding-top: var(--rt-lg); border-top: 1px solid var(--rt-border); }
.rt-crosssell h2 { font-size: 30px; margin-bottom: var(--rt-sm); }
.rt-crosssell__lead { color: var(--rt-muted); margin-bottom: var(--rt-lg); max-width: 64ch; }

/* --------------------------------------------------------------------------
   11. Panier et commande (blocs WooCommerce) + compte client (shortcode)
   -------------------------------------------------------------------------- */

/* Variables natives de WooCommerce, posées sur les trois surfaces pour que les
   composants Woo non surchargés héritent déjà des couleurs de la marque. */
.rt-shop,
.rt-single,
.rt-wc {
  --wc-green: #1E8E3E;
  --wc-red: #D9480F;
  --wc-primary: #0E2170;
  --wc-primary-text: #FFFFFF;
  --wc-secondary: #F3F6FD;
  --wc-secondary-text: #10183A;
  --wc-highlight: #1F4FD8;
  --wc-content-bg: #FFFFFF;
  --wc-form-border-color: #B9C3DD;
  --wc-form-border-radius: 8px;
}

.rt-wc__head { background: var(--rt-primary); color: #FFFFFF; padding-block: 56px; }
.rt-wc__head h1 { color: #FFFFFF; font-size: clamp(34px, 5vw, 52px); margin: 0; }
.rt-wc__head p { color: var(--rt-on-navy); margin: var(--rt-sm) 0 0; max-width: 60ch; }
.rt-wc__body { padding-block: 56px; }

/* Titres et champs communs aux blocs Woo */
.rt-wc .wc-block-components-title,
.rt-wc .wp-block-woocommerce-cart h2,
.rt-wc .wc-block-cart__totals-title,
.rt-wc .wc-block-components-checkout-step__title {
  font-family: var(--rt-font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--rt-ink);
}

.rt-wc .wc-block-components-text-input input[type="text"],
.rt-wc .wc-block-components-text-input input[type="email"],
.rt-wc .wc-block-components-text-input input[type="tel"],
.rt-wc .wc-block-components-textarea,
.rt-wc .wc-block-components-combobox-control input,
.rt-wc select,
.rt-wc input[type="text"],
.rt-wc input[type="email"],
.rt-wc input[type="tel"],
.rt-wc input[type="password"],
.rt-wc textarea {
  font-family: var(--rt-font-body);
  font-size: 17px;
  color: var(--rt-ink);
  background: #FFFFFF;
  border: 1px solid var(--rt-input-border);
  border-radius: var(--rt-r-sm);
  box-shadow: none;
}
.rt-wc input:focus, .rt-wc select:focus, .rt-wc textarea:focus {
  outline: 3px solid var(--rt-accent);
  outline-offset: 1px;
  border-color: var(--rt-accent);
}

/* Boutons Woo : marine par défaut, jaune pour l'action principale de la vue */
.rt-wc .wc-block-components-button:not(.is-link),
.rt-wc a.button,
.rt-wc button.button,
.rt-wc input.button,
.rt-wc .woocommerce-Button {
  font-family: var(--rt-font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  padding: 15px 24px;
  background: var(--rt-primary);
  color: #FFFFFF;
  border: 0;
  border-radius: var(--rt-r-md);
  box-shadow: none;
  text-decoration: none;
}
.rt-wc .wc-block-components-button:not(.is-link):hover,
.rt-wc a.button:hover,
.rt-wc button.button:hover,
.rt-wc input.button:hover,
.rt-wc .woocommerce-Button:hover { background: #0A1856; color: #FFFFFF; }

/* Action principale de la vue : elle seule porte le jaune.
   La règle générique ci-dessus vaut (0,3,0) à cause du :not(.is-link) ;
   on répète donc la classe de bouton pour revenir à égalité et gagner par l'ordre. */
.rt-wc .wc-block-components-button.wc-block-cart__submit-button,
.rt-wc .wc-block-components-button.wc-block-components-checkout-place-order-button {
  background: var(--rt-cta);
  color: var(--rt-primary);
}
.rt-wc .wc-block-components-button.wc-block-cart__submit-button:hover,
.rt-wc .wc-block-components-button.wc-block-cart__submit-button:focus-visible,
.rt-wc .wc-block-components-button.wc-block-components-checkout-place-order-button:hover,
.rt-wc .wc-block-components-button.wc-block-components-checkout-place-order-button:focus-visible {
  background: var(--rt-cta-hover);
  color: var(--rt-primary);
}

/* Les packs sont des services sans visuel. On masque la seule image d'attente de
   WooCommerce, en la ciblant par son fichier : une vraie image ajoutée plus tard
   s'affichera normalement. */
.rt-wc img[src*="woocommerce-placeholder"] { display: none; }
.rt-wc .wc-block-components-order-summary-item__image,
.rt-wc .wc-block-cart-item__image { background: none; }

/* Panneaux de récapitulatif */
.rt-wc .wc-block-cart__totals-title,
.rt-wc .wc-block-components-totals-wrapper { border-color: var(--rt-border); }
.rt-wc .wc-block-cart__sidebar .wc-block-components-sidebar,
.rt-wc .wc-block-checkout__sidebar .wc-block-components-sidebar {
  background: var(--rt-surface);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-r-lg);
  padding: var(--rt-lg);
}
.rt-wc .wc-block-components-totals-item__value,
.rt-wc .wc-block-components-order-summary-item__total-price {
  font-weight: 700;
  color: var(--rt-ink);
}
.rt-wc .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--rt-font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--rt-primary);
}

/* Avis WooCommerce */
.rt-wc .woocommerce-message,
.rt-wc .woocommerce-info,
.rt-wc .woocommerce-error,
.rt-wc .wc-block-components-notice-banner {
  font-family: var(--rt-font-body);
  border-radius: var(--rt-r-sm);
  border-top: 0;
  background: var(--rt-surface);
  color: var(--rt-ink);
  border-left: 4px solid var(--rt-accent);
}
.rt-wc .woocommerce-error,
.rt-wc .wc-block-components-notice-banner.is-error { border-left-color: var(--rt-pack-orange); }
.rt-wc .woocommerce-message,
.rt-wc .wc-block-components-notice-banner.is-success { border-left-color: var(--rt-pack-green); }

/* Compte client (shortcode classique) */
.rt-wc .woocommerce-MyAccount-navigation ul { display: grid; gap: 2px; }
.rt-wc .woocommerce-MyAccount-navigation li a {
  display: block;
  font-weight: 600;
  text-decoration: none;
  color: var(--rt-primary);
  background: var(--rt-surface);
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-r-sm);
  padding: 12px var(--rt-md);
}
.rt-wc .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--rt-primary);
  border-color: var(--rt-primary);
  color: #FFFFFF;
}
.rt-wc .woocommerce-MyAccount-content { font-size: 17px; }
.rt-wc table.shop_table {
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-r-lg);
  border-collapse: separate;
  border-spacing: 0;
}
.rt-wc table.shop_table th {
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--rt-ink);
  background: var(--rt-surface);
}
.rt-wc table.shop_table td, .rt-wc table.shop_table th { border-color: var(--rt-border); }

/* État vide composé plutôt que nu */
.rt-empty { text-align: left; max-width: 60ch; }
.rt-empty h2 { font-size: 32px; margin-bottom: var(--rt-sm); }
.rt-empty p { color: var(--rt-muted); margin-bottom: var(--rt-lg); }

/* --------------------------------------------------------------------------
   12. Repli mobile - déclaré pour chaque grille ci-dessus
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .rt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-grid--options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-single__layout { grid-template-columns: 1fr; gap: var(--rt-lg); }
  .rt-order { position: static; }
  .rt-hero__inner { grid-template-columns: 1fr; gap: var(--rt-lg); }
  .rt-hero__aside { border-left: 0; border-top: 1px solid rgba(214,222,247,0.3); padding-left: 0; padding-top: var(--rt-md); }
}

@media (max-width: 720px) {
  :root { --rt-xl: 56px; --rt-gutter: 20px; }
  .rt-grid, .rt-grid--options { grid-template-columns: 1fr; }
  .rt-trust__grid { grid-template-columns: 1fr; gap: var(--rt-md); }
  .rt-quote { grid-template-columns: 1fr; padding: var(--rt-lg); }
  .rt-hero { padding-block: 48px; }
  .rt-pack__price { font-size: 40px; }
  .rt-specs__row { grid-template-columns: 1fr; gap: 2px; }
}

/* motion 0.1 : respect strict de prefers-reduced-motion, aucune animation ajoutée. */
@media (prefers-reduced-motion: reduce) {
  .rt-shop *, .rt-single *, .rt-wc * { animation: none !important; transition: none !important; }
}
