/**
 * Lightworker Profile Page – /lightworker-profile/{slug}/
 * All classes are prefixed with lwdp- to avoid conflicts with theme/plugins.
 */

/* Page & layout */
.lwdp-page {
	background-color: #F8F5FB;
	min-height: 60vh;
	padding: 2rem 0 3rem;
}

/* All h4 headings on detail page: 24px */
.lwdp-article h4,
.lwdp-page h4 {
	font-size: 24px;
}

.lwdp-wrapper {
	display: flex;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1.5rem;
	gap: 2rem;
	align-items: stretch;
	min-height: 100vh;
}

/* Sidebar – Other Lightworkers; border ends at bottom scroll button (no full-page stretch) */
.lwdp-sidebar {
	flex: 0 0 300px;
	position: sticky;
	top: 2rem;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	background: #f8f5fb;
	border-radius: 20px;
}

/* Scroll buttons – white circle, black caret, subtle elevation (match design) */
.lwdp-sidebar-scroll-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	background: #FFFFFF;
	border: none;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	flex-shrink: 0;
	transition: box-shadow 0.2s ease, background 0.2s ease;
}

.lwdp-sidebar-scroll-btn:hover {
	background: #FFFFFF;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lwdp-scroll-chevron {
	font-size: 1.25rem;
	line-height: 1;
	font-weight: bold;
	color: #000000;
}

.lwdp-sidebar-scroll-top {
	margin-bottom: 0.5rem;
}

.lwdp-sidebar-scroll-bottom {
	margin-top: 0.5rem;
}

/* Scrollable area – height = exactly 3 tiles; no scrollbar; purple line; top/bottom buttons (loop); mouse wheel scroll */
.lwdp-sidebar-scroll-inner {
	--lwdp-tile-height: 370px;
	flex: 0 0 auto;
	height: calc(3 * var(--lwdp-tile-height) + 2 * 1rem);
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior-y: contain;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0 2px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	border-radius: 0 0 8px 8px;
	scroll-behavior: auto;
}
.lwdp-sidebar-scroll-inner:focus {
	outline: 2px solid rgba(115, 171, 137, 0.5);
	outline-offset: 2px;
}
.lwdp-sidebar-scroll-inner:focus:not(:focus-visible) {
	outline: none;
}
.lwdp-sidebar-scroll-inner:focus-visible {
	outline: 2px solid rgba(115, 171, 137, 0.6);
	outline-offset: 2px;
}

.lwdp-sidebar-scroll-inner::-webkit-scrollbar {
	display: none;
}

/* Card – vertical: one tile height so sidebar = 3 tiles; image, name, description, practices, location */
.lwdp-other-card {
	--lwdp-tile-height: 370px;
	display: block;
	min-height: var(--lwdp-tile-height);
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(240, 235, 245, 0.8);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
	flex-shrink: 0;
}

.lwdp-other-card:hover {
	box-shadow: 0 6px 20px rgba(115, 171, 137, 0.15);
	border-color: rgba(115, 171, 137, 0.25);
}

.lwdp-other-image-wrap {
	width: 100%;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
	background: #e4e4e7;
}

.lwdp-other-image {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	vertical-align: middle;
}

.lwdp-other-image-avatar {
	display: block;
	aspect-ratio: 4 / 3;
	background: #e4e4e7;
	overflow: hidden;
}

.lwdp-other-image-avatar img,
.lwdp-other-image-avatar .lwdp-other-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lwdp-other-body {
	padding: 1rem 1.1rem;
}

/* Name – store name, small font */
.lwdp-other-name {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

.lwdp-other-store-name {
	font-size: 0.85rem;
	font-weight: 600;
	color: #3f3f46;
}

.lwdp-other-desc {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #3f3f46;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lwdp-other-practices {
	margin: 0 0 0.75rem;
	padding: 0;
	list-style: none;
}

.lwdp-other-practices li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.25rem 0;
	font-size: 0.9rem;
	color: #18181B;
}

.lwdp-other-check {
	color: #18181B;
	font-weight: 700;
	font-size: 0.95rem;
}

.lwdp-other-location {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	font-size: 0.9rem;
	color: #3f3f46;
}

.lwdp-other-location .lwdp-icon {
	color: #18181B;
}

.lwdp-other-location-placeholder {
	color: #a1a1aa;
}

/* Main article */
.lwdp-article {
	flex: 1;
	min-width: 0;
}

/* Profile header wrapper: header + reviews row below, right-aligned */
.lwdp-header-wrap {
	margin-bottom: 1.5rem;
}

/* Profile header (gradient + photo + name) */
.lwdp-header {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 0;
}

/* Reviews block: just below header, right corner */
.lwdp-header-reviews {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0.5rem 0 0;
}

.lwdp-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: white;
    padding: 10px;
}

.lwdp-star-rating {
	position: relative;
	display: inline-block;
	width: 5.5em;
	height: 1.2em;
	line-height: 1;
	font-size: 1.1rem;
	letter-spacing: 0.15em;
	vertical-align: middle;
}

/* Empty stars (outline) – purple shade from gradient for consistency */
.lwdp-star-rating::before {
	content: "\2606\2606\2606\2606\2606";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	color: #c2a0e8;
}

/* Filled stars – purple from site gradient (#a877de) */
.lwdp-star-rating-inner {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
}

.lwdp-star-rating-inner::before {
	content: "\2605\2605\2605\2605\2605";
	position: absolute;
	top: 0;
	left: 0;
	color: #a877de;
}

.lwdp-review-count {
	font-size: 0.9rem;
	font-weight: 600;
	color: #18181B;
}

.lwdp-header-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #73ab89 0%, #a877de 100%);
	opacity: 1;
}

.lwdp-header-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem 2rem;
	min-height: 120px;
}

.lwdp-avatar-wrap {
	flex-shrink: 0;
}

.lwdp-avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 8px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lwdp-name {
	margin: 0;
	font-size: 30px !important;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lwdp-name-store {
	font-size: 0.95rem;
	font-weight: 600;
	opacity: 0.95;
}

/* Sections */
.lwdp-section {
	margin-bottom: 1.75rem;
}

.lwdp-section-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #18181B;
	margin: 0 0 0.85rem;
	padding: 0;
}

.lwdp-content-text {
	color: #3f3f46;
	line-height: 1.65;
	font-size: 1rem;
}

.lwdp-content-text p {
	margin: 0 0 0.75rem;
}

.lwdp-content-text p:last-child {
	margin-bottom: 0;
}

/* Tags (Practices, Location, Languages) */
.lwdp-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.lwdp-tag {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	background: #e4e4e7;
	color: #3f3f46;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 500;
}

/* Cards grid */
.lwdp-cards {
	display: grid;
	gap: 1rem;
}

.lwdp-practices-grid,
.lwdp-events-grid {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.lwdp-blogs-grid {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Single card – gradient top border (Elementor colors), no header name; footer aligned at bottom */
.lwdp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #F7F5FA;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease;
}

.lwdp-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 20px;
	background: linear-gradient(90deg, var(--e-global-color-a7a522a) 0%, var(--e-global-color-307b427) 100%);
	border-radius: 14px 14px 0 0;
}

/* Blog cards: no gradient top border */
.lwdp-blog-card::before {
	display: none;
}

.lwdp-card:hover {
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.lwdp-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 1rem 1.1rem;
	position: relative;
}

/* Cancelled label – gray background, light blue text (no red border); text kept inside */
.lwdp-card-body .lwdp-label-cancelled,
.lwdp-label-cancelled {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	position: absolute;
	right: 0;
	background: #cf4700;
	color: white !important;
	border-radius: 7px;

	padding: 6px 10px;
}

/* Finished / Full labels – yellow background, teal text, pill shape (same position as Cancelled) */
.lwdp-card-body .lwdp-label-finished,
.lwdp-card-body .lwdp-label-full,
.lwdp-label-finished,
.lwdp-label-full {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	position: absolute;
	right: 0;
	background: #FFE135;
	color: #0d9488 !important;
	border: 1px solid #d4a017;
	border-radius: 7px;
	padding: 6px 10px;
}

/* Practice/event title with subtle green→purple gradient text */
.lwdp-card-title {
	margin: 0 0 0.6rem;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}
.lwdp-cards.lwdp-practices-grid h4 {
    margin-top: 35px;
}
.lwdp-card-title-gradient {
	background: linear-gradient(90deg, var(--e-global-color-a7a522a) 0%, var(--e-global-color-307b427) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #18181B;
}
.lwdp-card.lwdp-event-card h4 {
    margin-top: 35px;
}

.lwdp-card-desc {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	line-height: 1.45;
	color: #52525b;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lwdp-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 0;
	font-size: 0.9rem;
	color: #18181B;
	font-weight: 500;
	padding-top: 8px;
}

/* Duration block in practice cards */
.lwdp-practice-card .lwdp-card-meta {
	padding-bottom: 10px;
}

.lwdp-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

/* Crisp dark icons */
.lwdp-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #18181B;
	line-height: 0;
}

.lwdp-icon svg {
	width: 16px;
	height: 16px;
	display: block;
}

/* Dotted separator above price/actions */
.lwdp-card-sep {
	height: 0;
	border-bottom: 1px dotted #d4d4d8;
	margin: 0.75rem 0;
}

/* Footer: price left, bookmark + Register right; always at bottom of card */
.lwdp-card-footer {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
}

/* When register is off or cancelled: duration & price = visibility hidden; Register button = display none */
.lwdp-card-no-register .lwdp-card-meta,
.lwdp-card-no-register .lwdp-card-price {
	visibility: hidden !important;
}
.lwdp-card-no-register .lwdp-btn-register {
	display: none !important;
}

.lwdp-card-price {
	font-weight: 700;
	font-size: 1rem;
	color: #18181B;
	flex: 1;
	min-width: 0;
}

.lwdp-card-price .woocommerce-Price-amount {
	font-weight: 700;
	color: #18181B;
}

.lwdp-card-bookmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	line-height: 0;
}

.lwdp-icon-bookmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lwdp-icon-bookmark svg {
	width: 20px;
	height: 20px;
	stroke: #8b5cf6;
	transition: stroke 0.2s ease;
}

.lwdp-card-bookmark:hover .lwdp-icon-bookmark svg {
	stroke: #22c55e;
}

.lwdp-btn {
	display: inline-block;
	padding: 0.5rem 1.25rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.15s ease;
	cursor: pointer;
	border: none;
}
a.lwdp-open-modal-btn {
    color: white;
    background: #ffcd12;
    padding: 8px 15px 8px 15px;
    border-radius: 11px;
	text-decoration: none;
	transition: all 0.5s;
}
a.lwdp-open-modal-btn:hover
{background-color: var(--e-global-color-307b427);}

.lwdp-btn:hover {
	opacity: 0.95;
	transform: translateY(-1px);
}

/* Register button – golden yellow (site accent) */
.lwdp-btn-register {
	background: #FFCD12;
	color: #18181B;
	margin-left: auto;
}

/* Cancelled / Finished / Full card: Register button faded and not clickable */
.lwdp-card-cancelled .lwdp-btn-register,
.lwdp-card-finished .lwdp-btn-register,
.lwdp-card-full .lwdp-btn-register {
	opacity: 0.5;
	pointer-events: none;
	cursor: not-allowed;
}

.lwdp-btn-more {
	background: linear-gradient(135deg, #22c55e 0%, #8b5cf6 100%);
	color: #fff;
	padding: 0.6rem 1.5rem;
}

/* Blog cards (link wrapper) */
.lwdp-blog-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease;
}

.lwdp-blog-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.lwdp-blog-image {
	aspect-ratio: 16/10;
	overflow: hidden;
	background: #e4e4e7;
}

.lwdp-blog-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e4e4e7;
}

.lwdp-blog-placeholder-icon {
	font-size: 0.9rem;
	font-weight: 600;
	color: #a1a1aa;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.lwdp-blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lwdp-blog-body {
	padding: 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.lwdp-blog-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
	padding: 0;
	line-height: 1.3;
	background: linear-gradient(90deg, var(--e-global-color-a7a522a) 0%, var(--e-global-color-307b427) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #18181B;
}

.lwdp-blog-desc {
	font-size: 0.9rem;
	color: #71717a;
	line-height: 1.45;
	margin: 0;
	flex: 1;
}

.lwdp-blog-date {
	font-size: 0.8rem;
	color: #a1a1aa;
}

.lwdp-section-actions {
	margin-top: 1rem;
}
.elementor-element.elementor-element-16ca0d1.blog-store-title.elementor-widget.elementor-widget-heading h2 a {
    text-decoration: none;
}
/* Responsive: main content first, then sidebar below; no overlap */
@media (max-width: 1024px) {
	.lwdp-wrapper {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}

	/* Main content first on mobile/tablet */
	.lwdp-article {
		order: 1;
		min-width: 0;
		width: 100%;
	}

	/* Sidebar second, full width, no sticky overlap */
	.lwdp-sidebar {
		order: 2;
		position: static;
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
		max-height: 70vh;
		align-self: stretch;
	}

	.lwdp-sidebar-scroll-inner {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		max-height: none;
	}
}

@media (max-width: 640px) {
	.lwdp-page {
		padding: 1rem 0 2rem;
	}

	.lwdp-wrapper {
		padding: 0 1rem;
		gap: 1.5rem;
	}

	.lwdp-article {
		order: 1;
	}

	.lwdp-sidebar {
		order: 2;
		position: static;
		width: 100%;
	}

	.lwdp-header-inner {
		flex-direction: column;
		text-align: center;
		padding: 1.25rem 1rem;
	}

	.lwdp-name {
		font-size: 1.4rem;
	}

	.lwdp-practices-grid,
	.lwdp-events-grid,
	.lwdp-blogs-grid {
		grid-template-columns: 1fr;
	}
}

/* Practice card: clickable to open detail modal */
.js-lwdp-practice-card,
.js-lwdp-event-card {
	cursor: pointer;
}

/* Practice & Event detail modal overlay */
.lwdp-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.2s ease, opacity 0.2s ease;
}

.lwdp-modal.lwdp-modal-open {
	visibility: visible;
	opacity: 1;
}

.lwdp-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.lwdp-modal-box {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 1;
}

/* Gradient top border (same as cards) */
.lwdp-modal-box::before {
	content: '';
	flex: 0 0 auto;
	height: 20px;
	background: linear-gradient(90deg, var(--e-global-color-a7a522a) 0%, var(--e-global-color-307b427) 100%);
	border-radius: 16px 16px 0 0;
}

.lwdp-modal-close {
	position: absolute;
	top: 0.050rem;
	right: 0.5rem;
	width: auto;
	height: auto;
	min-width: 36px;
	min-height: 36px;
	padding: 0.25rem;
	border: none;
	background: transparent;
	border-radius: 0;
	font-size: 2.25rem !important;
	line-height: 1;
	cursor: pointer;
	z-index: 100;
	color: #000 !important;
	font-weight: 700;
	transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-text-fill-color: #000 !important;
}

.lwdp-modal-close:hover,
.lwdp-modal-close:focus {
	background: transparent;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	opacity: 0.8;
	transform: scale(1.1);
}

.lwdp-modal-body {
	overflow-y: auto;
	padding: 1.5rem 1.5rem 2rem;
	max-height: 85vh;
	position: relative;
	z-index: 1;
}

.lwdp-modal-title {
	margin: 0 0 1rem;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	/* Same gradient as card titles */
	background: linear-gradient(90deg, var(--e-global-color-a7a522a) 0%, var(--e-global-color-307b427) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #18181B;
}

.lwdp-modal-title:first-child {
	margin-top: 0;
}

.lwdp-modal-image {
	margin-bottom: 1rem;
	border-radius: 12px;
	overflow: hidden;
	line-height: 0;
	max-width: 50%;
	margin-left: auto;
	margin-right: auto;
}

.lwdp-modal-image .lwdp-modal-img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: top;
}

.lwdp-modal-section {
	margin-bottom: 1rem;
}

.lwdp-modal-section-title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #18181B;
}

.lwdp-modal-description {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #52525b;
}

.lwdp-modal-description p {
	margin: 0 0 0.75em;
}

.lwdp-modal-description p:last-child {
	margin-bottom: 0;
}

.lwdp-modal-description img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.lwdp-modal-duration {
	margin-bottom: 0.75rem;
}

.lwdp-modal-section.lwdp-modal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: center;
}

/* Event modal: Schedule section – one row per session (date, time, location) */
.lwdp-modal-schedule {
	margin-bottom: 1rem;
}

.lwdp-schedule-rows {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.lwdp-schedule-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: #18181B;
}

.lwdp-schedule-row .lwdp-icon {
	flex-shrink: 0;
}

.lwdp-schedule-date {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.lwdp-schedule-time {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.lwdp-schedule-location {
	margin-left: 0.25rem;
}

/* Event modal: Capacity (after schedule) */
.lwdp-modal-capacity {
	margin-bottom: 1rem;
}

.lwdp-modal-capacity-value {
	font-size: 1rem;
	font-weight: 600;
	color: #18181B;
}

.lwdp-modal-price {
	font-size: 1rem;
	font-weight: 600;
	color: #18181B;
}

.lwdp-modal-price .woocommerce-Price-amount {
	font-weight: 600;
}

/* Energy Exchange: variation options (toggle/radio list) */
.lwdp-modal-variations {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.lwdp-variation-option {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0.85rem;
	border: 2px solid #e4e4e7;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.lwdp-variation-option:hover {
	border-color: var(--e-global-color-a7a522a, #73ab89);
	background: rgba(115, 171, 137, 0.06);
}

.lwdp-variation-radio {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--e-global-color-a7a522a, #73ab89);
	cursor: pointer;
}

.lwdp-variation-option:has(.lwdp-variation-radio:checked) {
	border-color: var(--e-global-color-a7a522a, #73ab89);
	background: rgba(115, 171, 137, 0.08);
}

.lwdp-variation-label {
	flex: 1;
	font-weight: 500;
	color: #18181B;
}

.lwdp-variation-price {
	font-weight: 600;
	color: #18181B;
}

.lwdp-modal-actions .lwdp-btn-register.lwdp-register-disabled {
	opacity: 0.6;
	pointer-events: none;
	cursor: not-allowed;
}

.lwdp-modal-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid #e4e4e7;
}

.lwdp-modal-actions .lwdp-btn-register {
	background: #FFCD12;
	color: #18181B;
	padding: 0.5rem 1.25rem;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
}

.lwdp-modal-actions .lwdp-modal-bookmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Customer Reviews section (eligible purchasers only) */
.lwdp-customer-reviews .lwdp-section-title {
	margin-bottom: 1rem;
}

.lwdp-reviews-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.lwdp-review-item {
	background: #fff;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.lwdp-review-item .lwdp-review-rating {
	margin-bottom: 0.35rem;
}

.lwdp-review-item .lwdp-star-rating {
	width: 5.5em;
	height: 1.2em;
}

.lwdp-review-product {
	font-size: 0.9rem;
	color: #6b5b73;
	margin: 0 0 0.5rem;
	font-weight: 500;
}

.lwdp-review-content {
	margin: 0 0 0.75rem;
	line-height: 1.5;
	color: #18181B;
}

.lwdp-review-meta {
	font-size: 0.85rem;
	color: #71717a;
	margin: 0;
}

.lwdp-review-meta .lwdp-review-author {
	font-weight: 600;
	margin-right: 0.5rem;
}

.lwdp-review-meta .lwdp-review-date::before {
	content: " · ";
}

/* Leave a review section (for logged-in visitors who can review) */
.lwdp-leave-review-section .lwdp-section-title {
	margin-bottom: 0.5rem;
}
.lwdp-leave-review-intro {
	margin: 0 0 1rem;
	color: #4b5563;
	font-size: 0.95rem;
}
.lwdp-leave-review-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.lwdp-leave-review-list li {
	margin: 0;
}
.lwdp-btn-leave-review {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: linear-gradient(90deg, #73ab89 0%, #a877de 100%);
	color: #fff !important;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: none;
}
.lwdp-btn-leave-review:hover {
	opacity: 0.95;
}
