@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;700&family=Caveat:wght@400;700&display=swap');

:root {
	--accent: #f73a00;
	--account-size: 34px;
	--blue-color: #1a2238;
	--brand-size: 22px;
	--brand: #787cbe;
	--burger-size: 60px;
	--focus-ring: #2563eb;
	--font-brand: "Rajdhani", sans-serif;
	--font-script: "Caveat", "Segoe Script", "Comic Sans MS", cursive;
	--font-ui: "Rajdhani", "Inter", system-ui, sans-serif;
	--header-offset: 0px;
	--nav-font: 17px;
	--nav-gap: 18px;
	--nav-h: 72px;
	--nav-icon: 42px;
	--page-gap: 18px;
	--primary-color: lightgray;
	--small-marges: 1%;
	--bg-dark: #0f1419;
	--text-dark: #f0f4f8;
	--card-dark: #1a2233
}
* {
	box-sizing: border-box
}
a {
	color: #000;
	font-size: 16px;
	text-decoration: none
}
a.brand:hover h1 {
	color: var(--accent)
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
	outline-offset: 2px;
	outline: 2px solid var(--focus-ring)
}
a:hover {
	color: #007bff
}
body {
	background: #fff;
	color: #111;
	font-family: var(--font-ui);
	font-weight: 500
}
body, html {
	margin: 0;
	padding: 0
}
body.has-second-header {
	--header-offset: 64px
}
body.has-site-nav {
	--header-offset: var(--nav-h)
}
body:has(.second-header) {
	--header-offset: 64px
}
body:has(.site-nav) {
	--header-offset: var(--nav-h)
}
button {
	background: var(--blue-color);
	border-radius: .5rem;
	border: 2px solid #959697;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	padding: .75rem 1.5rem;
	text-align: center;
	transition: background-color .2s, border-color .2s
}
button:hover {
	background: #197095;
	border-color: #959697
}
footer {
	background-color: #f9f9f9;
	border-top: 1px solid #eee;
	margin-top: 4rem;
	padding: 2rem 1rem;
	text-align: center
}
footer input {
	font-size: small;
	height: 10px;
	margin: auto;
	width: 30vw
}
h2 {
	color: var(--blue-color)
}
h3 {
	color: var(--blue-color)
}
h4 {
	font-size: 1rem;
	font-weight: normal;
	margin-left: var(--small-marges)
}
img {
	display: block;
	height: auto;
	max-width: 100%
}
img.lazy-loaded {
	animation: fadeIn 0.3s ease-in
}
img[data-src] {
	animation: loading 1.5s infinite;
	background-size: 200% 100%;
	background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%)
}
main {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 1rem auto;
	max-width: 1000px;
	padding: 0 1rem
}
main.product-page {
	margin: 1.5rem auto;
	max-width: 1200px;
	padding: 0 1rem
}
p {
	line-height: 1.6;
	margin: 0 0 1rem;
	text-align: left
}
#account-popup {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 30px rgba(0,0,0,.15);
	color: #111;
	display: none;
	max-width: min(86vw,260px);
	overflow: auto;
	padding: 8px;
	position: absolute;
	right: 0;
	text-shadow: none;
	top: calc(100% + 10px);
	width: 220px;
	z-index: 10000
}
#account-popup button {
	background: #f8fafc !important;
	border-radius: 10px !important;
	border: 1px solid #e5e7eb !important;
	color: #111 !important;
	cursor: pointer;
	display: block;
	font-size: 0.9rem !important;
	font-weight: 400 !important;
	margin: 6px 0;
	padding: 8px 10px;
	text-align: left;
	transition: all 0.2s ease;
	width: 100%
}
#account-popup button::before {
	display: none !important
}
#account-popup button:hover {
	background: #eef2f7 !important;
	border-color: #d6dae1 !important
}
#account-popup.active {
	display: block
}
#btn-account {
	position: relative;
	z-index: 10001
}
#btn-account, #btn-burger, #btn-home, .icon-btn {
	background: none;
	border: 0;
	cursor: pointer;
	line-height: 1;
	outline: none;
	padding: 0;
	position: relative;
	z-index: 10001
}
#btn-account:focus, #btn-burger:focus, #btn-home:focus, .icon-btn:focus {
	box-shadow: none;
	outline: none
}
#btn-burger {
	align-items: center;
	color: #fff;
	display: inline-flex;
	height: var(--burger-size);
	justify-content: center;
	width: var(--burger-size)
}
#btn-burger .burger-mask {
	-webkit-mask: url('/images/icons/menu-burger.png') center/contain no-repeat;
	background-color: currentColor !important;
	display: block;
	height: calc(var(--burger-size)*0.56);
	mask: url('/images/icons/menu-burger.png') center/contain no-repeat;
	width: calc(var(--burger-size)*0.74)
}
#btn-home {
	align-items: center;
	background: url('/images/logo/logo.png') center/contain no-repeat;
	display: inline-flex;
	height: var(--nav-icon);
	justify-content: center;
	width: var(--nav-icon)
}
#carousel-track {
	display: flex;
	gap: 20px;
	transition: transform 0.5s ease-in-out
}
#cart-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 60vh;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 10px;
	-webkit-overflow-scrolling: touch
}
#images-ct .img-row {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: 6px 0
}
#images-ct .img-row .drag {
	cursor: grab
}
#images-ct .img-row img {
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	height: 48px;
	object-fit: cover;
	width: 64px
}
#images-ct .img-row input {
	flex: 1
}
#pay-button[disabled] {
	cursor: not-allowed;
	opacity: .6
}
#portfolio-list {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
	list-style: none;
	margin: 0 auto 50px auto;
	max-width: 1200px;
	padding: var(--page-gap)
}
#products-list {
	background: none;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
	list-style: none;
	margin: 0;
	padding: 0
}
#portfolio-grid {
	background: none;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
	justify-items: center;
	list-style: none;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0
}
#search {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	font-size: .95rem;
	height: 40px;
	padding: 0 14px;
	width: 100%
}
#sort {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	font-size: .95rem;
	height: 40px;
	padding: 0 10px
}
#toast-container {
	position: fixed;
	right: 1rem;
	top: 1rem;
	z-index: 9999
}
#toggle-password, .password-wrapper .toggle-pass {
	align-items: center;
	background: var(--blue-color);
	border-radius: 10px;
	border: 1px solid #d1d5db;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	height: 48px;
	justify-content: center;
	line-height: 1;
	min-width: 48px;
	padding: 0;
	width: 48px
}
#toggle-password:hover, .password-wrapper .toggle-pass:hover {
	background: #000
}
.a-connection {
	display: flex;
	justify-content: center
}
.account-page {
	margin: 1.8rem auto;
	max-width: 960px;
	padding: 0 1rem 2rem
}
.account-page .a-card {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
	margin-bottom: 16px;
	padding: 16px
}
.account-page .a-subtitle {
	color: var(--blue-color);
	font-size: 1.15rem;
	font-weight: 800;
	margin: .25rem 0 12px
}
.account-page .a-title {
	color: var(--blue-color);
	font-size: 2rem;
	margin: .2rem 0 1rem
}
.account-page .btn-text {
	appearance: none;
	background: none;
	border: 0;
	color: var(--blue-color);
	cursor: pointer;
	font-weight: 700;
	padding: 0
}
.account-page .btn-text:hover {
	text-decoration: underline
}
.account-page .danger-zone {
	border-style: dashed
}
.account-page .field-label {
	color: #6b7280;
	font-size: .95rem
}
.account-page .form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 8px
}
.account-page .form-grid {
	align-items: start;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(260px,1fr))
}
.account-page .full-row {
	align-items: center;
	display: flex;
	gap: 12px;
	grid-column: 1 / -1
}
.account-page .password-wrapper {
	align-items: stretch;
	display: inline-flex;
	gap: 6px;
	margin: 6px 6px 6px 0;
	position: relative
}
.account-page .password-wrapper .toggle-pass {
	background: var(--blue-color);
	border-radius: 8px;
	border: 1px solid #d1d5db;
	color: #fff;
	cursor: pointer;
	min-width: 40px;
	width: 40px
}
.account-page .password-wrapper .toggle-pass:hover {
	background: #000
}
.account-page .pwd-actions {
	margin-top: 6px
}
.account-page .pwd-section {
	background: #f9fafb;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	margin: 10px 0 4px;
	padding: 12px
}
.account-page .pwd-section legend {
	color: var(--blue-color);
	font-size: .95rem;
	font-weight: 800;
	padding: 0 6px
}
.account-page .pwd-section[hidden] {
	display: none
}
.account-page input {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #d1d5db;
	font-size: 1rem;
	padding: 10px 12px;
	width: 100%
}
.account-page input:focus {
	border-color: var(--blue-color);
	box-shadow: 0 0 0 2px rgba(17,24,39,.08);
	outline: 0
}
.add-row-btn {
	margin-bottom: 20px;
	text-align: center;
	width: 100%
}
.admin-form {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 14px 30px rgba(15,23,42,.08);
	border: 1px solid #e5e7eb;
	padding: 22px
}
.admin-form .form-group {
	margin-bottom: 15px
}
.admin-form input[type="text"], .admin-form textarea {
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	box-sizing: border-box;
	padding: 10px;
	width: 100%
}
.admin-form textarea {
	min-height: 120px;
	line-height: 1.4;
	resize: vertical
}
.admin-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px
}
.admin-list-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
	margin-top: 20px
}
.admin-page {
	background: linear-gradient(160deg, rgba(15,23,42,.04) 0%, rgba(59,130,246,.05) 45%, rgba(15,23,42,.04) 100%);
	border-radius: 24px;
	margin: 1.5rem auto 2.5rem;
	max-width: 1150px;
	padding: 18px 18px 28px;
	position: relative;
	overflow: hidden
}
.admin-page::before {
	content: "";
	position: absolute;
	top: -120px;
	right: -140px;
	width: 260px;
	height: 260px;
	background: radial-gradient(circle, rgba(59,130,246,.18) 0%, rgba(59,130,246,0) 70%);
	pointer-events: none
}
.admin-page form {
	margin: .5rem 0 1.25rem
}
.admin-page h2 {
	margin: .75rem 0 .5rem
}
.admin-product {
	align-items: center;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 12px 24px rgba(15,23,42,.06);
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
	padding: 16px;
	transition: transform .15s ease, box-shadow .15s ease
}
.admin-product:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 28px rgba(15,23,42,.12)
}
.admin-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap
}
.admin-actions button {
	border-radius: 10px;
	padding: 8px 14px
}
.admin-desc {
	margin: 6px 0;
	max-width: 72ch
}
.admin-desc-long {
	white-space: pre-wrap
}
.admin-section {
	margin-bottom: 32px;
	padding-top: 12px
}
.admin-title, .form-title, .list-title {
	margin-bottom: 15px;
	margin-top: 30px
}
.admin-toolbar {
	align-items: center;
	background: #0f172a;
	border-radius: 16px;
	color: #fff;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr auto;
	margin-bottom: 16px;
	padding: 12px 14px
}
.admin-toolbar input,
.admin-toolbar select {
	background: #111827;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 10px;
	color: #fff;
	padding: 10px 12px
}
.admin-toolbar input::placeholder {
	color: rgba(255,255,255,.6)
}
.admin-toolbar select option {
	color: #111827
}
.admin-hero {
	align-items: center;
	background: #fff;
	border-radius: 18px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 18px 38px rgba(15,23,42,.08);
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 18px 20px
}
.admin-hero h1 {
	font-size: 1.8rem;
	margin: 0 0 6px
}
.admin-hero p {
	color: #6b7280;
	margin: 0
}
.admin-hero-badge {
	background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
	border-radius: 999px;
	color: #fff;
	font-size: .85rem;
	padding: 6px 14px;
	text-transform: uppercase;
	letter-spacing: .08em
}
.admin-panel {
	background: #fff;
	border-radius: 18px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 14px 30px rgba(15,23,42,.08);
	margin-bottom: 18px;
	padding: 18px
}
.admin-filters {
	display: grid;
	gap: 12px
}
.admin-filter-row {
	display: grid;
	gap: 8px;
	grid-template-columns: 140px 1fr;
	align-items: center
}
.admin-filter-row select {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 10px 12px
}
.admin-orders .order-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(15,23,42,.04);
	margin-bottom: 12px;
	padding: 0;
	overflow: hidden;
	transition: all 0.2s;
}
.admin-orders .order-card:hover {
	box-shadow: 0 4px 12px rgba(15,23,42,.08);
}
.admin-orders .order-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e5e7eb;
}
.admin-orders .order-main-info {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.admin-orders .order-id-badge {
	font-family: monospace;
	font-weight: 700;
	color: #111827;
	font-size: 0.95rem;
}
.admin-orders .order-date {
	font-size: 0.85rem;
	color: #6b7280;
}
.admin-orders .order-status-badge {
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: capitalize;
}
.admin-orders .status-en-attente-de-paiement {
	background: #fef3c7;
	color: #92400e;
}
.admin-orders .status-en-attente-de-production {
	background: #dbeafe;
	color: #1e40af;
}
.admin-orders .status-en-cours-de-création {
	background: #e0e7ff;
	color: #4338ca;
}
.admin-orders .status-en-cours-de-livraison {
	background: #ddd6fe;
	color: #6b21a8;
}
.admin-orders .status-terminé {
	background: #d1fae5;
	color: #065f46;
}
.admin-orders .order-actions-header {
	display: flex;
	gap: 6px;
}
.admin-orders .fetch-stripe-btn-small,
.admin-orders .delete-order-btn {
	background: transparent;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	transition: background 0.2s;
}
.admin-orders .fetch-stripe-btn-small:hover {
	background: #dbeafe;
}
.admin-orders .delete-order-btn:hover {
	background: #fee2e2;
}
.admin-orders .order-body {
	padding: 16px;
}
.admin-orders .order-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}
.admin-orders .info-item label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	margin-bottom: 4px;
	letter-spacing: 0.5px;
}
.admin-orders .info-item > div {
	font-size: 0.9rem;
	color: #111827;
	line-height: 1.4;
}
.admin-orders .order-total {
	font-weight: 700;
	color: #059669;
	font-size: 1.1rem;
}
.admin-orders .order-products {
	margin: 12px 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 8px 12px;
}
.admin-orders .order-products summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 0.9rem;
	color: #374151;
	padding: 4px 0;
}
.admin-orders .order-products ul {
	margin: 8px 0 0 0;
	padding-left: 20px;
}
.admin-orders .order-products li {
	font-size: 0.85rem;
	color: #6b7280;
	margin: 4px 0;
}
.admin-orders .order-controls-compact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
}
.admin-orders .control-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.admin-orders .control-group label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.admin-orders .order-controls-compact input,
.admin-orders .order-controls-compact select {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 0.9rem;
	transition: all 0.2s;
}
.admin-orders .order-controls-compact input:focus,
.admin-orders .order-controls-compact select:focus {
	outline: none;
	border-color: #3b82f6;
	background: #fff;
}
.admin-orders .save-btn {
	background: #111827;
	border: 0;
	border-radius: 8px;
	color: #fff;
	padding: 10px 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	align-self: end;
}
.admin-orders .save-btn:hover {
	background: #1f2937;
	transform: translateY(-1px);
}
.admin-orders .order-controls {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin-top: 12px
}
.admin-orders .order-controls input,
.admin-orders .order-controls select {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 8px 10px
}
/* ===== Admin Dashboard Grid ===== */
.admin-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 24px;
}
.admin-dashboard-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 2px solid;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.admin-dashboard-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.admin-dashboard-card h3 {
	margin: 0 0 8px;
}
.admin-dashboard-card p {
	color: #666;
	margin: 0;
	flex-grow: 1;
}
.admin-dashboard-icon {
	font-size: 2.5em;
	margin-bottom: 10px;
}
.admin-dashboard-link {
	font-weight: 600;
	margin-top: 10px;
	font-size: 0.9em;
}

/* ===== Admin Responsive — 768px and below ===== */
@media (max-width: 768px) {
	/* Page container */
	.admin-page {
		margin: 0.75rem auto 1.5rem;
		padding: 12px 10px 20px;
		border-radius: 16px;
	}

	/* Nav pills: horizontal scroll */
	.admin-nav {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 8px;
		margin: 8px 0 14px;
		padding-bottom: 4px;
		flex-wrap: nowrap;
	}
	.admin-nav::-webkit-scrollbar {
		display: none;
	}
	.admin-nav a {
		white-space: nowrap;
		padding: 7px 12px;
		font-size: 0.85rem;
		flex-shrink: 0;
	}

	/* Hero */
	.admin-hero {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		padding: 14px 16px;
	}
	.admin-hero h1 {
		font-size: 1.4rem;
	}
	.admin-hero p {
		font-size: 0.9rem;
	}

	/* Panels */
	.admin-panel {
		padding: 14px 12px;
		border-radius: 14px;
	}

	/* Toolbar */
	.admin-toolbar {
		grid-template-columns: 1fr;
		padding: 10px 12px;
	}

	/* Filter rows */
	.admin-filter-row {
		grid-template-columns: 1fr;
	}

	/* Dashboard grid */
	.admin-dashboard-grid {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
		gap: 12px;
	}
	.admin-dashboard-card {
		padding: 16px;
	}
	.admin-dashboard-icon {
		font-size: 2em;
		margin-bottom: 6px;
	}
	.admin-dashboard-card h3 {
		font-size: 1rem;
	}
	.admin-dashboard-card p {
		font-size: 0.85rem;
	}

	/* Product list grid */
	.admin-list-grid {
		grid-template-columns: 1fr;
	}

	/* Admin product cards */
	.admin-product {
		padding: 12px;
	}

	/* Orders page */
	.admin-orders .order-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 10px 12px;
	}
	.admin-orders .order-actions-header {
		align-self: flex-end;
		margin-top: -28px;
	}
	.admin-orders .order-body {
		padding: 12px;
	}
	.admin-orders .order-info-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.admin-orders .order-controls-compact {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	/* Analytics page */
	.admin-analytics {
		padding: 0 10px 30px;
	}
	.analytics-toolbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.analytics-controls {
		flex-wrap: wrap;
		width: 100%;
		gap: 6px;
	}
	.analytics-controls select {
		flex: 1;
		min-width: 0;
	}
	.btn-reset-analytics {
		width: 100%;
		margin-left: 0;
	}
	.analytics-grid {
		grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
		gap: 10px;
	}
	.analytics-card {
		padding: 12px;
	}
	.analytics-value {
		font-size: 1.15rem;
	}
	.analytics-panels {
		grid-template-columns: 1fr;
	}
	.analytics-panel {
		padding: 12px;
	}
	.analytics-row {
		font-size: 0.85rem;
	}

	/* Forms */
	.admin-form {
		padding: 14px;
	}
	.variant-row {
		flex-wrap: wrap;
	}
	.image-editor .img-row {
		flex-wrap: wrap;
	}
}

/* ===== Admin Responsive — 480px and below (small phones) ===== */
@media (max-width: 480px) {
	.admin-page {
		margin: 0.5rem auto 1rem;
		padding: 8px 6px 16px;
		border-radius: 12px;
	}
	.admin-hero {
		padding: 12px;
	}
	.admin-hero h1 {
		font-size: 1.2rem;
	}
	.admin-hero-badge {
		font-size: 0.75rem;
		padding: 4px 10px;
	}
	.admin-panel {
		padding: 10px 8px;
		border-radius: 10px;
	}
	.admin-dashboard-grid {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
	.admin-dashboard-card {
		padding: 12px 10px;
	}
	.admin-dashboard-icon {
		font-size: 1.6em;
		margin-bottom: 4px;
	}
	.admin-dashboard-card h3 {
		font-size: 0.9rem;
		margin-bottom: 4px;
	}
	.admin-dashboard-card p {
		font-size: 0.78rem;
	}
	.admin-dashboard-link {
		font-size: 0.8em;
	}
	.admin-orders .order-main-info {
		gap: 6px;
	}
	.admin-orders .order-id-badge {
		font-size: 0.85rem;
	}
	.admin-orders .order-status-badge {
		font-size: 0.7rem;
		padding: 3px 8px;
	}
	.admin-orders .order-controls-compact input,
	.admin-orders .order-controls-compact select {
		font-size: 0.85rem;
		padding: 7px 8px;
	}
	.admin-orders .save-btn {
		width: 100%;
		padding: 12px 16px;
	}
	.analytics-grid {
		grid-template-columns: 1fr 1fr;
	}
	.analytics-value {
		font-size: 1rem;
	}
	.analytics-label {
		font-size: 0.8rem;
	}
}
.amount {
	font-weight: 700;
	text-align: right;
	white-space: nowrap
}
.auth-actions {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 4px
}
.auth-actions .btn-block {
	align-self: stretch;
	width: 100%
}
.auth-actions.two {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr auto
}
.auth-card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 6px 24px rgba(0,0,0,.06);
	display: grid;
	gap: 12px;
	padding: 20px
}
.auth-card input, .auth-card select {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #cbd5e1;
	font-size: 1rem;
	height: 48px;
	padding: 12px 14px;
	width: 100%
}
.auth-card input:focus, .auth-card select:focus {
	border-color: var(--blue-color);
	box-shadow: 0 0 0 2px rgba(17,24,39,.08);
	outline: 0
}
.auth-card select:disabled {
	background: #f0f0f0;
	color: #999;
	cursor: not-allowed
}
.auth-page {
	margin: 1.8rem auto 2.2rem;
	max-width: 960px;
	padding: 0 1rem
}
.auth-section-title {
	color: var(--blue-color);
	font-size: 1.05rem;
	font-weight: 800;
	margin: .4rem 0 .2rem
}
.auth-title {
	color: var(--blue-color);
	font-size: 2rem;
	font-weight: 800;
	margin: .2rem 0 1.1rem;
	text-align: center
}
.backdrop {
	background: rgba(0,0,0,.35);
	height: calc(100vh - var(--header-offset));
	inset: 0;
	position: fixed;
	top: var(--header-offset);
	z-index: 35
}
.backdrop[hidden] {
	display: none
}
.badge {
	background: red;
	border-radius: 50%;
	color: #fff;
	font-size: .8em;
	margin-left: .3em;
	padding: .2em .5em;
	vertical-align: middle
}
.brand h1 {
	color: var(--brand);
	font-family: var(--font-brand);
	font-size: clamp(16px,5vw,26px);
	font-weight: 700;
	letter-spacing: 3px;
	text-shadow: 0 0 8px rgba(0,0,0,0.15);
	text-transform: uppercase;
	white-space: nowrap
}
.brand.caps h1 {
	letter-spacing: .02em;
	text-transform: uppercase
}
.brand.layers h1 {
	display: inline-block;
	position: relative
}
.brand.layers::before h1 {
	-webkit-text-stroke: 2px currentColor;
	color: transparent;
	content: attr(data-text);
	inset: 0;
	opacity: .25;
	position: absolute;
	transform: translate(2px,3px)
}
.btn-block {
	display: inline-block;
	text-align: center;
	width: 100%
}
.btn-danger {
	background: #cf4f4f;
	border-radius: 10px;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: .75rem 1rem
}
.btn-danger:hover {
	background: #dc2626
}
.btn-light {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	color: var(--blue-color);
	font-weight: 600;
	padding: .6rem 1rem
}
.btn-primary {
	background: var(--blue-color);
	border-radius: 10px;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: .75rem 1rem
}
.btn-primary:hover {
	background: #000
}
.c-card {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
	padding: 16px
}
.c-card__title {
	font-size: 1.05rem;
	font-weight: 800;
	margin: 0 0 10px
}
.c-gallery {
	display: flex;
	flex-direction: column;
	gap: 10px
}
.c-gallery__main {
	background: #f7f7f7;
	border-radius: 8px;
	border: 1px solid var(--primary-color);
	height: auto;
	max-height: 400px;
	object-fit: contain;
	width: 100%
}
.c-info .meta {
	color: #6b7280;
	font-size: .92rem
}
.c-info .meta .dot {
	color: #c9ced6;
	margin: 0 .35rem
}
.c-info .name {
	color: var(--blue-color);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 4px
}
.c-item {
	align-items: center;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	display: grid;
	gap: 14px;
	grid-template-columns: 112px 1fr auto;
	padding: 10px
}
.c-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0
}
.c-thumb {
	background: #f5f7fb;
	background: none;
	border-radius: 10px;
	border-radius: 4px;
	border: 1px solid #ccc;
	border: 1px solid #edf0f5;
	cursor: pointer;
	flex-shrink: 0;
	height: 80px;
	height: 84px;
	overflow: hidden;
	padding: 0;
	transition: border-color 0.2s;
	width: 112px;
	width: 80px
}
.c-thumb img {
	border-radius: 4px;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%
}
.c-thumb.is-active {
	border-color: var(--accent);
	border-width: 2px
}
.c-thumbs {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
	overflow-x: auto;
	padding-bottom: 5px
}
.c-totals {
	margin: 0
}
.c-totals .row {
	align-items: baseline;
	border-bottom: 1px dashed #e5e7eb;
	display: flex;
	justify-content: space-between;
	padding: 6px 0
}
.c-totals .row.muted {
	color: #6b7280;
	font-size: .9rem
}
.c-totals .row.total {
	font-size: 1.05rem;
	padding-top: 10px
}
.c-totals .row:last-child {
	border-bottom: 0
}
.calculateur-prix {
	gap: 1.5rem;
	margin: 1rem auto;
	max-width: 1000px;
	padding: 0 1rem
}
.call-to-action {
	background: #fcfcfc;
	border-radius: 8px;
	border: 1px solid var(--primary-color);
	margin-top: 30px;
	padding: 20px
}
.captcha-row {
	display: flex;
	justify-content: flex-start;
	margin-top: 6px
}
.card-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 15px
}
.card-image-ct {
	background: #f7f7f7;
	border-bottom: 1px solid #e0e0e0;
	height: 75%;
	overflow: hidden
}
.card-link-wrapper {
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none
}
.carousel {
	margin: 2em 0;
	position: relative;
	text-align: center
}
.carousel h2, .processus-complet h2 {
	font-size: 2rem;
	margin: 10px;
	text-align: left
}
.carousel h4 {
	text-align: left
}
.carousel__item {
	box-sizing: border-box;
	flex: 0 0 calc((100% - 40px) / 3)
}
.carousel__item .add-to-cart {
	background: var(--blue-color);
	border: none;
	color: #fff;
	cursor: pointer;
	display: block;
	margin: auto;
	padding: .5em 1em
}
.carousel__item .price {
	font-weight: bold;
	margin: .5em 0
}
.carousel__item img {
	aspect-ratio: 6 / 4;
	border: 1px solid #555;
	display: block;
	margin: 0 auto;
	max-height: 170px;
	object-fit: cover;
	width: 100%
}
.carousel__next {
	right: .5em
}
.carousel__next, .carousel__prev {
	align-items: center;
	background: rgba(0,0,0,.5);
	border: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 2em;
	height: 1.4em;
	justify-content: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 1.4em;
	z-index: 2
}
.carousel__prev {
	left: .5em
}
.carousel__view-all {
	background: #4e4e4e;
	border: none;
	color: #fff;
	cursor: pointer;
	margin-top: .5em;
	padding: .5em 1em
}
.carousel__viewport {
	margin: 1em auto;
	overflow: hidden;
	width: 80%
}
.carousel__viewport h3 {
	font-size: 1rem
}
.cart-item {
	align-items: center;
	background: #fff;
	border-radius: 10px;
	border: 1px solid #edf0f5;
	display: grid;
	gap: 12px;
	grid-template-columns: 64px 1fr auto;
	padding: 10px
}
.cart-item .ci-line {
	font-weight: 700
}
.cart-item .ci-meta {
	color: #6b7280;
	font-size: .9rem;
	margin: 0 0 6px
}
.cart-item .ci-qty {
	align-items: center;
	background: #f3f4f6;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	display: inline-flex;
	gap: 6px;
	padding: 4px
}
.cart-item .ci-qty .qv {
	font-weight: 600;
	min-width: 28px;
	text-align: center
}
.cart-item .ci-qty .update {
	background: var(--blue-color);
	border-radius: 8px;
	color: #fff;
	font-size: 18px;
	height: 28px;
	line-height: 1;
	width: 28px
}
.cart-item .ci-right {
	text-align: right;
	white-space: nowrap
}
.cart-item .remove {
	color: #6b7280;
	display: inline-block;
	margin-top: 6px
}
.cart-item .remove:hover {
	color: #ef4444
}
.cart-item h3 {
	color: var(--blue-color);
	font-size: .95rem;
	line-height: 1.2;
	margin: 0 0 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap
}
.cart-item img {
	background: #f5f7fb;
	border-radius: 8px;
	border: 1px solid #edf0f5;
	height: 48px;
	object-fit: cover;
	width: 64px
}
.cart-popup {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 12px 28px rgba(0,0,0,.18);
	display: none;
	max-width: 86vw;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	width: 360px;
	z-index: 10000
}
.cart-popup .remove, .cart-popup .update {
	appearance: none;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: 0
}
.cart-popup.active {
	display: block;
	opacity: 1;
	transform: none
}
.cart-popup::before {
	background: #fff;
	border-left: 1px solid #e5e7eb;
	border-top: 1px solid #e5e7eb;
	content: "";
	height: 16px;
	position: absolute;
	right: 28px;
	top: -8px;
	transform: rotate(45deg);
	width: 16px
}
.cart-total {
	background: #f9fafb;
	border-top: 1px solid #e5e7eb;
	bottom: -1px;
	padding: 12px;
	position: sticky
}
.cart-total .btn-primary {
	width: 100%
}
.cart-total .row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px
}
.cf-turnstile {
	display: flex;
	justify-content: center;
	min-height: 65px;
	width: 100%
}
.cf-turnstile iframe {
	min-height: 65px !important
}
.checkout-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1.6fr 1fr
}
.checkout-page {
	margin: 1.5rem auto 2rem;
	max-width: 1100px;
	padding: 0 1rem
}
.checkout-page .qty {
	align-items: center;
	background: #f3f4f6;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	display: inline-flex;
	gap: 6px;
	margin-bottom: 6px;
	padding: 4px
}
.checkout-page .qty button {
	background: var(--blue-color);
	border-radius: 8px;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	height: 28px;
	line-height: 1;
	padding: 0;
	width: 28px
}
.checkout-page .qty span {
	font-weight: 600;
	min-width: 28px;
	text-align: center
}
.checkout-page .remove-line {
	background: transparent;
	border: 0;
	color: #6b7280;
	cursor: pointer;
	display: inline-block;
	margin-top: 6px
}
.checkout-page .remove-line:hover {
	color: #ef4444
}
.checkout-title {
	color: #111;
	font-size: 1.4rem;
	margin: .5rem 0 1rem
}
.choice {
	position: relative
}
.choice .title {
	color: var(--blue-color);
	font-weight: 800
}
.choice input {
	opacity: 0;
	pointer-events: none;
	position: absolute
}
.choice input:checked+label {
	background: var(--blue-color);
	border-color: var(--blue-color);
	box-shadow: 0 8px 20px rgba(17,24,39,.15);
	color: #fff
}
.choice input:checked+label .title {
	color: #fff
}
.choice label {
	align-items: center;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	cursor: pointer;
	display: flex;
	gap: 10px;
	height: 50px;
	padding: 0 14px;
	transition: transform .08s ease, box-shadow .12s ease, background .12s ease, color .12s ease
}
.choice-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(180px,1fr))
}
.choice.color label .swatch {
	background: #e5e7eb;
	border-radius: 50%;
	border: 1px solid #d1d5db;
	display: inline-block;
	height: 14px;
	width: 14px
}
.co-aside {
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: sticky;
	top: calc(var(--header-offset) + 12px)
}
.co-form .actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 6px
}
.co-form .field-label {
	color: #334155;
	display: block;
	font-size: .95rem;
	font-weight: 700;
	margin: 6px 0 6px
}
.co-form .full {
	grid-column: 1/-1
}
.co-form .grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(260px,1fr))
}
.co-form .sec-title {
	align-items: center;
	color: var(--blue-color);
	display: flex;
	font-size: 1.05rem;
	font-weight: 800;
	justify-content: space-between;
	margin: .3rem 0 .4rem;
	width: 100%
}
.co-form input, .co-form textarea {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #cbd5e1;
	font-size: 1rem;
	padding: 12px 14px;
	width: 100%
}
.co-form input:focus, .co-form textarea:focus {
	border-color: var(--blue-color);
	box-shadow: 0 0 0 2px rgba(17,24,39,.08);
	outline: 0
}
.co-form textarea {
	min-height: 140px;
	resize: vertical
}
.co-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1.65fr .85fr
}
.color-preview {
	align-items: center;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px dashed #e5e7eb;
	display: flex;
	justify-content: center;
	min-height: 170px
}
.color-preview img {
	border-radius: 10px;
	max-width: 100%
}
.cookie-consent-banner {
	animation: slideUp 0.4s ease-out;
	background: linear-gradient(135deg,#1a2238 0%,#2d3e50 100%);
	bottom: 0;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
	color: white;
	left: 0;
	padding: 20px;
	position: fixed;
	right: 0;
	z-index: 9999
}
.cookie-consent-buttons {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px
}
.cookie-consent-buttons .btn-link {
	background: transparent;
	color: #f73a00;
	padding: 8px;
	text-decoration: underline
}
.cookie-consent-buttons .btn-link:hover {
	color: #fff
}
.cookie-consent-buttons .btn-primary {
	background: #f73a00;
	color: white
}
.cookie-consent-buttons .btn-primary:hover {
	background: #d43000;
	transform: scale(1.05)
}
.cookie-consent-buttons .btn-secondary {
	background: transparent;
	border: 1px solid white;
	color: white
}
.cookie-consent-buttons .btn-secondary:hover {
	background: rgba(255,255,255,0.1)
}
.cookie-consent-buttons a, .cookie-consent-buttons button {
	border-radius: 4px;
	border: none;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 500;
	padding: 8px 16px;
	transition: all 0.3s;
	white-space: nowrap
}
.cookie-consent-content {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px
}
.cookie-consent-text {
	flex: 1;
	min-width: 250px
}
.cookie-consent-text a {
	color: #f73a00;
	cursor: pointer;
	text-decoration: underline
}
.cookie-consent-text h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 10px 0
}
.cookie-consent-text p {
	color: #e5e7eb;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0
}
.cp-card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 18px rgba(0,0,0,.06);
	padding: 18px
}
.cp-note {
	background: #eff6ff;
	border-radius: 12px;
	border: 1px solid #bfdbfe;
	color: var(--blue-color);
	margin: .25rem 0 1rem;
	padding: .65rem .85rem
}
.cp-confirmation {
	background: #ecfdf5;
	border-radius: 12px;
	border: 1px solid #86efac;
	color: #166534;
	display: none;
	margin: .25rem 0 1rem;
	padding: .8rem .95rem
}
.cp-confirmation.is-visible {
	display: block
}
.cp-confirmation p {
	line-height: 1.4;
	margin: .3rem 0 0
}
.cp-title {
	color: var(--blue-color);
	font-size: 2rem;
	margin: .2rem 0 1rem
}
.creation-gallery {
	flex: 1;
	padding: 0
}
.creation-grid {
	display: flex;
	gap: var(--page-gap);
	margin: var(--page-gap) auto;
	max-width: 1200px;
	padding: 0 var(--page-gap)
}
.creation-info {
	flex: 1;
	padding: 10px
}
.creation-info h1 {
	color: var(--blue-color);
	font-size: 2em;
	margin-top: 0
}
.creation-info h2 {
	color: var(--blue-color);
	font-size: 1.5em;
	margin-top: 25px
}
.crumbs {
	color: #6b7280;
	font-size: .92rem;
	margin: .25rem 0 .75rem
}
.crumbs a {
	color: #374151
}
.crumbs span {
	margin: 0 .3rem
}
.custom-page {
	margin: 1.8rem auto;
	max-width: 1000px;
	padding: 0 1rem 2rem
}
.drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: 300px;
    max-width: 86vw;
    background: #fff;
    color: #111;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 2px 0 16px rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    top: var(--header-offset);
    bottom: 0;
    left: 0;
    height: calc(100vh - var(--header-offset));
}

.drawer.open {
    transform: translateX(0);
}

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.drawer__links {
    list-style: none;
	padding: 16px 22px;
    margin: 0;
}

.drawer__links a {
    display: block;
    padding: 14px 20px;
    color: #111 !important;
    font-weight: 500;
    font-size: 1rem;
}

.drawer__links a:hover {
    background: #f5f7fb;
}
.empty-state {
	border-radius: 6px;
	border: 1px dashed #d1d5db;
	color: #6b7280;
	touch-action: pan-y;
	grid-column: 1 / -1;
	padding: 20px;
	text-align: center
}
.faq details {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	margin: .6rem 0;
	padding: .9rem 1rem
}
.faq details[open] summary::after {
	transform: rotate(90deg)
}
.faq summary {
	font-weight: 800
}
.faq summary::after {
	color: #9ca3af;
	content: "›";
	float: right;
	font-size: 1.2em;
	line-height: 1;
	transition: transform .2s
}
.filters {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr auto;
	margin: 1rem auto 0;
	max-width: 1200px;
	padding: 0 1rem
}
.filters input[type="text"] {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #d1d5db;
	font-size: 0.95rem;
	font-weight: 500;
	padding: 10px 14px;
	width: 100%;
	color: #111;
	transition: border-color .2s
}
.filters input[type="text"]::placeholder {
	color: #6b7280;
	opacity: 1
}
.filters input[type="text"]:focus {
	border-color: var(--blue-color);
	outline: 0;
	box-shadow: 0 0 0 2px rgba(37,99,235,0.1)
}
.filters select {
	background: #fff url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="rgb(107,114,128)"><path fill-rule="evenodd" d="M5.5 7a1 1 0 11-2 0 1 1 0 012 0zM8 7a1 1 0 11-2 0 1 1 0 012 0zm2 0a1 1 0 11-2 0 1 1 0 012 0z" clip-rule="evenodd"/></svg>') right 10px center/20px no-repeat;
	background-color: #fff;
	border-radius: 16px;
	border: 1px solid #d1d5db;
	color: #6b7280;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 500;
	padding: 10px 36px 10px 14px;
	transition: border-color .2s, box-shadow .2s;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	white-space: nowrap;
	min-width: 180px
}
.filters select:valid {
	color: #111
}
.filters select:invalid {
	color: #6b7280
}
.filters select:hover {
	border-color: var(--blue-color);
	box-shadow: 0 2px 8px rgba(37,99,235,0.1)
}
.filters select:focus {
	border-color: var(--blue-color);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(37,99,235,0.15)
}
.filters select option {
	background: #fff;
	color: #111;
	font-weight: 500;
	font-size: 0.95rem;
	padding: 10px 12px;
	line-height: 1.5
}
.filters select option:disabled {
	color: #6b7280;
	font-weight: 500
}
.filters select option:not([value=""]) {
	color: #111
}
.footer-legal {
	font-size: 0.9rem;
	margin-bottom: 1rem
}
.footer-legal a {
	color: #555;
	text-decoration: none;
	transition: color 0.2s
}
.footer-legal a:hover {
	color: #000;
	text-decoration: underline
}
.forgot-row {
	margin: .2rem 0 0;
	text-align: left
}
.forgot-row a, .link-row a {
	color: var(--blue-color);
	font-weight: 700;
	text-decoration: none
}
.forgot-row a:hover, .link-row a:hover {
	text-decoration: underline
}
.grid-2 {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2,1fr)
}
.grid-2-1 {
	display: grid;
	gap: 12px;
	grid-template-columns: 2fr 1fr
}
.grid-3 {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3,1fr)
}
.hint {
	color: #6b7280;
	font-size: .88rem
}
.image-editor {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px
}
.img-row {
	align-items: center;
	border-radius: 4px;
	border: 1px solid #f3f4f6;
	display: flex;
	gap: 8px;
	padding: 5px
}
.img-row .img-url {
	flex-grow: 1;
	padding: 8px
}
.img-row button.rm-img {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.2em;
	padding: 5px
}
.kpi {
	text-align: center
}
.kpi-flag {
	align-items: center;
	display: flex;
	height: 120px;
	justify-content: center
}
.kpi-flag img {
	border-radius: 10px;
	height: auto;
	max-width: 140px;
	object-fit: contain;
	width: 100%
}
.kpi__label {
	color: var(--blue-color);
	font-family: var(--font-ui);
	font-size: clamp(14px,2vw,18px);
	font-style: italic;
	font-weight: 600;
	margin: 6px 0 0
}
.kpi__value {
	color: var(--blue-color);
	font-family: var(--font-ui);
	font-size: clamp(32px,4vw,42px);
	font-weight: 800;
	letter-spacing: .5px;
	margin: 0
}
.kpis {
	align-items: center;
	background: #f5f6f8;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	display: grid;
	gap: clamp(10px,2vw,28px);
	grid-template-columns: 200px repeat(4, 1fr);
	margin: 12px 0 28px;
	padding: clamp(12px,2.4vw,22px)
}
.link-row {
	align-items: center;
	display: flex;
	justify-content: flex-end
}
.main-header {
	aspect-ratio: 16/9;
	position: relative
}
.main-header .mid-title {
	bottom: 0;
	color: #f5f5f5;
	font-size: 18px;
	left: 20px;
	position: absolute;
	text-align: left
}
.main-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 45%;
	background: linear-gradient(to top, rgba(0,0,0,.45), transparent);
	pointer-events: none;
	z-index: 5;
}
.main-header .slogan {
	position: absolute;
	bottom: 6%;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 900px;
	text-align: center;
	z-index: 10;
}
.main-header .slogan h1 {
	color: aliceblue;
	font-size: clamp(26px, 4.5vw, 58px);
	margin: 0;
	text-shadow: 0 2px 8px rgba(0,0,0,.6);
	line-height: 1.2;
}
.main-header a {
	color: #fff;
	padding: 5px
}
.npa-suggestion {
	cursor: pointer;
	font-size: 0.95rem;
	padding: 10px 14px;
	transition: background .15s
}
.npa-suggestion:hover {
	background: #f0f4ff
}
.npa-suggestions {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	box-shadow: 0 4px 12px rgba(0,0,0,.1);
	left: 0;
	margin-top: 2px;
	max-height: 160px;
	overflow-y: auto;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 50
}
.o-card .o-head {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr auto;
	margin-bottom: 6px
}
.o-details {
	margin-top: 8px
}
.o-details>summary {
	color: var(--blue-color);
	cursor: pointer;
	font-weight: 800;
	list-style: none;
	user-select: none
}
.o-details>summary::-webkit-details-marker {
	display: none
}
.o-details>summary::after {
	color: #9ca3af;
	content: "›";
	float: right;
	transition: transform .2s
}
.o-details[open]>summary::after {
	transform: rotate(90deg)
}
.o-id {
	color: var(--blue-color);
	font-size: 1.02rem;
	font-weight: 700
}
.o-items {
	margin-top: 8px
}
.o-meta {
	align-items: center;
	color: #6b7280;
	display: flex;
	flex-wrap: wrap;
	font-size: .95rem;
	gap: 16px;
	margin-bottom: 6px
}
.o-date {
	font-size: .85rem;
	color: #9ca3af;
}
.o-tracking-info {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 8px;
	padding: 10px 14px;
	margin: 8px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.o-tracking-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .9rem;
}
.o-tracking-label {
	color: #6b7280;
	font-weight: 600;
}
.o-tracking-value {
	color: #0369a1;
	font-weight: 700;
	font-family: monospace;
	font-size: .95rem;
}
.o-previews {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 4px
}
.o-previews img {
	background: #f5f7fb;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	height: 38px;
	object-fit: cover;
	width: 38px
}
.o-status {
	background: #fff;
	border-radius: 999px;
	border: 1px solid currentColor;
	color: var(--blue-color);
	display: inline-block;
	font-size: .92rem;
	font-weight: 800;
	line-height: 1;
	padding: 8px 12px
}
.o-total strong {
	color: var(--blue-color)
}
.orders-page .o-list {
	display: flex;
	flex-direction: column;
	gap: 16px
}
.password-wrapper {
	align-items: center;
	display: inline-flex;
	gap: 8px
}
.password-wrapper input {
	flex: 1
}
.policy-content {
	margin: 0 auto;
	max-width: 800px;
	padding: 0 1.5rem 4rem
}
.policy-content h2 {
	border-bottom: 2px solid #eee;
	font-size: 1.4rem;
	margin-bottom: 1rem;
	margin-top: 2rem;
	padding-bottom: 0.5rem
}
.policy-content li, .policy-content p {
	color: #333;
	line-height: 1.6;
	margin-bottom: 1rem
}
.policy-hero {
	background: #f4f4f4;
	margin-bottom: 2rem;
	padding: 3rem 1rem 2rem;
	text-align: center
}
.popup {
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 6px rgba(0,0,0,.2);
	display: none;
	padding: 10px;
	position: absolute;
	z-index: 1000
}
.popup button {
	cursor: pointer;
	display: block;
	padding: 6px 10px;
	text-align: left;
	width: 100%
}
.popup.active {
	display: block
}
.portfolio-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e0e0e0;
	box-shadow: 0 4px 8px rgba(0,0,0,0.05);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s
}
.portfolio-card .btn-secondary {
	background: #fff;
	border-radius: 6px;
	border: 1px solid var(--accent);
	color: var(--accent);
	display: inline-block;
	margin-top: 15px;
	padding: 8px 15px;
	text-align: center;
	transition: background 0.2s, color 0.2s
}
.portfolio-card h3 {
	color: var(--blue-color);
	font-size: 1.25em;
	margin: 0 0 8px 0
}
.portfolio-card img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
	width: 100%
}
.portfolio-card p {
	color: #555;
	flex-grow: 1;
	font-size: 0.9em
}
.portfolio-card:hover {
	box-shadow: 0 8px 16px rgba(0,0,0,0.1);
	transform: translateY(-5px)
}
.portfolio-card:hover .btn-secondary {
	background: var(--accent);
	color: #fff
}
.portfolio-card:hover img {
	transform: scale(1.05)
}
.preview-card h4, .tip-card h4 {
	color: var(--blue-color);
	margin: .2rem 0 .6rem
}
.preview-card, .tip-card {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
	padding: 12px 14px
}
.preview-empty {
	color: #64748b;
	font-size: .93rem
}
.processus-complet>div {
	align-items: center;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #ddd;
	box-shadow: 0 2px 6px rgba(0,0,0,.08);
	display: flex;
	gap: 0;
	margin: 20px 0;
	padding: 1.5rem
}
.processus-complet>div .content button {
	margin-top: 1rem
}
.processus-complet>div .icon {
	background: none;
	border-radius: 10%;
	flex: 0 0 140px;
	height: 140px;
	margin-right: 2rem;
	overflow: hidden;
	width: 140px
}
.processus-complet>div .icon img {
	height: 100%;
	object-fit: cover;
	width: 100%
}
.processus-complet>div button {
	background: var(--blue-color);
	border-radius: 4px;
	border: none;
	font-size: .95rem;
	margin-left: auto;
	padding: .6rem 1.2rem;
	transition: background .2s
}
.processus-complet>div button:hover {
	background: #7bb8da
}
.processus-complet>div h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0
}
.processus-complet>div h4 {
	color: #444;
	font-weight: 500;
	line-height: 1.4;
	margin: .5rem 0 0
}
.product-card {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	transition: transform .18s ease, box-shadow .18s ease
}
.product-card .add-to-cart-btn {
	background: var(--blue-color);
	border-radius: 10px;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: 10px 14px
}
.product-card .add-to-cart-btn:hover {
	background: #000
}
.product-card .view-btn {
	background: transparent;
	border: 0;
	cursor: pointer;
	display: block;
	height: 100%;
	outline: none;
	padding: 0;
	width: 100%
}
.product-card .view-btn:focus {
	outline: none
}
.product-card .view-link {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	color: var(--blue-color);
	display: inline-block;
	font-weight: 600;
	padding: 8px 10px;
	text-decoration: none
}
.product-card:hover {
	box-shadow: 0 8px 20px rgba(0,0,0,.08);
	transform: translateY(-2px)
}
.product-card__actions {
	align-items: center;
	display: flex;
	gap: 8px
}
.product-card__desc {
	-webkit-box-orient: vertical;
	color: #6b7280;
	display: -webkit-box;
	font-size: .92rem;
	hyphens: auto;
	line-height: 1.45;
	margin: 0 14px 10px;
	overflow: hidden;
	text-align: left
}
.product-card__media {
	aspect-ratio: 4/3;
	background: #f5f7fb;
	overflow: hidden;
	position: relative;
	width: 100%
}
.product-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%
}
.product-card__meta {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 0 14px 14px
}
.product-card__price {
	color: var(--blue-color);
	font-weight: 800
}
.product-card__title {
	color: var(--blue-color);
	display: inline-block;
	font-size: 1rem;
	font-weight: 700;
	margin: 12px 14px 4px;
	text-decoration: none
}
.product-card__title:hover {
	text-decoration: underline
}
.product-container {
	margin: 2rem auto;
	max-width: 1200px;
	padding: 0 1rem
}
.product-page .btn-light {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	color: var(--blue-color);
	display: inline-block;
	font-weight: 600;
	padding: .7rem 1rem;
	text-decoration: none
}
.product-page .btn-primary {
	background: var(--blue-color);
	border-radius: 10px;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: .75rem 1.1rem
}
.product-page .btn-primary:hover {
	background: #000
}
.product-page .crumbs {
	align-items: center;
	color: #6b7280;
	display: flex;
	font-size: .9rem;
	gap: .5rem
}
.product-page .crumbs a {
	color: #374151
}
.product-page .crumbs span {
	color: #9ca3af
}
.product-page .cta-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 1rem
}
.product-page .p-acc {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	padding: .8rem 1rem
}
.product-page .p-acc>summary {
	cursor: pointer;
	font-weight: 700;
	list-style: none
}
.product-page .p-acc>summary::-webkit-details-marker {
	display: none
}
.product-page .p-acc>summary::after {
	color: #9ca3af;
	content: "›";
	float: right;
	transition: transform .2s
}
.product-page .p-acc[open]>summary::after {
	transform: rotate(90deg)
}
.product-page .p-desc {
	color: #4b5563;
	line-height: 1.5;
	margin: .25rem 0 1rem
}
.product-page .p-gallery {
	width: 100%
}
.product-page .p-gallery__main {
	aspect-ratio: 4 / 3;
	background: #f5f7fb;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	display: block;
	object-fit: contain;
	padding: 6px;
	touch-action: pan-y;
	width: 100%
}
.product-page .p-info {
	color: var(--blue-color)
}
.product-page .p-price {
	font-size: 1.4rem;
	font-weight: 800;
	margin: .2rem 0 1rem
}
.product-page .p-thumb {
	background: #fff;
	border-radius: 10px;
	border: 2px solid transparent;
	cursor: pointer;
	display: block;
	padding: 0
}
.product-page .p-thumb img {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	display: block;
	height: 70px;
	object-fit: cover;
	width: 100%
}
.product-page .p-thumb.is-active {
	border-color: #2563eb
}
.product-page .p-thumbs {
	display: grid;
	gap: 10px;
	grid-auto-columns: 96px;
	grid-auto-flow: column;
	margin-top: 10px;
	overflow-x: auto;
	padding: 2px 2px 6px
}
.product-page .p-title {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0 0 .25rem
}
.product-page .product-details {
	align-items: start;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0,1fr) 420px
}
.product-page .qty {
	align-items: center;
	background: #f3f4f6;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	display: inline-flex;
	gap: 6px;
	padding: 4px
}
.product-page .qty button {
	background: var(--blue-color);
	border-radius: 8px;
	border: 0;
	color: #fff;
	font-size: 20px;
	height: 36px;
	line-height: 1;
	padding: 0;
	width: 36px
}
.product-page .qty input {
	background: transparent;
	border: 0;
	font-size: 16px;
	height: 36px;
	outline: none;
	text-align: center;
	width: 72px
}
.product-page .qty-row {
	margin: .5rem 0 1rem
}
.questions {
	align-items: stretch;
	display: grid;
	gap: 22px;
	grid-template-areas: "title title" "faq contact";
	grid-template-columns: minmax(0,1fr) 360px
}
.questions .contact {
	align-self: stretch;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 6px 18px rgba(0,0,0,.06);
	display: flex;
	flex-direction: column;
	grid-area: contact;
	justify-content: center;
	padding: 18px
}
.questions .faq {
	grid-area: faq
}
.questions>h2 {
	grid-area: title;
	margin: 0 0 10px;
	text-align: center
}
.redirect-faq {
	color: #4774ac;
	font-size: 0.8em;
	font-weight: normal;
	text-decoration: none
}
.second-header {
	backdrop-filter: saturate(180%) blur(6px);
	background: #ffffffcc;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: var(--page-gap);
	position: sticky;
	top: 0;
	z-index: 60
}
.second-header #btn-account {
	align-items: center;
	background: none;
	border: 0;
	color: #111;
	cursor: pointer;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	padding: 0;
	width: 32px
}
.second-header #btn-account::before {
	-webkit-mask: url('/images/logo/utilisateur.png') center/contain no-repeat;
	background-color: currentColor;
	content: "";
	display: block;
	height: 100%;
	mask: url('/images/logo/utilisateur.png') center/contain no-repeat;
	width: 100%
}
.second-header #btn-account:focus:not(:focus-visible), .second-header #btn-burger:focus:not(:focus-visible), .second-header #btn-cart:focus:not(:focus-visible), .second-header #btn-home:focus:not(:focus-visible) {
	box-shadow: none;
	outline: none
}
.second-header #btn-burger {
	color: #111
}
.second-header #btn-cart {
	background: #111;
	border-radius: 999px;
	border: 0;
	color: #fff;
	font-weight: 600;
	padding: 8px 14px;
	align-self: center;
	height: auto
}
.second-header #btn-cart .badge {
	background: #ef4444;
	margin-left: 8px
}
.second-header #btn-home {
	background: url('/images/logo/logo.png') center/contain no-repeat;
	height: 40px;
	width: 40px
}
.second-header .brand h1 {
	color: #000
}
.second-header .header {
	align-items: center;
	display: flex;
	gap: 16px;
	height: 64px;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 20px
}
.second-header .right {
	align-items: center;
	display: flex;
	gap: 14px;
	margin-left: auto;
	height: 100%;
	align-self: stretch
}
.second-header .right > a,
.second-header .right > button {
	display: inline-flex;
	align-items: center;
	height: 100%
}
.second-header .right > a {
	line-height: 1;
}
.second-header .right, .site-nav .right {
	overflow: visible;
	position: relative
}
.second-header #account-popup,
.second-header .cart-popup,
.site-nav #account-popup,
.site-nav .cart-popup {
	position: fixed;
	top: calc(var(--header-offset) + 10px);
	right: 16px;
	left: auto;
	max-height: calc(100vh - var(--header-offset) - 20px);
	overflow: auto
}
.second-header .cart-popup::before,
.site-nav .cart-popup::before {
	display: none
}
.separator {
	color: #ccc;
	margin: 0 10px
}
.site-nav {
	-webkit-backdrop-filter: none;
	align-items: center;
	backdrop-filter: none;
	background: transparent;
	display: flex;
	gap: var(--nav-gap);
	height: var(--nav-h);
	margin-bottom: var(--page-gap);
	padding: 0 20px;
	position: relative;
	top: 0;
	z-index: 30
}
.site-nav #btn-account {
	align-items: center;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	height: var(--account-size);
	justify-content: center;
	padding: 0;
	width: var(--account-size)
}
.site-nav #btn-account::before {
	-webkit-mask: url('/images/logo/utilisateur.png') center/contain no-repeat;
	background-color: currentColor;
	content: "";
	display: block;
	height: 100%;
	mask: url('/images/logo/utilisateur.png') center/contain no-repeat;
	width: 100%
}
.site-nav #btn-cart {
	background: rgba(255,255,255,.16);
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,.35);
	color: #eef6ff;
	font-size: calc(var(--nav-font) - 1px);
	padding: 6px 12px;
	align-self: center;
	height: auto
}
.site-nav .center-links a, .site-nav .right>a, .site-nav .right>button {
	color: #eef6ff;
	font-family: var(--font-ui);
	font-weight: 500
}
.site-nav .right {
	align-items: center;
	display: flex;
	gap: 14px;
	margin-left: auto;
	height: 100%;
	align-self: stretch
}
.site-nav .right > a,
.site-nav .right > button {
	display: inline-flex;
	align-items: center;
	height: 100%
}
.site-nav .title {
	flex: 1;
	text-align: left
}
.site-nav .title .brand {
	color: #fff;
	font-family: var(--font-ui);
	font-size: var(--brand-size);
	font-weight: 700;
	letter-spacing: .01em;
	text-shadow: none;
	text-transform: none
}
.site-nav .title .brand.layers::before {
	content: none
}
.sr-only {
	border: 0;
	clip: rect(0,0,0,0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	white-space: nowrap;
	width: 1px
}
.st-row .st-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px
}
.st-row input[type="url"] {
	flex: 1 1 420px;
	min-width: 240px
}
.status-build {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1d4ed8
}
.status-cancelled {
	background: #f3f4f6;
	border-color: #d1d5db;
	color: #374151
}
.status-delivery {
	background: #eef2ff;
	border-color: #a5b4fc;
	color: #3730a3
}
.status-done {
	background: #ecfdf5;
	border-color: #86efac;
	color: #166534
}
.status-payment {
	background: #fffbeb;
	border-color: #fcd34d;
	color: #92400e
}
.status-pending {
	background: #fff7ed;
	border-color: #fdba74;
	color: #c2410c
}
.tiny-note {
	color: #6b7280;
	font-size: .85rem;
	margin-top: 10px
}
/* ✅ TOASTS AMÉLIORÉS */
.toast {
	display: flex;
	align-items: center;
	min-width: 280px;
	max-width: 360px;
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(0,0,0,.15);
	opacity: 0;
	transform: translateX(120%) scale(0.95);
	transition: all .3s cubic-bezier(0.4,0,0.2,1);
	will-change: transform, opacity;
	pointer-events: auto
}
.toast.show {
	opacity: 1;
	transform: translateX(0) scale(1)
}
.toast-content {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 12px 14px;
	font-weight: 500;
	font-size: .95rem
}
.toast-icon {
	flex-shrink: 0;
	font-size: 1.2rem;
	line-height: 1
}
.toast-message {
	flex: 1;
	line-height: 1.4
}
.toast-close {
	flex-shrink: 0;
	background: none;
	border: none;
	font-size: 1.3rem;
	cursor: pointer;
	color: inherit;
	opacity: 0.7;
	transition: opacity .2s;
	padding: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1
}
.toast-close:hover {
	opacity: 1
}
/* Types de toasts */
.toast-success {
	background: linear-gradient(135deg,#ecfdf5 0%,#d1f3e0 100%);
	border-left: 4px solid #16a34a;
	color: #166534
}
.toast-error {
	background: linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);
	border-left: 4px solid #dc2626;
	color: #991b1b
}
.toast-warning {
	background: linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);
	border-left: 4px solid #d97706;
	color: #92400e
}
.toast-info {
	background: linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);
	border-left: 4px solid #2563eb;
	color: #1e40af
}
@keyframes fade-out {
	to {
		opacity: 0
	}
}
@keyframes fadeIn {
	from {
		opacity: 0
	}
	to {
		opacity: 1
	}
}
@keyframes loading {
	0% {
		background-position: 200% 0
	}
	100% {
		background-position: -200% 0
	}
}
@keyframes slide-in {
	to {
		transform: translateX(0)
	}
}
@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(100%)
	}
	to {
		opacity: 1;
		transform: translateY(0)
	}
}
@media (prefers-color-scheme: dark) {
	.toast-success {
		background: linear-gradient(135deg,#064e3b 0%,#047857 100%);
		border-left-color: #10b981;
		color: #86efac
	}
	.toast-error {
		background: linear-gradient(135deg,#7f1d1d 0%,#bb2d2d 100%);
		border-left-color: #ef4444;
		color: #fca5a5
	}
	.toast-warning {
		background: linear-gradient(135deg,#78350f 0%,#a16207 100%);
		border-left-color: #fbbf24;
		color: #fed7aa
	}
	.toast-info {
		background: linear-gradient(135deg,#0c2d6b 0%,#1e3a8a 100%);
		border-left-color: #60a5fa;
		color: #93c5fd
	}
	.filters input[type="text"] {
		background: #1f2937;
		border-color: #374151;
		color: #f3f4f6;
		font-weight: 500
	}
	.filters input[type="text"]::placeholder {
		color: #9ca3af;
		opacity: 0.8
	}
	.filters input[type="text"]:focus {
		border-color: #60a5fa;
		box-shadow: 0 0 0 2px rgba(96,165,250,0.2)
	}
	.filters select {
		background-color: #1f2937;
		border-color: #374151;
		color: #f3f4f6;
		font-weight: 500;
		font-size: 0.95rem
	}
	.filters select:hover {
		border-color: #60a5fa;
		box-shadow: 0 2px 8px rgba(96,165,250,0.15)
	}
	.filters select:focus {
		border-color: #60a5fa;
		box-shadow: 0 0 0 3px rgba(96,165,250,0.2)
	}
	.filters select option {
		background: #1f2937;
		color: #f3f4f6;
		font-weight: 500;
		font-size: 0.95rem
	}
	.filters select option[value=""] {
		color: #9ca3af
	}
}

/* ==========================================
   Skeleton Loaders - Screen de chargement
   ========================================== */
@keyframes skeleton-loading {
	0% { background-position: -1000px 0; }
	100% { background-position: 1000px 0; }
}

.skeleton-card {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 1000px 100%;
	animation: skeleton-loading 2s infinite;
}

.skeleton-media {
	aspect-ratio: 4/3;
	background: #e0e0e0;
	border-radius: 12px;
	margin-bottom: 12px;
}

.skeleton-title {
	height: 18px;
	background: #e0e0e0;
	border-radius: 4px;
	margin-bottom: 8px;
	width: 80%;
}

.skeleton-desc {
	height: 14px;
	background: #e0e0e0;
	border-radius: 4px;
	margin-bottom: 6px;
	width: 100%;
}

.skeleton-price {
	height: 20px;
	background: #e0e0e0;
	border-radius: 4px;
	width: 40%;
}

.skeleton-button {
	height: 36px;
	background: #e0e0e0;
	border-radius: 10px;
	margin-top: 12px;
	width: 100%;
}

.skeleton-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
}

/* ========================================== */

/* ==========================================
   Pagination controls
   ========================================== */
.pagination-controls {
	display: flex;
	justify-content: center;
	margin: 24px 0 40px;
}

.load-more-btn {
	align-items: center;
	background: var(--blue-color);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.95rem;
	gap: 8px;
	padding: 10px 18px;
	transition: transform .15s ease, opacity .15s ease;
}

.load-more-btn:hover {
	transform: translateY(-1px);
}

.load-more-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

/* ==========================================
   Admin analytics
   ========================================== */
.admin-nav {
	display: flex;
	gap: 12px;
	margin: 10px 0 20px;
}

.admin-nav a {
	background: #f3f4f6;
	border-radius: 999px;
	color: #111827;
	padding: 8px 14px;
	text-decoration: none;
}

.admin-nav a.active {
	background: #111827;
	color: #fff;
}

.admin-analytics {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px 40px;
}
.btn-reset-analytics {
	margin-left: auto;
	background: #ef4444;
	color: #fff;
	border: 0;
	padding: 8px 16px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	transition: background 0.2s;
}
.btn-reset-analytics:hover {
	background: #dc2626;
}

.analytics-toolbar {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
	gap: 16px;
}

.analytics-subtitle {
	color: #6b7280;
	margin: 6px 0 0;
}

.analytics-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.analytics-controls select {
	border-radius: 8px;
	border: 1px solid #d1d5db;
	padding: 8px 10px;
}

.analytics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.analytics-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 16px;
}

.analytics-label {
	color: #6b7280;
	font-size: 0.9rem;
}

.analytics-value {
	font-size: 1.4rem;
	font-weight: 700;
	margin-top: 6px;
}

.analytics-panels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.analytics-panel {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 16px;
}

.analytics-list {
	list-style: none;
	padding: 12px 0;
	margin: 10px 0 0;
}

.analytics-list li {
	padding: 6px 0;
	border-bottom: 1px solid #f3f4f6;
	font-size: 1rem;
	line-height: 1.2;
}

.analytics-list li:last-child {
	border-bottom: 0;
}

.analytics-table {
	margin-top: 8px;
}

.analytics-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f3f4f6;
}

.analytics-row.header {
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.product-card, .carousel__item, .drawer, .toast {
		animation: none !important;
		transition: none !important
	}
}
@media (hover:hover) and (pointer:fine) {
	.product-card .add-to-cart-btn {
		background: rgba(17,24,39,.92);
		border-radius: 999px;
		box-shadow: 0 6px 18px rgba(0,0,0,.25);
		color: #fff;
		padding: 10px 12px
	}
	.product-card:hover .product-card__actions {
		opacity: 1;
		transform: translateY(0)
	}
	.product-card__actions {
		background: transparent;
		border: 0;
		bottom: 12px;
		left: auto;
		opacity: 0;
		padding: 0;
		position: absolute;
		right: 12px;
		transform: translateY(4px);
		transition: opacity .18s ease, transform .18s ease
	}
	.product-card__actions .view-link {
		display: none
	}
}
@media (hover:none), (pointer:coarse) {
	.product-card .add-to-cart-btn {
		background: var(--blue-color);
		border-radius: 10px
	}
	.product-card__actions {
		background: transparent;
		border: 0;
		opacity: 1;
		padding: 10px 14px 0;
		position: static;
		transform: none
	}
}
@media (max-width: 360px) {
	#btn-account::before {
		-webkit-mask-size: 14px !important;
		mask-size: 14px !important
	}
	#btn-burger, #btn-account, #btn-cart {
		height: 32px !important;
		width: 32px !important
	}
	#btn-cart::before {
		font-size: 16px
	}
	.brand h1 {
		font-size: 16px !important;
		letter-spacing: 0
	}
	.c-item {
		grid-template-columns: 55px 1fr
	}
	.c-item .amount {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
		text-align: center
	}
	.c-item .amount .qty {
		justify-content: center
	}
	.c-item .amount .remove-line {
		text-align: center
	}
	.c-thumb {
		height: 42px;
		width: 55px
	}
}
@media (max-width: 380px) {
	.cart-item {
		gap: 8px;
		grid-template-columns: 48px 1fr
	}
	.cart-item .ci-meta {
		font-size: .8rem
	}
	.cart-item .ci-right {
		align-items: center;
		display: flex;
		grid-column: 1 / -1;
		justify-content: space-between;
		transform: translateY(0);
	}
	.cart-item h3 {
		font-size: .85rem
	}
	.cart-item img {
		height: 36px;
		width: 48px
	}
	.cart-popup {
		bottom: auto;
		left: 50%;
		max-height: calc(100vh - var(--header-offset) - 20px);
		max-width: 95vw;
		position: fixed;
		right: auto;
		top: calc(var(--header-offset) + 10px);
		transform: translateX(-50%) translateY(0);
		width: 95vw
	}
	.cart-popup.active {
		opacity: 1;
		transform: translateX(-50%) translateY(0)
	}
	.cart-popup::before {
		display: none
	}
}
@media (max-width: 460px) {
	.o-head {
		grid-template-columns: 1fr
	}
	.o-id {
		font-size: .95rem
	}
	.o-meta {
		font-size: .9rem;
		gap: 8px
	}
	.o-status {
		font-size: .85rem;
		padding: 6px 10px
	}
}
@media (max-width: 520px) {
	#btn-account, #btn-cart {
		align-items: center;
		background: none !important;
		border: none !important;
		display: inline-flex !important;
		height: 36px !important;
		justify-content: center;
		padding: 0 !important;
		width: 36px !important
	}
	#btn-account::before {
		-webkit-mask-position: center !important;
		-webkit-mask-size: 20px !important;
		mask-position: center !important;
		mask-size: 20px !important
	}
	#btn-cart {
		font-size: 0 !important;
		position: relative
	}
	#btn-cart .badge {
		align-items: center;
		border-radius: 99px;
		border: 2px solid #fff;
		box-shadow: 0 2px 4px rgba(0,0,0,0.2);
		display: flex;
		font-size: 11px !important;
		height: 16px;
		justify-content: center;
		min-width: 16px;
		padding: 0 4px;
		position: absolute;
		right: 2px;
		top: 2px
	}
	#btn-cart::before {
		color: inherit;
		content: "🛒";
		font-size: 20px;
		line-height: 1
	}
	#btn-home {
		display: none !important
	}
	#carousel-track {
		gap: 12px
	}
	.brand h1 {
		font-size: 19px !important;
		letter-spacing: 0.5px;
		line-height: 1
	}
	.btn-light.btn-block, .btn-primary.btn-block {
		font-size: 1rem;
		padding: 12px
	}
	.c-card {
		padding: 12px
	}
	.c-card__title {
		font-size: .95rem
	}
	.c-info .meta {
		font-size: .75rem
	}
	.c-info .meta .dot, .c-info .meta a {
		display: none
	}
	.c-info .name {
		font-size: .85rem;
		line-height: 1.3;
		margin: 0 0 2px
	}
	.c-item {
		align-items: flex-start;
		gap: 8px;
		grid-template-columns: 65px 1fr;
		padding: 8px
	}
	.c-item .amount {
		align-items: center;
		border-top: 1px dashed #e5e7eb;
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		grid-column: 1 / -1;
		justify-content: space-between;
		margin-top: 6px;
		padding-top: 8px
	}
	.c-thumb {
		flex-shrink: 0;
		height: 50px;
		width: 65px
	}
	.c-totals .row {
		font-size: .9rem;
		padding: 5px 0
	}
	.carousel__item {
		flex: 0 0 100%
	}
	.checkout-page {
		padding: 0 .5rem
	}
	.checkout-page .qty button {
		font-size: 20px;
		height: 34px;
		width: 34px
	}
	.checkout-page .qty span {
		min-width: 24px
	}
	.checkout-title {
		font-size: 1.15rem;
		margin: .25rem 0 .75rem
	}
	.crumbs {
		font-size: .82rem
	}
	.header, .site-nav {
		gap: 8px !important;
		padding-left: 12px !important;
		padding-right: 12px !important
	}
	.right {
		gap: 0 !important
	}
	.second-header #btn-account {
		color: #111 !important
	}
	.second-header #btn-cart {
		color: #111 !important
	}
	.site-nav #btn-account {
		color: #fff !important
	}
	.site-nav #btn-cart {
		color: #fff !important
	}
}
@media (max-width: 680px) {
	#sort {
		width: 100%
	}
	.filters {
		grid-template-columns: 1fr
	}
}
@media (max-width: 768px) {
	.filters {
		grid-template-columns: 1fr;
		gap: 10px
	}
	.filters > div {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 8px
	}
	.filters select {
		min-width: unset;
		width: 100%
	}
	.cookie-consent-buttons {
		justify-content: space-between
	}
	.cookie-consent-buttons a, .cookie-consent-buttons button {
		flex: 1
	}
	.cookie-consent-content {
		align-items: stretch;
		flex-direction: column
	}
}
@media (max-width: 780px) {
	section.questions .faq div p {
		font-size: 14px !important;
		line-height: 1.6 !important;
		margin-left: 0 !important;
		text-align: left !important
	}
	section.questions .faq summary {
		align-items: center;
		display: flex;
		font-size: 16px !important;
		gap: 10px;
		justify-content: space-between;
		line-height: 1.4
	}
	section.questions .faq summary::after {
		float: none
	}
	.kpi-flag {
		height: auto;
		margin-bottom: 2px
	}
	.kpi-flag img {
		margin: 0 auto;
		max-width: 120px
	}
	.kpis {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.kpi-flag {
		grid-column: 1 / -1;
	}
	.processus-complet .Briefing .content h4, .processus-complet .Impression .content h4, .processus-complet .Modélisation .content h4 {
		color: #444 !important;
		font-family: Arial, sans-serif !important;
		font-size: 14px !important;
		font-style: normal !important;
		font-weight: 500 !important;
		letter-spacing: normal !important;
		line-height: 1.5 !important;
		margin: 0 !important;
		padding: 0 !important;
		text-align: center !important;
		text-transform: none !important
	}
	.processus-complet .Briefing h2, .processus-complet .Impression h2, .processus-complet .Modélisation h2 {
		font-size: 16px !important;
		margin-bottom: 8px !important
	}
	.processus-complet>div {
		flex-direction: column;
		text-align: center
	}
	.processus-complet>div .content {
		max-width: 100%;
		padding: 0
	}
	.processus-complet>div .icon {
		margin-bottom: 1.5rem;
		margin-left: 0;
		margin-right: 0
	}
}
@media (max-width: 820px) {
	.product-page .p-gallery {
		position: static;
		width: 100%
	}
	.product-page .p-gallery__main {
		aspect-ratio: 4 / 3;
		max-height: 70vh
	}
	.product-page .p-info {
		margin-top: 0;
		position: static;
		width: 100%
	}
	.product-page .product-details {
		display: flex;
		flex-direction: column;
		gap: 16px
	}
	.site-nav .right>a, .second-header .right>a {
		display: none !important
	}
}
@media (max-width: 820px) and (min-width: 521px) {
	.c-item {
		gap: 10px;
		grid-template-columns: 90px 1fr
	}
	.c-item .amount {
		align-items: center;
		border-top: 1px dashed #e5e7eb;
		display: flex;
		grid-column: 1 / -1;
		justify-content: space-between;
		margin-top: 4px;
		padding-top: 8px
	}
	.c-thumb {
		height: 68px;
		width: 90px
	}
	.checkout-page {
		padding: 0 .75rem
	}
	.checkout-page .qty button {
		height: 32px;
		width: 32px
	}
}
@media (max-width: 900px) {
	.carousel__item {
		flex: 0 0 calc((100% - 16px) / 2)
	}
	.carousel__next, .carousel__prev {
		background: rgba(0,0,0,.4);
		font-size: 1.35em;
		height: 1.55em;
		width: 1.55em
	}
	.carousel__prev {
		left: .2em
	}
	.carousel__next {
		right: .2em
	}
	.carousel__viewport {
		width: calc(100% - 44px)
	}
	.checkout-grid {
		grid-template-columns: 1fr
	}
	.creation-grid {
		flex-direction: column
	}
	.grid-3, .grid-2, .grid-2-1 {
		grid-template-columns: 1fr
	}
}
@media (max-width:560px) {
	.auth-actions.two {
		grid-template-columns: 1fr
	}
}
@media (max-width:980px) {
	.co-grid {
		grid-template-columns: 1fr
	}
	.questions {
		grid-template-areas: "title" "faq" "contact";
		grid-template-columns: 1fr
	}
	.questions .contact {
		align-self: auto
	}
}
@media (min-width: 1200px) {
	:root {
		--page-gap: 22px
	}
}
@media (min-width:1200px) {
	.auth-card {
		padding: 22px
	}
}

/* Preserve line breaks in descriptions */
.p-desc,
.p-acc > div,
.admin-desc,
.admin-desc-long {
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* ===== HOMEPAGE: Domaines d'application ===== */
.domaines-application {
	padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px);
	text-align: center;
}
.domaines-application h2 {
	color: var(--blue-color);
	font-family: var(--font-brand);
	font-size: clamp(22px, 3vw, 32px);
	margin-bottom: 8px;
}
.domaines-application .section-intro {
	color: #555;
	font-size: clamp(14px, 1.6vw, 18px);
	margin-bottom: 32px;
	max-width: 700px;
	margin-inline: auto;
}
.domaines-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
	max-width: 1100px;
	margin-inline: auto;
}
.domaine-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px;
	text-align: center;
	transition: box-shadow .2s, transform .15s;
}
.domaine-card:hover {
	box-shadow: 0 6px 24px rgba(0,0,0,.08);
	transform: translateY(-3px);
}
.domaine-card img {
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	margin-bottom: 16px;
	object-fit: cover;
	width: 100%;
}
.domaine-card h3 {
	color: var(--blue-color);
	font-family: var(--font-brand);
	font-size: 20px;
	margin-bottom: 8px;
}
.domaine-card p {
	color: #555;
	font-size: 14.5px;
	line-height: 1.65;
	margin-bottom: 18px;
}
.domaine-card button {
	background: var(--blue-color);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font-family: var(--font-brand);
	font-size: 15px;
	font-weight: 700;
	margin-top: auto;
	padding: 10px 24px;
	transition: background .2s, transform .15s;
}
.domaine-card button:hover {
	background: var(--brand);
	transform: scale(1.03);
}

/* ===== HOMEPAGE: Hero sub-slogan ===== */
.main-header .slogan .slogan-sub {
	color: rgba(240,244,248,.92);
	font-family: var(--font-ui);
	font-size: clamp(13px, 1.6vw, 18px);
	font-weight: 400;
	margin: 10px auto 0;
	text-shadow: 0 1px 4px rgba(0,0,0,.5);
	letter-spacing: .5px;
}

/* ===== PORTFOLIO: Hero & CTA ===== */
.portfolio-hero {
	padding: clamp(32px, 5vw, 56px) clamp(16px, 3vw, 40px) 16px;
	text-align: center;
	max-width: 800px;
	margin-inline: auto;
}
.portfolio-hero h1 {
	color: var(--blue-color);
	font-family: var(--font-brand);
	font-size: clamp(24px, 3.5vw, 36px);
	margin-bottom: 12px;
}
.portfolio-hero p {
	color: #555;
	font-size: clamp(14px, 1.6vw, 17px);
	line-height: 1.7;
}
.portfolio-cta {
	background: linear-gradient(135deg, var(--blue-color), #2a3558);
	border-radius: 16px;
	color: #fff;
	margin: 32px auto;
	max-width: 700px;
	padding: clamp(28px, 4vw, 48px);
	text-align: center;
}
.portfolio-cta h2 {
	color: #fff;
	font-family: var(--font-brand);
	font-size: clamp(20px, 2.5vw, 28px);
	margin-bottom: 8px;
}
.portfolio-cta p {
	color: rgba(240,244,248,.85);
	font-size: 16px;
	margin-bottom: 20px;
}
.portfolio-cta .btn-primary {
	background: var(--accent);
	border: none;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-family: var(--font-brand);
	font-size: 16px;
	font-weight: 700;
	padding: 12px 28px;
	text-decoration: none;
	transition: background .2s;
}
.portfolio-cta .btn-primary:hover {
	background: #d93200;
}

/* ===== CUSTOM ORDER: Guidelines box ===== */
.cp-guidelines {
	background: #f0f4ff;
	border-left: 4px solid var(--brand);
	border-radius: 8px;
	margin: 12px 0 20px;
	padding: 16px 20px;
}
.cp-guidelines p {
	color: var(--blue-color);
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 8px;
}
.cp-guidelines ul {
	color: #444;
	font-size: 14px;
	line-height: 1.8;
	list-style: disc;
	margin: 0;
	padding-left: 20px;
}
.cp-guidelines li strong {
	color: var(--blue-color);
}

/* ===== Responsive: cartes domaines & KPIs ===== */
@media (max-width: 900px) {
	.domaines-grid {
		grid-template-columns: 1fr;
		max-width: 420px;
	}
}
@media (max-width: 480px) {
	.kpis {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}
	.kpi-flag {
		grid-column: 1 / -1;
	}
}