:root {
	--brand-primary:      #0f172a;
	--brand-nav:          #070b14;
	--brand-accent:       #6366f1;
	--brand-accent-light: #818cf8;
	--brand-accent-glow:  rgba(99,102,241,.18);
	--brand-bg:           #f8fafc;
	--brand-card-bg:      #111827;
	--brand-card-border:  rgba(255,255,255,.07);
	--brand-text-muted:   rgba(255,255,255,.5);
}

/* ── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
	font-family: 'Space Grotesk', sans-serif;
	background: var(--brand-bg);
	color: var(--brand-primary);
	margin: 0;
}

/* ── Topbar ───────────────────────────────────────── */
.topbar {
	background: var(--brand-nav);
	color: var(--brand-text-muted);
	font-size: .78rem;
	letter-spacing: .02em;
	border-bottom: 1px solid rgba(255,255,255,.04);
}
.topbar a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .15s; }
.topbar a:hover { color: var(--brand-accent-light); }
.topbar-sep { opacity: .25; margin: 0 .25rem; }
.topbar-dot {
	display: inline-block;
	width: 6px; height: 6px;
	background: var(--brand-accent);
	border-radius: 50%;
	margin-right: .45rem;
	vertical-align: middle;
	margin-top: -1px;
	animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%       { opacity: .4; transform: scale(.7); }
}

/* ── Navbar ───────────────────────────────────────── */
.navbar {
	background: var(--brand-nav);
	border-bottom: 1px solid rgba(255,255,255,.06);
	padding-top: .75rem;
	padding-bottom: .75rem;
	transition: background .2s, box-shadow .2s;
}
.navbar.scrolled {
	background: rgba(7,11,20,.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 24px rgba(0,0,0,.45);
}
.navbar-brand {
	display: flex;
	align-items: center;
	gap: .5rem;
}
.nav-link {
	color: rgba(255,255,255,.65) !important;
	font-weight: 500;
	font-size: .875rem;
	padding: .5rem .9rem !important;
	letter-spacing: .02em;
	transition: color .15s;
}
.nav-link:hover { color: rgba(255,255,255,.95) !important; }
.nav-link.active {
	color: var(--brand-accent-light) !important;
}
.nav-link.active::after {
	content: '';
	display: block;
	height: 2px;
	background: var(--brand-accent);
	border-radius: 1px;
	margin-top: 2px;
}

/* Toggler on mobile */
.navbar-toggler { border-color: rgba(255,255,255,.2); }
.navbar-toggler-icon { filter: invert(1); }

/* Nav action buttons */
.btn-nav-icon {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.1);
	color: rgba(255,255,255,.75);
	padding: .4rem .65rem;
	border-radius: .5rem;
	font-size: .875rem;
	transition: background .15s, border-color .15s, color .15s;
}
.btn-nav-icon:hover {
	background: rgba(99,102,241,.15);
	border-color: var(--brand-accent);
	color: var(--brand-accent-light);
}
.btn-panier {
	background: var(--brand-accent);
	color: #fff;
	border: none;
	padding: .4rem .85rem;
	border-radius: .5rem;
	font-weight: 600;
	font-size: .875rem;
	transition: background .15s, box-shadow .15s;
}
.btn-panier:hover {
	background: var(--brand-accent-light);
	box-shadow: 0 0 0 3px var(--brand-accent-glow);
	color: #fff;
}

/* Dropdown */
.dropdown-menu {
	background: #1a2235;
	border: 1px solid rgba(255,255,255,.1);
	box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.dropdown-item { color: rgba(255,255,255,.75); font-size: .875rem; }
.dropdown-item:hover, .dropdown-item:focus {
	background: rgba(99,102,241,.12);
	color: var(--brand-accent-light);
}
.dropdown-divider { border-color: rgba(255,255,255,.1); }
.dropdown-item.text-danger { color: #f87171 !important; }
.dropdown-item.text-danger:hover { background: rgba(248,113,113,.1); color: #fca5a5 !important; }

/* ── Flash / Toast ────────────────────────────────── */
.alert { border-radius: .5rem; font-size: .9rem; }

/* ── Page header strip ────────────────────────────── */
.page-header-strip {
	background: var(--brand-nav);
	background-image:
		linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
	background-size: 40px 40px;
	border-bottom: 1px solid rgba(255,255,255,.06);
	padding: 2rem 0;
	color: #fff;
}
.page-header-strip--sm { padding: 1.25rem 0; }
.page-header-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0 0 .25rem;
	color: #fff;
	letter-spacing: -.01em;
}
.page-header-sub {
	font-size: .9rem;
	color: rgba(255,255,255,.5);
	margin: 0;
}
.produit-breadcrumb { font-size: .83rem; }
.produit-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }
.produit-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.produit-breadcrumb a:hover { color: var(--brand-accent-light); }
.produit-breadcrumb .active { color: rgba(255,255,255,.85); }

/* ── Produits layout ──────────────────────────────── */
.main-fullwidth { max-width: 100%; padding-left: 0; padding-right: 0; }
.produits-layout { padding-top: 2rem; padding-bottom: 3rem; max-width: 1400px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.produit-detail-layout { padding-top: 2.5rem; padding-bottom: 4rem; }
.products-type-heading {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #64748b;
	padding-bottom: .5rem;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 1.25rem;
}

/* ── Product card (1224Studio dark theme) ─────────── */
.product-card {
	background: var(--brand-card-bg);
	border: 1px solid var(--brand-card-border);
	border-radius: .75rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.product-card:hover {
	border-color: var(--brand-accent);
	transform: translateY(-3px);
	box-shadow: 0 0 0 1px var(--brand-accent), 0 12px 40px rgba(99,102,241,.18);
}
.product-card-img-tag {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}
.product-card:hover .product-card-img-tag { transform: scale(1.04); }
.product-card-img {
	width: 100%;
	aspect-ratio: 4/3;
	background: #1e293b;
	display: flex; align-items: center; justify-content: center;
}
.product-card-body {
	padding: 1rem 1.1rem 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.product-card-title {
	font-size: .95rem;
	font-weight: 600;
	color: #e2e8f0;
	margin: .35rem 0 .5rem;
	line-height: 1.35;
}
.product-card-title a { color: inherit; text-decoration: none; }
.product-card-title a:hover { color: var(--brand-accent-light); }
.marque-badge {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--brand-accent-light);
}
.product-badge-bestseller {
	position: absolute;
	top: .65rem; left: .65rem;
	background: var(--brand-accent);
	color: #fff;
	font-size: .7rem;
	font-weight: 600;
	padding: .2rem .55rem;
	border-radius: 2rem;
	letter-spacing: .03em;
}
.product-card-prix {
	font-size: .85rem;
	color: rgba(255,255,255,.4);
	margin-bottom: .75rem;
}
.product-card-prix strong {
	color: var(--brand-accent-light);
	font-size: 1rem;
	font-weight: 700;
}

/* ── Boutons ──────────────────────────────────────── */
.btn-primary {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	font-weight: 600;
	letter-spacing: .02em;
}
.btn-primary:hover, .btn-primary:focus {
	background: var(--brand-accent-light);
	border-color: var(--brand-accent-light);
	box-shadow: 0 0 0 3px var(--brand-accent-glow);
}
.btn-outline-secondary { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }
.btn-outline-secondary:hover { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.3); }

/* ── Filters ──────────────────────────────────────── */
.filter-bar {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: .75rem;
	padding: 1rem 1.25rem;
	margin-bottom: 2rem;
}
.filter-bar .form-select {
	background-color: #f8fafc;
	border-color: #e2e8f0;
	color: var(--brand-primary);
	font-size: .875rem;
}
.filter-bar .form-select:focus { border-color: var(--brand-accent); box-shadow: 0 0 0 3px var(--brand-accent-glow); }
.filter-label { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #94a3b8; white-space: nowrap; }

/* ── Produit detail ───────────────────────────────── */
.produit-img-wrap {
	border-radius: .75rem;
	overflow: hidden;
	background: #1e293b;
	border: 1px solid rgba(255,255,255,.06);
	line-height: 0;
}
.produit-img { width: 100%; height: auto; display: block; }
.produit-detail-title {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin-bottom: .75rem;
}
.produit-description { font-size: .95rem; line-height: 1.7; color: #475569; }
.produit-prix-block {
	background: #0f172a;
	border: 1px solid rgba(99,102,241,.25);
	border-radius: .75rem;
	padding: 1.1rem 1.35rem;
}
.produit-prix-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-accent-light); margin-bottom: .15rem; }
.produit-prix-value { font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.produit-prix-ht { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: .1rem; }

/* Declinaison selector */
.decl-options { display: flex; flex-direction: column; gap: .5rem; }
.decl-option {
	display: flex; align-items: center; gap: .75rem;
	padding: .75rem 1rem;
	border: 1.5px solid rgba(255,255,255,.08);
	border-radius: .6rem;
	background: rgba(255,255,255,.02);
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.decl-option input[type=radio] { flex-shrink: 0; accent-color: var(--brand-accent); }
.decl-option:hover { border-color: var(--brand-accent); background: rgba(99,102,241,.07); }
.decl-option.selected { border-color: var(--brand-accent); background: rgba(99,102,241,.1); }
.decl-option-label { flex: 1; font-size: .93rem; }
.decl-option-prix { font-weight: 700; font-size: 1rem; color: var(--brand-accent-light); white-space: nowrap; }

/* Qty stepper */
.qty-stepper { display: flex; align-items: center; border: 1px solid #d1d5db; border-radius: .5rem; overflow: hidden; }
.qty-btn { background: #f1f5f9; border: none; width: 36px; height: 36px; font-size: 1.1rem; cursor: pointer; color: #374151; }
.qty-btn:hover { background: #e2e8f0; }
.qty-input { width: 52px; height: 36px; text-align: center; border: none; border-left: 1px solid #d1d5db; border-right: 1px solid #d1d5db; font-size: .95rem; font-family: inherit; }
.qty-input:focus { outline: none; background: #f8fafc; }

/* Reassurance */
.produit-reassurance { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .5rem; }
.reassurance-item { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: #64748b; }
.reassurance-item i { color: var(--brand-accent); font-size: .85rem; }
.reassurance-item a { color: #64748b; text-decoration: none; }
.reassurance-item a:hover { color: var(--brand-accent); }

/* Characteristic badges */
.car-badge {
	display: inline-flex; align-items: center; gap: .3rem;
	background: rgba(99,102,241,.08);
	border: 1px solid rgba(99,102,241,.2);
	color: var(--brand-accent-light);
	font-size: .78rem;
	padding: .25em .6em;
	border-radius: 2rem;
}
.car-badge-label { color: rgba(99,102,241,.6); font-size: .72rem; }

/* Form inputs in product detail */
.produit-form-label { font-size: .875rem; color: #374151; }
.dim-selector-block { background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: .65rem; padding: 1rem 1.1rem; }
.dim-selector-title { font-size: .85rem; font-weight: 600; color: #374151; margin-bottom: .75rem; }
.dim-inputs-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.dim-field { display: flex; flex-direction: column; gap: .2rem; }
.dim-field-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }
.dim-field-input-wrap { position: relative; }
.dim-input { width: 90px; padding: .4rem .55rem; border: 1.5px solid #d1d5db; border-radius: .4rem; font-size: .95rem; font-family: inherit; }
.dim-input:focus { outline: none; border-color: var(--brand-accent); box-shadow: 0 0 0 3px var(--brand-accent-glow); }
.dim-unit-inline { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); font-size: .75rem; color: #94a3b8; pointer-events: none; }
.dim-cross { font-size: 1.2rem; color: #94a3b8; padding-top: 1.2rem; }
.dim-surface-result { font-size: .85rem; color: #64748b; }
.sur-mesure-badge {
	display: inline-flex; align-items: center; gap: .35rem;
	background: rgba(99,102,241,.08);
	border: 1px solid rgba(99,102,241,.18);
	color: var(--brand-accent);
	font-size: .78rem;
	font-weight: 600;
	padding: .3em .8em;
	border-radius: 2rem;
	letter-spacing: .03em;
}

/* Btn panier add */
.btn-panier-add {
	padding: .75rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: .6rem;
}

/* ── Pagination ───────────────────────────────────── */
.produits-pagination {
	list-style: none; padding: 0; margin: 2rem 0 0;
	display: flex; justify-content: center; gap: .35rem; flex-wrap: wrap;
}
.produits-pagination li a, .produits-pagination li span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px;
	padding: 0 .65rem;
	border: 1px solid #e2e8f0;
	border-radius: .45rem;
	font-size: .875rem;
	color: var(--brand-primary);
	text-decoration: none;
	transition: all .15s;
}
.produits-pagination li.active span,
.produits-pagination li a:hover { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; }
.produits-pagination li.disabled span { opacity: .4; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
	background: var(--brand-nav);
	background-image: linear-gradient(to bottom, #0d1626, #070b14);
	color: rgba(255,255,255,.55);
	border-top: 1px solid rgba(255,255,255,.05);
}
.footer-brand { font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: .03em; display: flex; align-items: center; gap: .5rem; }
.footer-brand-icon {
	width: 26px; height: 26px;
	border: 2px solid var(--brand-accent);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	position: relative;
}
.footer-brand-icon::after { content: ''; position: absolute; width: 7px; height: 7px; background: var(--brand-accent); border-radius: 50%; }
.footer-brand span { color: var(--brand-accent-light); font-weight: 300; letter-spacing: .1em; font-size: .9em; }
.footer-tagline { font-size: .83rem; color: rgba(255,255,255,.4); line-height: 1.6; margin-bottom: .35rem; }
.footer-photographers { font-size: .78rem; color: var(--brand-accent-light); opacity: .8; }
.footer-heading { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: .85rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .85rem; transition: color .15s; }
.footer-links a:hover { color: var(--brand-accent-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .6rem; font-size: .85rem; }
.footer-contact-item i { color: var(--brand-accent); margin-top: .15rem; width: 1rem; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-contact-item a:hover { color: var(--brand-accent-light); }
.footer-divider { border-color: rgba(255,255,255,.07); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.25); }

/* ── Main wrapper ─────────────────────────────────── */
.container { max-width: 1200px; }
