/* Shared surfaces for WooCommerce's native customer pages. */
body:has(> .hc-customer-page) { margin-inline: 0; }
.hc-customer-page + footer.goodone--gradientsminass { margin-top: 0 !important; }
.hc-customer-page {
	--hc-paper: #fff;
	--hc-canvas: #fafafa;
	--hc-subtle: #f3f3f3;
	--hc-ink: #000;
	--hc-muted: #555;
	--hc-ease: cubic-bezier(.2, .75, .25, 1);
	--hc-edge: #dedede;
	--hc-field-edge: #999;
	--hc-radius: 10px;
	--hc-gutter: clamp(16px, 4vw, 42px);
	--hc-panel-padding: clamp(18px, 3vw, 32px);
	background: var(--hc-canvas);
	color: var(--hc-ink);
	font-size: 15px;
	line-height: 1.6;
	min-height: 56vh;
	overflow-wrap: anywhere;
}
.hc-customer-page__inner {
	width: min(100%, 1320px);
	margin-inline: auto;
	padding-inline: var(--hc-gutter);
}
.hc-customer-page__header {
	background: var(--hc-subtle);
	border-bottom: 1px solid var(--hc-edge);
}
.hc-customer-page__intro {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px 32px;
	padding-block: clamp(26px, 5vw, 56px);
}
.hc-customer-page .hc-customer-page__eyebrow {
	margin: 0 0 10px;
	color: var(--hc-ink);
	font: 600 11px/1.4 Montserrat, sans-serif !important;
	letter-spacing: .19em !important;
	text-transform: uppercase !important;
}
.hc-customer-page .hc-customer-page__header h1 {
	margin: 0;
	color: var(--hc-ink);
	font: 500 clamp(30px, 5vw, 46px)/1.16 Montserrat, sans-serif !important;
	letter-spacing: -.035em !important;
}
.hc-customer-page .hc-customer-page__description {
	margin: 12px 0 0;
	max-width: 54ch;
	color: var(--hc-muted);
	font-size: 15px;
	line-height: 1.6;
}
.hc-customer-page__content {
	padding-block: clamp(20px, 4vw, 42px) clamp(36px, 7vw, 80px);
	min-width: 0;
}
.hc-customer-page__content > :last-child { margin-bottom: 0; }
.hc-customer-page__content :is(h2, h3, legend) {
	color: var(--hc-ink);
	font-family: Montserrat, sans-serif !important;
	letter-spacing: -.02em !important;
}
.hc-customer-page__content h2 { margin-top: 0; font-size: clamp(20px, 2.2vw, 26px); }
.hc-customer-page__content h3 { margin-top: 0; font-size: clamp(17px, 1.75vw, 21px); }
.hc-customer-page__content a:where(:not(.button):not(.wc-block-components-button)) {
	color: var(--hc-ink);
}
.hc-customer-page :is(a, button, summary, input, select, textarea):focus-visible {
	outline: 2px solid var(--hc-ink);
	outline-offset: 2px;
}
.hc-customer-page__content > :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) {
	margin-inline: 0;
	max-width: none;
	width: 100%;
}
.hc-customer-page__content :is(.woocommerce, .wc-block-components-sidebar-layout) {
	--wc-form-border-color: var(--hc-field-edge);
	--wc-form-border-radius: 5px;
}

.hc-purchase-steps ol {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hc-purchase-steps li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	color: var(--hc-muted);
}
.hc-purchase-steps li + li::before {
	content: '';
	width: 22px;
	border-top: 1px solid var(--hc-field-edge);
}
.hc-purchase-steps li > :is(a, span) {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	white-space: nowrap;
}
.hc-purchase-steps__number {
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	border: 1px solid var(--hc-field-edge);
	border-radius: 50%;
	color: inherit;
	font-size: 11px;
}
.hc-purchase-steps [aria-current="step"] { color: var(--hc-ink); font-weight: 650; }
.hc-purchase-steps [aria-current="step"] .hc-purchase-steps__number {
	background: var(--hc-ink);
	border-color: var(--hc-ink);
	color: #fff;
}

.hc-customer-page__content .woocommerce :is(.input-text, select:not([multiple]), textarea),
.hc-customer-page__content .select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 12px;
	background: var(--hc-paper);
	border: 1px solid var(--hc-field-edge);
	border-radius: 5px;
	color: var(--hc-ink);
	box-shadow: none;
	font-size: 15px;
	line-height: 1.45;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.hc-customer-page__content .woocommerce textarea { min-height: 100px; resize: vertical; }
.hc-customer-page__content .woocommerce :is(.input-text, select, textarea):focus {
	border-color: var(--hc-ink);
	box-shadow: 0 0 0 2px rgb(0 0 0 / .13);
}
.hc-customer-page__content .woocommerce .woocommerce-invalid .input-text {
	border-color: var(--hc-ink);
	box-shadow: inset 0 0 0 1px var(--hc-ink);
}
.hc-customer-page__content .woocommerce .form-row {
	margin: 0 0 16px;
	padding: 0;
}
.hc-customer-page__content .woocommerce .form-row label:not(.checkbox) {
	margin-bottom: 5px;
	color: var(--hc-ink);
	font-size: 14px;
	line-height: 1.45;
}
.hc-customer-page__content .woocommerce .form-row label.checkbox { font-size: 14px; }
.hc-customer-page__content :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--hc-ink); }
.hc-customer-page__content .woocommerce .form-row .required { color: var(--hc-ink); }
.hc-customer-page__content .woocommerce .password-input { display: block; }
.hc-customer-page__content .woocommerce .password-input .input-text { padding-right: 48px; }
.hc-customer-page__content .woocommerce button.show-password-input {
	right: 0;
	top: 0;
	transform: none;
	width: 44px;
	height: 46px;
	padding: 0;
}
.hc-customer-page__content .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 18px 0 0;
	line-height: 24px;
	color: var(--hc-ink);
}
.hc-customer-page__content .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 8px;
	right: 7px;
}
.hc-customer-page__content .woocommerce :is(a.button, button.button, input.button),
.hc-customer-page__content .wc-block-components-button:not(.is-link),
.hc-customer-page__content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--hc-ink);
	border-radius: 5px;
	background: var(--hc-ink);
	color: #fff;
	font: 650 12px/1.35 Montserrat, sans-serif !important;
	letter-spacing: .065em !important;
	text-transform: uppercase !important;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	transition: background-color .2s, border-color .2s, color .2s, translate .2s var(--hc-ease);
}
.hc-customer-page__content :is(a.button, button.button, input.button, .wc-block-components-button:not(.is-link), .wp-block-button__link):hover {
	background: #262626;
	border-color: #262626;
	color: #fff;
}
.hc-customer-page__content .woocommerce :is(button.button, input.button):disabled,
.hc-customer-page__content .wc-block-components-button:disabled {
	opacity: .55;
	cursor: not-allowed;
}
.hc-customer-page__content .woocommerce :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
	margin: 0 0 18px;
	border-top-color: var(--hc-ink);
	border-radius: 5px;
	background: var(--hc-subtle);
	color: var(--hc-ink);
	overflow-wrap: anywhere;
}
.hc-customer-page__content .woocommerce :is(.woocommerce-error, .woocommerce-info, .woocommerce-message)::before { color: var(--hc-ink); }
.hc-customer-page__content .wc-block-components-notice-banner:is(.is-error, .is-warning, .is-success, .is-info) {
	border-color: var(--hc-edge);
	background: var(--hc-subtle);
	color: var(--hc-ink);
}
.hc-customer-page__content .wc-block-components-notice-banner:is(.is-error, .is-warning, .is-success, .is-info) > svg {
	background: var(--hc-ink);
	fill: var(--hc-paper);
}
.hc-customer-page__content :is(.woocommerce-notices-wrapper, .wc-block-components-notices):empty { display: none; }
.hc-customer-page__content .woocommerce table.shop_table {
	width: 100%;
	margin: 0 0 20px;
	border: 1px solid var(--hc-edge);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 6px;
	background: var(--hc-paper);
}
.hc-customer-page__content .woocommerce table.shop_table :is(th, td) { padding: 12px; }
.hc-customer-page__content .woocommerce table.shop_table thead th {
	background: var(--hc-subtle);
	color: var(--hc-ink);
	font-size: 12px;
	letter-spacing: .035em;
}
.hc-customer-page__content .woocommerce table.shop_table :is(tbody th, td, tfoot th) { border-color: var(--hc-edge); }

/* My Account and its native guest forms. */
.hc-customer-page--account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(14px, 3vw, 28px);
}
.hc-customer-page--account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
.hc-customer-page--account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after { display: none; }
.hc-customer-page--account .woocommerce:has(> .woocommerce-MyAccount-navigation) > * { grid-column: 1 / -1; }
.hc-customer-page--account .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; }
.hc-customer-page--account .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; }
.hc-customer-page--account .woocommerce :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
	float: none;
	width: auto;
	min-width: 0;
}
.hc-customer-page__content :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content),
.hc-customer-page--account #customer_login > :is(.u-column1, .u-column2),
.hc-customer-page--account .woocommerce:not(:has(#customer_login)) > .woocommerce-form-login,
.hc-customer-page--account .woocommerce > .woocommerce-ResetPassword {
	background: var(--hc-paper);
	border: 1px solid var(--hc-edge);
	border-radius: var(--hc-radius);
}
.hc-customer-page--account .woocommerce-MyAccount-navigation { padding: 9px; }
.hc-customer-page--account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.hc-customer-page--account .woocommerce-MyAccount-navigation li { margin: 0; }
.hc-customer-page--account .woocommerce-MyAccount-navigation li + li { margin-top: 3px; }
.hc-customer-page--account .woocommerce-MyAccount-navigation li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 44px;
	padding: 9px 13px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 550;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}
.hc-customer-page--account .woocommerce-MyAccount-navigation li > a:hover { background: var(--hc-subtle); }
.hc-customer-page--account .woocommerce-MyAccount-navigation li.is-active > a {
	background: var(--hc-ink);
	color: #fff;
}
.hc-customer-page--account .woocommerce-MyAccount-navigation li > a::after {
	content: '';
	flex: 0 0 6px;
	height: 6px;
	margin-right: 3px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}
.hc-customer-page--account .woocommerce-MyAccount-content {
	padding: var(--hc-panel-padding);
	min-height: 290px;
}
.hc-customer-page--account .woocommerce-MyAccount-content :is(p, address) { font-size: 15px; }
.hc-customer-page--account .woocommerce-MyAccount-content p > a {
	text-decoration: underline;
	text-decoration-color: var(--hc-field-edge);
	text-underline-offset: 3px;
}
.hc-customer-page--account .woocommerce-MyAccount-content fieldset {
	margin: 22px 0;
	padding: 16px;
	border: 1px solid var(--hc-edge);
	border-radius: 6px;
}
.hc-customer-page--account .woocommerce-MyAccount-content :is(.addresses, .woocommerce-Address) { min-width: 0; }
.hc-customer-page--account .woocommerce-Address { padding: 16px; background: var(--hc-canvas); border-radius: 6px; }
.hc-customer-page--account .woocommerce-Address address { margin: 0; font-style: normal; }
.hc-customer-page--account .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	margin-bottom: 12px;
}
.hc-customer-page--account .woocommerce-Address-title h2 { margin: 0; font-size: 18px; }
.hc-customer-page--account .woocommerce-Address-title :is(h2, .edit) { float: none; }
.hc-customer-page--account .woocommerce-MyAccount-content .productGrid { margin: 0; }
.hc-customer-page--account .woocommerce-MyAccount-content .shop_table .button { margin: 3px 0; min-height: 38px; padding: 7px 12px; }
.hc-account-shortcuts { margin-top: 24px; }
.hc-account-shortcuts h2 { font-size: 18px; margin: 0 0 12px; }
.hc-account-shortcuts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hc-account-shortcuts .hc-account-shortcuts__link {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	padding: 15px;
	border: 1px solid var(--hc-edge);
	border-radius: 6px;
	background: var(--hc-canvas);
	text-decoration: none;
	transition: background-color .2s, border-color .2s, translate .2s var(--hc-ease);
}
.hc-account-shortcuts .hc-account-shortcuts__link:hover {
	border-color: var(--hc-field-edge);
	background: var(--hc-subtle);
}
.hc-account-shortcuts__link strong { font-size: 15px; }
.hc-account-shortcuts__link span { color: var(--hc-muted); font-size: 13px; line-height: 1.45; }

.hc-customer-page--account .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
	max-width: 980px;
	margin-inline: auto;
}
.hc-customer-page--account #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 3vw, 24px);
}
.hc-customer-page--account #customer_login::before,
.hc-customer-page--account #customer_login::after { display: none; }
.hc-customer-page--account #customer_login > :is(.u-column1, .u-column2) {
	float: none;
	width: auto;
	min-width: 0;
	padding: var(--hc-panel-padding);
}
.hc-customer-page--account #customer_login .woocommerce-form {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}
.hc-customer-page--account .woocommerce:not(:has(#customer_login)) > :is(h2, .woocommerce-form-login, .woocommerce-ResetPassword) {
	max-width: 540px;
	margin-inline: auto;
}
.hc-customer-page--account .woocommerce:not(:has(#customer_login)) > :is(.woocommerce-form-login, .woocommerce-ResetPassword) {
	padding: var(--hc-panel-padding);
}
.hc-customer-page--account .woocommerce-ResetPassword .form-row-first { float: none; width: 100%; }
.hc-customer-page--account .woocommerce-form-login .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
.hc-customer-page--account .woocommerce-form-login .woocommerce-form-login__rememberme input { margin: 0; }
.hc-customer-page--account .woocommerce-form :is(.woocommerce-form-login__submit, .woocommerce-form-register__submit) {
	float: none;
	width: 100%;
	min-height: 46px;
	margin: 0;
}
.hc-customer-page--account .woocommerce-form .lost_password { margin: 2px 0 0; font-size: 14px; }
.hc-customer-page--account .woocommerce-form .lost_password a { text-decoration: underline; text-underline-offset: 3px; }
.hc-customer-page--account .woocommerce-privacy-policy-text p { color: var(--hc-muted); font-size: 13px; line-height: 1.55; }
.hc-customer-page--account :is(#username, #reg_email) { scroll-margin-top: 120px; }

/* WooCommerce blocks retain their native responsive columns and payment controls. */
.hc-customer-page__content :is(.wp-block-woocommerce-cart-items-block, .wp-block-woocommerce-cart-totals-block, .wp-block-woocommerce-checkout-totals-block) {
	min-width: 0;
}
.hc-customer-page__content :is(.wp-block-woocommerce-cart-line-items-block, .wp-block-woocommerce-cart-totals-block, .wp-block-woocommerce-checkout-totals-block) {
	padding: var(--hc-panel-padding);
	background: var(--hc-paper);
	border: 1px solid var(--hc-edge);
	border-radius: var(--hc-radius);
}
.hc-customer-page__content :is(.wp-block-woocommerce-cart-totals-block, .wp-block-woocommerce-checkout-totals-block) > :last-child { margin-bottom: 0; }
.hc-customer-page__content .wp-block-woocommerce-checkout-fields-block { min-width: 0; }
.hc-customer-page__content .wc-block-components-checkout-step {
	padding: var(--hc-panel-padding);
	border: 1px solid var(--hc-edge);
	border-radius: var(--hc-radius);
	background: var(--hc-paper);
}
.hc-customer-page__content .wc-block-components-checkout-step__heading { margin-bottom: 12px; }
.hc-customer-page__content .wc-block-components-checkout-step__title { font-size: clamp(18px, 2vw, 22px); }
.hc-customer-page__content .wc-block-components-text-input input,
.hc-customer-page__content .wc-blocks-components-select .wc-blocks-components-select__select {
	border-color: var(--hc-field-edge);
	border-radius: 5px;
}
.hc-customer-page__content .wc-block-components-text-input.has-error input {
	border-color: var(--hc-ink);
	box-shadow: inset 0 0 0 1px var(--hc-ink);
}
.hc-customer-page__content .wc-block-components-validation-error { color: var(--hc-ink); }
.hc-customer-page__content .wc-block-components-quantity-selector {
	border-color: var(--hc-field-edge);
	border-radius: 5px;
}
.hc-customer-page__content table.wc-block-cart-items {
	margin: 0;
	border: 1px solid var(--hc-edge);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--hc-radius);
	background: var(--hc-paper);
	overflow: hidden;
}
.hc-customer-page__content table.wc-block-cart-items thead th {
	padding: 12px 16px;
	background: var(--hc-subtle);
}
.hc-customer-page__content table.wc-block-cart-items tbody td { padding: 16px; }
.hc-customer-page__content .wc-block-cart-items .wc-block-components-product-name { font-size: 15px; }
.hc-customer-page__content .wc-block-cart-items .wc-block-cart-item__image { width: 90px; padding-inline-end: 0; }
.hc-customer-page__content .wc-block-cart-item__image img {
	border-radius: 5px;
	background: var(--hc-canvas);
}
.hc-customer-page__content .wc-block-components-product-name { font-weight: 600; }
.hc-customer-page__content .wc-block-components-totals-coupon :is(button, input) { min-height: 42px; }
.hc-customer-page__content .wc-block-components-totals-item__value { white-space: nowrap; }
.hc-customer-page__content .wp-block-woocommerce-empty-cart-block {
	margin: 0;
	padding: var(--hc-panel-padding);
	border: 1px solid var(--hc-edge);
	border-radius: var(--hc-radius);
	background: var(--hc-paper);
}
.hc-customer-page__content :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-button.is-link {
	color: var(--hc-ink);
}
.hc-customer-page__content .wc-block-components-checkout-place-order-button,
.hc-customer-page__content .wc-block-cart__submit-button { min-height: 48px !important; }
.hc-customer-page__content .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
	position: static;
	margin-right: 6px;
}

/* Classic shortcodes, including the order pay and confirmation endpoints. */
.hc-customer-page--cart .woocommerce:has(> .woocommerce-cart-form) {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
	gap: 18px;
	align-items: start;
}
.hc-customer-page--cart .woocommerce:has(> .woocommerce-cart-form)::before,
.hc-customer-page--cart .woocommerce:has(> .woocommerce-cart-form)::after { display: none; }
.hc-customer-page--cart .woocommerce:has(> .woocommerce-cart-form) > * { grid-column: 1 / -1; }
.hc-customer-page--cart .woocommerce > .woocommerce-cart-form { grid-column: 1; min-width: 0; }
.hc-customer-page--cart .woocommerce > .cart-collaterals { grid-column: 2; min-width: 0; }
.hc-customer-page--cart .woocommerce .cart-collaterals :is(.cart_totals, .cross-sells) {
	float: none;
	width: 100%;
}
.hc-customer-page--cart .woocommerce .cart-collaterals { display: flex; flex-direction: column; gap: 16px; }
.hc-customer-page--cart .woocommerce .cart-collaterals .cart_totals { order: -1; }
.hc-customer-page--cart .woocommerce .cart_totals,
.hc-customer-page--checkout .woocommerce #customer_details,
.hc-customer-page--checkout .woocommerce #order_review,
.hc-customer-page--checkout .woocommerce-order {
	padding: var(--hc-panel-padding);
	border: 1px solid var(--hc-edge);
	border-radius: var(--hc-radius);
	background: var(--hc-paper);
}
.hc-customer-page--cart .woocommerce-cart-form table.shop_table td.actions .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hc-customer-page--cart .woocommerce-cart-form table.shop_table td.actions .coupon .input-text {
	float: none;
	width: min(100%, 175px);
	min-height: 44px;
}
.hc-customer-page--cart .woocommerce-cart-form table.shop_table .quantity .qty {
	width: 64px;
	min-height: 40px;
	padding: 6px;
}
.hc-customer-page--cart .woocommerce-cart-form table.shop_table .product-thumbnail img { width: 60px; border-radius: 4px; }
.hc-customer-page--cart .woocommerce-cart-form table.shop_table a.remove {
	display: inline-grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border: 1px solid var(--hc-edge);
	border-radius: 50%;
	color: var(--hc-ink) !important;
	font-size: 19px;
}
.hc-customer-page--cart .woocommerce-cart-form table.shop_table a.remove:hover {
	background: var(--hc-subtle);
	color: var(--hc-ink) !important;
}
.hc-customer-page--cart .woocommerce .wc-proceed-to-checkout { padding-bottom: 0; }
.hc-customer-page--cart .woocommerce .wc-proceed-to-checkout .checkout-button {
	width: 100%;
	min-height: 48px;
	margin: 0;
}
.hc-customer-page--cart .woocommerce .return-to-shop { margin: 16px 0 0; }
.hc-customer-page--checkout .woocommerce #customer_details :is(.col-1, .col-2) {
	float: none;
	width: 100%;
}
.hc-customer-page--checkout .woocommerce #customer_details .col-2:not(:empty) { margin-top: 24px; }
.hc-customer-page--checkout .woocommerce #order_review_heading { margin: 0; }
.hc-customer-page--checkout .woocommerce #payment { background: var(--hc-subtle); }
.hc-customer-page--checkout .woocommerce #payment div.payment_box { background: var(--hc-paper); }
.hc-customer-page--checkout .woocommerce #payment div.payment_box::before { border-bottom-color: var(--hc-paper); }
.hc-customer-page--checkout .woocommerce #place_order { float: none; width: 100%; min-height: 48px; margin-top: 12px; }
.hc-customer-page--checkout .woocommerce .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
}
.hc-customer-page--checkout .woocommerce .woocommerce-order-overview li {
	float: none;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--hc-edge);
	border-radius: 5px;
}
.hc-customer-page--checkout .woocommerce-order-details { margin-bottom: 24px; }

@media (min-width: 1024px) {
	.hc-customer-page--checkout .woocommerce form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1.6fr) minmax(310px, 1fr);
		grid-template-rows: min-content 1fr;
		column-gap: 24px;
		align-items: start;
	}
	.hc-customer-page--checkout .woocommerce form.checkout > * { grid-column: 1 / -1; }
	.hc-customer-page--checkout .woocommerce form.checkout > #customer_details { grid-area: 1 / 1 / 3; min-width: 0; }
	.hc-customer-page--checkout .woocommerce form.checkout > #order_review_heading {
		grid-area: 1 / 2;
		padding: 16px 20px;
		border: 1px solid var(--hc-edge);
		border-bottom: 0;
		border-radius: var(--hc-radius) var(--hc-radius) 0 0;
		background: var(--hc-paper);
	}
	.hc-customer-page--checkout .woocommerce form.checkout > #order_review {
		grid-area: 2 / 2;
		min-width: 0;
		padding-top: 6px;
		border-top: 0;
		border-radius: 0 0 var(--hc-radius) var(--hc-radius);
	}
}
@media (max-width: 1023px) {
	.hc-customer-page--cart .woocommerce:has(> .woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr); }
	.hc-customer-page--cart .woocommerce > .cart-collaterals { grid-column: 1; }
	.hc-customer-page--checkout .woocommerce #customer_details { margin-bottom: 22px; }
	.hc-customer-page--checkout .woocommerce #order_review_heading { margin-bottom: 10px; }
}
@media (max-width: 760px) {
	.hc-customer-page__intro { align-items: start; flex-direction: column; }
	.hc-customer-page--account .woocommerce:has(> .woocommerce-MyAccount-navigation),
	.hc-customer-page--account #customer_login { grid-template-columns: minmax(0, 1fr); }
	.hc-customer-page--account .woocommerce > .woocommerce-MyAccount-content { grid-column: 1; }
	.hc-customer-page--account .woocommerce-MyAccount-content { min-height: auto; }
	.hc-customer-page--account .woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px;
	}
	.hc-customer-page--account .woocommerce-MyAccount-navigation li + li { margin: 0; }
	.hc-customer-page--account .woocommerce-MyAccount-navigation li > a { padding: 8px; font-size: 13px; }
	.hc-customer-page__content .woocommerce :is(.input-text, select:not([multiple]), textarea) { font-size: 16px; }
	.hc-customer-page__content .woocommerce table.shop_table :is(th, td) { padding: 10px; }
	.hc-customer-page--cart .woocommerce-cart-form table.shop_table td.actions .coupon { margin-bottom: 8px; }
	.hc-customer-page--cart .woocommerce-cart-form table.shop_table td.actions .coupon .input-text { flex: 1 1 110px; width: auto; }
	.hc-customer-page--cart .woocommerce-cart-form table.shop_table td.actions .coupon .button { flex: 1 1 auto; width: auto; }
	.hc-customer-page__content .wp-block-woocommerce-cart-line-items-block { padding: 0; }
	.hc-customer-page__content .wp-block-woocommerce-cart-totals-block { margin-top: 16px; }
	.hc-customer-page__content table.wc-block-cart-items tbody td { padding: 4px 0; }
	.hc-customer-page__content .wc-block-cart-items .wc-block-cart-items__row { padding: 12px; }
	.hc-customer-page__content .wc-block-cart-items .wc-block-cart-item__image { width: auto; }
	.hc-customer-page__content .wc-block-cart-item__quantity { flex-wrap: wrap; }
}
@media (max-width: 460px) {
	.hc-account-shortcuts__grid { grid-template-columns: minmax(0, 1fr); }
	.hc-customer-page__content .woocommerce .form-row-first,
	.hc-customer-page__content .woocommerce .form-row-last { float: none; width: 100%; }
	.hc-customer-page--account .woocommerce-MyAccount-content .shop_table .button { padding-inline: 8px; }
	.hc-customer-page__content .wc-block-components-totals-coupon :is(button, input) { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.hc-customer-page * { transition-duration: 0s !important; }
}

@media (prefers-reduced-motion: no-preference) {
	@keyframes hc-customer-enter {
		from { opacity: .65; translate: 0 10px; }
		to { opacity: 1; translate: 0 0; }
	}

	@keyframes hc-customer-expand {
		from { opacity: .65; translate: 0 -4px; }
		to { opacity: 1; translate: 0 0; }
	}

	.hc-customer-page__intro > *,
	.hc-customer-page__content :is(
		.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content,
		#customer_login > .u-column1, #customer_login > .u-column2,
		.woocommerce > .woocommerce-form-login, .woocommerce-ResetPassword,
		.woocommerce-cart-form, .cart-collaterals, .cart-empty, .wp-block-woocommerce-empty-cart-block,
		.wc-block-cart-items, .wp-block-woocommerce-cart-totals-block, .wp-block-woocommerce-checkout-totals-block,
		.wc-block-components-checkout-step, #customer_details, #order_review_heading, #order_review, .woocommerce-order
	) {
		animation: hc-customer-enter .36s var(--hc-ease) backwards;
	}
	.hc-customer-page__intro > .hc-purchase-steps,
	.hc-customer-page__content :is(
		.woocommerce-MyAccount-content, #customer_login > .u-column2, .cart-collaterals,
		.wp-block-woocommerce-cart-totals-block, .wp-block-woocommerce-checkout-totals-block, #order_review_heading, #order_review
	) {
		animation-delay: 65ms;
	}
	.hc-customer-page__content :is(.wc-block-components-panel__content, .wc-block-components-notice-banner) {
		animation: hc-customer-expand .22s var(--hc-ease) backwards;
	}
	.hc-customer-page__content :is(
		.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content, .woocommerce-form,
		.woocommerce-ResetPassword, #customer_login > .u-column1, #customer_login > .u-column2,
		.wc-block-components-panel__content, .woocommerce-cart-form, .wc-block-cart-items,
		.wc-block-components-checkout-step, #customer_details, #order_review
	):focus-within {
		animation: none;
	}

	.hc-customer-page__content :is(button.button, input.button, .wc-block-components-button:not(.is-link)):not(:disabled):active {
		translate: 0 1px;
	}
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.hc-account-shortcuts .hc-account-shortcuts__link:hover,
	.hc-customer-page__content :is(a.button, button.button, .wc-block-components-button:not(.is-link)):not(:disabled):not(:active):hover {
		translate: 0 -2px;
	}
}
