@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   EASY BOOKINGS — Premium Widget Stylesheet
   Design system tokens → components → animations → responsive
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
.eb-booking-widget {
	--eb-ink:              #15151a;
	--eb-ink-muted:        #6b6a63;
	--eb-paper:            #fafaf8;
	--eb-surface:          #ffffff;
	--eb-forest:           #3d5a4c;
	--eb-forest-mid:       #4d7360;
	--eb-forest-dark:      #2a4036;
	--eb-forest-glow:      rgba(61, 90, 76, 0.15);
	--eb-stone:            #ece8de;
	--eb-stone-deep:       #d4cdb8;
	--eb-terracotta:       #c4622d;
	--eb-terracotta-dark:  #9c4d22;
	--eb-terracotta-glow:  rgba(196, 98, 45, 0.12);
	--eb-muted:            #8a8880;
	--eb-error:            #a13a2f;
	--eb-error-bg:         #fbeae6;
	--eb-success:          #1a6b45;
	--eb-success-bg:       #ecfdf5;
	--eb-radius-xs:        4px;
	--eb-radius-sm:        8px;
	--eb-radius:           14px;
	--eb-radius-lg:        20px;
	--eb-serif:            'Source Serif 4', Georgia, serif;
	--eb-sans:             'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--eb-shadow-sm:        0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
	--eb-shadow:           0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
	--eb-shadow-lg:        0 12px 28px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
	--eb-transition:       0.2s cubic-bezier(0.4, 0, 0.2, 1);

	max-width: 900px;
	margin: 0 auto;
	font-family: var(--eb-sans);
	color: var(--eb-ink);
	font-size: 15px;
	background: var(--eb-paper);
	border-radius: var(--eb-radius-lg);
	border: 1px solid var(--eb-stone-deep);
	overflow: hidden;
	box-shadow: var(--eb-shadow-lg);
}

.eb-booking-widget * {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

.eb-booking-widget h1,
.eb-booking-widget h2,
.eb-booking-widget h3 {
	font-family: var(--eb-serif);
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0 0 4px;
	color: var(--eb-ink);
	line-height: 1.25;
}

/* ── Shell Layout ──────────────────────────────────────────── */
.eb-shell {
	display: grid;
	grid-template-columns: 256px 1fr;
	min-height: 520px;
}

/* ── Sidebar Rail ──────────────────────────────────────────── */
.eb-rail {
	background: linear-gradient(160deg, var(--eb-forest) 0%, var(--eb-forest-dark) 100%);
	color: #f1f1ea;
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

/* Subtle pattern overlay on rail */
.eb-rail::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 20% 20%, rgba(255,255,255,0.04) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
	pointer-events: none;
}

.eb-rail-eyebrow {
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(185,201,191,0.8);
	margin-bottom: 22px;
	font-weight: 600;
	position: relative;
}

.eb-rail-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.eb-rail-brand-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255,255,255,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.eb-rail-item {
	padding: 12px 0;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 13px;
	color: rgba(212, 221, 214, 0.8);
	position: relative;
	animation: ebSlideIn 0.3s var(--eb-transition) both;
}
.eb-rail-item:first-of-type {
	border-top: none;
}
.eb-rail-item .eb-rail-label {
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(169,184,175,0.7);
	margin-bottom: 3px;
	font-weight: 600;
}
.eb-rail-item strong {
	display: block;
	font-family: var(--eb-serif);
	font-size: 15.5px;
	font-weight: 500;
	color: #fff;
	margin-top: 1px;
	line-height: 1.3;
}
.eb-rail-item .eb-rail-sub {
	color: rgba(169,184,175,0.8);
	font-size: 11.5px;
	margin-top: 2px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.eb-rail-spacer { flex: 1; }

.eb-rail-price-badge {
	background: rgba(196, 98, 45, 0.2);
	border: 1px solid rgba(196, 98, 45, 0.35);
	border-radius: var(--eb-radius-sm);
	padding: 14px 16px;
	margin-top: 16px;
}

.eb-rail-price-badge .eb-rail-price-label {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(243,216,198,0.75);
	margin-bottom: 4px;
	font-weight: 600;
}

.eb-rail-price-badge .eb-rail-price-value {
	font-family: var(--eb-serif);
	font-size: 22px;
	font-weight: 600;
	color: #f8c9a8;
	line-height: 1;
}

.eb-rail-deposit-note {
	font-size: 11.5px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	color: rgba(243,216,198,0.85);
	border-radius: var(--eb-radius-sm);
	padding: 10px 12px;
	margin-top: 12px;
	line-height: 1.5;
}

/* ── Progress Steps ────────────────────────────────────────── */
.eb-progress-steps {
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--eb-stone);
}

.eb-progress-step {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	position: relative;
}

.eb-progress-step:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 32px;
	right: 0;
	top: 16px;
	height: 2px;
	background: var(--eb-stone-deep);
	transition: background 0.4s ease;
	z-index: 0;
}

.eb-progress-step.done:not(:last-child)::after {
	background: var(--eb-forest);
}

.eb-progress-dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid var(--eb-stone-deep);
	background: var(--eb-paper);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--eb-muted);
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.eb-progress-step.active .eb-progress-dot {
	border-color: var(--eb-forest);
	background: var(--eb-forest);
	color: #fff;
	box-shadow: 0 0 0 4px var(--eb-forest-glow);
}

.eb-progress-step.done .eb-progress-dot {
	border-color: var(--eb-forest);
	background: var(--eb-forest);
	color: #fff;
}

.eb-progress-step.done .eb-progress-dot::after {
	content: '✓';
	font-size: 13px;
}

.eb-progress-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--eb-muted);
	white-space: nowrap;
	transition: color 0.2s;
}

.eb-progress-step.active .eb-progress-label {
	color: var(--eb-forest-dark);
}

.eb-progress-step.done .eb-progress-label {
	color: var(--eb-forest);
}

/* ── Main Content Area ─────────────────────────────────────── */
.eb-main {
	padding: 32px 36px;
	display: flex;
	flex-direction: column;
}

.eb-step-eyebrow {
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eb-terracotta);
	margin-bottom: 5px;
	font-weight: 700;
}

.eb-step-title {
	font-size: 26px;
	margin-bottom: 6px;
	color: var(--eb-ink);
}

.eb-step-subtitle {
	font-size: 14px;
	color: var(--eb-muted);
	margin-bottom: 24px;
	line-height: 1.5;
}

.eb-widget-main-title {
	font-family: var(--eb-serif);
	font-size: 26px;
	font-weight: 600;
	color: var(--eb-ink);
	margin-bottom: 6px;
	letter-spacing: -0.02em;
}

/* ── Back Link ─────────────────────────────────────────────── */
.eb-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 20px;
	color: var(--eb-muted);
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
	transition: color var(--eb-transition);
}
.eb-back-link::before {
	content: '←';
	font-size: 14px;
}
.eb-back-link:hover {
	color: var(--eb-ink);
}

/* ── Category Headers ──────────────────────────────────────── */
.eb-category-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0 8px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.eb-category-header:hover {
	opacity: 0.88;
}
.eb-category-header:first-of-type {
	margin-top: 4px;
}

.eb-category-header-label {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--eb-terracotta);
	white-space: nowrap;
	flex-shrink: 0;
}
.eb-category-header-line {
	flex: 1;
	height: 1px;
	background: var(--eb-stone-deep);
}
.eb-category-header-toggle {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1.5px solid var(--eb-stone-deep);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: var(--eb-forest);
	transition: all 0.15s ease;
}
.eb-category-header.expanded .eb-category-header-toggle {
	background: var(--eb-forest);
	border-color: var(--eb-forest);
	color: #fff;
}

/* ── Service Carousel ──────────────────────────────────────── */
.eb-service-carousel {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
	margin-bottom: 8px;
}

.eb-service-carousel.has-expanded {
	grid-template-columns: 1fr;
}
.eb-service-carousel.has-expanded .eb-service-card:not(.expanded) {
	display: none;
}

/* ── Service Card ──────────────────────────────────────────── */
.eb-service-card {
	display: flex;
	flex-direction: column;
	min-height: 160px;
	position: relative;
	border: 1.5px solid var(--eb-stone-deep);
	border-radius: var(--eb-radius);
	padding: 20px 22px;
	background: var(--eb-surface);
	cursor: pointer;
	text-align: left;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--eb-shadow-sm);
	overflow: hidden;
	animation: ebFadeUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}
/* Stagger the first several cards' entrance; anything beyond that
   just uses the last step's delay rather than compounding further. */
.eb-service-card:nth-child(1) { animation-delay: 0s; }
.eb-service-card:nth-child(2) { animation-delay: 0.04s; }
.eb-service-card:nth-child(3) { animation-delay: 0.08s; }
.eb-service-card:nth-child(4) { animation-delay: 0.12s; }
.eb-service-card:nth-child(n+5) { animation-delay: 0.16s; }

/* Accent stripe top */
.eb-service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--eb-forest), var(--eb-terracotta));
	opacity: 0;
	transition: opacity 0.25s ease;
}

.eb-service-card:hover {
	border-color: var(--eb-forest);
	transform: translateY(-3px);
	box-shadow: var(--eb-shadow-lg);
}
.eb-service-card:hover::before {
	opacity: 1;
}

.eb-service-card.expanded {
	grid-column: 1 / -1;
	cursor: default;
	transform: none !important;
	box-shadow: var(--eb-shadow);
	border-color: var(--eb-forest);
	min-height: auto;
}
.eb-service-card.expanded::before {
	opacity: 1;
}

.eb-service-name {
	font-family: var(--eb-serif);
	font-weight: 600;
	font-size: 16.5px;
	margin-bottom: 5px;
	color: var(--eb-ink);
	line-height: 1.3;
	padding-right: 36px; /* space for expand icon */
}

.eb-service-meta {
	font-size: 12.5px;
	color: var(--eb-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}
.eb-service-meta::before {
	content: '⏱';
	font-size: 11px;
}

.eb-service-price {
	font-weight: 700;
	text-align: right;
	font-size: 15px;
	color: var(--eb-ink);
	max-width: 130px;
}
.eb-service-price .eb-deposit-tag {
	display: block;
	font-size: 10.5px;
	font-weight: 500;
	color: var(--eb-terracotta-dark);
	margin-top: 2px;
	opacity: 0.85;
}

/* Expand icon */
.eb-service-expand-icon {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--eb-stone);
	color: var(--eb-forest);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 17px;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	line-height: 1;
}
.eb-service-card:hover .eb-service-expand-icon {
	background: var(--eb-forest);
	color: #fff;
	transform: scale(1.12);
}
.eb-service-card.expanded .eb-service-expand-icon {
	transform: rotate(45deg);
	background: var(--eb-error-bg);
	color: var(--eb-error);
	cursor: pointer;
}
.eb-service-card.expanded .eb-service-expand-icon:hover {
	background: var(--eb-error);
	color: #fff;
	transform: rotate(45deg) scale(1.08);
}

/* ── Expanded Card Content ─────────────────────────────────── */
.eb-service-expanded-content {
	margin-top: 20px;
	border-top: 1px solid var(--eb-stone);
	padding-top: 20px;
	animation: ebFadeUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.eb-service-description {
	font-size: 14px;
	color: var(--eb-muted);
	line-height: 1.65;
	margin-bottom: 22px;
}

.eb-expanded-addons-title {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--eb-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 12px;
}

.eb-addon-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
	gap: 10px;
	margin-bottom: 24px;
}

.eb-addon-card-option {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--eb-paper);
	border: 1.5px solid var(--eb-stone-deep);
	border-radius: var(--eb-radius-sm);
	padding: 11px 13px;
	cursor: pointer;
	user-select: none;
	transition: all 0.18s ease;
}
.eb-addon-card-option:hover {
	border-color: var(--eb-forest);
	background: #fff;
	box-shadow: var(--eb-shadow-sm);
}
.eb-addon-card-option.selected {
	border-color: var(--eb-terracotta);
	background: var(--eb-terracotta-glow);
	box-shadow: 0 0 0 3px rgba(196, 98, 45, 0.08);
}
.eb-addon-card-option input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--eb-terracotta);
	cursor: pointer;
	margin: 0;
	flex-shrink: 0;
}
.eb-addon-card-label {
	font-size: 13px;
	font-weight: 500;
	color: var(--eb-ink);
	line-height: 1.3;
}
.eb-addon-card-price {
	font-size: 12px;
	color: var(--eb-terracotta-dark);
	font-weight: 700;
	margin-left: auto;
	white-space: nowrap;
}

.eb-expanded-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	border-top: 1px solid var(--eb-stone);
	padding-top: 18px;
	margin-top: 8px;
}

/* ── Date & Time Step ──────────────────────────────────────── */
.eb-calendar-grid {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}

.eb-date-picker {
	flex: 1 1 210px;
}
.eb-date-picker label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--eb-muted);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}
.eb-date-picker input[type="date"] {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--eb-stone-deep);
	border-radius: var(--eb-radius-sm);
	font-size: 14px;
	font-family: inherit;
	background: var(--eb-surface);
	color: var(--eb-ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}
.eb-date-picker input[type="date"]:focus {
	outline: none;
	border-color: var(--eb-forest);
	box-shadow: 0 0 0 3px var(--eb-forest-glow);
}

.eb-tz-note {
	font-size: 11.5px;
	color: var(--eb-muted);
	margin-top: 10px;
	display: flex;
	align-items: center;
	gap: 5px;
}
.eb-tz-note::before {
	content: '🌍';
	font-size: 12px;
}

/* ── Time Slots ────────────────────────────────────────────── */
.eb-slots {
	flex: 2 1 300px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 8px;
	max-height: 340px;
	overflow-y: auto;
	align-content: start;
	padding-right: 2px;
	scrollbar-width: thin;
	scrollbar-color: var(--eb-stone-deep) transparent;
}

.eb-slot-btn {
	position: relative;
	padding: 10px 6px;
	border: 1.5px solid var(--eb-stone-deep);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-surface);
	cursor: pointer;
	font-size: 12.5px;
	font-family: inherit;
	font-weight: 500;
	text-align: center;
	transition: all 0.15s ease;
	color: var(--eb-ink);
	animation: ebFadeUp 0.2s ease both;
}
.eb-slot-btn:hover {
	border-color: var(--eb-forest);
	background: var(--eb-forest-glow);
	color: var(--eb-forest-dark);
	transform: translateY(-1px);
	box-shadow: var(--eb-shadow-sm);
}
.eb-slot-btn.selected {
	background: var(--eb-terracotta);
	color: #fff;
	border-color: var(--eb-terracotta);
	box-shadow: 0 4px 12px rgba(196,98,45,0.3);
	transform: translateY(-1px);
}
.eb-slot-btn.selected::after {
	content: '✓';
	display: block;
	font-size: 9px;
	opacity: 0.75;
	margin-top: 1px;
}
.eb-slot-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	transform: none !important;
}

/* Skeleton slots while loading */
.eb-slot-skeleton {
	border-radius: var(--eb-radius-sm);
	height: 44px;
	background: linear-gradient(90deg, var(--eb-stone) 25%, var(--eb-paper) 50%, var(--eb-stone) 75%);
	background-size: 200% 100%;
	animation: ebShimmer 1.4s ease infinite;
}
@keyframes ebShimmer {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* ── Form Step ─────────────────────────────────────────────── */
.eb-form-group {
	margin-bottom: 18px;
	position: relative;
}
.eb-form-group label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--eb-muted);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin-bottom: 7px;
	transition: color 0.15s;
}
.eb-form-group:focus-within label {
	color: var(--eb-forest-dark);
}
.eb-form-group input,
.eb-form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--eb-stone-deep);
	border-radius: var(--eb-radius-sm);
	font-size: 14.5px;
	font-family: inherit;
	background: var(--eb-surface);
	color: var(--eb-ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.eb-form-group input:focus,
.eb-form-group textarea:focus {
	outline: none;
	border-color: var(--eb-forest);
	box-shadow: 0 0 0 3px var(--eb-forest-glow);
}
.eb-form-group input::placeholder,
.eb-form-group textarea::placeholder {
	color: var(--eb-muted);
	opacity: 0.6;
}
.eb-form-group textarea {
	min-height: 88px;
	resize: vertical;
	line-height: 1.5;
}

/* Input with icon decoration */
.eb-input-icon-wrap {
	position: relative;
}
.eb-input-icon-wrap input {
	padding-left: 40px;
}
.eb-input-icon {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 15px;
	color: var(--eb-muted);
	pointer-events: none;
}

/* Coupon row */
.eb-coupon-row {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}
.eb-coupon-row input {
	flex: 1;
	padding: 11px 14px;
	border: 1.5px dashed var(--eb-stone-deep);
	border-radius: var(--eb-radius-sm);
	font-size: 14px;
	font-family: inherit;
	background: var(--eb-paper);
	color: var(--eb-ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.eb-coupon-row input:focus {
	outline: none;
	border-color: var(--eb-terracotta);
	border-style: solid;
	box-shadow: 0 0 0 3px var(--eb-terracotta-glow);
}
.eb-coupon-row input::placeholder {
	color: var(--eb-muted);
	opacity: 0.65;
}

/* ── Rewards row ───────────────────────────────────────────── */
.eb-rewards-container {
	animation: ebFadeUp 0.25s ease both;
}

/* ── Buttons ───────────────────────────────────────────────── */
.eb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--eb-terracotta);
	color: #fff;
	border: none;
	padding: 13px 28px;
	border-radius: var(--eb-radius-sm);
	font-size: 14.5px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.18s ease;
	letter-spacing: 0.01em;
	box-shadow: 0 2px 8px rgba(196,98,45,0.2);
}
.eb-btn:hover {
	background: var(--eb-terracotta-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(196,98,45,0.3);
}
.eb-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(196,98,45,0.2);
}
.eb-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none;
}

.eb-btn-primary-ghost {
	background: transparent;
	color: var(--eb-forest);
	border: 1.5px solid var(--eb-forest);
	box-shadow: none;
}
.eb-btn-primary-ghost:hover {
	background: var(--eb-forest-glow);
	color: var(--eb-forest-dark);
	box-shadow: none;
}

.eb-btn-secondary {
	background: transparent;
	color: var(--eb-ink);
	border: 1.5px solid var(--eb-stone-deep);
	box-shadow: none;
}
.eb-btn-secondary:hover {
	background: var(--eb-stone);
	border-color: var(--eb-muted);
	transform: translateY(-1px);
	box-shadow: none;
}

/* Full-width variant */
.eb-btn-full { width: 100%; }

/* ── Payment Step ──────────────────────────────────────────── */
.eb-summary-box {
	background: var(--eb-stone);
	border-radius: var(--eb-radius);
	padding: 18px 20px;
	font-size: 14px;
	margin-bottom: 22px;
	border: 1px solid var(--eb-stone-deep);
	position: relative;
	overflow: hidden;
}
.eb-summary-box::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(to bottom, var(--eb-forest), var(--eb-terracotta));
}
.eb-summary-box .eb-summary-label {
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--eb-muted);
	font-weight: 700;
	margin-bottom: 3px;
}
.eb-summary-box .eb-summary-service {
	font-family: var(--eb-serif);
	font-size: 17px;
	font-weight: 600;
	color: var(--eb-ink);
	margin-bottom: 2px;
}
.eb-summary-box .eb-summary-time {
	font-size: 13px;
	color: var(--eb-muted);
}
.eb-summary-box .eb-summary-total {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--eb-stone-deep);
	font-weight: 700;
	font-size: 20px;
	color: var(--eb-ink);
	display: flex;
	align-items: baseline;
	gap: 6px;
}
.eb-summary-box .eb-summary-total span {
	font-size: 13px;
	font-weight: 500;
	color: var(--eb-muted);
}
.eb-summary-box .eb-summary-balance {
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--eb-terracotta-dark);
	font-weight: 500;
}

.eb-bank-details-table {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--eb-stone-deep);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.eb-bank-details-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	font-size: 13.5px;
}
.eb-bank-details-label {
	color: var(--eb-muted);
	flex-shrink: 0;
}
.eb-bank-details-value {
	font-weight: 600;
	color: var(--eb-ink);
	text-align: right;
	word-break: break-word;
	font-family: var(--eb-mono, monospace);
}

.eb-bank-transfer-pending-note {
	margin-top: 16px;
	padding: 14px 16px;
	background: var(--eb-stone);
	border: 1px solid var(--eb-stone-deep);
	border-radius: var(--eb-radius-sm);
	font-size: 13px;
	color: var(--eb-muted);
	line-height: 1.5;
}

.eb-evidence-upload-box {
	margin-top: 16px;
	padding: 16px 18px;
	border: 1.5px dashed var(--eb-stone-deep);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-surface);
}
.eb-evidence-upload-title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--eb-ink);
}
.eb-evidence-upload-hint {
	margin: 0 0 12px;
	font-size: 12.5px;
	color: var(--eb-muted);
	line-height: 1.5;
}
.eb-evidence-upload-box input[type="file"] {
	display: block;
	width: 100%;
	font-size: 13px;
	color: var(--eb-muted);
}
.eb-evidence-upload-status {
	margin-top: 8px;
	font-size: 13px;
	min-height: 1em;
}
.eb-evidence-upload-status.success {
	color: var(--eb-forest-dark, #2f5d4f);
	font-weight: 500;
}
.eb-evidence-upload-status.error {
	color: var(--eb-error, #dc2626);
	font-weight: 500;
}

.eb-payment-methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#eb-paypal-button-container {
	margin-top: 4px;
}

/* ── Success Screen ────────────────────────────────────────── */
.eb-success-box {
	text-align: center;
	padding: 52px 32px 48px;
	animation: ebSuccessIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.eb-check-mark {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--eb-forest), var(--eb-forest-mid));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 26px;
	box-shadow: 0 8px 24px rgba(61,90,76,0.3);
	animation: ebCheckPop 0.5s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.eb-success-box h3 {
	font-size: 26px;
	margin-bottom: 10px;
	color: var(--eb-ink);
}
.eb-success-box p {
	color: var(--eb-muted);
	font-size: 15px;
	line-height: 1.6;
}

.eb-success-divider {
	width: 48px;
	height: 2px;
	background: var(--eb-stone-deep);
	margin: 20px auto;
	border-radius: 1px;
}

.eb-success-detail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--eb-success-bg);
	border: 1px solid rgba(26,107,69,0.18);
	border-radius: 9999px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--eb-success);
	margin-top: 8px;
}

/* ── Error & Empty States ──────────────────────────────────── */
.eb-error {
	color: var(--eb-error);
	background: var(--eb-error-bg);
	border: 1px solid rgba(161,58,47,0.2);
	border-radius: var(--eb-radius-sm);
	padding: 13px 16px;
	font-size: 13.5px;
	margin-bottom: 18px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	animation: ebShakeIn 0.3s ease both;
}
.eb-error::before {
	content: '⚠';
	font-size: 14px;
	flex-shrink: 0;
	margin-top: 1px;
}

.eb-empty-state {
	color: var(--eb-muted);
	font-size: 14px;
	padding: 32px 8px;
	font-family: var(--eb-serif);
	font-style: italic;
	text-align: center;
}

/* Loading state */
.eb-loading {
	padding: 72px 24px;
	text-align: center;
	color: var(--eb-muted);
	font-family: var(--eb-serif);
	font-size: 17px;
	font-style: italic;
}
.eb-loading::after {
	content: '';
	display: block;
	width: 32px;
	height: 32px;
	border: 3px solid var(--eb-stone-deep);
	border-top-color: var(--eb-forest);
	border-radius: 50%;
	animation: ebSpin 0.7s linear infinite;
	margin: 16px auto 0;
}

/* ── Manage Widget ─────────────────────────────────────────── */
.eb-manage-info-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid var(--eb-stone);
	font-size: 14px;
}
.eb-manage-info-row:last-child {
	border-bottom: none;
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes ebFadeUp {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes ebSlideIn {
	from { opacity: 0; transform: translateX(-6px); }
	to   { opacity: 1; transform: translateX(0); }
}

@keyframes ebSuccessIn {
	from { opacity: 0; transform: scale(0.95); }
	to   { opacity: 1; transform: scale(1); }
}

@keyframes ebCheckPop {
	from { opacity: 0; transform: scale(0.5); }
	to   { opacity: 1; transform: scale(1); }
}

@keyframes ebShakeIn {
	0%   { transform: translateX(0); }
	20%  { transform: translateX(-4px); }
	40%  { transform: translateX(4px); }
	60%  { transform: translateX(-3px); }
	80%  { transform: translateX(2px); }
	100% { transform: translateX(0); }
}

@keyframes ebSpin {
	to { transform: rotate(360deg); }
}

/* Step transition */
.eb-main > div {
	animation: ebFadeUp 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 720px) {
	.eb-shell {
		grid-template-columns: 1fr;
	}

	.eb-rail {
		padding: 20px 24px;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
		align-items: center;
		min-height: auto;
	}

	.eb-rail-eyebrow { display: none; }

	.eb-rail-item {
		padding: 6px 0;
		border-top: none;
		border-left: 1px solid rgba(255,255,255,0.12);
		padding-left: 12px;
		flex: 1 1 140px;
	}
	.eb-rail-item:first-of-type {
		border-left: none;
		padding-left: 0;
	}

	.eb-rail-spacer { display: none; }

	.eb-rail-price-badge {
		flex: 1 1 100%;
		margin-top: 4px;
		padding: 10px 14px;
	}

	.eb-main {
		padding: 24px 20px;
	}

	.eb-progress-label {
		display: none;
	}

	.eb-progress-steps {
		margin-bottom: 20px;
		padding-bottom: 20px;
	}

	.eb-calendar-grid {
		flex-direction: column;
		gap: 16px;
	}

	.eb-slots {
		max-height: 220px;
	}

	.eb-service-carousel {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.eb-service-card {
		min-height: auto;
	}

	.eb-expanded-actions {
		flex-direction: column-reverse;
	}

	.eb-btn {
		width: 100%;
	}

	.eb-step-title {
		font-size: 22px;
	}
}

@media (max-width: 460px) {
	.eb-main {
		padding: 20px 16px;
	}

	.eb-rail {
		padding: 16px 20px;
	}

	.eb-progress-dot {
		width: 26px;
		height: 26px;
		font-size: 11px;
	}

	.eb-progress-step:not(:last-child)::after {
		left: 26px;
		top: 13px;
	}

	.eb-addon-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   CUSTOMER PORTAL (My Bookings)
   ============================================================ */

/* Portal main panel — wider padding, no sidebar */
.eb-portal-widget .eb-portal-main {
	padding: 48px 40px;
	max-width: 720px;
	margin: 0 auto;
	width: 100%;
}

/* ── Centred header (email form + expired states) ───────────── */
.eb-portal-header {
	text-align: center;
	margin-bottom: 32px;
}

.eb-portal-icon {
	font-size: 48px;
	line-height: 1;
	margin-bottom: 12px;
	display: block;
	animation: eb-bounce-in 0.5s ease;
}

@keyframes eb-bounce-in {
	0%   { transform: scale(0.6); opacity: 0; }
	60%  { transform: scale(1.1); }
	100% { transform: scale(1);   opacity: 1; }
}

.eb-portal-subtitle {
	color: var(--eb-ink-muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 6px 0 0;
}

/* ── Email request form ─────────────────────────────────────── */
.eb-portal-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 400px;
	margin: 0 auto;
}

.eb-portal-email-input {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--eb-stone-deep);
	border-radius: var(--eb-radius-sm);
	font-size: 15px;
	font-family: var(--eb-sans);
	background: var(--eb-surface);
	color: var(--eb-ink);
	transition: border-color var(--eb-transition), box-shadow var(--eb-transition);
	outline: none;
}

.eb-portal-email-input:focus {
	border-color: var(--eb-forest);
	box-shadow: 0 0 0 3px var(--eb-forest-glow);
}

.eb-portal-submit-btn {
	width: 100%;
	padding: 14px;
	font-size: 15px;
	font-weight: 600;
}

.eb-portal-status {
	min-height: 24px;
	font-size: 13px;
	text-align: center;
}

.eb-error-inline {
	color: var(--eb-error);
}

.eb-success-inline {
	color: var(--eb-success);
	font-weight: 500;
}

/* ── Booking list header ────────────────────────────────────── */
.eb-portal-list-header {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--eb-stone);
}

.eb-portal-list-title-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.eb-portal-list-title-row h2 {
	margin: 0;
	font-size: 22px;
}

.eb-portal-email-badge {
	font-size: 12px;
	font-family: var(--eb-sans);
	background: var(--eb-stone);
	color: var(--eb-ink-muted);
	padding: 3px 10px;
	border-radius: 99px;
	font-weight: 500;
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 260px;
}

/* ── Booking card grid ──────────────────────────────────────── */
.eb-portal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 8px;
}

.eb-portal-card {
	background: var(--eb-surface);
	border: 1px solid var(--eb-stone-deep);
	border-radius: var(--eb-radius);
	overflow: hidden;
	box-shadow: var(--eb-shadow-sm);
	transition: transform var(--eb-transition), box-shadow var(--eb-transition);
	display: flex;
	flex-direction: column;
}

.eb-portal-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--eb-shadow);
}

/* Thin coloured strip on the left */
.eb-portal-card-strip {
	height: 4px;
	width: 100%;
	flex-shrink: 0;
}

.eb-portal-card-body {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.eb-portal-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.eb-portal-card-service {
	font-family: var(--eb-serif);
	font-weight: 600;
	font-size: 15px;
	color: var(--eb-ink);
	line-height: 1.3;
	flex: 1;
}

.eb-portal-card-date {
	font-size: 13px;
	color: var(--eb-ink-muted);
	font-weight: 500;
}

.eb-portal-card-balance {
	font-size: 12px;
	color: var(--eb-terracotta-dark);
	background: rgba(196, 98, 45, 0.07);
	border-radius: var(--eb-radius-xs);
	padding: 5px 8px;
	font-weight: 500;
}

/* ── Status badges ──────────────────────────────────────────── */
.eb-badge {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 99px;
	flex-shrink: 0;
	white-space: nowrap;
}

.eb-badge-confirmed {
	background: var(--eb-success-bg);
	color: var(--eb-success);
}

.eb-badge-pending {
	background: #fffbeb;
	color: #92400e;
}

.eb-badge-cancelled {
	background: var(--eb-error-bg);
	color: var(--eb-error);
}

.eb-badge-completed {
	background: var(--eb-stone);
	color: var(--eb-muted);
}

/* ── Card action buttons ────────────────────────────────────── */
.eb-portal-card-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: auto;
	padding-top: 8px;
}

.eb-btn-sm {
	padding: 7px 14px !important;
	font-size: 13px !important;
}

.eb-portal-cutoff-note {
	font-size: 12px;
	color: var(--eb-muted);
	font-style: italic;
	padding-top: 4px;
}

/* ── Empty state ────────────────────────────────────────────── */
.eb-portal-empty {
	text-align: center;
	padding: 48px 24px;
	color: var(--eb-ink-muted);
}

.eb-portal-empty-icon {
	font-size: 40px;
	margin-bottom: 12px;
}

/* ── Sign out row ───────────────────────────────────────────── */
.eb-portal-sign-out-row {
	display: flex;
	justify-content: flex-end;
	padding-top: 20px;
	margin-top: 8px;
	border-top: 1px solid var(--eb-stone);
}

/* ── Responsive portal ──────────────────────────────────────── */
@media (max-width: 640px) {
	.eb-portal-widget .eb-portal-main {
		padding: 32px 20px;
	}

	.eb-portal-grid {
		grid-template-columns: 1fr;
	}

	.eb-portal-email-badge {
		max-width: 180px;
	}
}

