/**
 * MyCreaTools - Store / Vendor Card Styles
 */

.mct-sc-card {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
	background-color: #ffffff;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
	font-family: inherit;
	transition: all 0.3s ease;
}

.mct-sc-card * {
	box-sizing: border-box;
}

/* Header / Profile Info */
.mct-sc-header {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.mct-sc-avatar-wrap {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	background-color: #6b7280;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: 500;
	flex-shrink: 0;
}

.mct-sc-avatar-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mct-sc-info {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.mct-sc-name {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.mct-sc-name .mct-badge-pro {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #2563eb !important;
	color: #ffffff !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: 0.6px !important;
	text-transform: uppercase !important;
	padding: 2px 6px !important;
	border-radius: 4px !important;
	margin-left: 4px !important;
	vertical-align: middle !important;
	box-shadow: none !important;
	line-height: 1.2 !important;
}

.mct-sc-subtitle {
	font-size: 14px;
	color: #94a3b8;
	margin-top: 2px;
	line-height: 1.3;
}

.mct-sc-announcements {
	font-size: 15px;
	font-weight: 700;
	color: #dc2626;
	margin-top: 4px;
	line-height: 1.3;
}

.mct-sc-rating-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	flex-wrap: wrap;
}

.mct-sc-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	color: #eab308;
	font-size: 16px;
}

.mct-sc-stars svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.mct-sc-reviews {
	font-size: 15px;
	font-weight: 600;
	color: #1e293b;
}

/* Divider Lines */
.mct-sc-divider {
	width: 100%;
	height: 1px;
	background-color: #e2e8f0;
	margin: 16px 0;
}

/* Section Item Rows (Activity & Location) */
.mct-sc-section-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.mct-sc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #0f172a;
	margin-top: 2px;
	flex-shrink: 0;
}

.mct-sc-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.mct-sc-text-block {
	display: flex;
	flex-direction: column;
}

.mct-sc-main-text {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.3;
}

.mct-sc-sub-text {
	font-size: 14px;
	color: #94a3b8;
	margin-top: 2px;
	line-height: 1.3;
}

/* Map Container */
/* Map Container & Emplacement Badge Overlay */
.mct-sc-map-container {
	width: 100%;
	height: 200px;
	border-radius: 14px;
	overflow: hidden;
	margin-top: 14px;
	background-color: #f1f5f9;
	border: 1px solid #e2e8f0;
	position: relative;
}

.mct-sc-map-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mct-sc-map-container iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.mct-sc-emplacement-badge {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	max-width: calc(100% - 20px);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 10px;
	padding: 8px 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
	z-index: 10;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.mct-sc-badge-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #fef2f2;
	color: #dc2626;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mct-sc-badge-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.mct-sc-badge-details {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-align: left;
}

.mct-sc-badge-label {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #dc2626;
	line-height: 1;
	margin-bottom: 2px;
}

.mct-sc-badge-street {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mct-sc-badge-city {
	font-size: 12px;
	font-weight: 500;
	color: #475569;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Action Buttons Bar */
.mct-sc-action-bar {
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
}

.mct-sc-action-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 12px;
	font-size: 18px;
	font-weight: 700;
	color: #dc2626;
	text-decoration: none !important;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
	outline: none;
}

.mct-sc-action-btn:hover {
	color: #b91c1c;
	transform: translateY(-1px);
}

.mct-sc-action-divider {
	width: 1px;
	height: 24px;
	background-color: #cbd5e1;
	flex-shrink: 0;
}

/* Modal Lightbox Overlay for Shortcodes */
.mct-sc-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mct-sc-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.mct-sc-modal-card {
	background-color: #ffffff;
	width: 100%;
	max-width: 550px;
	max-height: 85vh;
	border-radius: 16px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transform: scale(0.95);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mct-sc-modal-overlay.is-open .mct-sc-modal-card {
	transform: scale(1);
}

.mct-sc-modal-header {
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mct-sc-modal-title {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.mct-sc-modal-close {
	background: transparent;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	transition: background 0.2s ease, color 0.2s ease;
}

.mct-sc-modal-close:hover {
	background-color: #f1f5f9;
	color: #0f172a;
}

.mct-sc-modal-body {
	padding: 20px;
	overflow-y: auto;
}

/* Responsiveness */
@media (max-width: 480px) {
	.mct-sc-card {
		padding: 18px;
	}
	.mct-sc-avatar-wrap {
		width: 64px;
		height: 64px;
		font-size: 26px;
	}
	.mct-sc-name {
		font-size: 18px;
	}
	.mct-sc-action-btn {
		font-size: 16px;
	}
}
