/**
 * Design stroke icons before a button label (Pay & Play, Plan Your Visit).
 *
 * Add the CSS classes "hc-btn-icon hc-btn-icon--<name>" to a Divi Button
 * (Advanced → CSS Class) and leave the button's own icon switched off:
 *   hc-btn-icon--copy      copy (two sheets)
 *   hc-btn-icon--download  download (arrow onto a line)
 *   hc-btn-icon--pin       map pin (18px)
 *   hc-btn-icon--instagram / hc-btn-icon--facebook   social marks (18px)
 * The icon takes the label colour and stays next to the label when the
 * button is full width.
 */
/* The long selector outranks Divi's own per-button `display: none !important` for a switched-off icon. */
body #page-container .et_pb_section .et_pb_button.hc-btn-icon::before {
	content: "" !important;
	display: inline-block !important;
	position: static !important;
	transform: none !important;
	opacity: 1 !important;
	width: var(--hc-btn-icon-size, 16px);
	height: var(--hc-btn-icon-size, 16px);
	/* The negative block margins keep the button's line height (and so its height) unchanged. */
	margin: -3px var(--hc-btn-icon-gap, 8px) -3px 0 !important;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask: var(--hc-btn-icon) center / contain no-repeat;
	mask: var(--hc-btn-icon) center / contain no-repeat;
}
.et_pb_button.hc-btn-icon--copy {
	--hc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}
.et_pb_button.hc-btn-icon--download {
	--hc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
	--hc-btn-icon-gap: 10px;
}
.et_pb_button.hc-btn-icon--pin {
	--hc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--hc-btn-icon-size: 18px;
	--hc-btn-icon-gap: 10px;
}
.et_pb_button.hc-btn-icon--instagram {
	--hc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.4' cy='6.6' r='0.6' fill='%23000'/%3E%3C/svg%3E");
	--hc-btn-icon-size: 18px;
}
.et_pb_button.hc-btn-icon--facebook {
	--hc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
	--hc-btn-icon-size: 18px;
}

/* More icons (mail, back-to-top, back) — same base rule as above. */
.et_pb_button.hc-btn-icon--mail {
	--hc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E");
	--hc-btn-icon-gap: 10px;
}
.et_pb_button.hc-btn-icon--up {
	--hc-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m6 11 6-6 6 6'/%3E%3C/svg%3E");
	--hc-btn-icon-size: 14px;
}
.et_pb_button.hc-btn-icon--back {
	--hc-btn-icon: var(--hc-arrow-left); /* arrows.css */
	--hc-btn-icon-size: 18px;
	--hc-btn-icon-gap: 10px;
}
@media (max-width: 767px) {
	.et_pb_button.hc-btn-icon--back {
		--hc-btn-icon-size: 14px;
	}
}
