:root {
  /* Typographie */
  --b2m-font: system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Bleus */
  --b2m-blue-950: #08152f;
  --b2m-blue-900: #0d2d5e;
  --b2m-blue-870: #15305a;   /* dégradé header / mobile menu */
  --b2m-blue-860: #10294f;   /* dégradé footer */
  --b2m-blue-820: #123d73;   /* dégradé hero + confirmation */
  --b2m-blue-760: #154f96;   /* bouton secondary */
  --b2m-blue-700: #1762b5;
  --b2m-blue-100: #e8f1ff;
  --b2m-nav-hover: #d8e8ff;  /* hover liens nav top */

  /* Rouges */
  --b2m-red-700: #d71920;
  --b2m-red-500: #ff4d5a;

  /* Neutres */
  --b2m-sand: #f4f6fb;
  --b2m-sand-light: #eef3fb; /* fond body intermédiaire */
  --b2m-white-soft: #f7f9fd; /* fond body final */
  --b2m-sand-strong: #e8edf7;
  --b2m-ink: #0f172a;
  --b2m-muted: #5f6f86;
  --b2m-white: #fff;

  /* États */
  --b2m-success: #4ade80;
}

#after-header,
#after-footer {
  background: linear-gradient(90deg, var(--b2m-blue-950) 0%, var(--b2m-blue-700) 48%, var(--b2m-red-700) 100%);
  height: 8px;
  opacity: 0.95;
}

#header {
  background: var(--b2m-white);
}

#header .header-nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(8, 21, 47, 0.06);
}

#header .header-nav a {
  color: var(--b2m-ink);
}

#header .header-nav .blockcart,
#header .header-nav .user-info {
  background: transparent;
}

#header .header-top,
#header.is-open .header-top,
#mobile_top_menu_wrapper {
  background:
    radial-gradient(circle at top, rgba(23, 98, 181, 0.2), transparent 42%),
    linear-gradient(160deg, var(--b2m-blue-950) 0%, var(--b2m-blue-900) 62%, var(--b2m-blue-870) 100%);
  padding-bottom: 0;
}

#header .header-top a[data-depth="0"] {
  color: var(--b2m-white);
}

#header .header-top a:hover[data-depth="0"] {
  color: var(--b2m-nav-hover);
}

#header .top-menu a[data-depth="0"] {
  color: var(--b2m-white);
  font-weight: 700;
  letter-spacing: 0.02em;
}

#header .top-menu a[data-depth="0"]:hover {
  color: var(--b2m-nav-hover);
}

#header .top-logo {
  display: flex;
  align-items: center;
}

#header .top-logo img {
  display: block;
  width: auto;
  max-height: 2.25rem;
}

.b2m-club-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.b2m-club-strip__content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem 0 0.6rem;
}

.b2m-club-strip__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.b2m-club-strip__eyebrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.b2m-club-strip__values {
  color: var(--b2m-white);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.2;
}

.b2m-club-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.b2m-club-strip__links a,
.b2m-club-strip__links a:link,
.b2m-club-strip__links a:visited,
.b2m-club-strip__links a:hover,
.b2m-club-strip__links a:focus {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-decoration: none;
}

.b2m-club-strip__links a + a::before {
  content: "";
  display: inline-block;
  width: 0.22rem;
  height: 0.22rem;
  margin: 0 0.75rem;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.b2m-club-strip__links a:hover {
  color: var(--b2m-white) !important;
  text-decoration: none;
}

.b2m-brand-compact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 0 1.05rem;
}

.b2m-brand-compact__heading {
  margin: 0;
  line-height: 0;
}

.b2m-brand-compact__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.b2m-brand-compact__logo img {
  display: block;
  width: auto;
  height: 3.35rem;
  max-height: none;
}

.b2m-brand-compact__copy {
  color: var(--b2m-white);
  max-width: 12rem;
}

.b2m-brand-compact__kicker {
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.b2m-brand-compact__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.header-top-right {
  padding-top: 1.1rem;
}

.header-top-right .search-widget {
  min-width: 16rem;
}

.header-top-right .search-widget form input[type="text"] {
  min-height: 3.15rem;
  padding-left: 3rem;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 999px;
  min-width: 100%;
  box-shadow: 0 12px 24px rgba(8, 21, 47, 0.1);
}

.header-top-right .menu,
.header-top-right .search-widgets {
  margin-bottom: 0.75rem;
}

.header-top-right .menu {
  display: flex;
  align-items: center;
}

.header-top-right .top-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-top-right .top-menu > li {
  margin-right: 0;
}

.header-top-right .top-menu a[data-depth="0"] {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.2rem 0.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.page-home {
  background:
    linear-gradient(180deg, var(--b2m-sand) 0%, var(--b2m-sand-light) 38%, var(--b2m-white-soft) 100%);
  color: var(--b2m-ink);
}

.b2m-home-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(255, 77, 90, 0.16), transparent 24rem),
    radial-gradient(circle at left center, rgba(23, 98, 181, 0.18), transparent 26rem),
    linear-gradient(145deg, var(--b2m-blue-950) 0%, var(--b2m-blue-900) 58%, var(--b2m-blue-820) 100%);
}

.b2m-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(17rem, 0.72fr);
  gap: 1.35rem;
  align-items: stretch;
}

.b2m-home-hero__grid--wide {
  grid-template-columns: minmax(0, 1fr);
  max-width: 54rem;
}

.b2m-home-hero__grid--wide .b2m-home-hero__title {
  max-width: 18ch;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.b2m-home-hero__grid--wide .b2m-home-hero__summary {
  max-width: 42rem;
  font-size: 1.05rem;
}

.b2m-home-hero__content {
  color: var(--b2m-white);
}

.b2m-home-hero__eyebrow,
.b2m-home-section-head__eyebrow,
.b2m-home-journey__eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.b2m-home-section-head__eyebrow {
  color: var(--b2m-blue-700);
}

.b2m-home-hero__title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.b2m-home-hero__summary {
  max-width: 34rem;
  margin: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.55;
}

.b2m-home-hero__actions,
.b2m-home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.b2m-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--b2m-red-700);
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.3);
  color: var(--b2m-white);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.b2m-home-button:hover,
.b2m-home-button:focus {
  color: var(--b2m-white);
  text-decoration: none;
  transform: translateY(-1px);
  background: var(--b2m-red-500);
  box-shadow: 0 6px 18px rgba(215, 25, 32, 0.35);
}

.b2m-home-button--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.92);
}

.b2m-home-button--ghost:hover,
.b2m-home-button--ghost:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--b2m-white);
  box-shadow: none;
}

.b2m-home-button--secondary {
  width: 100%;
  background: linear-gradient(135deg, var(--b2m-blue-900) 0%, var(--b2m-blue-760) 100%);
  box-shadow: 0 12px 24px rgba(13, 45, 94, 0.2);
}

.b2m-home-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.b2m-home-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
}

.b2m-home-hero__chips .is-accent {
  background: rgba(23, 98, 181, 0.28);
  border-color: rgba(23, 98, 181, 0.52);
  color: var(--b2m-white);
}

.b2m-home-hero__chips a.is-link {
  text-decoration: none;
}

.b2m-home-hero__chips a.is-link:hover,
.b2m-home-hero__chips a.is-link:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--b2m-white);
  text-decoration: none;
}

.b2m-home-hero__aside {
  display: flex;
}

.b2m-home-journey {
  width: 100%;
  padding: 1.5rem;
  background: var(--b2m-white);
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1.35rem;
  box-shadow: 0 8px 24px rgba(8, 21, 47, 0.08);
  color: var(--b2m-ink);
}

.b2m-home-journey__eyebrow {
  color: var(--b2m-blue-700);
}

.b2m-home-journey__steps {
  display: grid;
  gap: 0.85rem;
}

.b2m-home-journey__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 1rem;
  background: var(--b2m-sand);
  border-radius: 0.9rem;
  transition: background 0.2s ease;
}

.b2m-home-journey__step:hover,
.b2m-home-journey__step:focus {
  background: var(--b2m-sand-strong);
  text-decoration: none;
}

.b2m-home-journey__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  background: linear-gradient(135deg, var(--b2m-blue-900) 0%, var(--b2m-blue-700) 100%);
  border-radius: 0.9rem;
  color: var(--b2m-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.b2m-home-journey__copy {
  display: grid;
  gap: 0.18rem;
}

.b2m-home-journey__copy strong {
  color: var(--b2m-ink);
  font-size: 1rem;
  font-weight: 800;
}

.b2m-home-journey__copy span {
  color: var(--b2m-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.b2m-home-journey .b2m-home-button {
  margin-top: 1rem;
}

.b2m-home-spotlight {
  width: 100%;
  padding: 1.5rem;
  background: var(--b2m-white);
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1.35rem;
  box-shadow: 0 8px 24px rgba(8, 21, 47, 0.08);
  color: var(--b2m-ink);
}

.b2m-home-spotlight__eyebrow {
  margin: 0 0 0.55rem;
  color: var(--b2m-blue-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.b2m-home-spotlight__title {
  margin: 0;
  color: var(--b2m-ink);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.b2m-home-spotlight__items {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.b2m-home-spotlight__item {
  display: grid;
  gap: 0.22rem;
  padding: 0.9rem 1rem;
  background: var(--b2m-sand);
  border-left: 3px solid var(--b2m-blue-700);
  border-radius: 0 0.75rem 0.75rem 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.b2m-home-spotlight__item:hover,
.b2m-home-spotlight__item:focus {
  background: var(--b2m-sand-strong);
  border-color: var(--b2m-red-700);
  text-decoration: none;
}

.b2m-home-spotlight__item strong {
  color: var(--b2m-ink);
  font-size: 1rem;
  font-weight: 800;
}

.b2m-home-spotlight__item span {
  color: var(--b2m-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.b2m-home-spotlight .b2m-home-button {
  margin-top: 1rem;
}

.b2m-home-universes,
.b2m-home-how,
.b2m-home-cta {
  padding: 2.5rem 0 0;
}

.b2m-home-how__steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.b2m-home-how__step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem;
  background: var(--b2m-white);
  border: 1px solid rgba(13, 45, 94, 0.07);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.b2m-home-how__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--b2m-blue-900) 0%, var(--b2m-blue-700) 100%);
  border-radius: 0.9rem;
  color: var(--b2m-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.b2m-home-how__copy {
  display: grid;
  gap: 0.2rem;
}

.b2m-home-how__copy strong {
  color: var(--b2m-ink);
  font-size: 1rem;
  font-weight: 800;
}

.b2m-home-how__copy span {
  color: var(--b2m-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.b2m-home-section-head {
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.b2m-home-section-head--compact {
  margin-bottom: 1.5rem;
}

.b2m-home-section-head__title,
.b2m-home-cta__title {
  margin: 0;
  color: var(--b2m-ink);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.b2m-home-universes__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.b2m-home-universe {
  display: block;
  padding: 1.35rem;
  background: var(--b2m-white);
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-top: 3px solid var(--b2m-blue-700);
  border-radius: 0.85rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease, border-top-color 0.2s ease, transform 0.2s ease;
}

.b2m-home-universe:hover,
.b2m-home-universe:focus {
  transform: translateY(-2px);
  border-top-color: var(--b2m-red-700);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09);
  text-decoration: none;
}

.b2m-home-universe__eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--b2m-blue-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.b2m-home-universe__title {
  display: block;
  color: var(--b2m-ink);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.b2m-home-universe__summary,
.b2m-home-cta__summary {
  display: block;
  margin-top: 0.65rem;
  color: var(--b2m-muted);
  line-height: 1.55;
}

.b2m-home-showcase {
  padding: 2.5rem 0 1rem;
}

.page-home .b2m-homeslider,
.page-home .featured-products,
.page-home .banner {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.page-home .b2m-homeslider,
.page-home .featured-products {
  padding-left: 15px;
  padding-right: 15px;
}

.homeslider-container.b2m-homeslider {
  float: none;
  box-shadow: 0 8px 24px rgba(8, 21, 47, 0.1);
  margin-bottom: 2.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.b2m-homeslider .rslides,
.b2m-homeslider .slide,
.b2m-homeslider figure {
  margin: 0;
}

.b2m-homeslider .slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  display: block;
}

.b2m-homeslider .caption {
  position: absolute;
  right: auto;
  bottom: 2rem;
  left: 3rem;
  max-width: 24rem;
  padding: 1.25rem 1.4rem;
  background: none;
  border-radius: 0;
  color: var(--b2m-white);
}

.b2m-homeslider .caption .display-1,
.b2m-homeslider .caption .caption-description,
.b2m-homeslider .caption .caption-description p {
  color: var(--b2m-white);
}

.b2m-homeslider .homeslider_nav {
  top: 50%;
  margin-top: -45px;
  opacity: 1;
}

.page-home .featured-products {
  margin-bottom: 3.25rem;
}

.page-home .featured-products .products-section-title {
  margin-bottom: 1.2rem;
  color: var(--b2m-ink);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: left;
  text-transform: none;
}

.page-home .product-miniature .thumbnail-container {
  overflow: hidden;
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1rem;
  background: var(--b2m-white);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .product-miniature:hover .thumbnail-container {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.page-home .product-miniature .product-description {
  padding: 1rem 1rem 1.2rem;
  background: var(--b2m-white);
}

.page-home .product-miniature .product-title a {
  color: var(--b2m-ink);
  font-weight: 700;
}

.page-home .product-miniature .price {
  color: var(--b2m-blue-900);
  font-weight: 800;
}

.page-home .all-product-link {
  font-weight: 700;
}

.b2m-promo-banner {
  max-width: 1140px;
  margin: 0 auto 3rem;
  padding: 0 15px;
}

.b2m-promo-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 1.65rem 2rem;
  background: linear-gradient(145deg, var(--b2m-blue-950) 0%, var(--b2m-blue-900) 60%, var(--b2m-blue-820) 100%);
  border-radius: 1.15rem;
  box-shadow: 0 6px 20px rgba(8, 21, 47, 0.1);
  text-decoration: none;
}

.b2m-promo-banner__inner:hover,
.b2m-promo-banner__inner:focus {
  text-decoration: none;
  opacity: 0.96;
}

.b2m-promo-banner__logo {
  flex-shrink: 0;
}

.b2m-promo-banner__logo img {
  display: block;
  max-height: 4.5rem;
  width: auto;
  border-radius: 0.75rem;
}

.b2m-promo-banner__body {
  flex: 1;
  min-width: 16rem;
}

.b2m-promo-banner__kicker {
  margin: 0 0 0.3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.b2m-promo-banner__title {
  margin: 0 0 0.4rem;
  color: var(--b2m-white);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.b2m-promo-banner__sub {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.5;
}

.b2m-promo-banner__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-style: italic;
}

.b2m-home-cta {
  padding-bottom: 2rem;
}

.b2m-home-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.75rem 2rem;
  background: linear-gradient(145deg, var(--b2m-blue-950) 0%, var(--b2m-blue-900) 60%, var(--b2m-blue-820) 100%);
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(8, 21, 47, 0.12);
}

.b2m-home-cta__copy,
.b2m-home-cta__copy .b2m-home-section-head__eyebrow,
.b2m-home-cta__title,
.b2m-home-cta__summary {
  color: var(--b2m-white);
}

.b2m-home-cta__note {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-style: italic;
}

body {
  font-family: var(--b2m-font);
  background:
    linear-gradient(180deg, var(--b2m-sand) 0%, var(--b2m-sand-light) 38%, var(--b2m-white-soft) 100%);
  color: var(--b2m-ink);
}

#wrapper,
#main {
  background: transparent;
}

#main .page-header h1,
#main .h1,
#main h1,
#main #js-product-list-header,
#main .block-category h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--b2m-ink);
  font-weight: 800;
  letter-spacing: -0.04em;
}

#main .page-content.card,
#main .card,
#main .block-category,
#main #search_filters,
#main #left-column .block,
#main .product-cover,
#main .product-information,
#main .product-accessories,
#main .tabs,
#main .checkout-step,
#main .subcategories,
#main .cart-grid-body .card,
#main .cart-grid-right .card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

#main .page-content.card,
#main .card {
  overflow: hidden;
}

#main .page-content.card.card-block,
#main .block-category,
#main .product-information,
#main .product-accessories,
#main .tabs,
#main .checkout-step,
#main #left-column .block {
  padding: 1.5rem;
}

#main .breadcrumb {
  background: transparent;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

#main .breadcrumb ol {
  margin-bottom: 0;
}

#main a {
  transition: color 0.2s ease;
}

#main a:hover {
  text-decoration: none;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, var(--b2m-red-700) 0%, var(--b2m-red-500) 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 28px rgba(215, 25, 32, 0.22);
}

.btn-secondary,
.btn-tertiary,
.btn-unstyle,
.btn-touchspin {
  border-radius: 999px;
}

.form-control,
.custom-select,
select.form-control:not([size]):not([multiple]) {
  min-height: 3rem;
  border: 1px solid rgba(13, 45, 94, 0.14);
  border-radius: 1rem;
  box-shadow: none;
}

.form-control:focus,
.custom-select:focus {
  border-color: rgba(23, 98, 181, 0.42);
  box-shadow: 0 0 0 0.2rem rgba(23, 98, 181, 0.12);
}

.product-miniature .thumbnail-container {
  overflow: hidden;
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1rem;
  background: var(--b2m-white);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-miniature:hover .thumbnail-container {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.product-miniature .product-description {
  padding: 1rem 1rem 1.2rem;
  background: var(--b2m-white);
}

.product-miniature .product-title a {
  color: var(--b2m-ink);
  font-weight: 700;
}

.product-miniature .price {
  color: var(--b2m-blue-900);
  font-weight: 800;
}

/* Badges produit (Nouveautés, Soldes…) — couleurs B2M */
.product-flag {
  background: var(--b2m-red-700);
  color: var(--b2m-white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.product-flag.new {
  background: linear-gradient(135deg, var(--b2m-blue-900) 0%, var(--b2m-blue-700) 100%);
}

.product-flag.on-sale {
  background: linear-gradient(135deg, var(--b2m-red-700) 0%, var(--b2m-red-500) 100%);
}

#products .products-selection,
#js-product-list-top,
#main .subcategories,
#main #search_filters {
  margin-bottom: 1.25rem;
}

#js-product-list-top,
.products-sort-order .dropdown-menu,
.products-selection .sort-by-row,
#main #search_filters .facet,
#left-column .block-categories {
  border-color: rgba(13, 45, 94, 0.08);
}

.block-category {
  margin-bottom: 1.5rem;
}

.block-category .category-cover img,
.product-cover img,
.product-images > li.thumb-container > .thumb {
  border-radius: 1.25rem;
}

.product-prices .current-price,
.product-prices .current-price .current-price-value {
  color: var(--b2m-blue-900);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.product-information .product-description,
.product-information .product-actions,
.product-information .product-additional-info {
  color: var(--b2m-muted);
}

.tabs {
  padding: 1.25rem;
}

.tabs .nav-tabs {
  gap: 0.6rem;
  border-bottom: 0;
}

.tabs .nav-tabs .nav-link {
  margin-right: 0;
  padding: 0.75rem 1rem;
  color: var(--b2m-muted);
  font-weight: 700;
  border: 1px solid rgba(13, 45, 94, 0.12);
  border-radius: 999px;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
  color: var(--b2m-white);
  background: var(--b2m-blue-900);
  border-color: transparent;
}

.tabs .tab-content {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1.25rem;
  background: var(--b2m-white);
}

.cart-grid .separator {
  border-color: rgba(13, 45, 94, 0.08);
}

.cart-summary,
.checkout-step {
  overflow: hidden;
}

.checkout-step .step-title,
.cart-summary .card-block h1 {
  color: var(--b2m-ink);
  font-weight: 800;
}

.checkout-step.-current {
  box-shadow: 0 24px 40px rgba(8, 21, 47, 0.1);
}

.cart-grid-right .btn-primary,
.product-actions .add-to-cart,
#payment-confirmation button {
  min-height: 3.1rem;
  padding-right: 1.35rem;
  padding-left: 1.35rem;
}

.page-footer {
  margin-top: 1.5rem;
}

#footer {
  padding-top: 0;
}

.footer-container {
  margin-top: 0;
  box-shadow: none;
}

.b2m-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#header .header-nav #contact-link a,
#header .header-nav .user-info a,
#header .header-nav .blockcart .header {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  color: var(--b2m-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

#header .header-nav .user-info a:hover,
#header .header-nav #contact-link a:hover,
#header .header-nav .blockcart:hover .header {
  background: rgba(13, 45, 94, 0.06);
  text-decoration: none;
}

.header-top-right .search-widgets {
  min-width: 16rem;
  margin-bottom: 0.75rem;
}

.b2m-searchbar form {
  position: relative;
  display: flex;
  align-items: center;
}

.b2m-searchbar .material-icons.search,
.b2m-searchbar__clear {
  position: absolute;
  top: 50%;
  color: var(--b2m-muted);
  transform: translateY(-50%);
}

.b2m-searchbar .material-icons.search {
  left: 1rem;
}

.b2m-searchbar__clear {
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--b2m-muted);
}

.b2m-searchbar__clear:hover,
.b2m-searchbar__clear:focus {
  color: var(--b2m-blue-900);
  text-decoration: none;
}

.header-top-right .search-widgets form input[type="text"],
.b2m-searchbar input[type="text"] {
  min-height: 3.15rem;
  width: 100%;
  padding-right: 3rem;
  padding-left: 3rem;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(8, 21, 47, 0.08);
}

.header-top-right .search-widgets form input[type="text"]::placeholder,
.b2m-searchbar input[type="text"]::placeholder {
  color: var(--b2m-muted);
}

.b2m-inline-link,
.page-home .all-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--b2m-blue-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.b2m-inline-link:hover,
.page-home .all-product-link:hover {
  color: var(--b2m-blue-700);
  text-decoration: none;
}

.btn-secondary,
.btn-tertiary {
  background: rgba(13, 45, 94, 0.06);
  border: 1px solid rgba(13, 45, 94, 0.12);
  color: var(--b2m-blue-900);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-tertiary:hover,
.btn-tertiary:focus {
  background: rgba(13, 45, 94, 0.1);
  border-color: rgba(13, 45, 94, 0.18);
  color: var(--b2m-blue-900);
}

#main .page-content.card.card-block,
#main .page-cms,
#main .product-information,
#main .checkout-step,
#main .cart-summary .card-block,
#main .cart-summary .cart-summary-products,
#main .cart-summary .cart-summary-line,
#main .cart-detailed-item {
  line-height: 1.6;
}

#main .page-cms {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
  padding: 1.75rem;
}

#main .page-cms h2,
#main .page-cms h3 {
  color: var(--b2m-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}

#main .page-cms h2 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

#main .page-cms h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

#main .page-cms p,
#main .page-cms li {
  color: var(--b2m-muted);
  font-size: 0.98rem;
}

#main .page-cms ul {
  padding-left: 1.15rem;
}

.page-home .featured-products {
  margin-bottom: 2.5rem;
}

.products .product {
  margin-bottom: 1.25rem;
}

.b2m-product-card .product-thumbnail {
  display: block;
}

.b2m-product-card .product-title {
  min-height: 3.3rem;
}

.b2m-product-card .product-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.3;
}

.b2m-product-card .product-price-and-shipping {
  margin-top: 0.55rem;
}

.product-information .product-description p,
.product-information .product-description li,
.product-information .product-description .MsoNormal {
  margin-bottom: 0.55rem;
  color: var(--b2m-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.product-information .product-description p:last-child,
.product-information .product-description .MsoNormal:last-child {
  margin-bottom: 0;
}

.product-information .product-manufacturer,
.product-information .product-reference,
.product-information .product-quantities,
.product-information .product-condition,
.product-information .product-availability-date {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(13, 45, 94, 0.08);
}

.product-information .product-availability-date:last-child,
.product-information .product-condition:last-child {
  border-bottom: 0;
}

.product-information .label,
.product-features .h6 {
  color: var(--b2m-ink);
  font-weight: 700;
}

.product-features {
  margin-top: 1rem;
}

.product-features .data-sheet {
  margin-bottom: 0;
}

.product-features .data-sheet .name,
.product-features .data-sheet .value {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(13, 45, 94, 0.08);
}

.product-features .data-sheet .name {
  color: var(--b2m-ink);
  font-weight: 700;
}

.product-features .data-sheet .value {
  color: var(--b2m-muted);
}

.blockreassurance_product {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}

.blockreassurance_product > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.78) 0%, rgba(255, 255, 255, 0.96) 100%);
  border: 1px solid rgba(13, 45, 94, 0.1);
  border-radius: 1rem;
}

.blockreassurance_product .item-product {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-top: 0.05rem;
  border-radius: 999px;
  background: rgba(13, 45, 94, 0.08);
}

.blockreassurance_product .item-product img,
.blockreassurance_product .item-product svg {
  max-width: 1.3rem;
  max-height: 1.3rem;
}

.blockreassurance_product .block-title {
  display: block;
  margin: 0;
  color: var(--b2m-ink) !important;
  font-size: 0.98rem;
  font-weight: 800;
}

.blockreassurance_product p:not(.block-title) {
  margin: 0;
  color: var(--b2m-muted) !important;
  font-size: 0.94rem;
  line-height: 1.5;
}

.blockreassurance_product .clearfix {
  display: none;
}

.b2m-search-header {
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.b2m-search-header__eyebrow,
.b2m-footer__eyebrow,
.b2m-newsletter__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--b2m-blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.b2m-search-header__summary,
.b2m-auth-card__intro,
.b2m-empty-state p,
.b2m-footer__summary,
.b2m-newsletter__summary,
.b2m-empty-state__sidebar-copy {
  color: var(--b2m-muted);
  font-size: 0.98rem;
}

.b2m-auth-card__intro {
  margin-bottom: 1.1rem;
}

.b2m-auth-card__register {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 45, 94, 0.08);
}

.b2m-auth-card__register a {
  font-weight: 700;
}

.b2m-cart-page__back {
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--b2m-blue-900);
  font-weight: 700;
}

.b2m-cart-delivery-note {
  margin-top: 0.75rem;
  color: var(--b2m-muted);
  font-size: 0.9rem;
}

.b2m-cart-delivery-note a {
  color: var(--b2m-blue-700);
  font-weight: 700;
}

.b2m-empty-state {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1.25rem;
  text-align: left;
}

.b2m-empty-state h2,
.b2m-empty-state h4 {
  margin: 0;
  color: var(--b2m-ink);
  font-weight: 800;
}

.b2m-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.b2m-empty-state__sidebar-copy {
  margin-bottom: 0;
}

/* ── Ancien footer — conservé pour référence, remplacé par b2m-footer-slim ─── */
.b2m-footer {
  display: none;
}

/* ── Nouveau footer minimal ─────────────────────────────────────────────────── */

.b2m-footer-slim {
  margin-top: 3rem;
  padding: 1.5rem 0 1.25rem;
  background: var(--b2m-blue-950);
  border-top: 3px solid var(--b2m-blue-900);
}

.b2m-footer-slim__main {
  display: flex;
  align-items: center;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.b2m-footer-slim__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0;
  margin-left: auto;
}

.b2m-footer-slim__link {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.b2m-footer-slim__link:hover,
.b2m-footer-slim__link:focus {
  color: var(--b2m-white);
  text-decoration: none;
}

/* Séparateur vertical entre les liens */
.b2m-footer-slim__link + .b2m-footer-slim__link::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.75rem;
  margin-right: 0.75rem;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.b2m-footer-slim__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
}

.b2m-footer-slim__separator {
  display: inline-block;
  width: 0.25rem;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  flex-shrink: 0;
}

#footer {
  padding-top: 0;
}

.footer-container {
  margin-top: 0;
  box-shadow: none;
}

@media (max-width: 767px) {
  .b2m-footer-slim__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .b2m-footer-slim__links {
    margin-left: 0;
    gap: 0.25rem 0;
  }

  .b2m-footer-slim__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .b2m-footer-slim__separator {
    display: none;
  }
}

.b2m-footer__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.b2m-footer__title,
.b2m-newsletter__title {
  margin: 0 0 0.45rem;
  color: var(--b2m-white);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.b2m-footer__summary {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.b2m-footer__promises {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.b2m-footer__promises li {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  color: var(--b2m-white);
  font-weight: 700;
}

.b2m-footer__row + .b2m-footer__row {
  margin-top: 1rem;
}

.b2m-newsletter,
.b2m-social,
.b2m-footer-links,
.b2m-account-links,
.b2m-contact-block {
  margin-bottom: 1rem;
}

.b2m-newsletter {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
}

.b2m-newsletter__title {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.b2m-newsletter__summary,
.b2m-newsletter__note {
  color: rgba(255, 255, 255, 0.76);
}

.b2m-newsletter__note {
  margin: 0;
}

.b2m-newsletter .input-wrapper input {
  min-height: 3rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
}

.b2m-newsletter .alert {
  margin-top: 0.75rem;
}

.b2m-social,
.b2m-footer-links .wrapper,
.b2m-account-links,
.b2m-contact-block {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
}

.b2m-social__title,
.b2m-footer-links .h3,
.b2m-account-links .h3,
.b2m-contact-block .h4 {
  margin-bottom: 0.85rem;
  color: var(--b2m-white);
  font-size: 1rem;
  font-weight: 800;
  text-transform: none;
}

.b2m-footer a,
.b2m-footer .links a {
  color: rgba(255, 255, 255, 0.82);
}

.b2m-footer a:hover,
.b2m-footer .links a:hover {
  color: var(--b2m-white);
  text-decoration: none;
}

.b2m-footer .wrapper ul,
.b2m-social ul,
.b2m-account-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2m-footer .wrapper li,
.b2m-social li,
.b2m-account-links li {
  margin-bottom: 0.55rem;
}

.b2m-contact-block__address,
.b2m-contact-block__item {
  color: rgba(255, 255, 255, 0.82);
}

.b2m-contact-block__item {
  margin-bottom: 0.4rem;
}

@media (min-width: 768px) {
  .b2m-club-strip__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .b2m-club-strip__links {
    justify-content: flex-end;
  }
}

@media (max-width: 991px) {
  .b2m-home-hero__grid,
  .b2m-home-cta__panel {
    grid-template-columns: 1fr;
  }

  .b2m-home-universes__grid,
  .b2m-home-universes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b2m-home-how__steps {
    grid-template-columns: 1fr;
  }

  .b2m-home-cta__actions {
    justify-content: flex-start;
  }

  .b2m-footer__intro {
    grid-template-columns: 1fr;
  }

  .blockreassurance_product > div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  #main .page-content.card.card-block,
  #main .block-category,
  #main .product-information,
  #main .product-accessories,
  #main .tabs,
  #main .checkout-step,
  #main #left-column .block {
    padding: 1.25rem;
  }
}

@media (max-width: 767px) {
  #header.is-open,
  #header.is-open .header-top,
  #mobile_top_menu_wrapper {
    background:
      radial-gradient(circle at top, rgba(23, 98, 181, 0.2), transparent 42%),
      linear-gradient(160deg, var(--b2m-blue-950) 0%, var(--b2m-blue-900) 62%, var(--b2m-blue-870) 100%);
  }

  .b2m-club-strip__content {
    padding: 0.75rem 0;
  }

  .b2m-club-strip__links {
    gap: 0.65rem;
  }

  .b2m-club-strip__links a {
    width: auto;
    min-height: auto;
    padding: 0;
  }

  .b2m-club-strip__links a + a::before {
    margin: 0 0.55rem;
  }

  .b2m-home-hero {
    padding: 1.5rem 0 1.25rem;
  }

  .b2m-home-hero__title {
    font-size: 2.2rem;
    line-height: 1.0;
  }

  .b2m-home-hero__summary {
    font-size: 0.95rem;
  }

  .b2m-home-hero__actions,
  .b2m-home-cta__actions {
    width: 100%;
  }

  .b2m-home-hero__chips {
    gap: 0.45rem;
  }

  .b2m-home-button {
    width: 100%;
    justify-content: center;
  }

  .b2m-home-universes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b2m-home-spotlight {
    padding: 1.25rem;
  }

  .b2m-empty-state__actions,
  .b2m-auth-card__register {
    flex-direction: column;
    align-items: stretch;
  }

  .b2m-footer {
    padding-top: 2rem;
  }

  .b2m-footer__intro,
  .b2m-footer__promises {
    grid-template-columns: 1fr;
  }

  .b2m-footer__promises {
    display: grid;
  }

  .b2m-newsletter .btn-primary {
    width: 100%;
    margin-top: 0.75rem;
  }

  .b2m-promo-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.25rem;
  }

  .b2m-promo-banner__logo img {
    max-height: 3rem;
  }

  .b2m-promo-banner__body {
    min-width: 0;
  }

  .blockreassurance_product > div {
    gap: 0.3rem 0.75rem;
    padding: 0.85rem 0.9rem;
  }

  .b2m-homeslider .caption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: none;
    padding: 1rem;
  }

  .b2m-homeslider .caption .display-1 {
    font-size: 1.5rem;
  }

  .b2m-homeslider .caption-description {
    display: none;
  }

  .tabs .nav-tabs {
    gap: 0.45rem;
  }

  .tabs .nav-tabs .nav-link {
    width: 100%;
    text-align: center;
  }

  .b2m-newsletter,
  .b2m-social,
  .b2m-footer-links .wrapper,
  .b2m-account-links,
  .b2m-contact-block,
  #main .page-cms {
    padding: 1rem;
  }
}

/* ─── Category page ─────────────────────────────────────────────────────────── */

.block-category .b2m-search-header__eyebrow {
  margin-bottom: 0.35rem;
}

.b2m-category-additional {
  margin-top: 1.5rem;
}

.b2m-category-additional p,
.b2m-category-additional li {
  color: var(--b2m-muted);
  font-size: 0.98rem;
}

/* ─── Product page ───────────────────────────────────────────────────────────── */

.b2m-product-page .product-accessories {
  margin-top: 2rem;
}

.b2m-product-accessories {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
}

.b2m-product-accessories .b2m-search-header__eyebrow {
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

/* ─── Checkout page ──────────────────────────────────────────────────────────── */

.b2m-checkout-header-nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 35px rgba(8, 21, 47, 0.08);
}

.b2m-checkout-header-nav__row {
  align-items: center;
  min-height: 4rem;
}

.b2m-checkout-header-nav__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.b2m-checkout-header-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2m-checkout-header-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  background: rgba(13, 45, 94, 0.05);
  border: 1px solid rgba(13, 45, 94, 0.1);
  border-radius: 999px;
  color: var(--b2m-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.b2m-checkout-reassurance {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 1rem 1.25rem;
  list-style: none;
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(13, 45, 94, 0.08);
  border-radius: 1.25rem;
}

.b2m-checkout-reassurance li {
  padding-left: 1.1rem;
  color: var(--b2m-muted);
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
}

.b2m-checkout-reassurance li a {
  color: var(--b2m-muted);
  font-weight: 600;
  text-decoration: none;
}

.b2m-checkout-reassurance li a:hover,
.b2m-checkout-reassurance li a:focus {
  color: var(--b2m-blue-700);
  text-decoration: underline;
}

.b2m-checkout-reassurance li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--b2m-blue-700);
  border-radius: 50%;
}

/* ─── Order confirmation ─────────────────────────────────────────────────────── */

.b2m-confirmation-banner {
  background:
    radial-gradient(circle at top right, rgba(255, 77, 90, 0.14), transparent 24rem),
    linear-gradient(145deg, var(--b2m-blue-950) 0%, var(--b2m-blue-900) 60%, var(--b2m-blue-820) 100%);
  border: 0;
  border-radius: 1.5rem;
  box-shadow: 0 24px 44px rgba(8, 21, 47, 0.14);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.b2m-confirmation-banner .card-block {
  padding: 2rem 1.75rem;
}

.b2m-confirmation-banner .b2m-search-header__eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.b2m-confirmation-banner__title {
  color: var(--b2m-white) !important;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.65rem;
}

.b2m-confirmation-banner__title .done {
  color: var(--b2m-success);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.b2m-confirmation-banner__summary {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin: 0;
}

.b2m-confirmation-banner__summary a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  text-decoration: underline;
}

.b2m-confirmation-next {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 45, 94, 0.08);
}

.b2m-confirmation-next p {
  color: var(--b2m-muted);
  font-size: 0.95rem;
}

.b2m-confirmation-next a {
  font-weight: 700;
}

@media (max-width: 767px) {
  .b2m-checkout-header-chips {
    display: none;
  }

  .b2m-confirmation-banner .card-block {
    padding: 1.5rem 1.25rem;
  }

  .b2m-checkout-reassurance {
    padding: 0.85rem 1rem;
  }
}

/* ─── Product card CTA ───────────────────────────────────────────────────────── */

.b2m-product-card__cta {
  padding: 0.65rem 1rem 0.8rem;
  background: var(--b2m-white);
}

.b2m-product-card__link {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--b2m-sand);
  border: 1px solid rgba(13, 45, 94, 0.1);
  border-radius: 999px;
  color: var(--b2m-blue-900);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.b2m-product-card__link:hover,
.b2m-product-card__link:focus {
  background: var(--b2m-blue-900);
  border-color: var(--b2m-blue-900);
  color: var(--b2m-white);
  text-decoration: none;
}

/* ─── Footer promises — checkmark ────────────────────────────────────────────── */

.b2m-footer__promises li::before {
  content: "✓";
  margin-right: 0.65rem;
  color: var(--b2m-success);
  font-weight: 800;
}

/* ─── Universe cards — mobile small screens ──────────────────────────────────── */

@media (max-width: 480px) {
  .b2m-home-universe {
    padding: 1rem;
  }

  .b2m-home-universes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

/* ─── Reassurance block on product page — tighten ───────────────────────────── */

.blockreassurance_product > div {
  box-shadow: none;
}

/* ─── #after-header / #after-footer accent line — subtler ───────────────────── */

#after-header,
#after-footer {
  height: 3px;
  opacity: 0.85;
}

/* ─── Search widget on dark header — focus ring ──────────────────────────────── */

.header-top-right .search-widgets form input[type="text"]:focus,
.b2m-searchbar input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 4px 12px rgba(8, 21, 47, 0.08);
}

/* ─── Btn primary global — cohérence avec b2m-home-button ───────────────────── */

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--b2m-red-700);
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--b2m-red-500);
}

/* ─── Footer intro — compact title size ─────────────────────────────────────── */

.b2m-footer__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

/* ─── Mobile homepage "how" section — spacing ───────────────────────────────── */

@media (max-width: 767px) {
  .b2m-home-how__step {
    padding: 1rem;
  }

  .b2m-home-how {
    padding-top: 2rem;
  }

  .b2m-home-universes__grid {
    gap: 0.65rem;
  }

  .b2m-home-universe__summary {
    font-size: 0.82rem;
  }

  .b2m-home-hero__chips span,
  .b2m-home-hero__chips a.is-link {
    font-size: 0.78rem;
    padding: 0.4rem 0.7rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   AMÉLIORATIONS V2
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── 1. Sticky header ──────────────────────────────────────────────────────── */

#header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header .header-nav {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

#header.b2m-scrolled .header-nav {
  box-shadow: 0 2px 18px rgba(8, 21, 47, 0.12);
  background: rgba(255, 255, 255, 1);
}

/* ── 2. Brand compact — logo seul, sans texte redondant ─────────────────────── */

.b2m-brand-compact__copy,
.b2m-club-strip__eyebrow {
  display: none; /* textes retirés — le logo et l'identité visuelle suffisent */
}

/* ── 3. Images produit — ratio uniforme 4:5 ────────────────────────────────── */

.b2m-product-card .product-thumbnail {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--b2m-sand);
}

.b2m-product-card .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── 4. Universe cards — visuels par catégorie ─────────────────────────────── */

.b2m-home-universe {
  border-top: 0; /* remplacé par le visuel ci-dessous */
  padding-top: 0;
}

.b2m-home-universe__visual {
  display: block;
  height: 4rem;
  margin: 0 -1.35rem 1.1rem;
  border-radius: 0.85rem 0.85rem 0 0;
  background: linear-gradient(135deg, var(--b2m-blue-900) 0%, var(--b2m-blue-700) 100%);
  position: relative;
  overflow: hidden;
}

/* Reflet lumineux subtil sur le visuel */
.b2m-home-universe__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
}

/* Nouveautés — bleu vif */
.b2m-home-universe--nouveautes .b2m-home-universe__visual {
  background: linear-gradient(135deg, #082060 0%, #1762b5 100%);
}

/* Sportwear — navy profond avec accent droit */
.b2m-home-universe--sportwear .b2m-home-universe__visual {
  background: linear-gradient(135deg, var(--b2m-blue-950) 0%, #123d73 55%, #1762b5 100%);
}

/* Accessoires — navy chaud légèrement teinté */
.b2m-home-universe--accessoires .b2m-home-universe__visual {
  background: linear-gradient(135deg, #08152f 0%, #0d2d5e 50%, #154f96 100%);
}

/* Club / Supporters — navy avec accent rouge */
.b2m-home-universe--club .b2m-home-universe__visual {
  background: linear-gradient(135deg, var(--b2m-blue-950) 0%, var(--b2m-blue-900) 55%, var(--b2m-red-700) 100%);
}

.b2m-home-universe:hover .b2m-home-universe__visual,
.b2m-home-universe:focus .b2m-home-universe__visual {
  filter: brightness(1.08);
}

/* ── 5. Skeleton loading — shimmer image ────────────────────────────────────── */

@keyframes b2m-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.b2m-product-card .product-thumbnail:not(.b2m-img-ready) {
  background: linear-gradient(
    90deg,
    var(--b2m-sand) 25%,
    var(--b2m-sand-strong) 50%,
    var(--b2m-sand) 75%
  );
  background-size: 200% 100%;
  animation: b2m-shimmer 1.5s ease-in-out infinite;
}

.b2m-product-card .product-thumbnail img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.b2m-product-card .product-thumbnail.b2m-img-ready img {
  opacity: 1;
}

/* ── 6. Add-to-cart / Choisir les options — styles bouton ──────────────────── */

.b2m-product-card__add-btn {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--b2m-red-700);
  border: 0;
  border-radius: 999px;
  color: var(--b2m-white);
  font-family: var(--b2m-font);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 3px 10px rgba(215, 25, 32, 0.25);
}

.b2m-product-card__add-btn:hover,
.b2m-product-card__add-btn:focus {
  background: var(--b2m-red-500);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(215, 25, 32, 0.3);
}

.b2m-product-card__add-btn:disabled {
  background: var(--b2m-muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.b2m-product-card__link--options {
  color: var(--b2m-blue-700);
  border-color: rgba(23, 98, 181, 0.22);
}

.b2m-product-card__link--options:hover,
.b2m-product-card__link--options:focus {
  background: var(--b2m-blue-900);
  border-color: var(--b2m-blue-900);
  color: var(--b2m-white);
}

/* ── Toast panier ────────────────────────────────────────────────────────────── */

#b2m-cart-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  z-index: 9999;
  padding: 0.75rem 1.35rem;
  background: var(--b2m-blue-900);
  border-radius: 999px;
  color: var(--b2m-white);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(8, 21, 47, 0.2);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

#b2m-cart-toast.b2m-cart-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Mobile : universe visual légèrement moins haut ────────────────────────── */

@media (max-width: 767px) {
  .b2m-home-universe__visual {
    height: 3rem;
    margin: 0 -1rem 0.85rem;
  }

}
