/* ==========================================================================
   IDC Recommender — Wizard pet food
   ========================================================================== */

.idc-rec {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 0;
	min-height: calc(100vh - 72px);
	background: #F4F8FB;
	font-family: "Nunito Sans", sans-serif;
	color: #1A1A1A;
}

/* ============ SIDEBAR ============ */
.idc-rec__sidebar {
	background: #FFFFFF;
	border-right: 1px solid #E2EFF7;
	padding: 40px 24px;
	position: sticky;
	top: 72px;
	align-self: flex-start;
	height: calc(100vh - 72px);
	overflow-y: auto;
}

.idc-rec__logo {
	font-family: "Nunito", sans-serif;
	font-weight: 900;
	font-size: 18px;
	letter-spacing: -0.01em;
	color: #1A1A1A;
	text-align: center;
	margin-bottom: 36px;
	padding-bottom: 20px;
	border-bottom: 1px solid #E2EFF7;
}

.idc-rec__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.idc-rec__step {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	cursor: default;
	transition: background 0.25s ease, opacity 0.25s ease;
	opacity: 0.45;
}

.idc-rec__step.is-done,
.idc-rec__step.is-active {
	opacity: 1;
}

.idc-rec__step.is-done {
	cursor: pointer;
}

.idc-rec__step.is-active {
	background: linear-gradient(135deg, #4BAEE0 0%, #2E96CC 100%);
	box-shadow: 0 6px 18px rgba(75, 174, 224, 0.3);
	color: #FFFFFF;
}

.idc-rec__step.is-active strong,
.idc-rec__step.is-active span {
	color: #FFFFFF;
}

.idc-rec__step-num {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #EAF5FC;
	color: #4BAEE0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Nunito", sans-serif;
	font-weight: 900;
	font-size: 15px;
}

.idc-rec__step.is-active .idc-rec__step-num {
	background: #FFFFFF;
	color: #2E96CC;
}

.idc-rec__step.is-done .idc-rec__step-num {
	background: #5BC0A9;
	color: #FFFFFF;
}

.idc-rec__step div { display: flex; flex-direction: column; line-height: 1.3; }
.idc-rec__step strong {
	font-family: "Nunito", sans-serif;
	font-weight: 800;
	font-size: 14px;
	color: #1A1A1A;
}
.idc-rec__step span {
	font-size: 11px;
	color: #707070;
	margin-top: 2px;
}

/* ============ MAIN ============ */
.idc-rec__main {
	padding: 40px 48px;
	max-width: none;
	width: 100%;
	min-width: 0;
}

/* Les étapes 1-3 restent centrées en colonne lisible (lecture confortable) */
.idc-rec__panel[data-panel="1"],
.idc-rec__panel[data-panel="2"],
.idc-rec__panel[data-panel="3"] {
	max-width: 860px;
	margin: 0 auto;
}

/* L'étape résultat prend toute la largeur disponible */
.idc-rec__panel[data-panel="4"] {
	max-width: 1400px;
	margin: 0 auto;
}

.idc-rec__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	min-height: 36px;
}

.idc-rec__progress {
	margin-bottom: 28px;
	max-width: 860px;
}
.idc-rec__progress-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	gap: 12px;
}
.idc-rec__progress-track {
	width: 100%;
	height: 6px;
	background: #E2EFF7;
	border-radius: 50px;
	overflow: hidden;
	position: relative;
}
.idc-rec__progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #4BAEE0 0%, #2E96CC 100%);
	border-radius: 50px;
	transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 0 12px rgba(75, 174, 224, 0.5);
}
.idc-rec__progress-label {
	font-family: "Nunito", sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #707070;
	letter-spacing: 0.03em;
}
.idc-rec__progress-time {
	font-family: "Nunito", sans-serif;
	font-size: 12px;
	font-weight: 800;
	color: #4BAEE0;
}

.idc-rec__back {
	background: none;
	border: none;
	color: #707070;
	font-family: "Nunito", sans-serif;
	font-weight: 700;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 50px;
	transition: background 0.2s ease, color 0.2s ease;
}
.idc-rec__back:hover { background: #EAF5FC; color: #4BAEE0; }

.idc-rec__login {
	font-size: 13px;
	color: #707070;
	margin: 0;
}
.idc-rec__login a { color: #4BAEE0; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(75,174,224,0.3); }
.idc-rec__login a:hover { border-bottom-color: #4BAEE0; }

/* ============ PANELS ============ */
.idc-rec__main {
	overflow-x: hidden;
}

.idc-rec__panel {
	display: none;
}

.idc-rec__panel.is-active {
	display: block;
	animation: idcRecSlideIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

[data-direction="forward"] .idc-rec__panel.is-active {
	animation-name: idcRecSlideInRight;
}
[data-direction="backward"] .idc-rec__panel.is-active {
	animation-name: idcRecSlideInLeft;
}

@keyframes idcRecSlideInRight {
	from { opacity: 0; transform: translateX(40px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes idcRecSlideInLeft {
	from { opacity: 0; transform: translateX(-40px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes idcRecSlideIn {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.idc-rec__panel h2 {
	font-family: "Nunito", sans-serif;
	font-weight: 900;
	font-size: 22px;
	color: #1A1A1A;
	margin: 32px 0 16px;
	letter-spacing: -0.01em;
}

/* ============ Historique multi-animaux ============ */
.idc-rec__history {
	margin-bottom: 28px;
	padding: 16px 20px;
	background: #FFFFFF;
	border: 1px solid #E2EFF7;
	border-radius: 16px;
}
.idc-rec__history-label {
	font-family: "Nunito", sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #707070;
	margin: 0 0 10px;
}
.idc-rec__history-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.idc-rec__history-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #F4F8FB;
	border: 2px solid #E2EFF7;
	border-radius: 50px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 13px;
	color: #1A1A1A;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.idc-rec__history-item:hover {
	border-color: #4BAEE0;
	background: #EAF5FC;
	transform: translateY(-2px);
}
.idc-rec__history-icon { font-size: 18px; }
.idc-rec__history-name { font-weight: 800; }
.idc-rec__history-meta { color: #707070; font-size: 11px; }

.idc-rec__panel h2:first-child,
.idc-rec__panel > h2:first-of-type { margin-top: 0; }

.idc-rec__panel h3 {
	font-family: "Nunito", sans-serif;
	font-weight: 800;
	font-size: 15px;
	color: #1A1A1A;
	margin: 18px 0 12px;
}

/* ============ Inputs ============ */
.idc-rec__input,
.idc-rec__select {
	width: 100% !important;
	padding: 15px 20px !important;
	background-color: #FFFFFF !important;
	border: 2px solid #E2EFF7 !important;
	border-radius: 50px !important;
	font-family: "Nunito Sans", sans-serif !important;
	font-size: 15px !important;
	color: #1A1A1A !important;
	line-height: 1.4 !important;
	outline: none !important;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
}
.idc-rec__input:focus,
.idc-rec__select:focus {
	border-color: #4BAEE0 !important;
	box-shadow: 0 0 0 4px rgba(75, 174, 224, 0.15) !important;
}
.idc-rec__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 52px !important;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23707070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 20px center !important;
	cursor: pointer;
	text-indent: 0;
	text-overflow: ellipsis;
}
.idc-rec__select:disabled { opacity: 0.6; cursor: not-allowed; }

/* Quand une race est choisie, le select prend un léger fond terra pour feedback visuel */
.idc-rec__select.has-value {
	background-color: #EAF5FC !important;
	border-color: #4BAEE0 !important;
	font-weight: 700 !important;
}

/* Force la couleur du texte pour les options (certains OS ont des défauts bizarres) */
.idc-rec__select option {
	color: #1A1A1A;
	background: #FFFFFF;
	font-weight: 400;
}

.idc-rec__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.idc-rec__field-unit {
	position: relative;
}
.idc-rec__field-unit .idc-rec__input { padding-right: 48px; }
.idc-rec__unit {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-family: "Nunito", sans-serif;
	font-weight: 800;
	color: #707070;
	font-size: 14px;
}

.idc-rec__hint {
	background: #EAF5FC;
	border-left: 4px solid #4BAEE0;
	padding: 12px 18px;
	border-radius: 12px;
	font-size: 13px;
	color: #1A1A1A;
	margin-bottom: 14px;
}

/* ============ Choice (radio/check) ============ */
.idc-rec__choice-grid {
	display: grid;
	gap: 12px;
	margin-bottom: 8px;
}
.idc-rec__choice-grid--2 { grid-template-columns: 1fr 1fr; }
.idc-rec__choice-grid--4 { grid-template-columns: repeat(4, 1fr); }
.idc-rec__choice-grid--5 { grid-template-columns: repeat(5, 1fr); }

.idc-rec__choice {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px 16px;
	background: #FFFFFF;
	border: 2px solid #E2EFF7;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #1A1A1A;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	text-align: center;
}
.idc-rec__choice input { position: absolute; opacity: 0; pointer-events: none; }
.idc-rec__choice:hover {
	border-color: #9BCBEB;
	transform: translateY(-2px);
}
.idc-rec__choice.is-selected,
.idc-rec__choice:has(input:checked) {
	background: linear-gradient(135deg, #4BAEE0 0%, #2E96CC 100%);
	border-color: #2E96CC;
	color: #FFFFFF;
	box-shadow: 0 8px 20px rgba(75, 174, 224, 0.30);
}

.idc-rec__choice--card {
	border-radius: 14px;
	padding: 22px 14px;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	min-height: 88px;
}

.idc-rec__choice--skip {
	border-style: dashed;
	opacity: 0.8;
}
.idc-rec__choice--skip:hover { opacity: 1; }

.idc-rec__inline-options {
	display: flex;
	gap: 20px;
	margin-top: 10px;
}

.idc-rec__check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #1A1A1A;
	cursor: pointer;
}
.idc-rec__check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #4BAEE0;
	cursor: pointer;
}

.idc-rec__checks-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
	background: #FFFFFF;
	border: 1px solid #E2EFF7;
	border-radius: 16px;
	padding: 20px 24px;
	margin-bottom: 8px;
}

/* ============ Actions ============ */
.idc-rec__actions {
	margin-top: 36px;
}

.idc-rec__next {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 36px;
	background: linear-gradient(135deg, #4BAEE0 0%, #2E96CC 100%);
	color: #FFFFFF;
	border: none;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 15px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(75, 174, 224, 0.4);
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
.idc-rec__next:hover:not(:disabled) {
	transform: translateY(-3px);
	box-shadow: 0 14px 34px rgba(75, 174, 224, 0.5);
	filter: brightness(1.05);
}
.idc-rec__next:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	box-shadow: none;
}

/* ============ Loading ============ */
.idc-rec__loading {
	text-align: center;
	padding: 60px 20px;
}
.idc-rec__spinner {
	width: 56px;
	height: 56px;
	border: 5px solid #E2EFF7;
	border-top-color: #4BAEE0;
	border-radius: 50%;
	margin: 0 auto 18px;
	animation: idcRecSpin 1s linear infinite;
}
@keyframes idcRecSpin { to { transform: rotate(360deg); } }

/* ============ Results ============ */
.idc-rec__results-header { text-align: center; margin-bottom: 32px; }
.idc-rec__results-header h2 {
	font-family: "Nunito", sans-serif;
	font-weight: 900;
	font-size: 28px;
	margin: 0 0 6px;
}
.idc-rec__results-header p { color: #707070; margin: 0 0 14px; }

.idc-rec__compare-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 22px;
	background: #FFFFFF;
	color: #4BAEE0;
	border: 2px solid #4BAEE0;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}
.idc-rec__compare-toggle:hover {
	background: #4BAEE0;
	color: #FFFFFF;
}

/* ============ Compare table ============ */
.idc-rec__compare {
	background: #FFFFFF;
	border: 1px solid #E2EFF7;
	border-radius: 20px;
	padding: 28px;
	margin-bottom: 32px;
	overflow-x: auto;
}

.idc-rec__compare-table {
	width: 100%;
	border-collapse: collapse;
	font-family: "Nunito Sans", sans-serif;
}

.idc-rec__compare-table thead th {
	padding: 16px 14px;
	vertical-align: bottom;
	text-align: center;
	border-bottom: 2px solid #E2EFF7;
	background: transparent;
}

.idc-rec__compare-thumb {
	width: 90px;
	height: 90px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
	margin: 0 auto 10px;
}

.idc-rec__compare-name {
	font-family: "Nunito", sans-serif;
	font-weight: 800;
	font-size: 13px;
	line-height: 1.3;
	max-width: 180px;
	margin: 0 auto;
}
.idc-rec__compare-name a { color: #1A1A1A; text-decoration: none; }
.idc-rec__compare-name a:hover { color: #4BAEE0; }

.idc-rec__compare-badge {
	display: inline-block;
	padding: 4px 10px;
	background: linear-gradient(135deg, #4BAEE0 0%, #2E96CC 100%);
	color: #FFFFFF;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
}

.idc-rec__compare-table tbody tr {
	border-bottom: 1px solid #E2EFF7;
}
.idc-rec__compare-table tbody tr:last-child {
	border-bottom: none;
}

.idc-rec__compare-table th[scope="row"] {
	text-align: left;
	padding: 14px 18px 14px 0;
	font-family: "Nunito", sans-serif;
	font-weight: 700;
	font-size: 12px;
	color: #707070;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	width: 180px;
}

.idc-rec__compare-table td {
	padding: 14px 10px;
	text-align: center;
	font-size: 14px;
	color: #1A1A1A;
	vertical-align: middle;
}

.idc-rec__compare-cta td {
	padding-top: 20px;
}

.idc-rec__products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 32px;
	width: 100%;
}

.idc-rec__product {
	padding: 28px;
}

.idc-rec__product-image {
	aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
	.idc-rec__products {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.idc-rec__product {
	background: #FFFFFF;
	border: 1px solid #E2EFF7;
	border-radius: 20px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	overflow: hidden;
}
.idc-rec__product:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 36px rgba(75, 174, 224, 0.14);
}
.idc-rec__product.is-top {
	border-color: #4BAEE0;
	box-shadow: 0 8px 22px rgba(75, 174, 224, 0.18);
}

.idc-rec__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 5;
	background: linear-gradient(135deg, #4BAEE0 0%, #2E96CC 100%);
	color: #FFFFFF;
	padding: 6px 14px;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 4px 12px rgba(75, 174, 224, 0.35);
	pointer-events: none;
}

/* L'image doit rester sous le badge */
.idc-rec__product-image {
	position: relative;
	z-index: 1;
}

/* Badge stock */
.idc-rec__stock-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	padding: 5px 12px;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.idc-rec__stock-badge--in        { background: #E7F7EE; color: #2F9E5E; }
.idc-rec__stock-badge--low       { background: #FEF5E7; color: #C08B1B; }
.idc-rec__stock-badge--backorder { background: #EAF5FC; color: #2E96CC; }
.idc-rec__stock-badge--out       { background: #FEEDF0; color: #E63946; }

.idc-rec__product-image {
	display: block;
	aspect-ratio: 1 / 1;
	background: #F4F8FB;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 16px;
}
.idc-rec__product-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.idc-rec__product:hover .idc-rec__product-image img { transform: scale(1.05); }

.idc-rec__product-body { display: flex; flex-direction: column; flex: 1; }
.idc-rec__product-body h3 {
	font-family: "Nunito", sans-serif;
	font-weight: 800;
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 1.3;
}
.idc-rec__product-body h3 a { color: #1A1A1A; text-decoration: none; }
.idc-rec__product-body h3 a:hover { color: #4BAEE0; }

.idc-rec__reasons {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.idc-rec__reasons li {
	font-size: 12px;
	color: #5BC0A9;
	font-weight: 700;
}

.idc-rec__product-desc {
	font-size: 13px;
	color: #707070;
	line-height: 1.5;
	margin: 0 0 16px;
}

.idc-rec__metrics {
	display: flex;
	gap: 12px;
	margin: 0 0 14px;
}
.idc-rec__metric {
	flex: 1;
	background: #F4F8FB;
	border: 1px solid #E2EFF7;
	border-radius: 12px;
	padding: 10px 12px;
	text-align: center;
}
.idc-rec__metric-label {
	display: block;
	font-family: "Nunito Sans", sans-serif;
	font-size: 10px;
	color: #707070;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	margin-bottom: 2px;
}
.idc-rec__metric-value {
	display: block;
	font-family: "Nunito", sans-serif;
	font-size: 16px;
	font-weight: 900;
	color: #4BAEE0;
}

.idc-rec__product-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid #E2EFF7;
}
.idc-rec__product-price {
	font-family: "Nunito", sans-serif;
	font-weight: 900;
	font-size: 18px;
	color: #4BAEE0;
}
.idc-rec__product-cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 18px;
	background: #1A1A1A;
	color: #FFFFFF !important;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}
.idc-rec__product-cta:hover { background: #4BAEE0; transform: translateY(-2px); }

.idc-rec__results-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 20px 0;
}
.idc-rec__restart,
.idc-rec__save-pet,
.idc-rec__share {
	background: transparent;
	border: 2px solid #E2EFF7;
	color: #707070;
	padding: 12px 24px;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.idc-rec__restart:hover,
.idc-rec__save-pet:hover,
.idc-rec__share:hover { border-color: #4BAEE0; color: #4BAEE0; }

.idc-rec__save-pet.is-saved,
.idc-rec__share.is-saved {
	background: #E7F7EE;
	border-color: #5BC0A9;
	color: #2F9E5E;
	cursor: default;
}
.idc-rec__save-pet:disabled,
.idc-rec__share:disabled {
	opacity: 0.7;
	cursor: wait;
}

.idc-rec__results-footer {
	flex-wrap: wrap;
	gap: 12px;
}
.idc-rec__shop-link {
	color: #4BAEE0;
	font-weight: 800;
	text-decoration: none;
	font-family: "Nunito", sans-serif;
}

.idc-rec__empty,
.idc-rec__error {
	text-align: center;
	padding: 60px 20px;
	background: #FFFFFF;
	border: 1px solid #E2EFF7;
	border-radius: 20px;
	max-width: 560px;
	margin: 0 auto;
}
.idc-rec__empty h2,
.idc-rec__error h2 {
	margin: 0 0 10px;
	font-family: "Nunito", sans-serif;
	font-weight: 900;
	font-size: 24px;
}
.idc-rec__empty p,
.idc-rec__error p { color: #707070; margin: 0 0 18px; }

.idc-rec__error {
	border-color: #F5A5AE;
	background: #FEF7F8;
}
.idc-rec__error-icon {
	font-size: 48px;
	margin-bottom: 10px;
}
.idc-rec__retry {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	background: linear-gradient(135deg, #4BAEE0 0%, #2E96CC 100%);
	color: #FFFFFF;
	border: none;
	border-radius: 50px;
	font-family: "Nunito", sans-serif;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(75, 174, 224, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.idc-rec__retry:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(75, 174, 224, 0.45);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
	.idc-rec {
		grid-template-columns: 1fr;
	}
	.idc-rec__sidebar {
		position: static;
		height: auto;
		border-right: none;
		border-bottom: 1px solid #E2EFF7;
		padding: 20px 24px;
	}
	.idc-rec__steps {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.idc-rec__step {
		flex: 1 1 140px;
		min-width: 140px;
	}
	.idc-rec__step span { display: none; }
	.idc-rec__main {
		padding: 24px 20px;
	}
	.idc-rec__choice-grid--4,
	.idc-rec__choice-grid--5 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.idc-rec__panel,
	.idc-rec__choice,
	.idc-rec__next,
	.idc-rec__product,
	.idc-rec__spinner {
		animation: none !important;
		transition: none !important;
	}
}
