/* PinPress frontend styles */

/* Pinterest "P" icon (inline SVG, no external requests) */
.pinpress-pin-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 6px;
	vertical-align: -3px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738.098.119.112.224.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12 0-6.628-5.373-12-12-12z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738.098.119.112.224.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12 0-6.628-5.373-12-12-12z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- Hover save button --- */
.pinpress-hover-button {
	position: absolute;
	z-index: 9000;
	display: none;
	align-items: center;
	padding: 8px 14px;
	background: #e60023;
	color: #fff;
	border: 0;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 700;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	transition: background 0.15s ease;
}

.pinpress-hover-button.pinpress-visible {
	display: inline-flex;
}

.pinpress-hover-button:hover {
	background: #ad081b;
	color: #fff;
}

/* --- CTA banner on first image --- */
.pinpress-banner-wrap {
	position: relative;
	display: block;
	margin-bottom: 1.5em;
}

.pinpress-banner-wrap img {
	display: block;
	margin-bottom: 0;
}

.pinpress-cta-banner {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	background: #e60023;
	color: #fff;
	border: 0;
	border-radius: 0 0 4px 4px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease;
}

.pinpress-cta-banner:hover {
	background: #ad081b;
	color: #fff;
}

/* --- Follow box --- */
.pinpress-follow-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	padding: 20px;
}

.pinpress-follow-box {
	position: relative;
	max-width: 380px;
	width: 100%;
	background: #fff;
	border-radius: 12px;
	padding: 36px 28px 28px;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pinpress-follow-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: transparent;
	border: 0;
	font-size: 24px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 4px;
}

.pinpress-follow-close:hover {
	color: #111;
}

.pinpress-follow-message {
	margin: 0 0 20px;
	font-size: 16px;
	color: #333;
}

.pinpress-follow-link {
	display: inline-flex;
	align-items: center;
	padding: 12px 24px;
	background: #e60023;
	color: #fff !important;
	border-radius: 24px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease;
}

.pinpress-follow-link:hover {
	background: #ad081b;
}
