/* Hide the template Kadence button but keep it in DOM so we can clone it */
.sps-buy-template {
	position: absolute !important;
	left: -99999px !important;
	top: -99999px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Injected panel */
.sps-lb-panel {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2147483647;
    padding: 20px 30px;
	box-sizing: border-box;
	background: rgba(0,0,0,0.72);
	color: #fff;
	font-size: 14px;
	line-height: 1.35;
	display: none;
}

.sps-lb-panel.is-active { display: block; }

.sps-lb-title { 
	font-weight: 500; 
	font-family: var(--global-heading-font-family);
	font-size: 18px; 
	margin-bottom: 4px; 
}


@media (min-width: 768px) {
	.sps-lb-caption {
		opacity: 0.92;
		padding-right: 300px !important;
	}
	/* Buy button positioning: bottom-right over the image area */
	.sps-lb-buywrap {
		position: fixed;
		right: 35px;
		bottom: 28px;
		z-index: 2147483647;
		display: none;
	}
	
	.sps-lb-buywrap.is-active { display: block; }

	.slbOverlay {
    	opacity: .95 !important;
	}	

	/* Buy Photo Button */
	.kb-button.kb-btn-global-fill {
		font-family: 'DM Sans' sans;
		color: #ffffff !important;
		background: #01366D !important;
		border: solid 1px #ffffff !important;
	}
	.kb-button.kb-btn-global-fill:hover {
		font-family: 'DM Sans' sans;
		color: #ffffff !important;
		background: #646464 !important;
		border: solid 1px #ffffff !important;
	}

}
@media (max-width: 767px) {
	.sps-lb-caption {
		opacity: 0.92;
		min-height: 170px !important; /* Fall 2026 */
	}
	.slbContentOuter {
		padding: 0 !important;
		/*top: -90px !important; */
	}
	.slbCloseBtn {
		/*top: 20px !important;*/
	}
	.sps-lb-panel {
		padding: 10px 10px 20px 10px !important;
		background: rgba(0, 0, 0, 0.85);
	}
	
	.slbOverlay {
    	opacity: .95 !important;
	}
	
	/* Buy button positioning: bottom-right over the image area */
	.sps-lb-buywrap {
		position: fixed;
		left: 50%;
	    transform: translateX(-50%);
		white-space: nowrap;
		bottom: 15px;
		z-index: 2147483647;
		display: none;
	}

	.sps-lb-buywrap.is-active { display: block; }


	/* Buy Photo Button */
	.kb-button.kb-btn-global-fill {
		color: #ffffff !important;
		background: #01366D !important;
		border: solid 1px #ffffff;
	}
	.kb-button.kb-btn-global-fill:hover {
		color: #ffffff !important;
		background: #646464 !important;
		border: solid 1px #ffffff;
	}
	
	
	/*
	.kb-button.kb-btn-global-fill {
		color: #ffffff !important;
		background: #2a5c98 !important;
	}
	.kb-button.kb-btn-global-fill:hover {
		color: #ffffff !important;
		background: #28296f !important;
	}
	*/

}

.sps-lb-kw {
	/* disable tags */
	display: none !important; /* Fall 2026 */
	/* 
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	*/
}
.sps-lb-chip {
	border: 1px solid rgba(255,255,255,0.25);
	background: rgba(255,255,255,0.08);
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 12px;
	white-space: nowrap;
}


/* Hide common nav arrows (PhotoSwipe + Magnific). If your current lightbox uses other selectors,
   JS also hides elements that literally render as ‹ and ›. */
.pswp__button--arrow--left,
.pswp__button--arrow--right,
.mfp-arrow {
	display: none !important;
}