#laily-configurateur {
	margin: 16px 0;
	padding: 16px;
	border: 1px dashed #c7c7c7;
	background: #fafafa;
	border-radius: 6px;
}

#laily-configurateur .laily-step {
	border: 0;
	border-top: 1px solid #e2e2e2;
	margin: 0 0 14px;
	padding: 12px 0 4px;
}

#laily-configurateur .laily-step:first-of-type {
	border-top: 0;
}

.laily-step-name {
	font-weight: 600;
	font-size: 15px;
	padding: 0;
	margin: 0 0 8px;
}

.laily-req {
	color: #c0392b;
}

.laily-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.laily-options--inputs .laily-option,
.laily-options--grid .laily-option {
	display: flex;
	flex-direction: column;
	min-width: 160px;
}

.laily-option-label {
	font-size: 14px;
	margin-bottom: 4px;
}

.laily-choice {
	display: flex;
	align-items: center;
	gap: 6px;
	position: relative;
	padding: 4px 8px;
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}

.laily-choice:hover {
	background: #f1f6fc;
}

/* Choix sélectionné : fond + coche CSS. */
.laily-choice.is-checked {
	background: #eef5ff;
	border-color: #bcd7f5;
}

.laily-choice.is-checked::after {
	content: "";
	position: absolute;
	top: -7px;
	right: -7px;
	width: 18px;
	height: 18px;
	background: #2c6fbb;
	border-radius: 50%;
	box-shadow: 0 0 0 2px #fff;
	z-index: 2;
}

.laily-choice.is-checked::before {
	content: "";
	position: absolute;
	top: -2px;
	right: 5px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
	z-index: 3;
	pointer-events: none;
}

/* Tarif (surcharge) affiché sous le libellé de chaque choix. */
.laily-option-price {
	font-size: 13px;
	font-weight: 600;
	color: #2c6fbb;
	white-space: nowrap;
	margin-left: 4px;
}

.laily-option-price.is-negative {
	color: #1a8a4a;
}

.laily-price-hidden {
	display: none !important;
}


.laily-value,
.laily-options--grid select {
	padding: 6px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	max-width: 100%;
}

.laily-step.laily-error {
	border-left: 3px solid #d63638;
	padding-left: 10px;
	background: #fff5f5;
}

.laily-hint {
	display: block;
	color: #666;
	margin-top: 4px;
}

.laily-grid-range {
	display: block;
	color: #666;
	font-size: 12px;
	margin-top: 4px;
}

.laily-eco {
	font-size: 13px;
	color: #666;
	margin-top: 4px;
}

.laily-hidden {
	display: none !important;
}

.laily-choice {
	align-items: center;
	gap: 8px;
}

input.laily-choice-input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.laily-swatch {
	display: inline-block;
	width: 34px;
	height: 34px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-size: cover;
	background-position: center;
	flex: 0 0 auto;
	cursor: pointer;
}

input.laily-choice-input:checked ~ .laily-swatch {
	outline: 3px solid #2c6fbb;
	outline-offset: 1px;
}

.laily-placeholder {
	font-size: 14px;
	color: #666;
}

.laily-price {
	font-size: 16px;
	margin: 12px 0 0;
}

.laily-price-value {
	color: #2c6fbb;
	font-size: 20px;
	white-space: nowrap;
}

.laily-info {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.9375rem;
    color: #444;
    line-height: 1.5;
}
.laily-info a { color: #0d4c7e; }
.laily-info p { margin: 0.4rem 0; }

.laily-info-more {
	margin: -0.25rem 0 0.75rem;
}

.laily-info-more > summary {
	display: inline-block;
	padding: 2px 10px;
	border: 1px solid #c9d4e0;
	border-radius: 3px;
	background: #f2f6fb;
	color: #0d4c7e;
	font-size: 12px;
	list-style: none;
	cursor: pointer;
}

.laily-info-more > summary::-webkit-details-marker {
	display: none;
}

.laily-info-more[open] > summary {
	background: #e4edf7;
}

.laily-info-pop {
	margin-top: 8px;
	padding: 10px 14px;
	border: 1px solid #dfe6ee;
	background: #fbfcfd;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.5;
}

.laily-info-pop table {
	width: 100%;
	border-collapse: collapse;
}

.laily-info-pop td,
.laily-info-pop th {
	border: 1px solid #e6ecf2;
	padding: 4px 8px;
}

.laily-info-pop .t_green { background: #cdebc4; }
.laily-info-pop .t_orange { background: #ffe0a3; }
.laily-info-pop .t_red { background: #f6c9c9; }
