/* ============================================================
   SALON BOOKING - PUBLIC STYLES
   ============================================================ */

/* --- Wrapper --- */
.salon-booking-form-wrapper {
	max-width: 960px;
	margin: 0 auto;
	padding: 30px 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #2c3e50;
}

/* --- Header --- */
.salon-booking-title {
	color: #1a252f;
	font-size: 30px;
	font-weight: 700;
	margin: 0 0 8px;
	letter-spacing: -0.3px;
}

.salon-booking-description {
	color: #7f8c8d;
	margin-bottom: 30px;
	font-size: 16px;
	line-height: 1.6;
}

/* --- Steps --- */
.salon-form-step {
	display: none;
	animation: salonFadeIn 0.35s ease-in-out;
}
.salon-form-step.active {
	display: block;
}
@keyframes salonFadeIn {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* --- Section Headings --- */
.salon-form-step h3 {
 	font-size: 20px;
 	font-weight: 600;
 	margin-bottom: 20px;
 	padding-bottom: 10px;
 	border-bottom: 2px solid #e1e8ed;
 	color: #1a252f;
 }

 .salon-form-step h3 span {
 	font-weight: 400;
 	font-size: 15px;
 	color: #646970;
 }

/* --- Filters --- */
.salon-audience-filters,
.salon-category-filters {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.salon-audience-filter,
.salon-category-filter {
	border: 2px solid #dce3e8;
	background: #fff;
	border-radius: 24px;
	padding: 8px 18px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 14px;
	font-weight: 500;
	color: #5a6c7d;
}

.salon-audience-filter:hover,
.salon-category-filter:hover {
	border-color: #ea714c;
	background: #fef5f2;
	color : #ea714c;
}

.salon-audience-filter.active {
	background: #ea714c;
	color: #fff;
	border-color: #ea714c;
}

.salon-category-filter.active {
	background: #27ae60;
	color: #fff;
	border-color: #27ae60;
}

/* --- Store Grid --- */
.salon-store-grid {
	display: flex;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.salon-store-card {
	border: 2px solid #dce3e8;
	border-radius: 14px;
	padding: 22px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	text-align: center;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.salon-store-card:hover {
	border-color: #ea714c;
	box-shadow: 0 6px 16px rgba(234,113,76,0.12);
	transform: translateY(-2px);
}

.salon-store-card.selected {
	border-color: #ea714c;
	background: #fef5f2;
	box-shadow: 0 4px 14px rgba(234,113,76,0.15);
}

.salon-store-radio {
	position: absolute;
	opacity: 0;
}

.salon-store-radio:checked + .salon-store-content {
	background: transparent;
}

.salon-store-placeholder {
	background: #eef2f5;
	border-radius: 50%;
	width: 72px;
	height: 72px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: #b0bcc6;
}

.salon-store-title {
	font-size: 17px;
	margin: 0 0 6px;
	color: #1a252f;
	font-weight: 600;
}

.salon-store-excerpt {
	font-size: 13px;
	color: #7f8c8d;
	margin: 5px 0 0;
	line-height: 1.4;
}

/* --- Service Grid --- */
.salon-service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.salon-service-card {
	border: 2px solid #dce3e8;
	border-radius: 14px;
	padding: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.salon-service-card:hover {
	border-color: #ea714c;
	box-shadow: 0 6px 16px rgba(234,113,76,0.12);
	transform: translateY(-2px);
}

.salon-service-card.selected {
	border-color: #ea714c;
	background: #fef5f2;
	box-shadow: 0 4px 14px rgba(234,113,76,0.15);
}

.salon-service-checkbox {
	position: absolute;
	opacity: 0;
}

.salon-selected-services-summary {
	background: #fef5f2;
	border: 1px solid #f5d5c8;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
	font-size: 14px;
	color: #2c3e50;
}

.salon-selected-services-list {
	line-height: 1.5;
}

.salon-selected-services-list strong {
	color: #1a252f;
}

.salon-clear-selection {
	background: #e74c3c;
	border-color: #e74c3c;
	color: #fff;
	margin-bottom: 16px;
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.salon-clear-selection:hover {
	background: #c0392b;
	border-color: #c0392b;
}

.salon-service-image img {
	max-width: 100%;
	border-radius: 8px;
	margin-bottom: 12px;
	height: 160px;
	object-fit: cover;
}

.salon-service-title {
	font-size: 17px;
	margin: 0 0 8px;
	color: #1a252f;
	font-weight: 600;
}

.salon-service-category {
	font-size: 11px;
	background: #eef2f5;
	color: #5a6c7d;
	padding: 3px 10px;
	border-radius: 12px;
	display: inline-block;
	margin-bottom: 6px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.salon-service-audience {
	font-size: 11px;
	background: #fef5f2;
	color: #d95f3b;
	padding: 3px 10px;
	border-radius: 12px;
	display: inline-block;
	margin-bottom: 6px;
	margin-left: 5px;
	font-weight: 500;
}

.salon-service-description {
	font-size: 13px;
	color: #7f8c8d;
	margin: 6px 0 12px;
	line-height: 1.5;
}

.salon-service-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #eef2f5;
	font-weight: 600;
}

.salon-service-price {
	color: #27ae60;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.salon-service-price::before {
	content: attr(data-currency-symbol);
	font-size: 14px;
	line-height: 1;
}

.salon-service-duration {
	color: #7f8c8d;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.salon-service-duration::before {
	content: "🕐";
	font-size: 12px;
	line-height: 1;
}

/* --- Staff Grid --- */
.salon-staff-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.salon-staff-card {
	border: 2px solid #dce3e8;
	border-radius: 14px;
	padding: 22px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.salon-staff-card:hover {
	border-color: #ea714c;
	box-shadow: 0 6px 16px rgba(234,113,76,0.12);
	transform: translateY(-2px);
}

.salon-staff-card.selected {
	border-color: #ea714c;
	background: #fef5f2;
	box-shadow: 0 4px 14px rgba(234,113,76,0.15);
}

.salon-staff-radio {
	position: absolute;
	opacity: 0;
}

.salon-staff-placeholder {
	background: #eef2f5;
	border-radius: 50%;
	width: 72px;
	height: 72px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: #b0bcc6;
}

.salon-staff-image img,
.salon-staff-image {
	border-radius: 50%;
	width: 72px;
	height: 72px;
	object-fit: cover;
	margin: 0 auto 12px;
	display: block;
}

.salon-staff-title {
	font-size: 16px;
	margin: 0 0 6px;
	color: #1a252f;
	font-weight: 600;
}

.salon-staff-position {
	font-size: 13px;
	color: #7f8c8d;
	margin: 0;
}

/* --- Date & Time --- */
.salon-datetime-container {
	display: flex;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.salon-date-section,
.salon-time-section {
	flex: 1;
	min-width: 220px;
}

.salon-date-section label,
.salon-time-section label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #3c434a;
	font-size: 14px;
}

.salon-date-section input,
.salon-time-section select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #dce3e8;
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
	transition: border-color 0.2s ease;
	color: #2c3e50;
}

.salon-date-section input:focus,
.salon-time-section select:focus {
	border-color: #ea714c;
	outline: none;
	box-shadow: 0 0 0 3px rgba(234,113,76,0.1);
}

.salon-time-slots {
	margin-top: 4px;
}

.salon-time-slots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 10px;
}

.salon-time-slot-btn {
	display: block;
	width: 100%;
	padding: 12px 10px;
	border: 2px solid #dce3e8;
	background: #fff;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #2c3e50;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.salon-time-slot-btn:hover {
	border-color: #ea714c;
	background: #fef5f2;
	transform: translateY(-1px);
}

.salon-time-slot-btn.selected {
	background: #ea714c;
	color: #fff;
	border-color: #ea714c;
	box-shadow: 0 4px 12px rgba(234,113,76,0.25);
}

.salon-time-slot-btn.booked {
	background: #f5f5f5;
	color: #b0bcc6;
	border-color: #e1e8ed;
	cursor: not-allowed;
	text-decoration: line-through;
	opacity: 0.8;
}

.salon-time-slot-btn.booked:hover {
	background: #f5f5f5;
	border-color: #e1e8ed;
	transform: none;
	box-shadow: none;
}

.salon-no-slots {
	color: #7f8c8d;
	font-size: 14px;
	margin: 8px 0;
	line-height: 1.5;
}

/* --- Details Form --- */
.salon-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.salon-form-group {
	display: flex;
	flex-direction: column;
}

.salon-form-group label {
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #3c434a;
}

.salon-form-group input,
.salon-form-group textarea,
.salon-form-group select {
	padding: 11px 14px;
	border: 1px solid #dce3e8;
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	color: #2c3e50;
}

.salon-form-group input:focus,
.salon-form-group textarea:focus,
.salon-form-group select:focus {
	border-color: #ea714c;
	outline: none;
	box-shadow: 0 0 0 3px rgba(234,113,76,0.1);
}

.salon-form-group textarea {
	resize: vertical;
	min-height: 90px;
}

.salon-field-error {
	display: none;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: #d63638;
}

.salon-form-group.salon-has-error .salon-field-error {
	display: block;
}

.salon-form-group.salon-has-error input,
.salon-form-group.salon-has-error textarea,
.salon-form-group.salon-has-error select {
	border-color: #d63638;
}

.salon-form-group.salon-has-error input:focus,
.salon-form-group.salon-has-error textarea:focus,
.salon-form-group.salon-has-error select:focus {
	border-color: #d63638;
	box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.12);
}

.salon-form-group.salon-has-error label {
	color: #d63638;
}

/* --- Summary --- */
.salon-summary {
	background: #f8fafb;
	border: 1px solid #e1e8ed;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 24px;
}

.salon-summary h4 {
	margin: 0 0 14px;
	color: #1a252f;
	font-size: 16px;
	font-weight: 600;
}

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

.salon-summary td {
	padding: 8px 0;
	border-bottom: 1px solid #eef2f5;
	font-size: 14px;
}

.salon-summary td:first-child {
	color: #7f8c8d;
	width: 120px;
	font-weight: 500;
}

.salon-summary td:last-child {
	font-weight: 600;
	color: #1a252f;
}

/* --- Confirmation --- */
.salon-confirmation {
	text-align: center;
	padding: 50px 20px;
}

.salon-confirmation .dashicons-yes {
	display: block;
	margin: 0 auto 20px;
	font-size: 56px;
	color: #27ae60;
	background: #e8f8ef;
	border-radius: 50%;
	padding: 16px;
}

.salon-confirmation p {
	font-size: 16px;
	color: #5a6c7d;
	line-height: 1.6;
}

.salon-confirmation strong {
	color: #1a252f;
}

/* --- Buttons --- */
.salon-form-step .button {
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.salon-next-btn,
.salon-submit-btn {
	background: #ea714c;
	border-color: #ea714c;
	color: #fff;
}

.salon-next-btn:hover,
.salon-submit-btn:hover {
	background: #d95f3b;
	border-color: #d95f3b;
}

.salon-back-btn {
	background: #f0f2f5;
	border-color: #dce3e8;
	color: #5a6c7d;
}

.salon-back-btn:hover {
	background: #e4e7eb;
	border-color: #cdd3d9;
}

.salon-form-step .salon-back-btn,
.salon-form-step .salon-next-btn,
.salon-form-step .salon-submit-btn {
	margin-bottom: 24px;
}

/* --- Hidden --- */
.salon-booking-form .hidden {
	display: none;
}

/* --- Mobile Sticky Navigation Bar --- */
.salon-mobile-nav-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 1px solid #e1e8ed;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
	padding: 12px 16px;
	z-index: 1000;
}

.salon-mobile-nav-inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	gap: 12px;
	align-items: center;
}

.salon-mobile-nav-inner .button {
	flex: 1;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	min-height: 52px;
}

.salon-mobile-nav-inner .salon-mobile-back {
	background: #f0f2f5;
	border-color: #dce3e8;
	color: #5a6c7d;
}

.salon-mobile-nav-inner .salon-mobile-next {
	background: #ea714c;
	border-color: #ea714c;
	color: #fff;
}

.salon-mobile-nav-inner .salon-mobile-back:disabled,
.salon-mobile-nav-inner .salon-mobile-next:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Add bottom padding to form to prevent content hiding behind sticky bar */
@media (max-width: 600px) {
	.salon-mobile-nav-bar {
		display: block;
	}
	.salon-booking-form-wrapper {
		padding-bottom: 100px;
	}
	.salon-datetime-container {
		flex-direction: column;
		gap: 14px;
	}
	.salon-form-step {
		padding: 0 6px;
	}
	.salon-store-grid,
	.salon-service-grid {
		grid-template-columns: 1fr;
	}
	.salon-booking-title {
		font-size: 24px;
	}
	.salon-summary td:first-child {
		width: 100px;
	}
}
