.kst-preorder-loop-payment-options {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
	margin-top: 10px;
}

.kst-preorder-universal-card {
	position: relative;
}

.kst-preorder-universal-card .kst-preorder-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 12;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 27px;
	padding: 5px 10px;
	background: #4c293e;
	color: #fff;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
	pointer-events: none;
}

.kst-preorder-universal-card .uael-woo-products-summary-wrap .kst-preorder-loop-payment-options,
.kst-preorder-universal-card .astra-shop-summary-wrap .kst-preorder-loop-payment-options {
	margin-right: 0;
	margin-left: 0;
}

.kst-preorder-loop-payment-options .kst-preorder-loop-payment {
	width: 100%;
	min-height: 40px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 9px 8px;
	border: 1px solid #4c293e;
	border-radius: 0;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .02em;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
}

.kst-preorder-loop-payment-options .kst-preorder-loop-payment span,
.kst-preorder-loop-payment-options .kst-preorder-loop-payment b {
	color: inherit;
	font: inherit;
}

.kst-preorder-loop-payment-options .kst-preorder-loop-payment--full {
	background: #4c293e;
	color: #fff;
}

.kst-preorder-loop-payment-options .kst-preorder-loop-payment--full:hover,
.kst-preorder-loop-payment-options .kst-preorder-loop-payment--full:focus {
	background: #351b2b;
	color: #fff;
}

.kst-preorder-loop-payment-options .kst-preorder-loop-payment--deposit {
	background: #f4f0eb;
	color: #4c293e;
}

.kst-preorder-loop-payment-options .kst-preorder-loop-payment--deposit:hover,
.kst-preorder-loop-payment-options .kst-preorder-loop-payment--deposit:focus {
	background: #fff;
	color: #351b2b;
}

@media (max-width: 480px) {
	.kst-preorder-loop-payment-options .kst-preorder-loop-payment {
		min-height: 38px;
		font-size: 9px;
		white-space: normal;
	}
}

body.kst-demo-direct-checkout form.checkout.woocommerce-checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
	align-items: start;
	gap: 48px;
}

body.kst-demo-direct-checkout #ast-order-review-wrapper {
	grid-column: 1;
	grid-row: 1;
	width: 100% !important;
}

body.kst-demo-direct-checkout #customer_details {
	grid-column: 2;
	grid-row: 1;
	display: block !important;
	width: 100% !important;
}

body.kst-demo-direct-checkout #customer_details .col-1,
body.kst-demo-direct-checkout #customer_details .woocommerce-additional-fields,
body.kst-demo-direct-checkout #customer_details #payment {
	display: block !important;
	width: 100% !important;
}

body.kst-demo-direct-checkout #customer_details .col-2,
body.kst-demo-direct-checkout #customer_info,
body.kst-demo-direct-checkout #customer_details .woocommerce-billing-fields,
body.kst-demo-direct-checkout #customer_details .woocommerce-shipping-fields,
body.kst-demo-direct-checkout #customer_details .woocommerce-additional-fields__field-wrapper {
	display: none !important;
}

body.kst-demo-direct-checkout #customer_details .woocommerce-additional-fields,
body.kst-demo-direct-checkout #customer_details #payment {
	height: auto !important;
	margin: 0 !important;
}

body.kst-demo-direct-checkout #payment #place_order {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 50px;
}

body.kst-demo-direct-checkout #payment .woocommerce-terms-and-conditions-wrapper {
	display: none !important;
}

body.kst-demo-direct-checkout .ast-payment-option-heading {
	display: none !important;
}

/* Customer preorder tracking belongs to the plugin, not the historical theme. */
.kst-my-preorders {
	--kst-account-plum: #4c293e;
	--kst-account-ink: #261e22;
	--kst-account-muted: #756970;
	--kst-account-line: #d9cfc8;
	color: var(--kst-account-ink);
}

.kst-my-preorders > header {
	margin-bottom: 28px;
}

.kst-my-preorders > header h2 {
	margin: 0 0 10px;
	color: #fff;
}

.kst-my-preorders > header p {
	max-width: 68ch;
	margin: 0;
	color: #c9c0c5;
	font-size: 13px;
	line-height: 1.65;
}

.kst-preorder-record {
	margin-bottom: 28px;
	padding: clamp(24px, 4vw, 38px);
	background: rgba(252, 249, 245, .98);
	color: var(--kst-account-ink);
	box-shadow: 0 18px 36px rgba(0, 0, 0, .22);
}

.kst-preorder-record__product {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--kst-account-line);
}

.kst-preorder-record__product.has-update {
	grid-template-columns: 100px minmax(0, 1fr) minmax(180px, 260px);
}

.kst-my-preorders .kst-preorder-record__product > img.kst-preorder-record__product-image {
	width: 100px !important;
	height: 112px !important;
	max-width: 100px !important;
	object-fit: contain;
}

.kst-preorder-record__identity {
	min-width: 0;
}

.kst-preorder-record__product small {
	color: var(--kst-account-muted);
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.kst-preorder-record__product h3 {
	margin: 6px 0 7px;
	color: var(--kst-account-ink);
	font: 500 28px/1.1 "Cormorant Garamond", Georgia, serif;
}

.kst-preorder-record__product p {
	margin: 0;
	color: #5f5359;
	font-size: 12px;
}

.kst-preorder-update {
	justify-self: end;
	width: 100%;
	max-width: 260px;
	margin: 0;
}

.kst-preorder-update a {
	display: grid;
	color: inherit;
	text-decoration: none;
}

.kst-preorder-update img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border: 1px solid var(--kst-account-line);
	background: #eee6e2;
}

.kst-preorder-update figcaption {
	display: grid;
	gap: 5px;
	padding-top: 7px;
}

.kst-preorder-update figcaption span {
	color: var(--kst-account-muted);
	font-size: 9px;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.kst-preorder-update figcaption strong {
	color: var(--kst-account-ink);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.kst-preorder-update figcaption em {
	margin-top: 2px;
	color: var(--kst-account-plum);
	font-size: 9px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.kst-preorder-update a:focus-visible {
	outline: 2px solid var(--kst-account-plum);
	outline-offset: 4px;
}

.kst-preorder-updates {
	--kst-account-plum: #4c293e;
	--kst-account-ink: #261e22;
	--kst-account-muted: #706269;
	--kst-account-line: #d8ccc4;
	color: #fff;
}

.kst-preorder-updates-page {
	min-height: 70vh;
	padding: clamp(56px, 7vw, 104px) clamp(20px, 3vw, 48px);
	background: #000;
}

.kst-preorder-updates-page__inner {
	width: min(1280px, 100%);
	margin: 0 auto;
}

.kst-preorder-updates__back {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	margin-bottom: 28px;
	color: #d9cbd2;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .09em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color .2s ease;
	text-underline-offset: 5px;
}

.kst-preorder-updates__back:hover,
.kst-preorder-updates__back:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.kst-preorder-updates > header {
	max-width: 760px;
	margin-bottom: clamp(34px, 4vw, 48px);
}

.kst-preorder-updates > header small {
	color: #bcaeb5;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.kst-preorder-updates > header h2 {
	margin: 10px 0 12px;
	color: #fff;
	font: 500 clamp(42px, 5vw, 68px)/.95 "Cormorant Garamond", Georgia, serif;
	letter-spacing: -.025em;
}

.kst-preorder-updates > header p {
	margin: 0;
	color: #c9c0c5;
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.65;
}

.kst-preorder-update-history {
	display: grid;
	gap: clamp(24px, 3vw, 34px);
}

.kst-preorder-update-entry {
	display: grid;
	grid-template-columns: minmax(300px, 44%) minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	align-content: start;
	gap: 0 clamp(30px, 4vw, 54px);
	padding: clamp(28px, 3.4vw, 44px);
	border: 1px solid rgba(76, 41, 62, .12);
	background: #fbf7f2;
	color: var(--kst-account-ink);
	box-shadow: 0 20px 48px rgba(0, 0, 0, .24);
}

.kst-preorder-update-entry.is-latest {
	border-top: 5px solid var(--kst-account-plum);
}

.kst-preorder-update-entry__meta {
	grid-column: 2;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 2px 0 17px;
	border-bottom: 1px solid var(--kst-account-line);
}

.kst-preorder-update-entry__meta span {
	color: var(--kst-account-plum);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.kst-preorder-update-entry__meta time {
	color: var(--kst-account-muted);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.kst-preorder-update-entry__image {
	grid-column: 1;
	grid-row: 1 / 3;
	display: block;
	min-height: 260px;
	overflow: hidden;
	background: #eee6e2;
}

.kst-preorder-update-entry__image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	transition: transform .35s ease;
}

.kst-preorder-update-entry__image:hover img {
	transform: scale(1.018);
}

.kst-preorder-update-entry__image:focus-visible {
	outline: 3px solid var(--kst-account-plum);
	outline-offset: 4px;
}

.kst-preorder-update-entry > p {
	grid-column: 2;
	max-width: 62ch;
	margin: 24px 0 0;
	color: #44383e;
	font-size: clamp(16px, 1.45vw, 19px);
	font-weight: 500;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.kst-preorder-record dl {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0;
	padding: 22px 0;
	border-bottom: 1px solid var(--kst-account-line);
}

.kst-preorder-record dl div {
	padding: 0 18px;
	border-right: 1px solid var(--kst-account-line);
}

.kst-preorder-record dl div:first-child {
	padding-left: 0;
}

.kst-preorder-record dl div:last-child {
	padding-right: 0;
	border-right: 0;
}

.kst-preorder-record dt {
	margin-bottom: 7px;
	color: var(--kst-account-muted);
	font-size: 10px;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.kst-preorder-record dd {
	margin: 0;
	color: var(--kst-account-ink);
	font-size: 12px;
	font-weight: 600;
}

.kst-stage-track {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin: 0;
	padding: 28px 0 20px;
	list-style: none;
}

.kst-stage-track li {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 9px;
	color: #8a7f84;
	text-align: center;
	font-size: 9px;
	line-height: 1.35;
}

.kst-stage-track li::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -50%;
	width: 100%;
	height: 1px;
	background: #cfc3c8;
}

.kst-stage-track li:first-child::before {
	display: none;
}

.kst-stage-track i {
	position: relative;
	z-index: 1;
	width: 13px;
	height: 13px;
	border: 1px solid #a99ca2;
	border-radius: 50%;
	background: #faf7f3;
}

.kst-stage-track .complete i,
.kst-stage-track .current i {
	border-color: var(--kst-account-plum);
	background: var(--kst-account-plum);
}

.kst-stage-track .complete::before,
.kst-stage-track .current::before {
	background: var(--kst-account-plum);
}

.kst-stage-track .current {
	color: var(--kst-account-ink);
	font-weight: 600;
}

.kst-balance-state {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 8px;
	padding: 20px;
	background: #eee6e2;
}

.kst-balance-state > span {
	display: grid;
	gap: 5px;
	color: var(--kst-account-muted);
	font-size: 10px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.kst-balance-state b {
	color: var(--kst-account-ink);
	font: 500 24px/1 "Cormorant Garamond", Georgia, serif;
	letter-spacing: 0;
}

.kst-balance-state small {
	max-width: 46ch;
	color: #675b61;
	font-size: 10px;
	line-height: 1.6;
}

.kst-preorder-empty {
	padding: 40px;
	border: 1px solid #4b4448;
	color: #fff;
	text-align: center;
}

.kst-preorder-empty h3 {
	margin: 0 0 10px;
}

.kst-preorder-empty p {
	max-width: 52ch;
	margin: 0 auto 24px;
	color: #c9c0c5;
	font-size: 12px;
	line-height: 1.6;
}

@media (max-width: 760px) {
	main.kst-preorder-updates-page {
		box-sizing: border-box;
		padding: 36px 16px 56px !important;
	}

	body.woocommerce-preorder-updates .woocs_auto_switcher {
		display: none !important;
	}

	.kst-preorder-updates__back {
		margin-bottom: 22px;
		font-size: 12px;
	}

	.kst-preorder-updates > header {
		margin-bottom: 28px;
	}

	.kst-preorder-updates > header small {
		font-size: 11px;
	}

	.kst-preorder-updates > header h2 {
		margin-top: 8px;
		font-size: clamp(38px, 12vw, 50px);
		line-height: .98;
	}

	.kst-preorder-updates > header p {
		font-size: 15px;
		line-height: 1.6;
	}

	.kst-preorder-update-entry {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		gap: 18px;
		padding: 20px;
	}

	.kst-preorder-update-entry__meta,
	.kst-preorder-update-entry__image,
	.kst-preorder-update-entry > p {
		grid-column: 1;
		grid-row: auto;
	}

	.kst-preorder-update-entry__image,
	.kst-preorder-update-entry__image img {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.kst-preorder-update-entry__meta {
		order: -1;
		gap: 12px;
		padding-bottom: 14px;
	}

	.kst-preorder-update-entry__meta span,
	.kst-preorder-update-entry__meta time {
		font-size: 12px;
	}

	.kst-preorder-update-entry > p {
		margin-top: 0;
		font-size: 16px;
		line-height: 1.65;
	}

	.kst-preorder-record__product,
	.kst-preorder-record__product.has-update {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 16px;
	}

	.kst-my-preorders .kst-preorder-record__product > img.kst-preorder-record__product-image {
		width: 76px !important;
		height: 90px !important;
		max-width: 76px !important;
	}

	.kst-preorder-update {
		grid-column: 1 / -1;
		justify-self: stretch;
		max-width: none;
		margin-top: 4px;
	}

	.kst-preorder-record dl {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.kst-preorder-record dl div,
	.kst-preorder-record dl div:first-child,
	.kst-preorder-record dl div:last-child {
		padding: 0 0 16px;
		border-right: 0;
		border-bottom: 1px solid var(--kst-account-line);
	}

	.kst-preorder-record dl div:last-child {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.kst-stage-track {
		overflow-x: auto;
		grid-template-columns: repeat(5, minmax(82px, 1fr));
		padding-bottom: 14px;
	}

	.kst-balance-state {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 921px) {
	body.kst-demo-direct-checkout form.checkout.woocommerce-checkout {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	body.kst-demo-direct-checkout #ast-order-review-wrapper,
	body.kst-demo-direct-checkout #customer_details {
		grid-column: 1;
	}

	body.kst-demo-direct-checkout #ast-order-review-wrapper {
		grid-row: 1;
	}

	body.kst-demo-direct-checkout #customer_details {
		grid-row: 2;
	}
}
