.tsb-wizard {
	max-width: 720px;
	margin: 0 auto;
	font-size: 15px;
	color: #23282d;
}

/* Themes/WooCommerce commonly set an explicit `display` on `.button`, and any
   author-level `display` declaration overrides the browser's default
   `[hidden] { display: none }` UA rule regardless of selector specificity —
   so buttons with the `hidden` attribute stay visible unless forced here. */
#tsb-booking-wizard [hidden] {
	display: none !important;
}

/* Full-form mode: all 4 steps render at once with no step indicator between
   them, so give each its own visual block instead of butting straight into
   the next step's heading. */
.tsb-full-form .tsb-datetime-grid {
	display: block;
}
.tsb-full-form .tsb-datetime-grid .tsb-calendar-col {
	margin-bottom: 16px;
}

.tsb-full-form .tsb-confirm-summary {
	background: transparent
}

.tsb-full-form .tsb-step:last-of-type {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}

.tsb-full-form .tsb-step-title{
	display: none;
}

.tsb-wizard-steps {
	display: flex;
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	counter-reset: tsb-step;
}

.tsb-step-indicator {
	flex: 1;
	text-align: center;
	position: relative;
	color: #a0a5aa;
	font-size: 13px;
}

.tsb-step-indicator .tsb-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e2e4e7;
	color: #6b7075;
	margin-bottom: 6px;
	font-weight: 600;
}

.tsb-step-indicator .tsb-step-label {
	display: block;
}

.tsb-step-indicator.is-active .tsb-step-num,
.tsb-step-indicator.is-complete .tsb-step-num {
	background: #2271b1;
	color: #fff;
}

.tsb-step-indicator.is-active {
	color: #2271b1;
	font-weight: 600;
}

.tsb-wizard-messages:empty {
	display: none;
}

.tsb-wizard-messages {
	margin-bottom: 16px;
	padding: 12px 16px;
	border-radius: 4px;
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	color: #6b1c1c;
}

.tsb-step-title {
	margin-top: 0;
	font-size: 28px;
}

.tsb-field {
	margin-bottom: 16px;
}

.tsb-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.tsb-field input[type="text"],
.tsb-field input[type="tel"],
.tsb-field input[type="email"],
.tsb-field textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-sizing: border-box;
}

.tsb-required {
	color: #d63638;
}

.tsb-rim-diameter-help {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f6f7f7;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.tsb-rim-diameter-img {
	flex: 0 0 140px;
	width: 140px;
	aspect-ratio: 688 / 210.6;
	background: url(../images/filtre-auto-img.webp) no-repeat;
	background-size: 100%;
	background-position: center top;
	border-radius: 4px;
}

.tsb-rim-diameter-caption {
	margin: 0;
	font-size: 13px;
	color: #50575e;
}

.tsb-services-list {
	display: flex;
	/* flex-direction: column; */
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.tsb-service-item {
	/* display: flex; */
	/* align-items: center; */
	/* justify-content: space-between; */
	border: 1px solid #dcdcde;
	border-radius: 6px;
	padding: 12px 16px;
	cursor: pointer;
	width: calc(50% - 5px);
}

.tsb-service-item.is-selected {
	border-color: #2271b1;
	background: #f0f6fc;
}

.tsb-service-item.is-disabled {
	cursor: default;
	opacity: 0.65;
}

.tsb-service-item.has-qty {
	cursor: default;
}

.tsb-service-item .tsb-service-main {
	/* display: flex; */
	/* align-items: center; */
	gap: 10px;
}

.tsb-service-item .tsb-service-qty:not([size]):not([multiple]) {
	padding: 4px 6px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	margin-bottom: 10px;
}

.tsb-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	background: #f0f0f1;
	color: #50575e;
}

.tsb-status-coming_soon {
	background: #d6e4f0;
	color: #1e4a72;
}

.tsb-service-item .tsb-service-name {
	font-weight: 600;
}

.tsb-service-item .tsb-service-meta {
	color: #6b7075;
	font-size: 13px;
}

.tsb-service-item .tsb-service-price {
	font-weight: 600;
	white-space: nowrap;
}

.tsb-services-summary {
	display: flex;
	justify-content: space-between;
	padding: 12px 16px;
	background: #f6f7f7;
	border-radius: 4px;
	font-weight: 600;
}

.tsb-datetime-grid {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.tsb-calendar-col,
.tsb-slots-col {
	flex: 1 1 300px;
}

.tsb-date-input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-sizing: border-box;
}

.tsb-slots-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 60px;
}

.tsb-slot-btn {
	border: 1px solid #c3c4c7;
	background: #fff;
	border-radius: 4px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
	color: var(--text,#595959);
}

.tsb-slot-btn.is-selected {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.tsb-slots-placeholder {
	color: #6b7075;
	padding: 13px 20px;
	width: 100%;
    border: 1px solid var(--lighter);
    box-sizing: border-box;
    font-weight: normal;
    outline: 0;
    transition: all ease-in-out 0.3s;
    background-color: var(--lighter);
	border-radius: 4px;
}

.tsb-confirm-summary {
	background: #f6f7f7;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 20px;
}

.tsb-confirm-summary table {
	width: 100%;
	border-collapse: collapse;
}

.tsb-confirm-summary td {
	padding: 4px 0;
}

.tsb-confirm-summary td.tsb-align-right {
	text-align: right;
}

.tsb-confirm-summary tr.tsb-total td {
	border-top: 1px solid #dcdcde;
	font-weight: 700;
	padding-top: 8px;
}

.tsb-payment-method {
	margin-bottom: 20px;
}

.tsb-payment-method label.tsb-radio {
	display: block;
	font-weight: normal;
	margin-bottom: 6px;
}

.tsb-wizard-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 24px;
}

.tsb-wizard-nav .tsb-btn-next {
	margin-left: auto;
}

.tsb-wizard-success {
	background: #edfaef;
	border: 1px solid #68de7c;
	border-radius: 6px;
	padding: 24px;
	text-align: center;
}

.tsb-wizard-success .tsb-booking-code {
	font-size: 20px;
	font-weight: 700;
	margin: 8px 0;
}

@media ( max-width: 480px ) {
	.tsb-step-indicator .tsb-step-label {
		display: none;
	}

	.tsb-rim-diameter-help {
		flex-direction: column;
		align-items: flex-start;
	}

	.tsb-rim-diameter-img {
		width: 100%;
	}
}

.tsb-booking-notice {
	background: #f6f7f7;
	border-left: 4px solid #2271b1;
	border-radius: 4px;
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #50575e;
}

.tsb-free-fitting-notice {
	background: #edfaef;
	border-left: 4px solid #68de7c;
	border-radius: 4px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 13px;
	color: #1e4620;
}

.tsb-delivery-notice {
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
	border-radius: 4px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 13px;
	color: #1e4a72;
}

.tsb-hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	width: 0;
	overflow: hidden;
}

.cart_totals .fee th {
	font-size: 14px;
}