/* ==========================================================================
   RunMotion Store — styles
   Fond sombre #181818, vert #33E8A6, cartes vert profond #0F3329, Inter.
   ========================================================================== */

:root {
	--rm-bg: #181818;
	--rm-surface: #202020;
	--rm-surface-2: #262626;
	--rm-footer: #111111;
	--rm-green: #33e8a6;
	--rm-green-hover: #7cf0c6;
	--rm-deep: #0f3329;
	--rm-text: #f5f5f5;
	--rm-muted: rgba(255, 255, 255, 0.72);
	--rm-faint: rgba(255, 255, 255, 0.58);
	--rm-line: rgba(255, 255, 255, 0.1);
	--rm-warn: #ffb86b;
	--rm-radius: 18px;
	--rm-radius-sm: 12px;
	--rm-pill: 100px;
	--rm-gutter: clamp(16px, 5.5vw, 80px);
	--rm-max: 1440px;
	--rm-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--rm-topo: url("../img/topo.svg");
	color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--rm-bg);
	color: var(--rm-text);
	font-family: var(--rm-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--rm-green); text-decoration: none; }
a:hover { color: var(--rm-green-hover); }
:focus-visible { outline: 3px solid var(--rm-green); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.rm-skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--rm-green); color: var(--rm-bg); font-weight: 800;
	padding: 12px 18px; border-radius: var(--rm-pill);
}
.rm-skip:focus { top: 12px; color: var(--rm-bg); }

.rm-container { width: 100%; max-width: var(--rm-max); margin: 0 auto; padding-inline: var(--rm-gutter); }
.rm-section { padding-block: clamp(48px, 7vw, 80px); }
.rm-section + .rm-section { padding-top: 0; }
.rm-main { display: block; min-height: 50vh; }

/* Typo ------------------------------------------------------------------ */
.rm-h1, .rm-h2, .rm-h3 { margin: 0; font-weight: 900; text-transform: uppercase; line-height: 1.08; letter-spacing: -0.005em; }
.rm-h1 { font-size: clamp(30px, 4.2vw, 56px); }
.rm-h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; }
.rm-h3 { font-size: clamp(20px, 2vw, 26px); }
.rm-h2 a, .rm-h3 a { color: inherit; }
.rm-lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--rm-muted); margin-top: 12px; }
.rm-eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rm-green); margin-bottom: 12px; }
.rm-page-title { margin-bottom: 32px; }

.rm-prose { max-width: 820px; }
.rm-prose h2, .rm-prose h3 { font-weight: 900; text-transform: uppercase; line-height: 1.2; margin: 1.6em 0 0.6em; }
.rm-prose ul, .rm-prose ol { padding-left: 1.2em; }
.rm-prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Boutons ---------------------------------------------------------------- */
.rm-btn,
.woocommerce .rm-btn,
.woocommerce a.button.rm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: var(--rm-pill);
	font-family: var(--rm-font); font-size: 15px; font-weight: 800; line-height: 1.1;
	text-transform: uppercase; letter-spacing: 0.01em; text-align: center;
	border: 1.5px solid transparent; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.rm-btn:active { transform: translateY(1px); }
.rm-btn--primary, .woocommerce a.button.rm-btn--primary { background: var(--rm-green); color: var(--rm-bg); }
.rm-btn--primary:hover, .woocommerce a.button.rm-btn--primary:hover { background: var(--rm-green-hover); color: var(--rm-bg); }
.rm-btn--light, .woocommerce a.button.rm-btn--light { background: #fff; color: var(--rm-bg); }
.rm-btn--light:hover { background: #e9e9e9; color: var(--rm-bg); }
.rm-btn--ghost, .woocommerce a.button.rm-btn--ghost { background: transparent; color: var(--rm-text); border-color: rgba(255,255,255,.4); }
.rm-btn--ghost:hover, .woocommerce a.button.rm-btn--ghost:hover { border-color: var(--rm-green); color: var(--rm-green); background: transparent; }
.rm-btn .rm-icon { flex-shrink: 0; }
.woocommerce a.button.rm-btn.added { background: var(--rm-deep); color: var(--rm-green); border-color: var(--rm-green); }
.woocommerce a.button.rm-btn.loading { opacity: .7; }
.woocommerce a.added_to_cart { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; }

.rm-tag {
	display: inline-block; align-self: flex-start;
	background: var(--rm-green); color: var(--rm-bg);
	font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	padding: 6px 10px; border-radius: 6px;
}
.rm-tag--light { background: var(--rm-text); }
.rm-badge,
.woocommerce span.onsale.rm-badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	min-height: 0; min-width: 0; margin: 0; padding: 5px 10px; line-height: 1.3;
	background: var(--rm-green); color: var(--rm-bg);
	font-size: 13px; font-weight: 800; border-radius: 6px;
}

/* En-tête ---------------------------------------------------------------- */
.rm-header { position: sticky; top: 0; z-index: 50; background: rgba(24,24,24,.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-bar .rm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rm-header { top: 0; } }
.rm-header__inner { max-width: var(--rm-max); margin: 0 auto; padding-inline: var(--rm-gutter); min-height: 80px; display: flex; align-items: center; gap: 40px; }

.rm-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--rm-text); flex-shrink: 0; }
.rm-brand__logo { height: 40px; width: auto; }
.rm-brand__badge { border: 1.5px solid var(--rm-green); color: var(--rm-green); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; line-height: 1.2; }

.rm-nav, .rm-nav-spacer { flex: 1; }
.rm-nav__list, .rm-nav ul { list-style: none; margin: 0; padding: 0; }
.rm-nav__list { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.rm-nav a { color: var(--rm-text); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.rm-nav a:hover, .rm-nav .current-menu-item > a, .rm-nav .current-menu-ancestor > a { color: var(--rm-green); }
.rm-nav__ext a, .rm-nav .menu-item-external > a { color: var(--rm-faint); }
.rm-nav .menu-item-has-children { position: relative; }
.rm-nav .sub-menu { position: absolute; top: 100%; left: -14px; min-width: 220px; padding: 8px; background: var(--rm-surface-2); border: 1px solid var(--rm-line); border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.5); display: none; }
.rm-nav .menu-item-has-children:hover > .sub-menu, .rm-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.rm-nav .sub-menu a { width: 100%; padding: 0 12px; border-radius: 10px; }
.rm-nav .sub-menu a:hover { background: rgba(255,255,255,.06); }

.rm-header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.rm-iconbtn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--rm-text); background: transparent; border: 0; cursor: pointer; }
.rm-iconbtn:hover { background: rgba(255,255,255,.07); color: var(--rm-text); }

.rm-cart { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border-radius: var(--rm-pill); background: var(--rm-surface-2); color: var(--rm-text); font-weight: 700; font-size: 15px; }
.rm-cart:hover { background: #303030; color: var(--rm-text); }
.rm-cart__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--rm-green); color: var(--rm-bg); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

.rm-lang { position: relative; }
.rm-lang__toggle { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: var(--rm-pill); font-size: 14px; font-weight: 700; cursor: pointer; }
.rm-lang__toggle::-webkit-details-marker { display: none; }
.rm-lang__toggle:hover, .rm-lang[open] .rm-lang__toggle { background: rgba(255,255,255,.08); }
.rm-lang__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 8px; width: 210px; background: var(--rm-surface-2); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.rm-lang__list a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--rm-text); font-size: 15px; }
.rm-lang__list a span { color: var(--rm-faint); font-size: 13px; }
.rm-lang__list a:hover { background: rgba(255,255,255,.06); color: var(--rm-text); }
.rm-lang__list a.is-current { background: var(--rm-green); color: var(--rm-bg); font-weight: 700; }
.rm-lang__list a.is-current span { color: var(--rm-bg); }

.rm-menu-toggle { display: none; }
.rm-menu-toggle .rm-icon--close { display: none; }
.rm-menu-toggle[aria-expanded="true"] .rm-icon--menu { display: none; }
.rm-menu-toggle[aria-expanded="true"] .rm-icon--close { display: block; }

@media (max-width: 1080px) {
	.rm-header__inner { min-height: 64px; gap: 12px; }
	.rm-brand__logo { height: 34px; }
	.rm-brand__badge { font-size: 10px; padding: 3px 6px; }
	.rm-cart__label { display: none; }
	.rm-cart { padding: 0 10px; background: transparent; }
	.rm-menu-toggle { display: inline-flex; }
	.rm-nav { position: fixed; inset: 64px 0 auto 0; max-height: calc(100vh - 64px); overflow-y: auto; background: var(--rm-bg); border-bottom: 1px solid var(--rm-line); padding: 8px var(--rm-gutter) 24px; display: none; }
	.admin-bar .rm-nav { top: 110px; }
	.rm-nav.is-open { display: block; }
	.rm-nav__list { flex-direction: column; gap: 0; }
	.rm-nav__list > li > a { width: 100%; min-height: 52px; border-bottom: 1px solid var(--rm-line); font-size: 17px; }
	.rm-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; }
}
@media (max-width: 520px) {
	.rm-header__inner { gap: 8px; }
	.rm-brand { min-width: 0; flex-shrink: 1; gap: 8px; }
	.rm-brand__logo { height: 30px; }
	.rm-header__tools { gap: 0; }
	.rm-lang__toggle { padding: 0 8px; gap: 4px; }
	.rm-lang__toggle .rm-icon--globe { display: none; }
}

/* Fond courbes de niveau ------------------------------------------------- */
.rm-topo { background: var(--rm-topo) center / cover no-repeat, linear-gradient(180deg, #141414 0%, var(--rm-bg) 100%); }

/* Hero / offres ---------------------------------------------------------- */
.rm-hero { padding-block: clamp(36px, 5vw, 64px) clamp(40px, 5.5vw, 72px); }
.rm-hero__head { max-width: 900px; margin-bottom: clamp(24px, 3vw, 40px); }
.rm-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.rm-offer { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(24px, 3vw, 40px); min-height: 420px; display: flex; flex-direction: column; gap: 16px; }
.rm-offer--premium { background: var(--rm-deep); border: 2px solid var(--rm-green); }
.rm-offer--gift { background: #222; border: 1px solid rgba(255,255,255,.12); }
.rm-offer__title { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; text-transform: uppercase; line-height: 1.1; max-width: 55%; }
.rm-offer__text { font-size: 17px; color: rgba(255,255,255,.86); max-width: 52%; }
.rm-offer__cta { margin-top: auto; position: relative; z-index: 2; }
.rm-offer__visual { position: absolute; pointer-events: none; }
.rm-offer--premium .rm-offer__visual { right: clamp(16px, 3vw, 40px); top: 40px; transform: rotate(4deg); }
.rm-offer--gift .rm-offer__visual { right: -40px; top: 130px; transform: rotate(-8deg); }
.rm-offer--gift .rm-offer__title, .rm-offer--gift .rm-offer__text { max-width: 46%; }
.rm-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rm-pills li { border: 1px solid rgba(51,232,166,.6); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: var(--rm-pill); }
.rm-hero__help { margin-top: 24px; font-size: 14px; color: var(--rm-muted); }

/* Téléphone : écran d'accueil blanc universel */
.rm-phone { width: 200px; height: 412px; border-radius: 32px; background: #0b0b0b; border: 7px solid #2b2b2b; box-shadow: 0 24px 50px rgba(0,0,0,.5); overflow: hidden; }
.rm-phone__screen { position: relative; width: 100%; height: 100%; background: #fff; display: flex; align-items: center; justify-content: center; }
.rm-phone__notch { position: absolute; top: 8px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #0b0b0b; }
.rm-phone__logo { width: 80%; height: auto; }

/* Carte cadeau */
.rm-giftcard { width: 330px; height: 206px; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #33e8a6 0%, #1fb884 100%); color: var(--rm-deep); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.rm-giftcard__top { display: flex; justify-content: space-between; align-items: center; }
.rm-giftcard__top strong { font-size: 15px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.rm-giftcard__bottom { display: flex; flex-direction: column; }
.rm-giftcard__bottom span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.rm-giftcard__bottom strong { font-size: 30px; font-weight: 900; text-transform: uppercase; line-height: 1.1; }

@media (max-width: 900px) {
	.rm-offers { grid-template-columns: 1fr; gap: 16px; }
	.rm-offer { min-height: 260px; }
	.rm-offer__title { max-width: 62%; }
	.rm-offer__text { max-width: 60%; font-size: 15px; }
	.rm-offer--premium .rm-offer__visual { right: -14px; top: 24px; transform: rotate(5deg) scale(.66); transform-origin: top right; }
	.rm-offer--gift .rm-offer__visual { right: -60px; top: 70px; transform: rotate(-10deg) scale(.56); transform-origin: top right; }
	.rm-pills li { font-size: 13px; padding: 6px 11px; }
	.rm-offer--gift .rm-offer__title, .rm-offer--gift .rm-offer__text { max-width: 64%; }
}
@media (max-width: 520px) {
	.rm-offer { padding: 22px; min-height: 0; }
	.rm-offer--premium .rm-offer__visual { right: -24px; top: 20px; transform: rotate(5deg) scale(.56); }
	.rm-offer--gift .rm-offer__visual { right: -36px; top: 34px; transform: rotate(-10deg) scale(.46); }
	.rm-offer__cta .rm-btn { font-size: 14px; padding: 0 18px; min-height: 50px; }
	.rm-offer__title { font-size: 23px; }
}

/* Engagements ------------------------------------------------------------ */
.rm-reass { border-bottom: 1px solid rgba(255,255,255,.08); }
.rm-reass__list { list-style: none; margin: 0 auto; padding-block: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1100px) { .rm-reass__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rm-reass__list li { display: flex; align-items: center; gap: 14px; }
.rm-reass__list strong { display: block; font-size: 15px; }
.rm-reass__list small { display: block; font-size: 13px; color: var(--rm-faint); }
.rm-reass__icon { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; background: rgba(51,232,166,.12); color: var(--rm-green); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .rm-reass__list { grid-template-columns: 1fr; gap: 14px; padding-block: 20px; } }

/* Produits (accueil) ----------------------------------------------------- */
.rm-products__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 30px; }
.rm-products__head > div:first-child { max-width: 720px; }
.rm-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-filter { height: 44px; padding: 0 18px; border-radius: var(--rm-pill); border: 0; background: var(--rm-surface-2); color: var(--rm-text); font-weight: 600; font-size: 14px; cursor: pointer; }
.rm-filter:hover { background: #303030; }
.rm-filter[aria-pressed="true"] { background: var(--rm-green); color: var(--rm-bg); font-weight: 700; }
.rm-products__more { margin-top: 36px; text-align: center; }

.rm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rm-grid [hidden] { display: none !important; }

.rm-card { display: flex; flex-direction: column; gap: 12px; background: var(--rm-surface); border: 1px solid rgba(255,255,255,.07); border-radius: var(--rm-radius); padding: 12px 12px 18px; }
.rm-card__media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--rm-radius-sm); overflow: hidden; background: var(--rm-surface-2); }
.rm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rm-card:hover .rm-card__media img { transform: scale(1.03); }
.rm-card__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); background: var(--rm-topo) center / cover, var(--rm-surface-2); }
.rm-card__body { display: flex; flex-direction: column; gap: 6px; padding: 0 6px; flex: 1; }
.rm-card__cat { display: block; font-size: 12px; font-weight: 700; color: var(--rm-green); text-transform: uppercase; letter-spacing: .04em; }
.rm-card__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.rm-card__title a { color: var(--rm-text); }
.rm-card__title a:hover { color: var(--rm-green); }
.rm-card__price, .rm-spot__price, .rm-feature__price { font-size: 20px; font-weight: 900; color: var(--rm-text); }
.rm-card__price del, .rm-spot__price del, .rm-feature__price del, .woocommerce .price del { font-size: .75em; font-weight: 500; color: var(--rm-faint); margin-right: 8px; opacity: 1; }
.rm-card__price ins, .rm-spot__price ins, .rm-feature__price ins, .woocommerce .price ins { text-decoration: none; }
.rm-card__action { padding: 0 6px; }
.rm-card__action .rm-btn { width: 100%; font-size: 14px; min-height: 46px; padding: 0 14px; }

/* Carte « À la une » (2 colonnes) */
.rm-spot { grid-column: span 2; display: flex; gap: 22px; background: var(--rm-deep); border: 2px solid var(--rm-green); border-radius: var(--rm-radius); padding: 14px; }
.rm-spot__media { position: relative; width: 50%; flex-shrink: 0; border-radius: var(--rm-radius-sm); overflow: hidden; background: var(--rm-surface-2); min-height: 320px; }
.rm-spot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rm-spot__body { display: flex; flex-direction: column; gap: 12px; padding: 16px 10px 10px 0; flex: 1; }
.rm-spot__title { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 900; text-transform: uppercase; line-height: 1.1; }
.rm-spot__title a { color: var(--rm-text); }
.rm-spot__text { font-size: 15px; color: rgba(255,255,255,.85); }
.rm-spot__sizes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rm-spot__sizes li { border: 1px solid rgba(51,232,166,.6); font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.rm-spot__price { margin-top: auto; font-size: 26px; }
.rm-spot .rm-btn { align-self: flex-start; }

@media (max-width: 1100px) { .rm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
	.rm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rm-spot { flex-direction: column; padding: 10px; }
	.rm-spot__media { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
	.rm-spot__body { padding: 4px 6px 8px; }
	.rm-card { padding: 8px 8px 12px; gap: 8px; border-radius: 14px; }
	.rm-card__title { font-size: 14px; }
	.rm-card__price { font-size: 16px; }
	.rm-card__body, .rm-card__action { padding: 0 4px; }
	.rm-card__action .rm-btn { font-size: 12px; min-height: 44px; padding: 0 8px; }
	.rm-filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--rm-gutter) * -1); padding-inline: var(--rm-gutter); }
	.rm-filter { flex-shrink: 0; height: 40px; }
}

/* Produit mis en avant (livre) ------------------------------------------- */
.rm-feature { background: #222; border-radius: 24px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.rm-feature__media { position: relative; display: block; max-width: 360px; aspect-ratio: 3 / 4; margin-inline: auto; width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); background: var(--rm-surface-2); }
.rm-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.rm-feature__body { display: flex; flex-direction: column; gap: 18px; }
.rm-feature__text { font-size: 17px; color: rgba(255,255,255,.85); }
.rm-feature__buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rm-feature__price { font-size: 30px; }
.rm-feature__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rm-feature .stock, .woocommerce .stock { margin: 0; font-size: 14px; font-weight: 700; }
.woocommerce .stock.in-stock { color: var(--rm-green); }
.woocommerce .stock.out-of-stock, .woocommerce .stock.available-on-backorder { color: var(--rm-warn); }
@media (max-width: 820px) { .rm-feature { grid-template-columns: 1fr; } .rm-feature__media { max-width: 240px; } }

/* Encart « boutique en français » ---------------------------------------- */
.rm-note { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--rm-surface-2); border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.rm-note__icon { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: rgba(51,232,166,.14); color: var(--rm-green); display: inline-flex; align-items: center; justify-content: center; }
.rm-note__body { flex: 1; min-width: 220px; }
.rm-note__body p { color: var(--rm-muted); margin: 4px 0 0; }

/* Pied de page ----------------------------------------------------------- */
.rm-footer { background: var(--rm-footer); margin-top: clamp(48px, 7vw, 96px); padding-top: 64px; font-size: 14px; }
.rm-footer__grid { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.rm-footer__about { display: flex; flex-direction: column; gap: 16px; color: var(--rm-muted); max-width: 420px; }
.rm-footer__about .rm-brand__logo { height: 40px; }
.rm-footer__apps { display: flex; gap: 10px; flex-wrap: wrap; }
.rm-footer__apps .rm-btn { min-height: 44px; font-size: 13px; padding: 0 16px; text-transform: none; }
.rm-footer__col h2 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--rm-faint); font-weight: 800; }
.rm-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rm-footer__col a { color: var(--rm-text); display: inline-flex; min-height: 32px; align-items: center; }
.rm-footer__col a:hover, .rm-footer__col a.is-current { color: var(--rm-green); }
.rm-footer__col a.is-current { font-weight: 700; }
.rm-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); color: var(--rm-faint); }
@media (max-width: 960px) { .rm-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rm-footer__about { grid-column: 1 / -1; } }

/* 404 */
.rm-404 .rm-section { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; }

/* ==========================================================================
   WooCommerce (pages classiques)
   ========================================================================== */
.rm-wc .rm-container { padding-block: 24px clamp(48px, 6vw, 80px); }

.rm-crumbs, .woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--rm-faint); margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.rm-crumbs a { color: var(--rm-muted); }
.rm-crumbs a:hover { color: var(--rm-green); }

.woocommerce-products-header__title.page-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; text-transform: uppercase; margin: 0 0 12px; }
.woocommerce .woocommerce-result-count { color: var(--rm-faint); font-size: 14px; }
.woocommerce .woocommerce-ordering select { background: var(--rm-surface-2); border: 1px solid var(--rm-line); border-radius: var(--rm-pill); padding: 10px 16px; min-height: 44px; }

/* Liste de produits */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none; position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--rm-surface); border: 1px solid rgba(255,255,255,.07); border-radius: var(--rm-radius); padding: 12px 12px 18px; }
.woocommerce ul.products li.product a img { margin: 0 0 4px; border-radius: var(--rm-radius-sm); aspect-ratio: 1 / 1; object-fit: cover; background: var(--rm-surface-2); }
.woocommerce ul.products li.product .woocommerce-loop-product__link { display: flex; flex-direction: column; gap: 6px; color: var(--rm-text); flex: 1; }
.woocommerce ul.products li.product .rm-card__cat { padding: 0 6px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; font-weight: 700; line-height: 1.35; padding: 0 6px; margin: 0; }
.woocommerce ul.products li.product .price { color: var(--rm-text); font-size: 20px; font-weight: 900; padding: 0 6px; margin: 0; }
.woocommerce ul.products li.product .button { width: 100%; margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; line-height: 1.1; }
.woocommerce ul.products li.product .onsale { top: 22px; left: 22px; right: auto; }
@media (max-width: 1100px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .woocommerce ul.products li.product { padding: 8px 8px 12px; } .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; } .woocommerce ul.products li.product .price { font-size: 16px; } .woocommerce ul.products li.product .button { font-size: 12px; padding: 0 8px; } }

.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--rm-surface-2); color: var(--rm-text); font-weight: 700; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--rm-green); color: var(--rm-bg); }

/* Fiche produit */
.woocommerce div.product { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); align-items: start; position: relative; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product > .onsale { top: 16px; left: 16px; }
.woocommerce div.product div.images { position: relative; min-width: 0; grid-column: 1; }
.woocommerce div.product div.summary { grid-column: 2; }
.woocommerce div.product div.images img { border-radius: 20px; background: var(--rm-surface-2); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 10px; opacity: .6; border: 2px solid transparent; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--rm-green); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { background: rgba(0,0,0,.55); }
.woocommerce div.product div.summary { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.woocommerce div.product .product_title { font-size: clamp(28px, 3vw, 40px); font-weight: 900; text-transform: uppercase; line-height: 1.1; margin: 0; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--rm-text); font-size: 30px; font-weight: 900; margin: 0; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 17px; color: rgba(255,255,255,.85); }
.woocommerce div.product form.cart { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; flex-direction: row; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 56px; border-radius: var(--rm-pill); background: var(--rm-green); color: var(--rm-bg); font-weight: 800; font-size: 16px; text-transform: uppercase; }
.woocommerce div.product form.cart .button:hover { background: var(--rm-green-hover); color: var(--rm-bg); }
.woocommerce div.product form.cart .button.disabled, .woocommerce div.product form.cart .button:disabled { opacity: .5; }
.woocommerce .quantity .qty { width: 84px; min-height: 56px; border-radius: var(--rm-pill); border: 1.5px solid rgba(255,255,255,.25); background: var(--rm-surface-2); color: var(--rm-text); text-align: center; font-weight: 700; font-size: 17px; }
.woocommerce div.product form.cart .variations { margin: 0; border: 0; }
.woocommerce div.product form.cart .variations tr { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { font-size: 14px; font-weight: 700; }
.woocommerce div.product form.cart .variations select { width: 100%; max-width: 320px; min-height: 48px; border-radius: 12px; background: var(--rm-surface-2); border: 1.5px solid rgba(255,255,255,.25); padding: 0 14px; }
.woocommerce div.product form.cart .reset_variations { font-size: 14px; color: var(--rm-muted); margin-top: 8px; display: inline-block; }
.woocommerce div.product .woocommerce-variation-price .price { font-size: 24px; }

/* Pastilles de variations (créées par theme.js à partir des <select>) */
.rm-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.rm-swatch { min-width: 64px; height: 48px; padding: 0 18px; border-radius: 12px; background: transparent; color: var(--rm-text); border: 1.5px solid rgba(255,255,255,.3); font-weight: 700; font-size: 15px; cursor: pointer; }
.rm-swatch:hover { border-color: var(--rm-green); }
.rm-swatch[aria-pressed="true"] { background: var(--rm-green); color: var(--rm-bg); border-color: var(--rm-green); }
.rm-swatch:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.rm-has-swatches select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.rm-prod-reass { list-style: none; margin: 4px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rm-line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: rgba(255,255,255,.85); }
.rm-prod-reass li { display: flex; gap: 12px; align-items: center; }
.rm-prod-reass .rm-icon { color: var(--rm-green); flex-shrink: 0; }

.rm-accordions { border-top: 1px solid var(--rm-line); }
.rm-acc { border-bottom: 1px solid var(--rm-line); }
.rm-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font-weight: 700; font-size: 16px; }
.rm-acc summary::-webkit-details-marker { display: none; }
.rm-acc summary::after { content: "+"; color: var(--rm-green); font-size: 24px; font-weight: 500; line-height: 1; }
.rm-acc[open] summary::after { content: "\2212"; }
.rm-acc__body { padding-bottom: 20px; color: rgba(255,255,255,.8); font-size: 15px; }
.rm-acc__body table.shop_attributes { border: 0; margin: 0; }
.rm-acc__body table.shop_attributes th, .rm-acc__body table.shop_attributes td { border: 0; border-bottom: 1px solid var(--rm-line); background: transparent !important; padding: 10px 0; font-style: normal; }
.rm-acc__body table.shop_attributes th { width: 40%; text-align: left; font-weight: 700; color: var(--rm-text); }

.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: clamp(40px, 6vw, 72px); }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; text-transform: uppercase; margin: 0 0 24px; }
.woocommerce div.product #reviews #comments ol.commentlist li .comment-text { border-color: var(--rm-line); border-radius: 12px; }

@media (max-width: 900px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images, .woocommerce div.product div.summary { grid-column: 1; }
	.woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper .wc-block-components-notice-banner { background: var(--rm-surface-2) !important; color: var(--rm-text) !important; border: 0 !important; border-left: 0 !important; border-radius: 14px; padding: 16px 20px 16px 52px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--rm-green); }
.woocommerce-error::before { color: var(--rm-warn); }
.woocommerce-message .button, .woocommerce-info .button { background: var(--rm-green) !important; color: var(--rm-bg) !important; border-radius: var(--rm-pill); font-weight: 800; }

/* Formulaires (compte, panier classique, commande classique) */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-page form .form-row input.input-text, .woocommerce .select2-container .select2-selection--single {
	background: var(--rm-bg); color: var(--rm-text); border: 1.5px solid rgba(255,255,255,.22); border-radius: 12px; min-height: 48px; padding: 10px 14px;
}
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button { background: var(--rm-surface-2); color: var(--rm-text); border-radius: var(--rm-pill); font-weight: 700; min-height: 44px; padding: 12px 22px; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: #333; color: var(--rm-text); }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce #place_order { background: var(--rm-green); color: var(--rm-bg); font-weight: 800; text-transform: uppercase; }
.woocommerce .button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--rm-green-hover); color: var(--rm-bg); }
.woocommerce table.shop_table { border: 1px solid var(--rm-line); border-radius: 16px; border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--rm-line); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--rm-text); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--rm-surface-2); color: var(--rm-green); font-weight: 700; }

/* ==========================================================================
   WooCommerce — blocs Panier / Commande (par défaut depuis WooCommerce 8.3)
   ========================================================================== */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { --rm-field: var(--rm-bg); }
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-sidebar { padding-top: 0; }
.wp-block-woocommerce-cart .wc-block-components-sidebar,
.wp-block-woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary,
.wc-block-cart__sidebar .wc-block-components-totals-wrapper { background: #222; }
.wp-block-woocommerce-cart .wc-block-components-sidebar { border-radius: 22px; padding: 24px; }
.wc-block-cart-items, .wc-block-cart-items th, .wc-block-cart-items td, .wc-block-components-totals-wrapper, .wc-block-components-panel { border-color: var(--rm-line) !important; }
.wc-block-components-product-name { color: var(--rm-text) !important; font-weight: 700; font-size: 17px; }
.wc-block-components-product-metadata, .wc-block-components-product-details { color: var(--rm-muted); }
.wc-block-cart-item__image img { border-radius: 12px; }
.wc-block-components-quantity-selector { border-radius: var(--rm-pill) !important; background: var(--rm-surface-2); }
.wc-block-components-quantity-selector::after { border: 0 !important; }
.wc-block-components-quantity-selector input, .wc-block-components-quantity-selector button { color: var(--rm-text) !important; background: transparent !important; }
.wc-block-cart-item__remove-link { color: var(--rm-muted) !important; }
.wc-block-components-totals-item__value, .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 900; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--rm-green) !important; color: var(--rm-bg) !important; border-radius: var(--rm-pill) !important; min-height: 56px; font-weight: 800 !important; text-transform: uppercase; border: 0 !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--rm-green-hover) !important; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-combobox .wc-block-components-combobox-control input {
	background: var(--rm-bg) !important; color: var(--rm-text) !important; border: 1.5px solid rgba(255,255,255,.22) !important; border-radius: 12px !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select__label, .wc-block-components-combobox label { color: var(--rm-faint) !important; }
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--rm-green) !important; box-shadow: none !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--rm-line) !important; }
.wc-block-components-radio-control__input, .wc-block-components-checkbox__input { background: var(--rm-bg) !important; border-color: rgba(255,255,255,.4) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--rm-green) !important; }
.wc-block-components-checkbox__input:checked { background: var(--rm-green) !important; border-color: var(--rm-green) !important; }
.wc-block-components-checkbox__mark { fill: var(--rm-bg) !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title { font-weight: 900 !important; text-transform: uppercase; }
.wc-block-components-notice-banner { border-radius: 14px; }
.wc-block-components-product-badge, .wc-block-components-sale-badge { background: var(--rm-green) !important; color: var(--rm-bg) !important; border: 0 !important; border-radius: 6px !important; font-weight: 800; }

/* ==========================================================================
   Commande classique — bloc de paiement en sombre (Stripe / WooPayments…)
   ========================================================================== */
.woocommerce-checkout #payment,
.woocommerce #payment { background: var(--rm-surface); border-radius: 18px; color: var(--rm-text); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--rm-line); padding: 20px 24px; }
.woocommerce-checkout #payment ul.payment_methods li { line-height: 1.5; }
.woocommerce-checkout #payment ul.payment_methods li label { color: var(--rm-text); font-weight: 600; }
.woocommerce-checkout #payment div.payment_box {
	background: var(--rm-surface-2);
	color: var(--rm-text);
	border-radius: 14px;
	padding: 18px;
	margin: 14px 0 4px;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--rm-surface-2); }
.woocommerce-checkout #payment div.payment_box p { color: var(--rm-muted); }
.woocommerce-checkout #payment div.payment_box fieldset,
.woocommerce-checkout #payment div.payment_box .wc-payment-form,
.woocommerce-checkout #payment div.payment_box .wc-credit-card-form,
.woocommerce-checkout #payment div.payment_box .wc-upe-form { border: 0; padding: 0; margin: 0; background: transparent; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 20px 24px 24px; margin: 0; }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper { color: var(--rm-text); }
.woocommerce-checkout #payment .woocommerce-terms-and-conditions { background: var(--rm-bg); border-color: var(--rm-line) !important; border-radius: 12px; }
.woocommerce form .form-row .required { color: var(--rm-warn); }
.woocommerce form .form-row input[type="checkbox"], .woocommerce-checkout input[type="radio"] { accent-color: var(--rm-green); width: 18px; height: 18px; }

/* ==========================================================================
   Panier classique — sans code promo, choix du mode de livraison lisible
   ========================================================================== */
.woocommerce-cart table.cart td.actions .coupon { display: none !important; }
.woocommerce-cart table.cart td.actions { text-align: right; }
.woocommerce ul#shipping_method { margin: 0; padding: 0; list-style: none; }
.woocommerce ul#shipping_method li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; padding: 12px 14px; border: 1.5px solid var(--rm-line); border-radius: 12px; text-align: left; }
.woocommerce ul#shipping_method li:has(input:checked) { border-color: var(--rm-green); background: rgba(51,232,166,.06); }
.woocommerce ul#shipping_method li input { margin: 3px 0 0; accent-color: var(--rm-green); }
.woocommerce ul#shipping_method li label { font-weight: 600; color: var(--rm-text); }
.woocommerce ul#shipping_method .amount { font-weight: 800; }
.woocommerce .cart_totals, .woocommerce .cart-collaterals .cart_totals { background: var(--rm-surface); border-radius: 18px; padding: 24px; }
.woocommerce .cart_totals h2 { margin-top: 0; font-weight: 900; text-transform: uppercase; font-size: 20px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 14px; color: var(--rm-muted); }

/* Pays livrés */
.rm-ship-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--rm-surface-2); color: var(--rm-muted); font-size: 14px; line-height: 1.5; }
.rm-ship-note .rm-icon { color: var(--rm-green); flex-shrink: 0; margin-top: 2px; }
.cart_totals + .rm-ship-note, .cart-collaterals .rm-ship-note { margin-top: 14px; }

/* Logo : prioritaire sur la règle WooCommerce « .woocommerce-page img { height:auto } »
   (sinon le logo SVG s'affiche à sa taille réelle sur la fiche produit, le panier, la commande). */
.rm-brand img.rm-brand__logo,
.woocommerce .rm-brand img.rm-brand__logo,
.woocommerce-page .rm-brand img.rm-brand__logo { height: 40px; width: auto; max-width: none; flex-shrink: 0; }
.rm-header .rm-icon { flex-shrink: 0; }
@media (max-width: 1080px) {
	.rm-brand img.rm-brand__logo,
	.woocommerce .rm-brand img.rm-brand__logo,
	.woocommerce-page .rm-brand img.rm-brand__logo { height: 34px; }
}
@media (max-width: 520px) {
	.rm-brand img.rm-brand__logo,
	.woocommerce .rm-brand img.rm-brand__logo,
	.woocommerce-page .rm-brand img.rm-brand__logo { height: 30px; }
}
.rm-footer .rm-brand img.rm-brand__logo { height: 40px; }
