:root {
	--as-primary: #0B0D35;
	--as-secondary: #F2294B;
	--as-button: #0B0D35;
	--as-bg: #f6f6fb;
	--as-card: #fff;
	--as-text: #171830;
	--as-border: #dfe0eb;
	--as-success: #F2294B;
	--as-error: #b42318;
	--as-radius: 12px;
	--as-width: 580px;
}

* { box-sizing: border-box; }
html { background: var(--as-bg); }
body.aulasync-checkout-page {
	background:
		radial-gradient(circle at 10% 0, color-mix(in srgb, var(--as-primary) 8%, transparent), transparent 30rem),
		var(--as-bg);
	color: var(--as-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
	min-height: 100vh;
}

.as-shell {
	margin: 0 auto;
	max-width: calc(var(--as-width) + 48px);
	padding: 28px 24px 40px;
	width: 100%;
}
.as-brand {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: center;
	margin: 0 0 24px;
	min-height: 36px;
}
.as-brand img { display: block; height: auto; max-height: 42px; max-width: 180px; }
.as-login-prompt {
	color: var(--as-login-text, var(--as-text));
	font-size: var(--as-login-size, 14px);
	margin: 0 0 16px;
	text-align: var(--as-login-align, center);
}
.as-login-prompt span { margin-right: 4px; }
.as-login-prompt a {
	color: var(--as-login-link, var(--as-secondary));
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.as-product-hero,
.as-section,
.as-order-bump {
	background: var(--as-card);
	border: 1px solid var(--as-border);
	border-radius: var(--as-radius);
	box-shadow: 0 12px 36px rgba(11, 13, 53, .07);
	margin-bottom: 16px;
	padding: 24px;
}
.as-product-hero {
	align-items: center;
	display: flex;
	gap: 18px;
}
.as-product-hero > img {
	aspect-ratio: 1;
	border-radius: calc(var(--as-radius) - 4px);
	height: 78px;
	object-fit: cover;
	width: 78px;
}
.as-eyebrow {
	color: var(--as-secondary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	margin: 0 0 4px;
}
.as-product-hero h1 {
	font-size: clamp(18px, 3vw, 22px);
	line-height: 1.2;
	margin: 0 0 5px;
}
.as-price { font-size: 18px; font-weight: 800; }
.as-price del { color: #82908c; font-size: 13px; font-weight: 500; }
.as-price ins { text-decoration: none; }
.as-price small { color: #65716e; font-size: 12px; font-weight: 500; }

.as-section h2 {
	align-items: center;
	display: flex;
	font-size: 17px;
	gap: 8px;
	margin: 0 0 18px;
}
.as-section h2 span { color: var(--as-secondary); font-size: 12px; }
.as-section-note { color: #64706d; font-size: 12px; margin: -10px 0 16px; }
.as-section .form-row { margin: 0 0 14px !important; padding: 0 !important; width: 100% !important; }
.as-section label { color: #34423e; display: block; font-size: 12px; font-weight: 650; margin: 0 0 6px; }
.as-section input.input-text,
.as-section select,
.as-section textarea {
	background: #fff;
	border: 1px solid var(--as-border);
	border-radius: 8px;
	box-shadow: none;
	color: var(--as-text);
	font-family: inherit;
	font-size: 14px;
	min-height: 46px;
	outline: none;
	padding: 10px 12px;
	transition: border-color .18s, box-shadow .18s;
	width: 100%;
}
.as-section input.input-text:focus,
.as-section select:focus,
.as-section textarea:focus {
	border-color: var(--as-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--as-primary) 14%, transparent);
}
.as-section .select2-container .select2-selection--single { border: 1px solid var(--as-border); height: 46px; }
.as-section .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.as-section .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.as-phone-field .description { color: var(--as-secondary); font-size: 11px; margin-top: 4px; }
.as-phone-control { display: flex; width: 100%; }
.as-phone-prefix {
	align-items: center;
	background: #f4f4f9;
	border: 1px solid var(--as-border);
	border-radius: 8px 0 0 8px;
	color: var(--as-text);
	display: inline-flex;
	font-size: 13px;
	font-weight: 750;
	padding: 0 11px;
}
.as-phone-control #billing_phone { border-radius: 0 8px 8px 0; border-left: 0; min-width: 0; }
.woocommerce-account-fields { margin-top: 10px; }

.as-native-payment > #payment,
.as-native-payment #payment {
	background: transparent;
	border-radius: 0;
}
.as-native-payment #payment ul.payment_methods {
	border: 0;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
}
.as-native-payment #payment ul.payment_methods > li {
	border: 1px solid var(--as-border);
	border-radius: 9px;
	margin: 0;
	min-height: 78px;
	padding: 0;
	position: relative;
	transition: border-color .18s, background .18s, box-shadow .18s;
}
.as-native-payment #payment ul.payment_methods > li.as-selected {
	background: color-mix(in srgb, var(--as-secondary) 7%, white);
	border-color: var(--as-secondary);
	box-shadow: 0 0 0 1px var(--as-secondary);
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(100px, 140px) minmax(0, 1fr);
}
.as-native-payment #payment ul.payment_methods > li > input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}
.as-native-payment #payment ul.payment_methods > li > label {
	align-items: center;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-size: 11px;
	font-weight: 750;
	gap: 7px;
	height: 100%;
	justify-content: center;
	margin: 0;
	min-height: 76px;
	padding: 10px 6px;
	text-align: center;
}
.as-native-payment #payment ul.payment_methods > li > label img { float: none; margin: 0; max-height: 23px; max-width: 58px; }
.as-native-payment #payment div.payment_box {
	background: #f8f8fc;
	border-radius: 8px;
	font-size: 12px;
	grid-column: 2;
	margin: 10px;
	padding: 14px;
	width: auto;
}
.as-native-payment #payment div.payment_box::before { display: none; }
.as-native-payment .place-order { display: none !important; }

.as-benefits {
	background: color-mix(in srgb, var(--as-secondary) 4%, white);
	border: 1px dashed var(--as-secondary);
	border-radius: var(--as-radius);
	margin-bottom: 16px;
	padding: 16px 20px;
}
.as-benefits p { align-items: center; display: flex; font-size: 12px; gap: 8px; margin: 5px 0; }
.as-benefits span {
	align-items: center;
	background: var(--as-success);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 9px;
	height: 16px;
	justify-content: center;
	width: 16px;
}

.as-order-bump { border: 2px dashed color-mix(in srgb, var(--as-secondary) 60%, var(--as-border)); position: relative; }
.as-bump-label {
	background: var(--as-secondary);
	border-radius: 999px;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	left: 20px;
	letter-spacing: .08em;
	padding: 4px 10px;
	position: absolute;
	top: -12px;
}
.as-bump-content { align-items: center; display: flex; gap: 14px; margin-bottom: 12px; }
.as-bump-content img { border-radius: 8px; height: 58px; object-fit: cover; width: 58px; }
.as-bump-content p { color: #65716e; font-size: 12px; margin: 3px 0; }
.as-order-bump > label { align-items: center; cursor: pointer; display: flex; font-size: 13px; font-weight: 750; gap: 8px; }
.as-order-bump input { accent-color: var(--as-secondary); height: 18px; width: 18px; }

.as-order-section .shop_table {
	border: 0 !important;
	border-collapse: collapse;
	font-size: 13px;
	margin: 0 !important;
}
.as-order-section .shop_table th,
.as-order-section .shop_table td { border-bottom: 1px solid var(--as-border); padding: 12px 4px !important; }
.as-order-section .shop_table td { text-align: right; }
.as-order-section .shop_table .order-total th,
.as-order-section .shop_table .order-total td { border-bottom: 0; color: var(--as-text); font-size: 17px; padding-top: 17px !important; }
.as-moved-place-order { border-top: 1px solid var(--as-border); margin-top: 18px; padding-top: 18px; }
.as-moved-place-order .form-row { margin-bottom: 10px !important; }
.as-moved-place-order label { align-items: flex-start; display: flex; font-size: 11px; font-weight: 500; gap: 6px; }
.as-moved-place-order input[type="checkbox"] { accent-color: var(--as-secondary); flex: 0 0 auto; margin-top: 2px; }
#place_order {
	background: var(--as-button);
	border: 0;
	border-radius: 8px;
	box-shadow: 0 9px 20px color-mix(in srgb, var(--as-button) 22%, transparent);
	color: #fff;
	cursor: pointer;
	float: none;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
	margin-top: 8px;
	min-height: 50px;
	padding: 13px 18px;
	text-transform: uppercase;
	width: 100%;
}
#place_order:hover { filter: brightness(.92); }
#place_order:disabled { cursor: wait; opacity: .6; }

.woocommerce-form-coupon-toggle,
.woocommerce-form-login-toggle { font-size: 12px; margin: 0 0 12px; }
.woocommerce-form-coupon {
	background: var(--as-card);
	border: 1px solid var(--as-border);
	border-radius: var(--as-radius);
	margin: 0 0 16px !important;
	padding: 18px !important;
}
.woocommerce-form-coupon .form-row { margin: 0 !important; padding: 3px !important; width: 50% !important; }
.woocommerce-form-coupon input { min-height: 42px; }
.woocommerce-form-coupon button { background: #263632; border-radius: 7px; color: #fff; min-height: 42px; width: 100%; }
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	background: #fff;
	border-radius: 9px;
	box-shadow: none;
	font-size: 12px;
	margin: 0 0 16px;
	padding: 14px 16px 14px 44px;
}
.woocommerce-error { border-top-color: var(--as-error); }
.woocommerce-info { border-top-color: var(--as-primary); }

.as-footer { color: #65716e; font-size: 11px; padding: 16px 10px 0; text-align: center; }
.as-footer p { margin: 0 0 8px; }
.as-footer nav { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-bottom: 8px; }
.as-footer a { color: var(--as-secondary); }
.as-processing-note { color: #65716e; font-size: 11px; margin: 8px 0 0; text-align: center; }

@media (min-width: 900px) {
	.as-shell.as-layout-columns { max-width: 1040px; }
	.as-layout-columns .as-checkout-form { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); }
	.as-layout-columns .as-summary-column { position: sticky; top: 24px; }
}

@media (max-width: 600px) {
	.as-shell { padding: 18px 14px 30px; }
	.as-brand { margin-bottom: 16px; }
	.as-product-hero,
	.as-section,
	.as-order-bump { padding: 18px; }
	.as-product-hero { gap: 13px; }
	.as-product-hero > img { height: 64px; width: 64px; }
	.as-native-payment #payment ul.payment_methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.as-native-payment #payment ul.payment_methods > li.as-selected { grid-template-columns: 1fr; }
	.as-native-payment #payment ul.payment_methods > li.as-selected > label { min-height: 64px; }
	.as-native-payment #payment div.payment_box { grid-column: 1; margin-top: 0; }
	.woocommerce-form-coupon .form-row { width: 100% !important; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}
