/* WP Directory Modules - Premium Frontend CSS (v1.1.0 Marketplace Style) */

/* 1. Design System Tokens */
:root {
	/* Colors: Deep Indigo & Electric Blue */
	--wdm-primary: #1e1b4b; /* Deep Indigo / Navy */
	--wdm-primary-hover: #312e81;
	--wdm-accent: #06b6d4; /* Electric Cyan */
	--wdm-accent-hover: #0891b2;
	--wdm-success: #10b981; /* Emerald */
	--wdm-warning: #f59e0b; /* Amber */
	--wdm-danger: #ef4444; 
	--wdm-bg: #f8fafc; /* Soft off-white */
	--wdm-card-bg: #ffffff;
	--wdm-text: #0f172a; /* Dark Slate */
	--wdm-text-light: #64748b;
	--wdm-border: #e2e8f0;
	
	/* Shadows */
	--wdm-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--wdm-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
	--wdm-shadow-md: 0 12px 24px -4px rgb(0 0 0 / 0.08), 0 4px 12px -6px rgb(0 0 0 / 0.08);
	--wdm-shadow-lg: 0 24px 48px -12px rgb(0 0 0 / 0.15);
	--wdm-shadow-glow: 0 0 20px rgba(6, 182, 212, 0.3);

	/* Radius */
	--wdm-radius-sm: 8px;
	--wdm-radius: 16px;
	--wdm-radius-lg: 24px;
	--wdm-radius-full: 9999px;
	
	/* Spacing */
	--wdm-space-xs: 4px;
	--wdm-space-sm: 8px;
	--wdm-space-md: 16px;
	--wdm-space-lg: 24px;
	--wdm-space-xl: 32px;
	--wdm-space-2xl: 48px;

	/* Misc */
	--wdm-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--wdm-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 2. Global Resets & Typography */
.wdm-directory-archive, 
.wdm-single-listing, 
.wdm-dashboard-wrapper, 
.wdm-submit-listing-wrapper,
.wdm-pricing-container {
	font-family: var(--wdm-font);
	color: var(--wdm-text);
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--wdm-space-xl) var(--wdm-space-md);
	background: transparent;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* 3. Forms & Inputs */
.wdm-form-group {
	margin-bottom: var(--wdm-space-lg);
}

.wdm-form-group label {
	display: block;
	margin-bottom: var(--wdm-space-sm);
	font-weight: 600;
	font-size: 14px;
	color: var(--wdm-primary);
}

.wdm-input, .wdm-select, .wdm-textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--wdm-border);
	border-radius: var(--wdm-radius-sm);
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	color: var(--wdm-text);
	transition: var(--wdm-transition);
	box-sizing: border-box;
	box-shadow: var(--wdm-shadow-sm);
}

.wdm-input:focus, .wdm-select:focus, .wdm-textarea:focus {
	outline: none;
	border-color: var(--wdm-accent);
	box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

/* 4. Buttons */
.wdm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: var(--wdm-radius-full);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: var(--wdm-transition);
	border: none;
	font-family: inherit;
	text-align: center;
	box-sizing: border-box;
}

.wdm-btn-primary {
	background: var(--wdm-accent);
	color: #fff;
	box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.wdm-btn-primary:hover, .wdm-btn-primary:focus {
	background: var(--wdm-accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
	color: #fff;
}

.wdm-btn-secondary {
	background: var(--wdm-primary);
	color: #fff;
}

.wdm-btn-secondary:hover, .wdm-btn-secondary:focus {
	background: var(--wdm-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(30, 27, 75, 0.2);
	color: #fff;
}

.wdm-btn-whatsapp {
	background: var(--wdm-success);
	color: #fff;
}

.wdm-btn-whatsapp:hover, .wdm-btn-whatsapp:focus {
	background: #0ea5e9; /* Shift slightly for a safer look if desired, but green is good */
	background: #059669;
	transform: translateY(-2px);
	color: #fff;
}

.wdm-btn-outline {
	background: transparent;
	border: 1px solid var(--wdm-border);
	color: var(--wdm-text);
}

.wdm-btn-outline:hover, .wdm-btn-outline:focus {
	border-color: var(--wdm-accent);
	color: var(--wdm-accent);
	background: rgba(6, 182, 212, 0.05);
}

.wdm-btn-block {
	width: 100%;
	margin-bottom: var(--wdm-space-sm);
}

.wdm-btn-small {
	padding: 8px 16px;
	font-size: 13px;
}

/* 5. Badges & Chips */
.wdm-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: var(--wdm-radius-full);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 2;
}

.wdm-badge-featured {
	background: var(--wdm-warning);
	color: #fff;
	box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.wdm-badge-verified {
	background: var(--wdm-success);
	color: #fff;
	font-size: 10px;
	padding: 2px 8px;
	margin-left: 6px;
	vertical-align: middle;
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

.wdm-chip {
	display: inline-flex;
	align-items: center;
	background: var(--wdm-bg);
	color: var(--wdm-text-light);
	padding: 4px 10px;
	border-radius: var(--wdm-radius-sm);
	font-size: 12px;
	font-weight: 500;
	border: 1px solid var(--wdm-border);
}

/* 6. Search Hero */
.wdm-hero-wrapper {
	position: relative;
	background: var(--wdm-primary);
	border-radius: var(--wdm-radius-lg);
	overflow: hidden;
	padding: 60px 40px;
	text-align: center;
	color: #fff;
	margin-bottom: var(--wdm-space-2xl);
	box-shadow: var(--wdm-shadow-md);
}

/* Subtle mesh gradient overlay */
.wdm-hero-wrapper::before {
	content: '';
	position: absolute;
	top: -50%; left: -50%; width: 200%; height: 200%;
	background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
	            radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 30%);
	pointer-events: none;
	z-index: 0;
}

.wdm-hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.wdm-hero-title {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 800;
	margin: 0 0 var(--wdm-space-md);
	color: #fff;
	line-height: 1.1;
	letter-spacing: -1px;
}

.wdm-hero-subtitle {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: var(--wdm-space-xl);
	font-weight: 400;
}

/* Search Form Bar */
.wdm-search-form {
	background: #fff;
	padding: 8px;
	border-radius: var(--wdm-radius-full);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 800px;
	margin: 0 auto;
}

.wdm-search-field {
	flex: 1;
	position: relative;
}

/* Add dividers between fields */
.wdm-search-field:not(:last-child):not(.wdm-search-submit)::after {
	content: '';
	position: absolute;
	right: 0; top: 15%; height: 70%; width: 1px;
	background: var(--wdm-border);
}

.wdm-search-field .wdm-input,
.wdm-search-field .wdm-select {
	border: none;
	background: transparent;
	height: 48px;
	box-shadow: none;
	padding-left: 20px;
}

.wdm-search-field .wdm-input:focus,
.wdm-search-field .wdm-select:focus {
	box-shadow: none;
}

.wdm-search-submit {
	flex: 0 0 auto;
}

.wdm-search-submit .wdm-btn {
	height: 48px;
	padding: 0 32px;
	font-size: 16px;
	margin: 0;
}

/* 7. Listing Grid & Cards */
.wdm-listings-grid {
	display: grid;
	gap: var(--wdm-space-xl);
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.wdm-listing-card {
	background: var(--wdm-card-bg);
	border-radius: var(--wdm-radius);
	box-shadow: var(--wdm-shadow);
	overflow: hidden;
	transition: var(--wdm-transition);
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wdm-border);
	position: relative;
	height: 100%;
}

.wdm-listing-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--wdm-shadow-md);
	border-color: rgba(6, 182, 212, 0.3);
}

.wdm-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--wdm-bg);
	overflow: hidden;
}

.wdm-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wdm-listing-card:hover .wdm-card-image img {
	transform: scale(1.08);
}

.wdm-badge-wrapper {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
}

.wdm-card-content {
	padding: var(--wdm-space-lg);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.wdm-card-title {
	margin: 0 0 var(--wdm-space-sm);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--wdm-primary);
}

.wdm-card-title a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s;
}

.wdm-card-title a:hover {
	color: var(--wdm-accent);
}

.wdm-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: var(--wdm-space-md);
}

.wdm-rating-placeholder {
	color: var(--wdm-warning);
	font-weight: 700;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.wdm-card-excerpt {
	font-size: 14px;
	color: var(--wdm-text-light);
	line-height: 1.6;
	margin-bottom: var(--wdm-space-lg);
	flex-grow: 1;
}

.wdm-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--wdm-border);
	padding-top: var(--wdm-space-md);
	margin-top: auto;
}

.wdm-price {
	font-weight: 700;
	color: var(--wdm-text);
	font-size: 16px;
}

.wdm-card-actions {
	display: flex;
	gap: 8px;
}

/* 8. Single Listing Page */
.wdm-single-cover {
	position: relative;
	width: 100%;
	height: 400px;
	border-radius: var(--wdm-radius-lg);
	overflow: hidden;
	margin-bottom: var(--wdm-space-xl);
	background: var(--wdm-primary);
	box-shadow: var(--wdm-shadow-md);
}

.wdm-single-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.wdm-single-header-overlay {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 40px;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wdm-single-title {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	margin: 0;
	line-height: 1.1;
	color: #fff;
}

.wdm-single-layout {
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: var(--wdm-space-2xl);
}

.wdm-single-layout-full {
	grid-template-columns: 1fr;
}

.wdm-section-card {
	background: var(--wdm-card-bg);
	padding: var(--wdm-space-xl);
	border-radius: var(--wdm-radius);
	box-shadow: var(--wdm-shadow);
	margin-bottom: var(--wdm-space-xl);
	border: 1px solid var(--wdm-border);
}

.wdm-section-card h2 {
	font-size: 22px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: var(--wdm-space-md);
	padding-bottom: var(--wdm-space-md);
	border-bottom: 1px solid var(--wdm-border);
	color: var(--wdm-primary);
}
.wdm-sidebar-widget {
	background: var(--wdm-card-bg);
	padding: var(--wdm-space-lg);
	border-radius: var(--wdm-radius);
	box-shadow: var(--wdm-shadow);
	margin-bottom: var(--wdm-space-xl);
	border: 1px solid var(--wdm-border);
	position: relative;
}

.wdm-sidebar-widget h3 {
	font-size: 18px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: var(--wdm-space-md);
	color: var(--wdm-primary);
}

.wdm-contact-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: var(--wdm-space-lg);
}

/* Safety & Report */
.wdm-safety-box {
	background: #fffbeb;
	border: 1px solid #fde68a;
	padding: var(--wdm-space-md);
	border-radius: var(--wdm-radius-sm);
	color: #92400e;
	font-size: 13px;
	margin-bottom: var(--wdm-space-lg);
}

.wdm-report-btn {
	background: transparent;
	border: none;
	color: var(--wdm-text-light);
	text-decoration: underline;
	font-size: 12px;
	cursor: pointer;
	padding: 0;
	transition: color 0.2s;
}
.wdm-report-btn:hover { color: var(--wdm-danger); }

/* 9. Provider Dashboard */
.wdm-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--wdm-space-2xl);
}

.wdm-dashboard-title {
	font-size: 32px;
	font-weight: 800;
	color: var(--wdm-primary);
	margin: 0;
}

.wdm-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--wdm-space-lg);
	margin-bottom: var(--wdm-space-2xl);
}

.wdm-stat-card {
	background: var(--wdm-card-bg);
	padding: var(--wdm-space-lg);
	border-radius: var(--wdm-radius);
	box-shadow: var(--wdm-shadow);
	border: 1px solid var(--wdm-border);
	position: relative;
	overflow: hidden;
}

.wdm-stat-card::after {
	content: '';
	position: absolute;
	top: 0; left: 0; width: 100%; height: 4px;
	background: var(--wdm-primary);
}
.wdm-stat-card:nth-child(2)::after { background: var(--wdm-accent); }
.wdm-stat-card:nth-child(3)::after { background: var(--wdm-success); }

.wdm-stat-label {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--wdm-text-light);
	letter-spacing: 0.5px;
	display: block;
	margin-bottom: 8px;
}

.wdm-stat-value {
	font-size: 36px;
	font-weight: 800;
	color: var(--wdm-text);
	line-height: 1;
}

.wdm-dashboard-table-wrapper {
	background: var(--wdm-card-bg);
	border-radius: var(--wdm-radius);
	box-shadow: var(--wdm-shadow);
	border: 1px solid var(--wdm-border);
	overflow-x: auto;
	margin-bottom: var(--wdm-space-2xl);
}

.wdm-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.wdm-table th {
	background: var(--wdm-bg);
	padding: 16px 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--wdm-text-light);
	letter-spacing: 0.5px;
	border-bottom: 1px solid var(--wdm-border);
}

.wdm-table td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--wdm-border);
	font-size: 14px;
	color: var(--wdm-text);
	vertical-align: middle;
}

.wdm-table tr:last-child td { border-bottom: none; }

.wdm-status-badge {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: var(--wdm-radius-full);
	font-size: 12px;
	font-weight: 600;
}
.wdm-status-publish { background: #dcfce7; color: #166534; }
.wdm-status-pending { background: #fef3c7; color: #92400e; }

/* Inbox Thread */
.wdm-thread-card {
	background: var(--wdm-card-bg);
	border-radius: var(--wdm-radius);
	box-shadow: var(--wdm-shadow);
	border: 1px solid var(--wdm-border);
	padding: var(--wdm-space-lg);
	margin-bottom: var(--wdm-space-md);
	border-left: 4px solid var(--wdm-border);
}
.wdm-thread-unread { border-left-color: var(--wdm-accent); }

.wdm-thread-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--wdm-space-sm);
}
.wdm-thread-customer { font-weight: 700; color: var(--wdm-primary); }
.wdm-thread-meta { font-size: 12px; color: var(--wdm-text-light); }

.wdm-chat-bubble {
	padding: 12px 16px;
	border-radius: var(--wdm-radius);
	max-width: 85%;
	margin-bottom: var(--wdm-space-sm);
	font-size: 14px;
	line-height: 1.5;
}
.wdm-chat-received {
	background: var(--wdm-bg);
	border: 1px solid var(--wdm-border);
	border-bottom-left-radius: 4px;
	margin-right: auto;
}
.wdm-chat-sent {
	background: var(--wdm-accent);
	color: #fff;
	border-bottom-right-radius: 4px;
	margin-left: auto;
}
.wdm-chat-time {
	font-size: 11px;
	opacity: 0.7;
	display: block;
	margin-top: 4px;
	text-align: right;
}

/* 10. Pricing Plans */
.wdm-pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--wdm-space-xl);
	margin: var(--wdm-space-2xl) 0;
	align-items: center;
}

.wdm-pricing-card {
	background: var(--wdm-card-bg);
	border-radius: var(--wdm-radius-lg);
	padding: var(--wdm-space-xl);
	box-shadow: var(--wdm-shadow);
	border: 1px solid var(--wdm-border);
	transition: var(--wdm-transition);
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.wdm-pricing-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--wdm-shadow-lg);
}

.wdm-pricing-featured {
	border: 2px solid var(--wdm-accent);
	box-shadow: var(--wdm-shadow-md), var(--wdm-shadow-glow);
	transform: scale(1.05);
	z-index: 10;
}

.wdm-pricing-featured:hover {
	transform: scale(1.05) translateY(-8px);
}

.wdm-pricing-badge {
	position: absolute;
	top: -12px; left: 50%;
	transform: translateX(-50%);
	background: var(--wdm-accent);
	color: #fff;
	padding: 4px 16px;
	border-radius: var(--wdm-radius-full);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.wdm-pricing-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--wdm-primary);
	margin: 0 0 var(--wdm-space-sm);
	text-align: center;
}

.wdm-pricing-price {
	font-size: 48px;
	font-weight: 800;
	color: var(--wdm-text);
	text-align: center;
	margin-bottom: var(--wdm-space-lg);
	line-height: 1;
}

.wdm-pricing-price span {
	font-size: 16px;
	font-weight: 500;
	color: var(--wdm-text-light);
}

.wdm-pricing-features {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--wdm-space-xl);
	flex-grow: 1;
}

.wdm-pricing-features li {
	padding: 12px 0;
	border-bottom: 1px solid var(--wdm-border);
	color: var(--wdm-text);
	font-size: 15px;
	display: flex;
	align-items: center;
}

.wdm-pricing-features li:last-child { border-bottom: none; }
.wdm-pricing-features li svg, 
.wdm-pricing-features li::before {
	content: "✓";
	color: var(--wdm-success);
	font-weight: 800;
	margin-right: 12px;
	font-size: 16px;
}

/* 11. Empty States */
.wdm-empty-state {
	text-align: center;
	padding: var(--wdm-space-2xl) var(--wdm-space-md);
	background: var(--wdm-card-bg);
	border-radius: var(--wdm-radius-lg);
	border: 1px dashed var(--wdm-border);
	color: var(--wdm-text-light);
}
.wdm-empty-icon {
	font-size: 48px;
	margin-bottom: var(--wdm-space-md);
	opacity: 0.5;
}

/* 12. Responsive Adjustments */
@media (max-width: 1024px) {
	.wdm-single-layout {
		grid-template-columns: 1fr;
	}
	.wdm-sidebar-widget {
		position: static;
	}
	.wdm-pricing-featured {
		transform: scale(1);
	}
	.wdm-pricing-featured:hover {
		transform: translateY(-8px);
	}
}

@media (max-width: 768px) {
	.wdm-search-form {
		flex-direction: column;
		border-radius: var(--wdm-radius);
		padding: var(--wdm-space-sm);
	}
	.wdm-search-field:not(:last-child):not(.wdm-search-submit)::after {
		display: none;
	}
	.wdm-search-field .wdm-input,
	.wdm-search-field .wdm-select {
		border: 1px solid var(--wdm-border);
		border-radius: var(--wdm-radius-sm);
		margin-bottom: 8px;
		height: 48px;
	}
	.wdm-search-submit .wdm-btn {
		width: 100%;
	}
	
	.wdm-dashboard-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

@media (max-width: 480px) {
	.wdm-listings-grid {
		grid-template-columns: 1fr;
	}
	.wdm-hero-wrapper {
		padding: 40px 20px;
	}
	.wdm-single-title {
		font-size: 28px;
	}
	.wdm-single-header-overlay {
		padding: 20px;
	}
	.wdm-card-actions {
		flex-direction: column;
		width: 100%;
	}
	.wdm-card-actions .wdm-btn {
		width: 100%;
	}
}

.wdm-premium-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.wdm-premium-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
	border-color: #eab308 !important;
}

/* Profile horizontal gallery strip */
.wdm-profile-gallery-strip {
	width: 100%;
	margin: 0;
	padding: 0 0 40px;
	background: #fff;
	overflow: hidden;
}

.wdm-profile-gallery-track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	padding: 0;
}

.wdm-profile-gallery-track::-webkit-scrollbar {
	height: 0;
}

.wdm-profile-gallery-item {
	position: relative;
	flex: 0 0 clamp(190px, 20vw, 280px);
	height: clamp(280px, 29vw, 410px);
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: #f1f5f9;
	scroll-snap-align: start;
	box-shadow: none;
	border: 1px solid #e2e8f0;
}

.wdm-profile-gallery-item img,
.wdm-profile-gallery-item video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.wdm-profile-gallery-video {
	flex-basis: clamp(190px, 20vw, 280px);
}

@media (max-width: 768px) {
	.wdm-profile-gallery-strip {
		padding-bottom: 28px;
	}

	.wdm-profile-gallery-track {
		gap: 8px;
	}

	.wdm-profile-gallery-item,
	.wdm-profile-gallery-video {
		flex-basis: 68vw;
		height: 96vw;
		max-height: 460px;
		border-radius: 8px;
	}
}
/* Standardized overlay badges */
.wdm-photo-badge,
.wdm-card-category-badge,
.wdm-gold-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 26px !important;
	padding: 4px 10px !important;
	border-radius: 6px !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.wdm-photo-badge-gold,
.wdm-gold-badge {
	background: #000 !important;
	color: #facc15 !important;
	border-color: #eab308 !important;
}

.wdm-photo-badge-category-aa,
.wdm-card-category-aa {
	background: #2563eb !important;
	color: #fff !important;
}

.wdm-photo-badge-category-aaa,
.wdm-card-category-aaa {
	background: #ec4899 !important;
	color: #fff !important;
}

.wdm-photo-badge-category-a-plus,
.wdm-card-category-a-plus {
	background: #7c3aed !important;
	color: #fff !important;
}
/* Profile detail area */
.wdm-single-listing,
.wdm-single-layout-full {
	background: #fff;
}

.wdm-single-layout-full {
	padding: 8px 24px 48px;
}

.wdm-single-layout-full .wdm-single-main {
	width: min(100%, 920px);
	margin: 0 auto;
}

.wdm-single-layout-full .wdm-section-card {
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(15,23,42,0.06);
	padding: 26px 28px;
	margin: 0 0 24px;
}

.wdm-single-layout-full .wdm-section-card h2 {
	margin: 0 0 20px;
	padding: 0 0 12px;
	border-bottom: 1px solid #e4e9ef;
	color: var(--wdm-text);
	font-size: 20px;
	font-weight: 800;
}

.wdm-single-layout-full .wdm-description > div {
	max-width: 780px;
	font-size: 16px !important;
	line-height: 1.75 !important;
	color: var(--wdm-text-light) !important;
}

.wdm-single-layout-full .wdm-description p {
	margin: 0 0 18px;
}

.wdm-single-layout-full .wdm-description p:last-child {
	margin-bottom: 0;
}

.wdm-single-layout-full .wdm-services > div {
	gap: 22px !important;
	margin-top: 0 !important;
}

.wdm-single-layout-full .wdm-services h3 {
	margin: 0 0 10px !important;
	padding-left: 10px;
	border-left: 3px solid #cbd5e1;
	color: var(--wdm-text) !important;
	font-size: 13px !important;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.wdm-single-layout-full .wdm-services .wdm-chip {
	background: #f8fafc !important;
	color: var(--wdm-text) !important;
	border: 1px solid #d8e0e8 !important;
	border-radius: 6px !important;
	padding: 6px 12px !important;
	font-size: 13px !important;
	line-height: 1.2;
}

.wdm-single-layout-full .wdm-services .wdm-chip:hover {
	border-color: #94a3b8 !important;
	background: #fff !important;
}

@media (max-width: 640px) {
	.wdm-single-layout-full {
		padding: 0 16px 36px;
	}

	.wdm-single-layout-full .wdm-section-card {
		padding: 22px 18px;
	}
}
