/* CognitiShop - Propriete ITaiB.fr. Tous droits reserves. */

.cs-reference-catalog-page {
	box-sizing: border-box;
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
	padding: 28px 0 58px;
	color: #102015;
}

.cs-reference-catalog-page *,
.cs-reference-catalog-page *::before,
.cs-reference-catalog-page *::after {
	box-sizing: inherit;
}

.cs-reference-hero {
	position: relative;
	overflow: hidden;
	padding: 26px;
	border: 1px solid #dfeec5;
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(245, 255, 234, 0.96), rgba(255, 255, 255, 0.98)),
		radial-gradient(circle at top right, rgba(132, 189, 0, 0.22), transparent 42%);
	box-shadow: 0 16px 42px rgba(39, 97, 12, 0.08);
}

.cs-reference-hero-layout {
	display: block;
}

.cs-reference-hero-with-mascot .cs-reference-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(150px, 230px);
	gap: 24px;
	align-items: center;
}

.cs-reference-hero-copy {
	min-width: 0;
}

.cs-reference-hero-mascot {
	display: grid;
	place-items: center;
	margin: 0;
	align-self: center;
	justify-self: end;
}

.cs-reference-hero-mascot img {
	display: block;
	width: min(230px, 100%);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 16px 28px rgba(39, 97, 12, 0.14));
}

.cs-reference-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 0 18px;
	color: #60706b;
	font-size: 0.9rem;
	font-weight: 800;
}

.cs-reference-breadcrumb a {
	color: #27610c;
	text-decoration: none;
}

.cs-reference-kicker {
	margin: 0 0 8px;
	color: #27610c;
	font-size: 0.78rem;
	font-weight: 1000;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cs-reference-hero h1 {
	max-width: 820px;
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3.8rem);
	font-weight: 1000;
	line-height: 1;
}

.cs-reference-hero p:not(.cs-reference-kicker) {
	max-width: 850px;
	margin: 0;
	color: #3d4e38;
	font-size: 1.08rem;
	line-height: 1.55;
}

.cs-reference-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.cs-reference-actions a,
.cs-reference-help a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #ff7a1a;
	color: #fff;
	font-weight: 1000;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(255, 122, 26, 0.2);
}

.cs-reference-actions a + a {
	border: 1px solid #dfeec5;
	background: #fff;
	color: #27610c;
	box-shadow: none;
}

.cs-reference-tabs {
	display: flex;
	gap: 8px;
	margin: 18px 0;
	padding-bottom: 4px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
}

.cs-reference-tabs a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid #dfeec5;
	border-radius: 999px;
	background: #fff;
	color: #102015;
	font-weight: 950;
	text-decoration: none;
	white-space: nowrap;
}

.cs-reference-tabs a[aria-current="true"] {
	border-color: #84bd00;
	background: #edf8d7;
	color: #1d5e10;
	box-shadow: inset 0 0 0 1px rgba(132, 189, 0, 0.18);
}

.cs-reference-tabs span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	border-radius: 999px;
	background: #edf8d7;
	color: #27610c;
	font-size: 0.78rem;
}

.cs-reference-grid {
	display: grid;
	gap: 18px;
}

.cs-reference-other {
	display: grid;
	gap: 14px;
	padding: 0;
	border: 0;
}

.cs-reference-other > summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: 14px 18px;
	border: 1px solid #dfeec5;
	border-radius: 18px;
	background: linear-gradient(135deg, #fff7eb, #f7ffed);
	color: #102015;
	cursor: pointer;
	font-weight: 1000;
	list-style: none;
	box-shadow: 0 12px 28px rgba(39, 97, 12, 0.08);
}

.cs-reference-other > summary::-webkit-details-marker {
	display: none;
}

.cs-reference-other > summary span {
	color: #27610c;
	text-transform: uppercase;
}

.cs-reference-other > summary strong {
	color: #60706b;
	font-size: 0.92rem;
}

.cs-reference-other[open] > summary {
	margin-bottom: 14px;
}

.cs-reference-other-grid {
	display: grid;
	gap: 18px;
}

.cs-reference-brand-card,
.cs-reference-empty,
.cs-reference-help {
	min-width: 0;
	border: 1px solid #dfeec5;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(39, 97, 12, 0.06);
}

.cs-reference-brand-card {
	padding: 20px;
}

.cs-reference-brand-card > header {
	display: flex;
	gap: 14px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 16px;
}

.cs-reference-brand-card h2,
.cs-reference-help h2,
.cs-reference-empty h2 {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 1000;
	line-height: 1.1;
}

.cs-reference-brand-card > header > span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 11px;
	border-radius: 999px;
	background: #f4fbef;
	color: #27610c;
	font-size: 0.86rem;
	font-weight: 1000;
	white-space: nowrap;
}

.cs-reference-chip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
	gap: 10px;
}

.cs-reference-chip {
	display: grid;
	gap: 4px;
	min-width: 0;
	min-height: 72px;
	padding: 12px;
	border: 1px solid #dfeec5;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff, #fbfff5);
	color: #102015;
	text-decoration: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.cs-reference-chip:hover,
.cs-reference-chip:focus-visible {
	border-color: #84bd00;
	box-shadow: 0 12px 24px rgba(39, 97, 12, 0.12);
	transform: translateY(-1px);
}

.cs-reference-chip strong {
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: 1.08rem;
	font-weight: 1000;
	line-height: 1.1;
}

.cs-reference-chip span {
	color: #60706b;
	font-size: 0.82rem;
	font-weight: 850;
}

.cs-reference-more {
	margin-top: 14px;
}

.cs-reference-more summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px dashed #b8d88c;
	border-radius: 14px;
	background: #f7ffed;
	color: #27610c;
	cursor: pointer;
	font-weight: 1000;
	list-style: none;
}

.cs-reference-more summary::-webkit-details-marker {
	display: none;
}

.cs-reference-more summary span {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	color: #60706b;
	font-size: 0.82rem;
	font-weight: 900;
}

.cs-reference-more[open] summary {
	margin-bottom: 12px;
}

.cs-reference-empty {
	padding: 28px;
}

.cs-reference-help {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	margin-top: 20px;
	padding: 24px;
	border: 1px solid #dfeec5;
	border-radius: 18px;
	background: linear-gradient(135deg, #ffffff 0%, #f6ffeb 58%, #fff7eb 100%);
	box-shadow: 0 16px 36px rgba(39, 97, 12, 0.08);
}

.cs-reference-help > div {
	display: grid;
	gap: 12px;
}

.cs-reference-help > a {
	justify-self: start;
}

.cs-reference-picker {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
	gap: 12px;
	align-items: end;
	margin-top: 10px;
	padding: 16px;
	border: 1px solid #dfeec5;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: inset 4px 0 0 #84bd00, 0 12px 26px rgba(23, 33, 47, 0.06);
}

.cs-reference-picker label {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.cs-reference-picker label span {
	color: #27610c;
	font-size: 0.82rem;
	font-weight: 1000;
	text-transform: uppercase;
}

.cs-reference-picker label span::first-letter {
	color: #ff7a1a;
}

.cs-reference-picker select {
	width: 100%;
	min-height: 46px;
	padding: 0 42px 0 12px;
	border: 1px solid #cfe4ad;
	border-radius: 12px;
	background: #fff
		linear-gradient(45deg, transparent 50%, #27610c 50%) right 18px center / 7px 7px no-repeat;
	color: #102015;
	font: inherit;
	font-weight: 850;
	appearance: none;
}

.cs-reference-picker select:disabled {
	background: #f6f8f4;
	color: #778371;
}

.cs-reference-picker button {
	min-height: 46px;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	background: #ff7a1a;
	color: #fff;
	font: inherit;
	font-weight: 1000;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(255, 122, 26, 0.2);
}

.cs-reference-picker button:disabled {
	cursor: not-allowed;
	opacity: 0.62;
	box-shadow: none;
}

.cs-reference-picker-state {
	grid-column: 1 / -1;
	min-height: 24px;
	margin: 0;
	color: #60706b;
	font-size: 0.9rem;
	font-weight: 850;
}

.cs-reference-help p:not(.cs-reference-kicker),
.cs-reference-empty p {
	max-width: 800px;
	margin: 8px 0 0;
	color: #3d4e38;
	line-height: 1.5;
}

.cs-recharge-page {
	padding-bottom: 72px;
}

.cs-recharge-hero-layout {
	display: block;
}

.cs-recharge-hero-with-mascot .cs-recharge-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(150px, 230px);
	gap: 22px;
	align-items: center;
}

.cs-recharge-hero-mascot {
	display: grid;
	place-items: center;
	margin: 0;
	align-self: center;
	justify-self: end;
}

.cs-recharge-hero-mascot img {
	display: block;
	width: min(230px, 100%);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 16px 28px rgba(39, 97, 12, 0.14));
}

.cs-recharge-hero-copy {
	min-width: 0;
}

.cs-recharge-universe {
	display: grid;
	gap: 16px;
	margin-top: 18px;
	padding: 0;
	border: 0;
}

.cs-recharge-universe > summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	min-height: 62px;
	padding: 16px 20px;
	border: 1px solid #dfeec5;
	border-radius: 18px;
	background: linear-gradient(135deg, #ffffff, #f3ffe3 58%, #fff3e5);
	color: #102015;
	cursor: pointer;
	font-weight: 1000;
	list-style: none;
	box-shadow: 0 14px 32px rgba(39, 97, 12, 0.08);
}

.cs-recharge-universe > summary::-webkit-details-marker {
	display: none;
}

.cs-recharge-universe-title {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	min-width: 0;
}

.cs-recharge-universe-icon {
	display: inline-grid;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid rgba(132, 189, 0, 0.28);
	border-radius: 16px;
	background: linear-gradient(135deg, #ffffff, #eaf8d7);
	color: #27610c;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.66), 0 10px 22px rgba(39, 97, 12, 0.1);
}

.cs-recharge-universe-icon::before {
	content: "";
	display: block;
	width: 26px;
	height: 26px;
	background: currentColor;
}

.cs-recharge-universe-jet-encre .cs-recharge-universe-icon::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9.2 6.1 5.6 10.1 5.6 14.2A6.4 6.4 0 0 0 12 20.6a6.4 6.4 0 0 0 6.4-6.4C18.4 10.1 14.8 6.1 12 2Zm-3.2 12.7c.4 1.9 1.7 3 3.7 3.2l-.2 1.5c-2.7-.2-4.6-1.8-5.1-4.4l1.6-.3Z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9.2 6.1 5.6 10.1 5.6 14.2A6.4 6.4 0 0 0 12 20.6a6.4 6.4 0 0 0 6.4-6.4C18.4 10.1 14.8 6.1 12 2Zm-3.2 12.7c.4 1.9 1.7 3 3.7 3.2l-.2 1.5c-2.7-.2-4.6-1.8-5.1-4.4l1.6-.3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.cs-recharge-universe-toner .cs-recharge-universe-icon {
	color: #175b91;
	background: linear-gradient(135deg, #ffffff, #eaf6ff);
	border-color: rgba(31, 137, 209, 0.22);
}

.cs-recharge-universe-toner .cs-recharge-universe-icon::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5.5h14a2 2 0 0 1 2 2v7.8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7.5a2 2 0 0 1 2-2Zm1.5 3v5.8h11V8.5h-11Zm1.2 1.3h8.6V13H7.7V9.8ZM6 18.6h12l-1 2H7l-1-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5.5h14a2 2 0 0 1 2 2v7.8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7.5a2 2 0 0 1 2-2Zm1.5 3v5.8h11V8.5h-11Zm1.2 1.3h8.6V13H7.7V9.8ZM6 18.6h12l-1 2H7l-1-2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.cs-recharge-universe-label {
	color: #27610c;
	font-size: 1.12rem;
	text-transform: uppercase;
}

.cs-recharge-universe > summary strong {
	color: #60706b;
	font-size: 0.92rem;
}

.cs-recharge-universe > p {
	margin: 14px 4px 0;
	color: #3d4e38;
	font-weight: 760;
	line-height: 1.5;
}

.cs-recharge-universe[open] > summary {
	margin-bottom: 0;
}

.cs-recharge-mode-tabs {
	position: sticky;
	top: 0;
	z-index: 3;
	padding-top: 8px;
	background: rgba(248, 255, 239, 0.88);
	backdrop-filter: blur(8px);
}

.cs-recharge-picker {
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

@media (max-width: 760px) {
	.cs-reference-catalog-page {
		width: calc(100vw - 20px);
		max-width: calc(100vw - 20px);
		padding: 16px 0 36px;
		overflow: hidden;
	}

	.cs-recharge-hero-with-mascot .cs-recharge-hero-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		align-items: start;
	}

	.cs-reference-hero-with-mascot .cs-reference-hero-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		align-items: start;
	}

	.cs-reference-hero-mascot img,
	.cs-recharge-hero-mascot img {
		width: 128px;
	}

	.cs-reference-hero-mascot,
	.cs-recharge-hero-mascot {
		justify-self: start;
		margin-top: 2px;
	}

	.cs-reference-hero,
	.cs-reference-brand-card,
	.cs-reference-empty,
	.cs-reference-help {
		border-radius: 16px;
	}

	.cs-reference-hero {
		padding: 18px;
	}

	.cs-reference-hero h1 {
		max-width: 100%;
		font-size: 1.82rem;
		overflow-wrap: anywhere;
	}

	.cs-reference-hero p:not(.cs-reference-kicker) {
		max-width: 100%;
		font-size: 0.98rem;
		overflow-wrap: anywhere;
	}

	.cs-reference-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.cs-reference-actions a {
		width: 100%;
		min-width: 0;
	}

	.cs-reference-brand-card {
		padding: 16px;
	}

	.cs-reference-brand-card > header,
	.cs-reference-help,
	.cs-reference-picker {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.cs-recharge-universe > summary {
		align-items: start;
	}

	.cs-recharge-universe-icon {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
		border-radius: 14px;
	}

	.cs-recharge-universe-icon::before {
		width: 23px;
		height: 23px;
	}

	.cs-reference-chip-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cs-reference-chip {
		min-height: 66px;
		padding: 10px;
	}
}

@media (max-width: 420px) {
	.cs-reference-chip-grid {
		grid-template-columns: 1fr;
	}
}
