@theme {
	--color-primary: #0543c9;
	--color-primary-hover: #0436a3;
	--color-primary-active: #032c85;
	--color-primary-light: #eef4ff;
	--font-sans: "Poppins", sans-serif;
}

body {
	font-family: "Poppins", sans-serif;
	color: #212529;
	background-color: #fcfcfd;
	margin: 0;
	padding: 0;
}

main {
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
}

/* ——— En-tête & Brand ——— */
.fond-bleu {
	background-color: #0543c9;
}

.site-header-link {
	min-width: 0;
}

.site-logo {
	height: 48px;
	width: auto;
	flex-shrink: 0;
}

.site-title {
	line-height: 1.2;
	word-break: break-word;
}

/* ——— Navigation & Dropdowns ——— */
.site-header,
.site-navbar {
	overflow: visible;
}

.navbar-mobile-toolbar {
	padding: 0.25rem 0;
	overflow: visible;
}

.nav-link-icon {
	font-size: 1.35rem;
	line-height: 1;
	padding: 0.35rem 0.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #4b5563;
	transition: color 0.15s ease-in-out;
}
.nav-link-icon:hover {
	color: #0543c9;
}

.nav-icon-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.nav-badge {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 1rem;
	height: 1rem;
	padding: 0 0.25rem;
	border-radius: 9999px;
	background-color: #dc3545;
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1rem;
	text-align: center;
	pointer-events: none;
	transform: translate(35%, -35%);
}

.nav-badge[data-count="0"] {
	display: none;
}

/* Dropdown styling */
.dropdown-menu-custom {
	display: none;
	position: absolute;
	z-index: 1000;
	min-width: 13rem;
	padding: 0.5rem 0;
	margin: 0.125rem 0 0;
	font-size: 0.875rem;
	color: #212529;
	text-align: left;
	list-style: none;
	background-color: #ffffff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0.375rem;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-menu-custom.show {
	display: block;
}

.dropdown-item-custom {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.4rem 1rem;
	clear: both;
	font-weight: 400;
	color: #212529;
	text-align: inherit;
	text-decoration: none;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
	transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.dropdown-item-custom:hover,
.dropdown-item-custom:focus {
	color: #0543c9;
	background-color: #f3f4f6;
}

.dropdown-header-custom {
	display: block;
	padding: 0.5rem 1rem 0.25rem;
	margin-bottom: 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.dropdown-divider-custom {
	height: 0;
	margin: 0.5rem 0;
	overflow: hidden;
	border-top: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
	.catalogue-dropdown:hover > .dropdown-menu-custom,
	.catalogue-dropdown .dropdown-menu-custom:hover {
		display: block;
		margin-top: 0;
	}
	.nav-link-icon {
		font-size: 1.5rem;
	}
}

/* ——— Boutons (système de boutons complet) ——— */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.45rem 0.95rem;
	font-size: 0.9375rem;
	border-radius: 0.375rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:disabled,
.btn.disabled {
	pointer-events: none;
	opacity: 0.65;
}

.btn-sm {
	padding: 0.25rem 0.5rem;
	font-size: 0.8125rem;
	border-radius: 0.25rem;
}

.btn-lg {
	padding: 0.6rem 1.25rem;
	font-size: 1.1rem;
	border-radius: 0.5rem;
}

.btn-primary {
	color: #ffffff;
	background-color: #0543c9;
	border-color: #0543c9;
}
.btn-primary:hover {
	color: #ffffff;
	background-color: #0436a3;
	border-color: #0436a3;
}
.btn-primary:active {
	background-color: #032c85;
	border-color: #032c85;
}

.btn-secondary {
	color: #ffffff;
	background-color: #6b7280;
	border-color: #6b7280;
}
.btn-secondary:hover {
	color: #ffffff;
	background-color: #4b5563;
	border-color: #4b5563;
}

.btn-success {
	color: #ffffff;
	background-color: #16a34a;
	border-color: #16a34a;
}
.btn-success:hover {
	background-color: #15803d;
	border-color: #15803d;
}

.btn-danger {
	color: #ffffff;
	background-color: #dc2626;
	border-color: #dc2626;
}
.btn-danger:hover {
	background-color: #b91c1c;
	border-color: #b91c1c;
}

.btn-warning {
	color: #1f2937;
	background-color: #f59e0b;
	border-color: #f59e0b;
}
.btn-warning:hover {
	background-color: #d97706;
	border-color: #d97706;
}

.btn-outline-primary {
	color: #0543c9;
	background-color: transparent;
	border-color: #0543c9;
}
.btn-outline-primary:hover {
	color: #ffffff;
	background-color: #0543c9;
	border-color: #0543c9;
}

.btn-outline-secondary {
	color: #4b5563;
	background-color: transparent;
	border-color: #d1d5db;
}
.btn-outline-secondary:hover {
	color: #111827;
	background-color: #f3f4f6;
	border-color: #9ca3af;
}

.btn-outline-danger {
	color: #dc2626;
	background-color: transparent;
	border-color: #fca5a5;
}
.btn-outline-danger:hover {
	color: #ffffff;
	background-color: #dc2626;
	border-color: #dc2626;
}

.btn-outline-success {
	color: #16a34a;
	background-color: transparent;
	border-color: #86efac;
}
.btn-outline-success:hover {
	color: #ffffff;
	background-color: #16a34a;
	border-color: #16a34a;
}

/* Radio button pills */
.btn-check {
	position: absolute;
	clip: rect(0, 0, 0, 0);
	pointer-events: none;
}

.btn-check:checked + .btn-outline-primary {
	color: #ffffff;
	background-color: #0543c9;
	border-color: #0543c9;
}

.btn-check:checked + .btn-outline-secondary {
	color: #ffffff;
	background-color: #4b5563;
	border-color: #4b5563;
}

.btn-close {
	box-sizing: content-box;
	width: 1em;
	height: 1em;
	padding: 0.25em 0.25em;
	color: #000;
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
	border: 0;
	border-radius: 0.375rem;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.15s ease-in-out;
}
.btn-close:hover {
	opacity: 0.85;
}

/* ——— Cartes (Cards) ——— */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #ffffff;
	background-clip: border-box;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	overflow: hidden;
}

.card-header {
	padding: 0.75rem 1.25rem;
	margin-bottom: 0;
	background-color: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
	font-weight: 600;
}

.card-body {
	flex: 1 1 auto;
	padding: 1.25rem;
}

.card-footer {
	padding: 0.75rem 1.25rem;
	background-color: #f9fafb;
	border-top: 1px solid #e5e7eb;
}

/* ——— Alertes (Alerts) ——— */
.alert {
	position: relative;
	padding: 0.85rem 1.15rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 0.375rem;
	font-size: 0.9375rem;
}

.alert-dismissible {
	padding-right: 3rem;
}
.alert-dismissible .btn-close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	padding: 1.05rem 1rem;
}

.alert-success {
	color: #0f5132;
	background-color: #d1e7dd;
	border-color: #badbcc;
}
.alert-success .alert-link {
	color: #0a3622;
	font-weight: 600;
	text-decoration: underline;
}

.alert-warning {
	color: #664d03;
	background-color: #fff3cd;
	border-color: #ffecb5;
}
.alert-warning .alert-link {
	color: #4d3a02;
	font-weight: 600;
	text-decoration: underline;
}

.alert-danger {
	color: #842029;
	background-color: #f8d7da;
	border-color: #f5c2c7;
}
.alert-danger .alert-link {
	color: #58151c;
	font-weight: 600;
	text-decoration: underline;
}

.alert-info {
	color: #055160;
	background-color: #cff4fc;
	border-color: #b6effb;
}
.alert-info .alert-link {
	color: #033640;
	font-weight: 600;
	text-decoration: underline;
}

.alert-secondary {
	color: #41464b;
	background-color: #e2e3e5;
	border-color: #d3d6d8;
}

/* ——— Badges ——— */
.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25em 0.55em;
	font-size: 0.75em;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 0.375rem;
}

.bg-primary { background-color: #0543c9; color: #fff; }
.bg-secondary { background-color: #6b7280; color: #fff; }
.bg-success { background-color: #16a34a; color: #fff; }
.bg-danger { background-color: #dc2626; color: #fff; }
.bg-warning { background-color: #f59e0b; color: #1f2937; }
.bg-info { background-color: #0ea5e9; color: #fff; }
.bg-light { background-color: #f3f4f6; color: #1f2937; }

/* ——— Formulaires ——— */
.form-label {
	display: inline-block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
}

.form-control,
.form-select {
	display: block;
	width: 100%;
	padding: 0.45rem 0.75rem;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.5;
	color: #1f2937;
	background-color: #ffffff;
	background-clip: padding-box;
	border: 1px solid #d1d5db;
	border-radius: 0.375rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	box-sizing: border-box;
}

.form-control:focus,
.form-select:focus {
	color: #1f2937;
	background-color: #fff;
	border-color: #0543c9;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(5, 67, 201, 0.25);
}

.form-control-sm,
.form-select-sm {
	padding: 0.25rem 0.5rem;
	font-size: 0.8125rem;
	border-radius: 0.25rem;
}

.form-text {
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	color: #6b7280;
}

.form-check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	min-height: 1.5rem;
	margin-bottom: 0.35rem;
}

.form-check-input {
	width: 1.15em;
	height: 1.15em;
	margin-top: 0.15em;
	vertical-align: top;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 1px solid #d1d5db;
	border-radius: 0.25em;
	appearance: none;
	print-color-adjust: exact;
	cursor: pointer;
	flex-shrink: 0;
}

.form-check-input[type="radio"] {
	border-radius: 50%;
}

.form-check-input:checked {
	background-color: #0543c9;
	border-color: #0543c9;
}

.form-check-input[type="checkbox"]:checked {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input[type="radio"]:checked {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-label {
	color: #374151;
	font-size: 0.9375rem;
	cursor: pointer;
}

.input-group {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
}
.input-group > .btn:first-child {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.input-group > .btn:last-child {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.input-group > .form-control {
	border-radius: 0;
	position: relative;
	z-index: 1;
}

.is-invalid {
	border-color: #dc2626 !important;
}
.invalid-feedback {
	display: none;
	width: 100%;
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	color: #dc2626;
}
.is-invalid ~ .invalid-feedback {
	display: block;
}

/* ——— Tableaux (Tables) ——— */
.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.table {
	width: 100%;
	margin-bottom: 1rem;
	vertical-align: middle;
	border-collapse: collapse;
}

.table th,
.table td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid #e5e7eb;
}

.table thead th {
	vertical-align: bottom;
	border-bottom: 2px solid #d1d5db;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #4b5563;
	background-color: #f9fafb;
}

.table-sm th,
.table-sm td {
	padding: 0.4rem 0.5rem;
}

.table-striped tbody tr:nth-of-type(odd) {
	background-color: #f9fafb;
}

.table-hover tbody tr:hover {
	background-color: #f3f4f6;
}

.table-secondary {
	background-color: #f3f4f6 !important;
	opacity: 0.85;
}

/* ——— Progress & Spinners ——— */
.progress {
	display: flex;
	height: 0.5rem;
	overflow: hidden;
	font-size: 0.75rem;
	background-color: #e5e7eb;
	border-radius: 9999px;
}

.progress-bar {
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	background-color: #0543c9;
	transition: width 0.3s ease;
}

.spinner-border {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	vertical-align: -0.125em;
	border: 0.25em solid currentColor;
	border-right-color: transparent !important;
	border-radius: 50%;
	animation: 0.75s linear infinite spinner-border-anim;
}

.spinner-border-sm {
	width: 1rem;
	height: 1rem;
	border-width: 0.15em;
}

@keyframes spinner-border-anim {
	to { transform: rotate(360deg); }
}

/* ——— Nav Pills & Onglets ——— */
.nav-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.nav-pills .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.45rem 0.85rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #4b5563;
	text-decoration: none;
	border-radius: 0.375rem;
	transition: all 0.15s ease-in-out;
}

.nav-pills .nav-link:hover {
	color: #0543c9;
	background-color: #f3f4f6;
}

.nav-pills .nav-link.active {
	color: #ffffff;
	background-color: #0543c9;
}

.nav-tabs {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid #e5e7eb;
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.nav-tabs .nav-link {
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #6b7280;
	text-decoration: none;
	background: none;
	border: 1px solid transparent;
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
	margin-bottom: -1px;
	cursor: pointer;
	transition: all 0.15s ease-in-out;
}

.nav-tabs .nav-link:hover {
	color: #0543c9;
	border-color: #e5e7eb #e5e7eb transparent;
}

.nav-tabs .nav-link.active {
	color: #0543c9;
	background-color: #ffffff;
	border-color: #e5e7eb #e5e7eb #ffffff;
	font-weight: 600;
}

.tab-content > .tab-pane {
	display: none;
}
.tab-content > .tab-pane.active {
	display: block;
}

/* ——— Breadcrumb ——— */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 0.875rem;
}
.breadcrumb-item + .breadcrumb-item::before {
	display: inline-block;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
	color: #9ca3af;
	content: "/";
}
.breadcrumb-item a {
	color: #0543c9;
	text-decoration: none;
}
.breadcrumb-item a:hover {
	text-decoration: underline;
}
.breadcrumb-item.active {
	color: #6b7280;
}

/* ——— Administration & Spécificités ——— */
.admin-nav-scroll {
	flex-wrap: wrap !important;
	align-content: flex-start;
	row-gap: 0.35rem;
	padding-bottom: 0.25rem;
}

.admin-nav-scroll .nav-link {
	white-space: nowrap;
}

/* ——— Catalogue & Filtres ——— */
.catalogue-filtres-form {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	padding: 1rem 1.25rem;
}

.catalogue-filtres-ligne {
	width: 100%;
}

.catalogue-tri-select {
	min-width: 10rem;
	width: auto;
}

.catalogue-filtres-boutons {
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	max-width: 100%;
}

.catalogue-filtres {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding-bottom: 0.25rem;
}

.produit-guide-tailles {
	cursor: pointer;
}

.produit-guide-tailles-img {
	max-width: 180px;
}

/* ——— Carrousel Produit ——— */
.product-carousel {
	position: relative;
}
.product-carousel-item {
	display: none;
}
.product-carousel-item.active {
	display: block;
}
.product-carousel-control {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 12%;
	padding: 0;
	color: #111827;
	text-align: center;
	background: none;
	border: 0;
	opacity: 0.5;
	transition: opacity 0.15s ease;
	cursor: pointer;
}
.product-carousel-control:hover {
	opacity: 0.9;
}
.product-carousel-control.prev { left: 0; }
.product-carousel-control.next { right: 0; }

/* ——— Listes & Comparaisons ——— */
.liste-page-items {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.liste-produit-card {
	overflow: hidden;
}

.liste-produit-photo {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
	background: #f3f4f6;
}

.liste-produit-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	font-size: 1.75rem;
}

.compare-table-wrap {
	-webkit-overflow-scrolling: touch;
	border-radius: 0.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border: 1px solid #e5e7eb;
}

.compare-table {
	min-width: 36rem;
	margin-bottom: 0;
}

.compare-label-col {
	position: sticky;
	left: 0;
	z-index: 2;
	min-width: 8.5rem;
	background: #ffffff;
	font-weight: 600;
}

.compare-product-col {
	min-width: 11rem;
	max-width: 16rem;
}

.compare-product-head {
	position: relative;
	padding-top: 0.25rem;
}

.compare-remove {
	position: absolute;
	top: 0;
	right: 0;
}

.compare-photo {
	max-width: 7rem;
	margin: 0 auto;
	border-radius: 0.375rem;
}

.compare-photo-mobile {
	max-width: 10rem;
	margin: 0 auto;
	border-radius: 0.375rem;
}

.compare-description {
	max-height: 8rem;
	overflow-y: auto;
	font-size: 0.875rem;
	line-height: 1.45;
}

/* ——— Modale Tailwind ——— */
.tailwind-modal-backdrop {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
	z-index: 1050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}
