/* ==========================================================================
   Fresha-style Dokan Vendor Store — stylesheet
   Enqueue only on the vendor store page (see functions-snippet.php)
   ========================================================================== */

:root {
	--fresha-accent: #0b8379;
	--fresha-accent-dark: #086b62;
	--fresha-text: #1a1a1a;
	--fresha-muted: #6b7280;
	--fresha-border: #e5e7eb;
	--fresha-bg-card: #ffffff;
	--fresha-radius: 12px;
}

.fresha-store-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px 60px;
	color: var(--fresha-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------------- Header ---------------- */
.fresha-store-header {
	margin-bottom: 24px;
}

.fresha-store-banner {
	width: 100%;
	height: 260px;
	border-radius: var(--fresha-radius);
	background-size: cover;
	background-position: center;
	background-color: #f2f2f2;
}

.fresha-store-banner--placeholder {
	background: linear-gradient(135deg, #eef2f1, #dfe9e8);
}

.fresha-store-identity {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: -48px;
	padding: 0 8px;
	flex-wrap: wrap;
}

.fresha-store-logo img {
	width: 96px;
	height: 96px;
	border-radius: 6px;
	object-fit: cover;
	border: 4px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	background: #fff;
}

.fresha-store-heading {
	flex: 1;
	min-width: 200px;
	padding-top: 48px;
}

.fresha-store-name {
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 4px;
}

.fresha-store-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--fresha-muted);
}

.fresha-store-rating {
	color: var(--fresha-text);
	font-weight: 600;
}

.fresha-store-rating-count {
	color: var(--fresha-muted);
	font-weight: 400;
}

.fresha-store-status.is-open { color: var(--fresha-accent); font-weight: 600; }
.fresha-store-status.is-closed { color: #b91c1c; font-weight: 600; }

.fresha-store-actions {
	padding-top: 48px;
}

.fresha-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color .15s ease, color .15s ease;
}

.fresha-btn-primary {
	background: var(--fresha-accent);
	color: #fff;
}
.fresha-btn-primary:hover { background: var(--fresha-accent-dark); color:#fff; }

.fresha-btn-outline {
	background: #fff;
	color: var(--fresha-text);
	border-color: var(--fresha-border);
}
.fresha-btn-outline:hover { border-color: var(--fresha-text); }

/* Sticky sub-nav tabs */
.fresha-store-tabs {
	display: flex;
	gap: 24px;
	margin-top: 24px;
	border-bottom: 1px solid var(--fresha-border);
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 20;
	overflow-x: auto;
}

.fresha-tab-link {
	padding: 12px 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--fresha-muted);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}

.fresha-tab-link.is-active {
	color: var(--fresha-text);
	border-bottom-color: var(--fresha-accent);
}

.dokan-store-products-filter-area.dokan-clearfix{display:none !important;}

/* ---------------- Body layout ---------------- */
.fresha-store-body {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 32px;
	margin-top: 24px;
	align-items: start;
}

@media (max-width: 860px) {
	.fresha-store-body {
		grid-template-columns: 1fr;
	}
	.fresha-store-side {
		order: -1;
	}
}

.fresha-section {
	padding: 32px 0;
	border-bottom: 1px solid var(--fresha-border);
	scroll-margin-top: 64px;
}
.fresha-section:last-child { border-bottom: none; }

.fresha-section-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 16px;
}

.fresha-about-text {
	color: var(--fresha-text);
	line-height: 1.6;
}

/* ---------------- Services ---------------- */
.fresha-service-list {
	display: flex;
	flex-direction: column;
}

.fresha-service-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--fresha-border);
}
.fresha-service-row:last-child { border-bottom: none; }

.fresha-service-title {
	font-weight: 600;
	color: var(--fresha-text);
	text-decoration: none;
	display: block;
}
.fresha-service-title:hover { color: var(--fresha-accent); }

.fresha-service-duration {
	display: block;
	font-size: 13px;
	color: var(--fresha-muted);
	margin-top: 2px;
}

.fresha-service-side {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.fresha-service-price {
	font-weight: 600;
}

/* ---------------- Team ---------------- */
.fresha-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 20px;
}

/* ---------------- Reviews ---------------- */
.fresha-review-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.fresha-review-item {
	display: flex;
	gap: 12px;
}

.fresha-review-avatar img {
	border-radius: 50%;
}

.fresha-review-top {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.fresha-review-author {
	font-weight: 600;
}

.fresha-review-stars {
	color: #f5a524;
	font-size: 13px;
}

.fresha-review-text {
	margin: 0 0 4px;
	line-height: 1.5;
}

.fresha-review-date {
	font-size: 12px;
	color: var(--fresha-muted);
}

/* ---------------- Sidebar / info card ---------------- */
.fresha-card {
	background: var(--fresha-bg-card);
	border: 1px solid var(--fresha-border);
	border-radius: var(--fresha-radius);
	padding: 20px;
	margin-bottom: 20px;
}

.fresha-card-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 12px;
}

.fresha-info-row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid var(--fresha-border);
}
.fresha-info-row:last-child { border-bottom: none; }

.fresha-info-icon { font-size: 16px; line-height: 1.4; }

.fresha-info-value {
	font-weight: 500;
	color: var(--fresha-text);
	text-decoration: none;
	display: block;
}

.fresha-info-link {
	font-size: 13px;
	color: var(--fresha-accent);
	text-decoration: none;
}

.fresha-muted { color: var(--fresha-muted); font-weight: 400; }

.fresha-map-embed {
	margin: 8px 0 4px;
	border-radius: 8px;
	overflow: hidden;
}

.fresha-hours-list { width: 100%; }

.fresha-hours-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	padding: 3px 0;
}

.fresha-hours-day { color: var(--fresha-muted); }

.fresha-social-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.fresha-social-icon {
	font-size: 12px;
	padding: 6px 10px;
	border: 1px solid var(--fresha-border);
	border-radius: 6px;
	text-decoration: none;
	color: var(--fresha-text);
}
