/* =========================================
   LILYEE SIZE CHART
========================================= */

.lilyee-size-chart-subtitle {
	margin:  10px;
	color: #33245c;
	font-size: 21px;
	font-weight: 500;
}

.lilyee-size-chart-model-note {
	margin: 18px 0 0;
	color: #7a7078;
	font-size: 14px;
	line-height: 1.6;
}

.lilyee-size-chart-model-note strong {
	color: #504e4a;
}
.lilyee-size-chart-trigger {
	display: inline-flex;
	align-items: center;
	margin-left: 14px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #8e68a5;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.lilyee-size-chart-trigger:hover {
	color: #604176;
}


/* =========================================
   MODAL
========================================= */

.lilyee-size-chart-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

.lilyee-size-chart-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}


/* BACKDROP */

.lilyee-size-chart-overlay {
	position: absolute;
	inset: 0;
	background: rgba(35, 27, 42, 0.58);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}


/* DIALOG */

.lilyee-size-chart-dialog {
	position: relative;
	z-index: 2;
	width: min(650px, 100%);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 25px 80px rgba(40, 25, 50, 0.22);
	transform: translateY(18px) scale(0.98);
	transition: transform 0.25s ease;
}

.lilyee-size-chart-modal.is-open
.lilyee-size-chart-dialog {
	transform: translateY(0) scale(1);
}


/* CLOSE */

.lilyee-size-chart-close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 5;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid #e7dfea;
	border-radius: 50%;
	background: #ffffff;
	color: #504e4a;
	font-family: Arial, sans-serif;
	font-size: 25px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.lilyee-size-chart-close:hover {
	background: #f7f1f9;
	color: #33245c;
	border-color: #cdb8d6;
}


/* HEADER */

.lilyee-size-chart-header {
	padding: 45px 55px 28px;
	text-align: center;
	border-bottom: 1px solid #eee8f0;
}

.lilyee-size-chart-eyebrow {
	display: block;
	margin-bottom: 9px;
	color: #b99ccb;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 3px;
}

.lilyee-size-chart-header h2 {
	margin: 0 0 9px;
	color: #33245c;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
	display: inline;
}

.lilyee-size-chart-header p {
	margin: 0;
	color: #77717b;
	font-size: 14px;
	line-height: 1.6;
}


/* BODY */

.lilyee-size-chart-body {
	padding: 30px 40px 38px;
}


/* TABLE */

.lilyee-size-chart-table-wrap {
	overflow-x: auto;
}

.lilyee-size-chart-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
}

.lilyee-size-chart-table th {
	padding: 14px 12px;
	background: #faf7fb;
	border-bottom: 1px solid #e5dce8;
	color: #504e4a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-align: center;
	text-transform: uppercase;
}

.lilyee-size-chart-table th:first-child {
	border-radius: 6px 0 0 0;
}

.lilyee-size-chart-table th:last-child {
	border-radius: 0 6px 0 0;
}

.lilyee-size-chart-table td {
	padding: 16px 12px;
	border-bottom: 1px solid #eee9f0;
	color: #504e4a;
	text-align: center;
}

.lilyee-size-chart-table td:first-child {
	color: #33245c;
	font-weight: 700;
}

.lilyee-size-chart-table tbody tr:last-child td {
	border-bottom: 0;
}


/* NOTE */

.lilyee-size-chart-note {
	margin: 25px;
	padding: 18px 20px;
	border-left: 3px solid #b99ccb;
	background: #faf7fb;
}

.lilyee-size-chart-note strong {
	display: block;
	margin-bottom: 5px;
	color: #33245c;
	font-size: 13px;
}

.lilyee-size-chart-note p {
	margin: 0;
	color: #77717b;
	font-size: 13px;
	line-height: 1.6;
}


/* PREVENT PAGE SCROLL */

html.lilyee-size-chart-open,
body.lilyee-size-chart-open {
	overflow: hidden;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

	.lilyee-size-chart-modal {
		padding: 12px;
	}

	.lilyee-size-chart-dialog {
		max-height: calc(100vh - 24px);
		border-radius: 10px;
	}

	.lilyee-size-chart-close {
		top: 12px;
		right: 12px;
		width: 34px;
		height: 34px;
		font-size: 22px;
	}

	.lilyee-size-chart-header {
		padding: 38px 25px 22px;
	}

	.lilyee-size-chart-header h2 {
		font-size: 26px;
	}

	.lilyee-size-chart-body {
		padding: 22px 18px 28px;
	}

	.lilyee-size-chart-table {
		min-width: 480px;
	}

	.lilyee-size-chart-trigger {
		margin-left: 10px;
		font-size: 12px;
	}

}
.variations th.label {
	display: flex;
	align-items: center;
	gap: 12px;
}

.variations th.label > label {
	margin: 0;
}

.variations th.label .lilyee-size-chart-trigger {
	margin: 0;
	padding: 0;
}