/* ============================================================
   Clickmedia Arts — Artist Single Page Styles
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
	--cma-accent-warm: #b57a4e;
	--cma-surface:     #f5f4f0;
	--cma-surface-alt: #eceae4;
	--cma-border:      #e0ddd6;
	--cma-text:        #2a2a2a;
	--cma-muted:       #888;
	--cma-radius:      6px;
	--cma-max-w:       1320px;
}

/* ── Page Wrapper ────────────────────────────────────────── */
.cma-artist-page {
	background: #fff;
	color: var(--cma-text);
	font-family: inherit;
}

/* ── Artist Hero ─────────────────────────────────────────── */
.cma-artist-hero { 
	padding: 40px 40px 0;
}

.cma-artist-hero-inner {
	max-width: var(--cma-max-w);
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 60px;
}

/* ── Photo Column ────────────────────────────────────────── */
.cma-artist-photo-wrap {
	flex-shrink: 0;
	position: relative;
	width: 40%;
}

.cma-artist-photo-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: visible;
}

.cma-geo-svg {
	position: absolute;
	top: -30px;
	left: -30px;
	width: 110%;
	height: auto;
	z-index: 0;
}

.cma-artist-photo-link {
	display: block;
	position: relative;
	z-index: 1;
}

.cma-artist-photo {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center top;
	position: relative;
	z-index: 1;
}

.cma-artist-photo-placeholder {
	width: 100%;
	height: 380px;
	background: var(--cma-surface-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.cma-artist-photo-placeholder svg {
	width: 80px;
	height: 80px;
	fill: #bbb;
}

/* ── Details Column ──────────────────────────────────────── */
.cma-artist-details {
	flex: 1;
	min-width: 0;
}

/* Artist last name — large display heading */
.cma-artist-lastname {
	color: #1F2A44;
	font-family: "EB Garamond";
	font-size: 60px;
	font-style: normal;
	font-weight: 400;
	line-height: 70px; /* 116.667% */
	text-transform: uppercase;
	margin-top:0;
	margin-bottom: 10px;
}

/* Collections count — warm terracotta, small caps */
.cma-artist-collections {
	color:  #B993B8;
	font-family: "EB Garamond";
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px; /* 150% */
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ── Badge Pills ─────────────────────────────────────────── */
.cma-artist-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.cma-badge {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #fff;
}

.badge-emerging    { background-color: #27ae60; }
.badge-established { background-color: #2980b9; }
.badge-featured    { background-color: #e67e22; }
.badge-highlighted { background-color: #8e44ad; }

/* ── Bio ─────────────────────────────────────────────────── */
.cma-artist-bio {
	color: var(--Navy-Light, #414A60);
	font-family: "Open Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
	margin-top: 28px;
}

.cma-artist-bio p {
	margin: 0 0 1em;
}

.cma-artist-bio p:last-child {
	margin-bottom: 0;
}

.cma-artist-bio strong,
.cma-artist-bio b {
	color: var(--cma-text);
	font-weight: 700;
}

/* ── Contact List ────────────────────────────────────────── */
.cma-artist-contact {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cma-contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: #555;
}

.cma-contact-item a {
	color: var(--cma-accent-warm);
	text-decoration: none;
}

.cma-contact-item a:hover {
	text-decoration: underline;
}

.cma-contact-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cma-contact-icon svg {
	width: 17px;
	height: 17px;
	fill: var(--cma-accent-warm);
}

/* ── Contact & Socials Meta Block ────────────────────────── */
.cma-meta-label {
	color: #B993B8;
	font-family: "EB Garamond";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 30px; /* 187.5% */
	letter-spacing: 1px;
	text-transform: uppercase;
}

.cma-meta-divider {
	border: none;
	/* border-top: 1px solid var(--cma-border); */
	margin: 16px 0;
	max-width: 100%;
	height: 1px;
	background: rgba(188, 138, 186, 0.20);
}

/* Contact grid */
.cma-contact-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 40px;
}

.cma-contact-col {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cma-contact-col-title {
	color:  #414A60;
	font-family: "Open Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
}

.cma-contact-col-value {
	color:  #414A60;
	font-family: "Open Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
}


/* ── Gallery Section ─────────────────────────────────────── */
.cma-artist-gallery {
	padding: 60px 0 80px; 
}

.cma-artist-gallery-inner {
	max-width: var(--cma-max-w);
	margin: 0 auto;
	padding: 0 20px;
}

/* ── Hidden items (Load More) ────────────────────────────── */
li.product.cma-item-hidden {
	display: none !important;
}

/* ── Sold badge override ─────────────────────────────────── */
.cma-sold-badge {
	background: #fff !important;
	color: var(--cma-text) !important;
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em;
	padding: 4px 10px !important;
	border-radius: 0 !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ── No-image placeholder ────────────────────────────────── */
.cma-gallery-no-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cma-surface-alt);
}

.cma-gallery-no-image svg {
	width: 48px;
	height: 48px;
	fill: #ccc;
}

/* ── Load More ───────────────────────────────────────────── */
.cma-load-more-wrap {
	text-align: center;
	margin-top: 50px;
}

.cma-load-more-btn {
	display: inline-block;
	padding: 12px 40px;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: none;
	color: var(--cma-text);
	background: transparent;
	border: 1px solid var(--cma-border);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.cma-load-more-btn:hover {
	border-color: var(--cma-text);
	color: var(--cma-text);
}
.cma-artist-instagram-sidebar .rainbowinsta-picker-wrap {
	padding: 100px 24px 100px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media ( max-width: 900px ) {
	.cma-artist-hero-inner {
		gap: 40px;
	}

	.cma-artist-photo-wrap {
		width: 260px;
	}

	.cma-artist-photo,
	.cma-artist-photo-placeholder {
		height: 320px;
	}
}
@media ( max-width: 1024px ) {
	.cma-artist-instagram-sidebar .rainbowinsta-picker-wrap {
		padding: 40px 15px 60px;
	}
}

@media ( max-width: 700px ) {
	.cma-artist-hero {
		padding: 40px 20px;
	}

	.cma-artist-hero-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}

	.cma-artist-photo-wrap {
		width: 100%;
		max-width: 300px;
	}

	.cma-artist-photo,
	.cma-artist-photo-placeholder {
		height: 300px;
	}

	.cma-artist-gallery {
		padding: 40px 0 60px;
	}
}

@media ( max-width: 480px ) {
	.cma-artist-lastname {
		font-size: 2rem;
	}
}

/* ── Artist Instagram sidebar ────────────────────────────────────────────── */

.cma-artist-instagram-sidebar {
	width: 100%;
	overflow: hidden;
}

.cma-artist-instagram-sidebar .rainbowinsta-picker-row {
	max-width: 1720px;
	margin: 0 auto;
}

.cma-artist-meta .eltdf-widget-title {
	color:  #B993B8;
	font-family: "EB Garamond";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 30px; /* 187.5% */
	letter-spacing: 1px;
	text-transform: uppercase;
}

.cma-artist-name-wrapper {
	color: #414A60;
	font-family: "EB Garamond";
	font-size: 24px;
	font-style: italic;
	font-weight: 500;
	line-height: 26px;
	margin-bottom: 27px;
}

/* ── WooCommerce Shop – Load More ────────────────────────── */
.cma-shop-load-more-wrap {
	text-align: center;
	margin-top: 50px;
	padding-bottom: 60px;
	width: 100%;
	clear: both;
}

.cma-shop-load-more-btn {
	display: inline-block;
	padding: 14px 48px;
	font-family: "Open Sans", sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cma-text, #2a2a2a);
	background: transparent;
	border: 1px solid var(--cma-border, #e0ddd6);
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
	outline: none;
}

.cma-shop-load-more-btn:hover:not(:disabled) {
	border-color: var(--cma-text, #2a2a2a);
}

.cma-shop-load-more-btn.is-loading {
	opacity: 0.5;
	cursor: wait;
}

.cma-shop-load-more-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}