/**
 * HelmetHub Size Guide — button + modal (v1.1.0).
 *
 * The button renders only on variable products that carry the Size
 * (pa_size) variation attribute, i.e. helmet products. Accessories
 * and Luggage Boxes never see it.
 */
.hh-size-guide-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 10px 0 4px;
	padding: 7px 16px;
	border: 1px solid #d8d8d8;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.hh-size-guide-btn:hover {
	border-color: #e10b1f;
	color: #e10b1f;
}

.hh-size-guide-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.72);
}

.hh-size-guide-modal.hh-open {
	display: flex;
}

.hh-size-guide-dialog {
	position: relative;
	width: 100%;
	max-width: 960px;
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	border-radius: 16px;
	padding: 18px;
}

.hh-size-guide-dialog img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.hh-size-guide-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.hh-size-guide-close:hover {
	background: #e10b1f;
}

body.hh-size-guide-open {
	overflow: hidden;
}
