/* === Global reset === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



/* Remove default margins */
html, body {
  height: 100%;
  overflow-x: clip;
}


@media (max-width: 425px) {
  body:not(.admin-bar) {
    padding-top: 46px;
  }
}


/* Media elements */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Form elements inherit font */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Buttons reset */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Links reset (tu gères ensuite via design system) */
a {
  /*text-decoration: none;*/
  color: inherit;
}

/* Avoid text overflow issues */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* scroll locked when modal is open */
html.ro-is-locked,
body.ro-is-locked{
  overflow: hidden;
  touch-action: none;
}
