/*
Theme Name: R3
*/
:root {
    --black1: #272727;
    --black2: #5C5C5C;
    --neutral-20: #EDEDED;
    --neutral-30: #F1F1F1;
    --neutral-70: #333333;
    --neutral-80: #4D4D4D;
    --neutral-100: #F5F5F5;
    --neutral-500: #626262;
    --green: #32B770;
    --primary-dark: #265A5D;
	--primary-light:#E9FFF3;
}

* {
	box-sizing: border-box;
}

h1, h2, h3 {
	margin:0;
}
img {
	max-width:100%;
}

.black1 {
	color:var(--black1);
}
.black2 {
	color:var(--black2);
}
body {
	color:var(--black1);
	font-size:16px;
	font-family:Switzer;
	margin:0;
}
a {
	color:var(--black1);
}
header, main, footer {
    max-width: 1440px;
    margin: 0 auto;
}

.wp-site-blocks{
	max-width:1440px;
	margin:0 auto;
	display:flex;
	justify-content:space-between;
	align-items:center;
}

header {
	padding:0 40px;
	display:flex;
	justify-content:space-between;
	align-items:center;
	min-height: 80px;
}

.button-primary {
    background: var(--primary-dark);
    min-height: 42px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 4px 12px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    gap: 8px;
	font-weight:600;
	cursor:pointer;
	border:none;
}

.button-big {
	min-height:48px;
}

.button-white {
    background: white;
    color: var(--primary-dark);
}

.button-white2 {
    background: var(--neutral-100);
    color: var(--primary-dark);
}

.modal.hidden { display:none; }

.modal {
  position:fixed;
  inset:0;
  display:grid;
  place-items:center;
  z-index:9999;
}

.modal-backdrop {
  position:absolute;
  inset:0;
  background:#0008;
}

.modal-box {
  position:relative;
  background:#fff;
  border-radius:8px;
  max-width:740px;
  width:100%;
}

.modal-close {
  position:absolute;
  top:12px;
  right:12px;
  background:none;
  border:0;
  font-size:24px;
  cursor:pointer;
}

.modal-container-login {
    display: flex;
}

[data-modal] { display:none; }
[data-modal].is-open { display:grid; }
body.modal-open { overflow:hidden; }

.login-modal-left {
    background: var(--black1);
    color: white;
    padding: 40px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 320px;
	border-radius: 8px 0 0 8px;
}

.login-modal-right {
    padding: 70px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
	color:var(--neutral-80);
}

h2.login-modal-right-title {
    font-size: 38px;
    font-weight: 500;
    margin: 0;
}

.login-modal-right-desc {
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 12px;
}

input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--neutral-20);
    height: 42px;
    background: white;
	padding: 0 12px;
}

.login-modal-right > form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-modal-right .button-primary {
	margin-top:12px;
}
.home .entry-title,
.home h1.entry-title {
  display: none;
}

.home1-container {
    background: #CBF1DC;
}

.block-home1 {
    padding: 24px  24px  24px 80px;
    max-width: 775px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.block-home1-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block-home1-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-home1-title {
    font-weight:650;
    font-size:38px;
	color: #0e474d;
}

.block-home1-text1 {
    font-weight:550;
    font-size:28px;
	color: #0e474d;
}

.block-home1-text2 {
    font-weight:500;
    font-size:18px;
	color: #6C6C6C;
}

.block-home1-text3 {
    font-weight: 500;
    font-size: 18px;
    color: #6C6C6C;
}
.block-home1-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
	justify-content: flex-end;
}

.w100 img, .w100 {
	width:100%
}

.m10 {
	margin-left:10%;
	margin-right:10%;
}

.m5 {
	margin-left:5%;
	margin-right:5%;
}

.p5 {
	padding-left:5%;
	padding-right:5%;
}

.g8 {gap:8px;}
.g12 {gap:12px;}
.g16 {gap:16px;}
.g24 {gap:24px;}
.g32 {gap:32px;}
.g48 {gap:48px;}

.block-home2 {
    box-shadow: 0 0 4px 2px #6FECA9;
    border: 1px solid #FBFAFB;
    border-radius: 12px;
    padding: 6px;
    width: 334px;
    max-width: 100%;
}

body .space-around {
	justify-content: space-around;
	gap:12px;
}

.block-home2-inner {
    background: #FAFAFA;
    padding: 18px 24px 24px;
}
.block-home2-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.block-home2-header {
    display: flex;
    gap: 24px;
    align-items: center;
}
.block-home2-title > h3 {
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
}
.block-home2-title > div {
    font-weight: bold;
}
.block-home2-text {
    font-size: 16px;
    font-weight: 400;
}
.home3 {
    padding: 32px 5%;
    background: #F8F8F8;
    gap: 18px;
}
.home3 > div:first-child {
    gap: 0;
}
.home3-imgs {
}
.home4 {
    background: #E9FFF3;
	padding:32px 0;
}
.home4 h2.block-home1-title {
    font-weight: 700;
    font-size: 32px;
}
.home4 .block-home1-top {
    gap: 0;
}
.home4 .block-home1-text3 {
    font-size: 16px;
    font-weight: 400;
    margin-top: 12px;
}
.wp-block-button__link {
    font-size: 16px;
    height: 42px;
    padding: 0 12px;
    background: var(--neutral-70);
}

footer {
    display: flex;
    gap: 32px;
	justify-content: space-around;
	margin-top: 32px;
}
footer > div {
    flex: 1 1 100%;
}
.footer-copy {
    font-size: 14px;
}
ul#menu-pied-de-page-reseaux-sociaux {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 12px;
}
h3.footer-title {
    font-size: 16px;
    font-weight: 600;
}
.footer-menu a {
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: var(--black1);
}
.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-left {
    max-width: 293px;
}
.footer-middle, .footer-right {
    max-width: 283px;
}

body .home2 {
    display: flex;
    flex-wrap: wrap;
    margin: 0 2%;
}
 .home3-imgs img {
    max-width: 236px;
 }
.home3 .home3-imgs img {
    max-width: 193px;
}

.page-sidebar {
    display: flex;
    padding: 0 24px;
}
.sidebar {
    width: 243px;
    min-width: 145px;
    max-width: 20%;
	margin-right: 5%;
}
.cat-flyout-title {
	font-weight: 600;
	padding: 6px 4px 8px 4px;
	margin-bottom: 12px;
	color : #91918F;
	font-size:14px;
}
.sidebar-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
	min-height: 53px;
}

.sidebar-panel i {
    margin-right: 12px;
}
.sidebar-tab {
	border-right : 1px solid #D4D4D4;
	border-bottom : 1px solid #D4D4D4;
	padding:0 0 0 12px;
	width:243px;
	max-width:100%;
	position: relative;
}
.sidebar-panel.level-1 {
	position: relative;
	z-index: 300;
}

/* Backdrop must be under menu, above page */
.menu-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.35);
	z-index: 200;
}
.level-2-flyout,
.level-3-flyout {
	position: fixed;
	top: 0;
	height: 100vh;
	width: 300px;
	background: #fff;
	border-right: 1px solid #D4D4D4;
	overflow-y: auto;
	z-index: 250;
	padding: 10px 12px;
}

/* fullscreen overlay */
.menu-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.35);
	z-index: 90;
}
.sidebar-panel {
}
.sidebar-panel-wrapper {
	display: none;
    margin-bottom: 6px;
}
.sidebar-panel-wrapper.is-open { display:flex; }

.category-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    padding: 6px 6px 6px 12px;
	cursor:pointer;
	min-height:30px;
}
.category-item.active, .category-item:hover {
    background: #F8F8F8;
    border-radius: 8px;
}
.level-1 .category-item.active:hover, .level-1  .category-item:hover {
    background: #fff;
    border-radius: 8px 0 0 8px;
}
.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
	text-decoration:none;
}
.sidebar-tab-toggle {
    font-size: 31px;
    line-height: 1;
	margin-right: 12px;
}
.wp-block-button__link {
    align-content: center;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    mim-height: 42px;
    text-align: center;
    word-break: break-word;
}

.button-light-green a {
	background:#E9FFF3;
	color:var(--primary-dark);
	min-heigth:40px;
}

.button-dark-green a {
	background:var(--primary-dark);
	color:white;
	min-height:40px;
}

.home-connected-block {
    background: var(--neutral-100);
	border-radius:8px;
}
.home-connected-block > div {
    padding: 12px 24px 16px;
}

body .home-connected-1 {
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
}

.home-connected-block2 {
	background:var(--neutral-100);
	padding:24px;
	border-radius:8px;
}
.products-search {
	position: relative;
	display: flex;
	align-items: center;
}

.products-search i.fa-magnifying-glass {
	position: absolute;
	left: 12px;
}

.products-search input {
    width: 100%;
    background: var(--neutral-100);
    border: none;
    padding: 0 36px 0 40px;
    border-radius: 30px;
    height: 36px;
    min-width: 420px;
    max-width: 50%;
}

.product-search-clear {
	position: absolute;
	right: 10px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-search-clear:hover {
	color: #000;
}

.product-search-clear[hidden] {
	display: none;
}

.products-header h1 {
    font-size: 32px;
    font-weight: 700;
}
.breadcrumbs {
    font-size: 14px;
    font-weight: 400;
    display: flex;
    gap: 8px;
    align-items: center;
    align-content: stretch;
	flex-wrap: wrap;
}
.breadcrumbs .current {
    font-size: 18px;
    font-weight: 500;
}
.breadcrumbs a {
    font-size: 14px;
    font-weight: 400;
	text-decoration: none;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
	border-radius:12px;
    gap: 10px;
	width:100%;
}
.product-block {
    width: 262px;
	max-width:100%;
    background: var(--neutral-100);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
	border-radius:12px;
}
.product-block-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
	gap:0;
}
.product-block-header-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
	gap:4px;
	padding: 16px;
}
.product-block-header > a {
    display: block;
    height: 160px;
    margin: 0 auto;
}
.product-block-header > a > img {
	height:160px;
	border-radius:12px 12px 0 0;
	margin: 0 auto;
}

.product-block-title {
	font-s-resize:20px;
	font-weight:600;
}

.product-block-desc {
	font-weight:500;
	color:#626262;
}
.product-block-button {
    min-height: 40px;
    margin: 0 16px 16px;
    display: flex;
    justify-content: flex-end;
}
.site-content-main {
    width: 100%;
	max-width:1085px;
}
ul.page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.notice {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid black;
    padding: 8px 12px;
    border-radius: 4px;
}
.notice-warning {
    border: 1px solid #ffd999;
    background-color: #fff9bc;
}

.notice-error {
    border: 1px solid #d10000;
    background-color: #ff5959;
    color: #ffffff;
}

.identification {
    display: flex;
    gap: 4px;
    align-items: center;
}
.identification-item {
    background: #E9FFF3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
    height: 28px;
    border-radius: 4px;
    color: var(--primary-dark);
	font-size:11px;
	gap:4px;
}
.identification-item label {
	font-weight: 600;
}

.product-sheet-header {
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.product-images > div {
	display:inline-block;
	margin-left:8px;
}
.product-images > div:first-child {
	margin-left:0;
}
.product-images > div > div {
    max-width: 270px;
    height: 270px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-images-slider {
	position: relative;
	display: flex;
	align-items: center;
}

.product-images {
    white-space: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
	scrollbar-width: none;
}

.product-images img {
	display: block;
	width: auto;
	object-fit: contain;
	cursor: zoom-in;
}

/* hide scrollbar */
.product-images::-webkit-scrollbar {
	display: none;
}
/* arrows */
.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(0,0,0,.6);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
}

.slider-arrow.prev {
	left: -18px;
}

.slider-arrow.next {
	right: -18px;
}

.slider-arrow:hover {
	background: rgba(0,0,0,.8);
}

.image-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.image-lightbox.open {
	opacity: 1;
	pointer-events: auto;
}

.image-lightbox img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.5);
	cursor: zoom-out;
}
.products-main-info {
    display: flex;
    flex-direction: column;
	gap:12px;
	align-items: stretch;
}
.product-main-info {
    display: flex;
    flex-direction: column;
    background: var(--neutral-100);
    border-radius: 8px;
	gap:24px;
	padding:24px;
	align-items: stretch;
}

.product-main-info label {
	font-size:18px;
	font-weight:600;
}
.product-main-info span {
	font-weight:500;
	color:var(--neutral-500);
}

.product-button-download-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-sheet {
    display: flex;
    gap: 24px;
    flex-direction: column;
}
.product-specifications {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}
.product-specifications-title {
    padding: 12px;
    background: var(--neutral-100);
    border: 1px solid #f2f2f2;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-70);
}
.product-specifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px;
    border-bottom: 1px solid var(--neutral-30);
}
.product-specifications-attributes {
    border-bottom: 1px solid var(--neutral-30);
}
.product-specifications-attribute-block {
    display: flex;
    padding: 12px 24px;
    gap: 12px;
}
[data-toggle-id], [data-toggle] {
	cursor: pointer;
}
.product-specifications-header {
    font-size: 17px;
    font-weight: 500;
}

.product-specifications-attribute-block span {
    flex: 1 1 100%;
}
.product-specifications-attribute-block label {
    min-width: 150px;
    font-weight: 500;
    flex: 1 0 0%;
}

.toggle-wrapper {
	display: none;
}
.toggle-wrapper.open {
	display: block;
}

.bool-box-off {
    background: #e91616;
    color: white;
}
.bool-box-on {
    background: #59c338;
    color: white;
}
.bool-box {
    border-radius: 20px;
    display: inline-flex;
    height: 20px;
    width: 20px;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.documents {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--primary-light);
	border-radius:8px;
}

.documents-title {
	font-size:20px;
	font-weight:600;
}

.documents-buttons {
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
}

.button-square {
	border-radius:8px;
}

.documents-buttons a {
    min-width: 333px;
    text-align: left;
    justify-content: flex-start;
}
.product-images img {
    max-height: 100%;
}
.login-modal-left-title {
  font-weight: 600;
}
.forgotten-password-link {
  display: none;
  text-align: right;
  font-size: 11px;
}
.user-menu {
	position: relative;
	display: inline-block;
}

.user-menu-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

/* dropdown */
.user-menu-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 6px;

	min-width: 180px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);

	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: all 0.2s ease;

	z-index: 1000;
}

/* show on hover */
.user-menu:hover .user-menu-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* menu items */
.user-menu-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
}

.user-menu-item:hover {
	background: #f5f5f5;
}

.product-filters {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.product-filter-btn, select#supplier-filter {
    padding: 10px 12px;
    border-radius: 20px;
    background: var(--neutral-100);
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.product-filter-btn:hover, .product-filter-btn.active, select#supplier-filter.active {
	color: var(--neutral-100);
	background: var(--primary-dark);
}

.products-totals {
    display: flex;
    gap: 12px;
    font-style: italic;
    font-size: 18px;
    align-items: center;
    color: var(--primary-dark);
    font-weight: bold;
}

ul#menu-en-tete {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

.site-header-right {
    display: flex;
    gap: 48px;
    align-items: center;
}

ul#menu-en-tete a {
    text-decoration: none;
    color:var(--primary-dark);
	font-weight:700;
}

ul#menu-en-tete .current-menu-item a {
}

select#supplier-filter {
    max-width: 150px;
}

.login-required-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.6);
	z-index: 99999; /* above app modals */
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-required-box {
	background: #fff;
	padding: 24px;
	border-radius: 8px;
	max-width: 420px;
	width: 90%;
	text-align: center;
}
#close-login-modal {
  margin: 0 auto;
}
a.custom-logo-link img {
    height: auto !important;
}
a.custom-logo-link {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-search-mobile, .sidebar-mobile-toggle {
	display:none;
}

.mobile-category-panel {
	position: fixed;
	inset: 0;
	background: #fff;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.mobile-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	font-weight: 600;
	border-bottom: 1px solid #ddd;
}

body.mobile-menu-open {
	overflow: hidden;
}

.category-children {
	padding-left: 16px;
	margin: 6px 0 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.category-item i {
	cursor: pointer;
	transition: transform 0.2s ease;
}

.category-item.open i {
	transform: rotate(90deg);
}
.sidebar-close-mobile {
	display:none;
}
.related-products-title {
    font-size: 24px;
    font-weight: 600;
}
.related-products {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}
.product-sheet-header h1 {
    font-size: 26px;
}
main.site-content-centered {
    max-width: 1085px;
}
.product-block-supplier {
    font-style: italic;
    color: var(--primary-dark);
    font-weight: 500;
}
.product-images-row {
    display: flex;
    justify-content: space-between;
}
img.product-supplier-logo {
    max-width: 270px;
    max-height: 270px;
    object-fit: contain;
}