/*!
 * SoftX Elements — Size chart & size guide pop-up
 */

.sxe-sc {
	--sxe-sc-ink: #17120E;
	--sxe-sc-text: #3A2E25;
	--sxe-sc-muted: #8C8074;
	--sxe-sc-gold: var(--sxe-accent, #E2AD44);
	--sxe-sc-gold2: var(--sxe-accent, #E2AD44);
	--sxe-sc-card: #FFFFFF;
	--sxe-sc-soft: #FAF7F2;
	--sxe-sc-thead: #17120E;
	--sxe-sc-thead-c: #F3ECE1;
	--sxe-sc-hl: #FBF3E3;
	--sxe-sc-line: #ECE5DA;
	--sxe-sc-r: var(--sxe-r-box, 16px);
	--sxe-sc-r-sm: var(--sxe-r-sm, 10px);
	--sxe-sc-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
	display: grid;
	gap: 22px;
	color: var(--sxe-sc-text);
	font-size: 14px;
	line-height: 1.55;
	text-align: left;
}

.sxe-sc *,
.sxe-sc *::before,
.sxe-sc *::after {
	box-sizing: border-box;
}

.sxe-sc [hidden] {
	display: none !important;
}

.sxe-sc__i {
	flex: none;
	width: 16px;
	height: 16px;
}

/* ---------- Head ---------- */
.sxe-sc__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px 28px;
}

.sxe-sc__htext {
	display: grid;
	gap: 8px;
	max-width: 660px;
}

.sxe-sc__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sxe-sc-gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.sxe-sc .sxe-sc__title {
	margin: 0;
	color: var(--sxe-sc-ink);
	font-family: var(--sxe-sc-serif);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.01em;
	text-transform: none;
}

.sxe-sc__intro {
	margin: 0;
	color: var(--sxe-sc-muted);
	font-size: 14px;
	line-height: 1.6;
}

.sxe-sc__ctrls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.sxe-sc__seg {
	display: inline-flex;
	padding: 4px;
	border: 1px solid var(--sxe-sc-line);
	border-radius: 999px;
	background: var(--sxe-sc-card);
}

.sxe-sc .sxe-sc__segbtn {
	min-width: 64px;
	height: 38px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: var(--sxe-sc-muted);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.sxe-sc .sxe-sc__segbtn:hover {
	background: transparent;
	color: var(--sxe-sc-ink);
}

.sxe-sc .sxe-sc__segbtn.is-on {
	background: var(--sxe-sc-ink);
	color: #FFFFFF;
}

.sxe-sc .sxe-sc__segbtn:focus-visible {
	outline: 2px solid var(--sxe-sc-gold);
	outline-offset: 2px;
}

.sxe-sc__seg--chart .sxe-sc__segbtn {
	min-width: 96px;
	font-size: 13.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sxe-sc__seg--unit .sxe-sc__segbtn {
	min-width: 48px;
	height: 32px;
	padding: 0 12px;
	font-size: 12px;
}

/* ---------- Charts ---------- */
.sxe-sc__chart {
	display: grid;
	gap: 22px;
	min-width: 0;
	container: sxe-scc / inline-size;
	animation: sxe-sc-in .35s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes sxe-sc-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Quick links */
.sxe-sc__nav {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 -2px;
	padding: 2px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.sxe-sc__nav::-webkit-scrollbar {
	display: none;
}

.sxe-sc__navg {
	flex: none;
	margin: 0 4px 0 10px;
	color: var(--sxe-sc-gold);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.sxe-sc__navg:first-child {
	margin-left: 0;
}

.sxe-sc .sxe-sc__navl {
	flex: none;
	padding: 7px 14px;
	border: 1px solid var(--sxe-sc-line);
	border-radius: 999px;
	background: var(--sxe-sc-card);
	color: var(--sxe-sc-text);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.sxe-sc .sxe-sc__navl:hover,
.sxe-sc .sxe-sc__navl:focus-visible,
.sxe-sc .sxe-sc__navl.is-on {
	border-color: var(--sxe-sc-ink);
	color: var(--sxe-sc-ink);
}

.sxe-sc .sxe-sc__navl.is-on {
	background: var(--sxe-sc-ink);
	color: #FFFFFF;
}

/* Find your size */
.sxe-sc__finder {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	padding: 16px 20px;
	border: 1px solid #EADFCB;
	border-radius: var(--sxe-sc-r);
	background: linear-gradient(135deg, #FBF7F0, #F6EEE1);
}

.sxe-sc__ftext {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.sxe-sc__ftext > .sxe-sc__i {
	width: 38px;
	height: 38px;
	padding: 10px;
	border-radius: 50%;
	background: var(--sxe-sc-ink);
	color: var(--sxe-sc-gold2);
}

.sxe-sc__ftext div {
	display: grid;
	gap: 2px;
	line-height: 1.3;
}

.sxe-sc__ftext b {
	color: var(--sxe-sc-ink);
	font-size: 15px;
	font-weight: 600;
}

.sxe-sc__ftext span {
	color: var(--sxe-sc-muted);
	font-size: 12.5px;
}

.sxe-sc__ftext span.is-match {
	color: var(--sxe-sc-ink);
	font-weight: 600;
}

.sxe-sc__ftext span.is-match b {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 10px;
	border-radius: 999px;
	background: var(--sxe-sc-ink);
	color: var(--sxe-sc-gold2);
	font-size: 13px;
}

.sxe-sc__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sxe-sc__fld {
	position: relative;
	display: grid;
	gap: 3px;
	margin: 0;
	cursor: text;
}

.sxe-sc__fld > span {
	color: var(--sxe-sc-muted);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.sxe-sc .sxe-sc__fld input {
	width: 104px;
	height: 40px;
	margin: 0;
	padding: 0 34px 0 12px;
	border: 1px solid #DCD2C3;
	border-radius: var(--sxe-sc-r-sm);
	background: #FFFFFF;
	box-shadow: none;
	color: var(--sxe-sc-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	-moz-appearance: textfield;
}

.sxe-sc .sxe-sc__fld input::-webkit-outer-spin-button,
.sxe-sc .sxe-sc__fld input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.sxe-sc .sxe-sc__fld input:focus {
	border-color: var(--sxe-sc-ink);
	box-shadow: 0 0 0 3px rgba(226, 173, 68, .16);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sxe-accent, #E2AD44) 16%, transparent);
	outline: 0;
}

.sxe-sc__fld em {
	position: absolute;
	right: 12px;
	bottom: 12px;
	color: var(--sxe-sc-muted);
	font-size: 12px;
	font-style: normal;
	line-height: 1;
	pointer-events: none;
}

/* Group heading */
.sxe-sc .sxe-sc__group {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 10px 0 0;
	color: var(--sxe-sc-ink);
	font-family: var(--sxe-sc-serif);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.sxe-sc .sxe-sc__group::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--sxe-sc-line);
}

.sxe-sc__group:first-child {
	margin-top: 0;
}

.sxe-sc__tables {
	display: grid;
	grid-auto-flow: row dense;
	gap: 18px;
	min-width: 0;
}

/* Wide pages: two tables side by side. */
@container sxe-scc (min-width: 1080px) {
	.sxe-sc__tables {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sxe-sc__group,
	.sxe-sc__card--wide {
		grid-column: 1 / -1;
	}

	.sxe-sc__card:not(.sxe-sc__card--wide) .sxe-sc__table {
		min-width: 0;
	}
}

/* Table card */
.sxe-sc__card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--sxe-sc-line);
	border-radius: var(--sxe-sc-r);
	background: var(--sxe-sc-card);
	scroll-margin-top: 90px;
	transition: box-shadow .3s ease, border-color .3s ease;
}

.sxe-sc__card.is-flash {
	border-color: var(--sxe-sc-gold);
	box-shadow: 0 0 0 3px rgba(226, 173, 68, .22);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sxe-accent, #E2AD44) 22%, transparent);
}

.sxe-sc__chead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
}

.sxe-sc .sxe-sc__ctitle {
	margin: 0;
	color: var(--sxe-sc-ink);
	font-family: var(--sxe-sc-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.sxe-sc__unitlbl {
	flex: none;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--sxe-sc-soft);
	color: var(--sxe-sc-gold);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.sxe-sc__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	/* Soft shadow on the right while there is more to scroll. */
	background:
		linear-gradient(to left, var(--sxe-sc-card) 30%, rgba(255, 255, 255, 0)) right / 40px 100% no-repeat local,
		radial-gradient(farthest-side at 100% 50%, rgba(23, 18, 14, .14), rgba(23, 18, 14, 0)) right / 12px 100% no-repeat scroll;
}

.sxe-sc__scroll:focus-visible {
	outline: 2px solid var(--sxe-sc-gold);
	outline-offset: -2px;
}

.sxe-sc .sxe-sc__table {
	width: 100%;
	min-width: 520px;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	background: transparent;
	font-size: 13.5px;
	font-variant-numeric: tabular-nums;
	table-layout: auto;
}

.sxe-sc .sxe-sc__table th,
.sxe-sc .sxe-sc__table td {
	padding: 11px 14px;
	border: 0;
	border-top: 1px solid var(--sxe-sc-line);
	background: transparent;
	color: var(--sxe-sc-text);
	font-weight: 400;
	line-height: 1.35;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	transition: background-color .15s ease;
}

.sxe-sc .sxe-sc__table thead th {
	position: sticky;
	top: 0;
	border-top: 0;
	background: var(--sxe-sc-thead);
	color: var(--sxe-sc-thead-c);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.sxe-sc .sxe-sc__table .is-first {
	position: sticky;
	left: 0;
	z-index: 1;
	width: 1%;
	min-width: 72px;
	padding-right: 22px;
	padding-left: 18px;
	text-align: left;
}

.sxe-sc .sxe-sc__table tbody .is-first {
	background: var(--sxe-sc-card);
	color: var(--sxe-sc-ink);
	font-weight: 600;
	box-shadow: 1px 0 0 var(--sxe-sc-line);
}

.sxe-sc .sxe-sc__table thead .is-first {
	z-index: 2;
}

.sxe-sc .sxe-sc__table td.is-text {
	min-width: 180px;
	text-align: center;
	white-space: normal;
	text-wrap: balance;
}

.sxe-sc .sxe-sc__table tbody tr:nth-child(even) td,
.sxe-sc .sxe-sc__table tbody tr:nth-child(even) .is-first {
	background: var(--sxe-sc-soft);
}

.sxe-sc .sxe-sc__table tbody tr:hover td,
.sxe-sc .sxe-sc__table tbody tr:hover .is-first {
	background: var(--sxe-sc-hl);
}

.sxe-sc .sxe-sc__table tbody tr.is-match td,
.sxe-sc .sxe-sc__table tbody tr.is-match .is-first {
	background: #FFF4DC;
	color: var(--sxe-sc-ink);
	font-weight: 600;
}

.sxe-sc .sxe-sc__table tbody tr.is-match .is-first {
	box-shadow: inset 3px 0 0 var(--sxe-sc-gold2), 1px 0 0 var(--sxe-sc-line);
}

.sxe-sc__dash {
	color: #C9BCAA;
}

.sxe-sc__note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	padding: 12px 18px 14px;
	border-top: 1px solid var(--sxe-sc-line);
	background: var(--sxe-sc-soft);
	color: var(--sxe-sc-muted);
	font-size: 12.5px;
	line-height: 1.55;
}

.sxe-sc__note .sxe-sc__i {
	margin-top: 1px;
	color: var(--sxe-sc-gold);
}

/* How to measure */
.sxe-sc__how {
	padding: 20px 22px;
	border: 1px solid var(--sxe-sc-line);
	border-radius: var(--sxe-sc-r);
	background: var(--sxe-sc-card);
}

.sxe-sc .sxe-sc__htitle {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--sxe-sc-ink);
	font-family: var(--sxe-sc-serif);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.sxe-sc__htitle .sxe-sc__i {
	width: 20px;
	height: 20px;
	color: var(--sxe-sc-gold);
}

.sxe-sc__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sxe-sc__steps li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
}

.sxe-sc__n {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--sxe-sc-gold);
	border-radius: 50%;
	color: var(--sxe-sc-gold);
	font-size: 12px;
	font-weight: 600;
}

.sxe-sc__steps b {
	display: block;
	color: var(--sxe-sc-ink);
	font-size: 13.5px;
	font-weight: 600;
}

.sxe-sc__steps p {
	margin: 2px 0 0;
	color: var(--sxe-sc-muted);
	font-size: 12.5px;
	line-height: 1.5;
}

/* Bespoke */
.sxe-sc__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	padding: 24px 26px;
	border-radius: var(--sxe-sc-r);
	background: radial-gradient(120% 140% at 0% 0%, #2A211A 0%, #120E0B 60%);
	color: #D9CDBB;
}

.sxe-sc__cta > div {
	display: grid;
	gap: 6px;
	max-width: 560px;
}

.sxe-sc .sxe-sc__cta h3 {
	margin: 0;
	color: #F3ECE1;
	font-family: var(--sxe-sc-serif);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
}

.sxe-sc__cta p {
	margin: 0;
	color: #B8AA97;
	font-size: 13.5px;
}

.sxe-sc .sxe-sc__ctabtn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 46px;
	padding: 0 22px;
	border-radius: var(--sxe-sc-r-sm);
	background: var(--sxe-sc-gold2);
	color: #17120E;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform .2s ease, background-color .2s ease;
}

.sxe-sc .sxe-sc__ctabtn:hover,
.sxe-sc .sxe-sc__ctabtn:focus-visible {
	background: #F0C46A;
	color: #17120E;
	transform: translateY(-1px);
}

/* ---------- Pop-up ---------- */
.sxe-scm {
	position: fixed;
	inset: 0;
	z-index: 999990;
	display: flex;
	justify-content: flex-end;
	background: rgba(18, 14, 11, 0);
	transition: background-color .3s ease;
}

.sxe-scm[hidden] {
	display: none;
}

.sxe-scm.is-open {
	background: rgba(18, 14, 11, .55);
}

.sxe-scm__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(940px, 100%);
	height: 100%;
	background: #FFFFFF;
	box-shadow: -30px 0 80px rgba(18, 14, 11, .28);
	transform: translateX(40px);
	opacity: 0;
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s ease;
}

.sxe-scm.is-open .sxe-scm__panel {
	transform: none;
	opacity: 1;
}

.sxe-scm .sxe-scm__x {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid #ECE5DA;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: none;
	color: #17120E;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.sxe-scm .sxe-scm__x:hover,
.sxe-scm .sxe-scm__x:focus-visible {
	background: #17120E;
	color: #FFFFFF;
	transform: rotate(90deg);
}

.sxe-scm__x .sxe-sc__i {
	width: 18px;
	height: 18px;
}

.sxe-scm__body {
	flex: 1 1 auto;
	padding: 34px clamp(18px, 4vw, 44px) 40px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.sxe-scm .sxe-sc__head {
	padding-right: 56px;
}

.sxe-scm .sxe-sc .sxe-sc__title {
	font-size: clamp(28px, 3vw, 36px);
}

html.sxe-scm-lock,
html.sxe-scm-lock body {
	overflow: hidden !important;
}

/* ---------- Button ---------- */
.sxe-scb {
	--sxe-scb-c: #17120E;
	--sxe-scb-bg: transparent;
	--sxe-scb-line: #CDBEA6;
	--sxe-scb-h: var(--sxe-accent, #E2AD44);
	line-height: 1;
}

.sxe-scb .sxe-scb__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--sxe-scb-c);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
	-webkit-tap-highlight-color: transparent;
}

.sxe-scb .sxe-scb__btn .sxe-sc__i {
	width: 17px;
	height: 17px;
	color: var(--sxe-scb-h);
}

.sxe-scb .sxe-scb__btn--link span {
	padding-bottom: 2px;
	border-bottom: 1px solid var(--sxe-scb-line);
	transition: border-color .2s ease;
}

.sxe-scb .sxe-scb__btn--link:hover,
.sxe-scb .sxe-scb__btn--link:focus-visible {
	background: none;
	color: var(--sxe-scb-h);
}

.sxe-scb .sxe-scb__btn--link:hover span {
	border-color: var(--sxe-scb-h);
}

.sxe-scb .sxe-scb__btn--outline,
.sxe-scb .sxe-scb__btn--soft,
.sxe-scb .sxe-scb__btn--solid {
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid var(--sxe-scb-line);
	border-radius: var(--sxe-r-sm, 999px);
	background: var(--sxe-scb-bg);
}

.sxe-scb .sxe-scb__btn--soft {
	--sxe-scb-bg: #F6F1EA;
	--sxe-scb-line: transparent;
}

.sxe-scb .sxe-scb__btn--solid {
	--sxe-scb-bg: #17120E;
	--sxe-scb-line: #17120E;
	--sxe-scb-c: #F3ECE1;
	--sxe-scb-h: var(--sxe-accent, #E2AD44);
}

.sxe-scb .sxe-scb__btn--outline:hover,
.sxe-scb .sxe-scb__btn--soft:hover,
.sxe-scb .sxe-scb__btn--outline:focus-visible,
.sxe-scb .sxe-scb__btn--soft:focus-visible {
	border-color: var(--sxe-scb-c);
	background: var(--sxe-scb-bg);
	color: var(--sxe-scb-c);
}

.sxe-scb .sxe-scb__btn--solid:hover,
.sxe-scb .sxe-scb__btn--solid:focus-visible {
	background: #2A211A;
	color: #FFFFFF;
}

.sxe-scb .sxe-scb__btn:focus-visible {
	outline: 2px solid var(--sxe-scb-h);
	outline-offset: 3px;
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	.sxe-sc {
		gap: 18px;
	}

	.sxe-sc__head {
		align-items: flex-start;
	}

	.sxe-sc__ctrls {
		width: 100%;
		justify-content: space-between;
	}

	.sxe-sc__seg--chart {
		flex: 1 1 auto;
	}

	.sxe-sc__seg--chart .sxe-sc__segbtn {
		flex: 1 1 0;
		min-width: 0;
	}

	.sxe-sc__finder {
		padding: 14px;
	}

	.sxe-sc__fields {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
	}

	.sxe-sc .sxe-sc__fld input {
		width: 100%;
	}

	.sxe-sc__chead {
		padding: 12px 14px;
	}

	.sxe-sc .sxe-sc__table {
		min-width: 460px;
		font-size: 13px;
	}

	.sxe-sc .sxe-sc__table th,
	.sxe-sc .sxe-sc__table td {
		padding: 10px 11px;
	}

	.sxe-sc .sxe-sc__table .is-first {
		min-width: 58px;
		padding-left: 14px;
	}

	.sxe-sc__cta {
		padding: 20px;
	}

	.sxe-sc .sxe-sc__ctabtn {
		width: 100%;
		justify-content: center;
	}

	/* Full-screen sheet that slides up. */
	.sxe-scm {
		align-items: flex-end;
	}

	.sxe-scm__panel {
		width: 100%;
		height: calc(100% - 24px);
		border-radius: 18px 18px 0 0;
		transform: translateY(40px);
	}

	.sxe-scm__body {
		padding: 26px 16px 32px;
	}

	.sxe-scm .sxe-scm__x {
		top: 12px;
		right: 12px;
		width: 38px;
		height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sxe-sc__chart,
	.sxe-scm,
	.sxe-scm__panel,
	.sxe-scm .sxe-scm__x {
		animation: none !important;
		transition: none !important;
	}
}

/* ---------- Automatic button beside the size options ----------
 * The theme's own row (label | options) is left untouched: the options cell keeps its
 * table layout and only reserves room on the right, where the button sits on the first
 * row of options. The script measures the button and that row; the numbers below are
 * the fallbacks before it runs.
 */
.variations .sxe-scb-cell,
.variations td:has(.sxe-scb--auto) {
	position: relative;
	padding-right: calc(var(--sxe-scb-w, 7.6em) + 14px) !important;
}

.variations .sxe-scb-cell .sxe-scb.sxe-scb--auto,
.variations td:has(.sxe-scb--auto) .sxe-scb.sxe-scb--auto {
	position: absolute;
	top: var(--sxe-scb-top, 50%);
	right: 0;
	z-index: 2;
	margin: 0;
	transform: translateY(-50%);
}

.sxe-scb.sxe-scb--auto {
	line-height: 1;
	white-space: nowrap;
}

.sxe-scb.sxe-scb--auto .sxe-scb__btn {
	white-space: nowrap;
}

@media (max-width: 767px) {
	.variations .sxe-scb-cell,
	.variations td:has(.sxe-scb--auto) {
		padding-right: calc(var(--sxe-scb-w, 6.6em) + 10px) !important;
	}

	.sxe-scb.sxe-scb--auto .sxe-scb__btn {
		gap: 5px;
		font-size: 12px;
	}

	.sxe-scb.sxe-scb--auto .sxe-scb__btn .sxe-sc__i {
		width: 15px;
		height: 15px;
	}
}

.woocommerce-variation-add-to-cart ~ .sxe-scb--auto,
.variations + .sxe-scb--auto,
.variations_form > .sxe-scb--auto {
	display: flex;
	justify-content: flex-end;
	margin: -6px 0 14px;
}
