/*
 * Aiolos Checkout: checkout page.
 * Colors, radius and font come from the Design settings as custom properties on :root.
 */

:root {
	--acw-primary: #2b4bff;
	--acw-text: #111827;
	--acw-success: #15803d;
	--acw-radius: 12px;
	--acw-logo-h: 36px;
	--acw-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--acw-btn-text: #fff;
	--acw-muted: #6b7280;
	--acw-border: #d1d5db;
	--acw-surface: #f4f5f7;
	--acw-bg: #fff;
	--acw-header-bg: #fff;
	--acw-field: #fff;
	--acw-label: color-mix(in srgb, var(--acw-text) 78%, var(--acw-bg));
	--acw-line: color-mix(in srgb, var(--acw-border) 55%, var(--acw-bg));
	--acw-danger: #dc2626;
	--acw-field-h: 58px;
	--acw-focus: color-mix(in srgb, var(--acw-primary) 22%, transparent);
	--acw-tint: color-mix(in srgb, var(--acw-primary) 6%, var(--acw-bg));
	--acw-success-tint: color-mix(in srgb, var(--acw-success) 12%, var(--acw-bg));
}

/* ------------------------------------------------------------------ base */

html:root.acw-html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
:root body.acw-body {
	margin: 0;
	background: var(--acw-bg);
	color: var(--acw-text);
	font-family: var(--acw-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
:root .acw-body *, :root .acw-body *::before, :root .acw-body *::after { box-sizing: border-box; }
:root .acw-body img { max-width: 100%; height: auto; }
:root .acw-body a { color: var(--acw-primary); }
:root .acw-body button { font: inherit; }
:root .acw-body [hidden] { display: none !important; }
:root .acw-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:root .acw-body :focus-visible { outline: 2px solid var(--acw-primary); outline-offset: 2px; }
:root .acw-muted { color: var(--acw-muted); }

/* ------------------------------------------------------------------ header & footer */

:root .acw-header { border-bottom: 1px solid var(--acw-line); background: var(--acw-header-bg); }
:root .acw-header__inner {
	max-width: 1240px; margin: 0 auto; padding: 16px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px;
}
:root .acw-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--acw-header-text, var(--acw-text)) !important; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
:root .acw-logo__img { max-height: var(--acw-logo-h); width: auto; display: block; }
:root .acw-logo__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--acw-primary); flex: none; }
:root .acw-secure { display: inline-flex; align-items: center; gap: 6px; color: color-mix(in srgb, var(--acw-header-text, var(--acw-text)) 72%, var(--acw-header-bg)); font-size: 14px; font-weight: 600; white-space: nowrap; }

:root .acw-footer { max-width: 1240px; margin: 48px auto 0; padding: 20px 24px 32px; border-top: 1px solid var(--acw-line); font-size: 13px; color: var(--acw-footer-text, var(--acw-muted)); background: var(--acw-footer-bg, transparent); }
:root .acw-footer__links { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
:root .acw-footer__links a { color: var(--acw-footer-text, var(--acw-muted)); }
:root .acw-footer__copy { margin: 0; }

/* ------------------------------------------------------------------ layout */

:root .acw-main { max-width: 1240px; margin: 0 auto; padding: 20px 24px 0; }
:root .acw-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
	grid-template-areas: "primary aside";
	gap: 56px;
	align-items: start;
	max-width: 1180px;
	margin: 0 auto;
}
:root .acw-primary { grid-area: primary; min-width: 0; max-width: 680px; width: 100%; justify-self: end; }
:root .acw-aside { grid-area: aside; position: sticky; top: 24px; min-width: 0; }

@media (max-width: 960px) {
	:root .acw-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "aside" "primary"; gap: 24px; }
	:root .acw-primary { max-width: none; justify-self: stretch; }
	:root .acw-aside { position: static; }
}
@media (max-width: 560px) {
	:root .acw-header__inner { padding: 12px 16px; min-height: 60px; }
	:root .acw-logo { font-size: 19px; }
	:root .acw-main { padding: 12px 16px 0; }
	:root .acw-footer { padding: 16px; }
}

/* ------------------------------------------------------------------ steps nav */

:root .acw-steps { margin: 0 auto 22px; }
:root .acw-steps ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; }
:root .acw-steps__item { display: flex; align-items: center; }
:root .acw-steps__item + .acw-steps__item::before {
	content: ""; width: 7px; height: 7px; margin: 0 12px 0 8px;
	border-right: 1.5px solid var(--acw-muted); border-top: 1.5px solid var(--acw-muted); transform: rotate(45deg);
}
:root .acw-steps__link {
	background: none; border: 0; padding: 4px 2px; cursor: pointer;
	color: var(--acw-muted); font-weight: 600; font-size: 15px; display: inline-flex; gap: 5px;
}
:root .acw-steps__link:disabled { cursor: default; }
:root .acw-steps__item.is-done .acw-steps__link { color: var(--acw-label); }
:root .acw-steps__item.is-done .acw-steps__link:hover { color: var(--acw-primary); }
:root .acw-steps__item.is-current .acw-steps__link { color: var(--acw-text); font-weight: 700; }

/* ------------------------------------------------------------------ steps */

:root .acw-js .acw-step { display: none; }
:root .acw-js .acw-step.is-active { display: block; animation: acw-in .25s ease; }
@keyframes acw-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { :root .acw-js .acw-step.is-active { animation: none; } }
/* No fade on the payment step: card iframes (Stripe, Mollie, Revolut) measure themselves when shown. */
:root .acw-js .acw-step[data-step="payment"].is-active { animation: none; }

/* One page: every section shown, no step buttons or recap. */
:root .acw-js .acw-layout-onepage .acw-step,
:root .acw-layout-onepage .acw-step { display: block; animation: none; }
:root .acw-layout-onepage .acw-step + .acw-step { margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--acw-line); }
:root .acw-layout-onepage .acw-actions,
:root .acw-layout-onepage .acw-recap { display: none; }

/* Email: suggested fix and the returning customer's "Log in". */
:root .acw-email-hint { margin: 8px 0 0; font-size: 14px; color: var(--acw-label); flex-basis: 100%; }
:root .acw-email-hint .acw-link { font-size: inherit; font-weight: 700; }
:root .acw-email-hint--login { padding: 10px 12px; border-radius: var(--acw-radius); background: var(--acw-tint); }

:root .acw-section { margin: 0 0 28px; }
:root .acw-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
:root .acw-heading {
	margin: 0 0 12px; font-size: 14px; line-height: 1.3; font-weight: 800;
	letter-spacing: .08em; text-transform: uppercase; color: var(--acw-label);
}
:root .acw-heading:focus { outline: none; }
:root .acw-subheading { font-size: 15px; margin: 16px 0 8px; }
:root .acw-hint { margin: 8px 0 0; font-size: 14px; color: var(--acw-muted); }
:root .acw-hint--top { margin: -6px 0 12px; }
:root .acw-link {
	background: none; border: 0; padding: 0; cursor: pointer;
	color: var(--acw-primary); font-weight: 600; font-size: 15px; text-decoration: none;
}
:root .acw-link:hover { text-decoration: underline; }
:root .acw-reveal { display: inline-block; margin: 2px 0 4px; font-size: 16px; }
:root .acw-fields > .acw-address-2-toggle { grid-column: 1 / -1; justify-self: start; margin: -2px 0 0; }

/* ------------------------------------------------------------------ express */

:root .acw-express { margin-bottom: 26px; }
:root .acw-express.is-probing { position: absolute; visibility: hidden; }
:root .acw-express__buttons { display: grid; gap: 12px; }
:root .acw-express__buttons:empty { display: none; }
:root .acw-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; color: var(--acw-muted); font-size: 15px; }
:root .acw-divider::before, :root .acw-divider::after { content: ""; flex: 1; height: 1px; background: var(--acw-line); }

/* ------------------------------------------------------------------ fields */

:root .acw-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
:root .acw-fields + .acw-fields,
:root .woocommerce-shipping-fields + .acw-fields,
:root .woocommerce-billing-fields + .acw-fields { margin-top: 12px; }
:root .acw-fields:empty { display: none; }
:root .acw-fields > .form-row, :root .acw-fields > p, :root .acw-fields > div { grid-column: 1 / -1; margin: 0; padding: 0; width: auto; float: none; }
:root .acw-fields > .form-row-first, :root .acw-fields > .form-row-last { grid-column: span 2; }
/* Postcode, city and state side by side in whatever order the country has them (WooCommerce's
   locale reorders them when the country changes). */
:root .acw-fields > .form-row[id$="_postcode_field"], :root .acw-fields > .form-row[id$="_city_field"], :root .acw-fields > .form-row[id$="_state_field"] { grid-column: span 2; }
/* Street and house number: the number takes a quarter. */
:root .acw-fields > .form-row.acw-street:has(+ .form-row.acw-house-number:not([style*="none"])) { grid-column: span 3; }
:root .acw-fields > .form-row.acw-house-number { grid-column: span 1; }
:root .acw-body .form-row .required { display: none; }
:root .acw-body .form-row .optional { font-weight: 400; }
:root .acw-body .form-row .woocommerce-input-wrapper { display: block; }
:root .acw-body .form-row .description { font-size: 13px; color: var(--acw-muted); margin-top: 4px; display: block; }

:root .acw-body .form-row input.input-text,
:root .acw-body .form-row textarea,
:root .acw-body .form-row select,
:root .acw-coupon__input,
:root .acw-body form.login input.input-text {
	width: 100%;
	min-height: var(--acw-field-h);
	border: 1px solid var(--acw-border);
	border-radius: var(--acw-radius);
	background: var(--acw-field);
	color: var(--acw-field-text, var(--acw-text));
	font: inherit;
	font-size: 16px; /* no zoom on iOS */
	padding: 14px 16px;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}
:root .acw-body .form-row textarea { min-height: 96px; resize: vertical; }
:root .acw-body .form-row input.input-text:focus,
:root .acw-body .form-row textarea:focus,
:root .acw-body .form-row select:focus,
:root .acw-coupon__input:focus {
	outline: none; border-color: var(--acw-primary); box-shadow: 0 0 0 3px var(--acw-focus);
}
:root .acw-body .form-row input::placeholder, :root .acw-body .form-row textarea::placeholder, :root .acw-coupon__input::placeholder { color: color-mix(in srgb, var(--acw-muted) 80%, var(--acw-field)); opacity: 1; }

/* Inset label: the label sits inside the box, above the value. */
:root .acw-body .form-row.acw-inset { position: relative; }
:root .acw-body .form-row.acw-inset > label {
	position: absolute; top: 9px; inset-inline-start: 17px; inset-inline-end: 40px; z-index: 2;
	margin: 0; font-size: 13px; line-height: 1.2; color: var(--acw-muted); font-weight: 500;
	pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
:root .acw-body .form-row.acw-inset input.input-text,
:root .acw-body .form-row.acw-inset textarea,
:root .acw-body .form-row.acw-inset select { padding-top: 27px; padding-bottom: 8px; }
:root .acw-body .form-row.acw-inset select {
	padding-inline-end: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}

/* selectWoo (country/state) */
/* What select2.css would give, so the dropdown works where a site does not load it. */
:root .acw-body .select2-container { box-sizing: border-box; display: inline-block; margin: 0; position: relative; vertical-align: middle; }
:root .acw-body .select2-container .select2-selection--single { box-sizing: border-box; cursor: pointer; display: block; user-select: none; }
:root .acw-body .select2-container .select2-selection--single .select2-selection__rendered { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root .acw-body .select2-container .select2-selection__clear { display: none; }
:root .acw-body .select2-dropdown { background: #fff; border: 1px solid var(--acw-border); box-sizing: border-box; display: block; position: absolute; left: -100000px; width: 100%; z-index: 1051; }
:root .acw-body .select2-container--open .select2-dropdown { left: 0; }
:root .acw-body .select2-results { display: block; }
:root .acw-body .select2-results__options { list-style: none; margin: 0; padding: 0; }
:root .acw-body .select2-results > .select2-results__options { max-height: 260px; overflow-y: auto; }
:root .acw-body .select2-results__option { user-select: none; }
:root .acw-body .select2-results__option[aria-selected], :root .acw-body .select2-results__option[data-selected] { cursor: pointer; }
:root .acw-body .select2-results__option[aria-selected="true"], :root .acw-body .select2-results__option[data-selected="true"] { background: var(--acw-surface); }
:root .acw-body .select2-search--dropdown { display: block; padding: 8px; }
:root .acw-body .select2-search--dropdown .select2-search__field { width: 100%; box-sizing: border-box; }
:root .acw-body .select2-search--dropdown.select2-search--hide { display: none; }
:root .acw-body .select2-close-mask { border: 0; margin: 0; padding: 0; display: block; position: fixed; left: 0; top: 0; min-height: 100%; min-width: 100%; height: auto; width: auto; opacity: 0; z-index: 99; background: #fff; }
/* The plain select stays hidden behind the dropdown even where select2.css did not load. */
:root .acw-body .form-row select.select2-hidden-accessible {
	position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important;
	overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; border: 0 !important; white-space: nowrap !important;
}
:root .acw-body .form-row .select2-container { width: 100% !important; display: block; }
:root .acw-body .form-row .select2-container .select2-selection--single {
	height: var(--acw-field-h); border: 1px solid var(--acw-border); border-radius: var(--acw-radius); background: var(--acw-field);
}
:root .acw-body .form-row.acw-inset .select2-container .select2-selection__rendered {
	padding: 25px 44px 0 16px; line-height: 24px; color: var(--acw-field-text, var(--acw-text)); font-size: 16px;
}
:root .acw-body .form-row .select2-container .select2-selection__arrow { position: absolute; top: 0; height: 100%; inset-inline-end: 12px; left: auto; width: 20px; }
:root .acw-body .form-row .select2-container .select2-selection__arrow b {
	position: absolute; top: 50%; left: 50%; display: block;
	border: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center no-repeat;
}
:root .acw-body .select2-container--open .select2-selection--single,
:root .acw-body .select2-container--focus .select2-selection--single { border-color: var(--acw-primary) !important; box-shadow: 0 0 0 3px var(--acw-focus); }
:root .acw-body .select2-dropdown { border-color: var(--acw-border); border-radius: 10px; overflow: hidden; box-shadow: 0 12px 32px rgba(17, 24, 39, .12); }
:root .acw-body .select2-search--dropdown .select2-search__field { border: 1px solid var(--acw-border); border-radius: 8px; padding: 8px 10px; font-size: 16px; }
:root .acw-body .select2-results__option { padding: 8px 12px; }
:root .acw-body .select2-container--default .select2-results__option--highlighted[aria-selected],
:root .acw-body .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--acw-primary); }

/* Checkboxes and radios inside WooCommerce rows */
:root .acw-body .form-row.acw-checkbox label, :root .acw-body .form-row label.checkbox, :root .acw-body .woocommerce-form__label-for-checkbox {
	display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; line-height: 1.45;
}
:root .acw-body input[type="checkbox"], :root .acw-body input[type="radio"] { accent-color: var(--acw-primary); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
:root .acw-body .woocommerce-account-fields .create-account.acw-fields { margin-top: 12px; }

/* Errors */
:root .acw-body .form-row.woocommerce-invalid input.input-text,
:root .acw-body .form-row.woocommerce-invalid select,
:root .acw-body .form-row.woocommerce-invalid textarea,
:root .acw-body .form-row.woocommerce-invalid .select2-selection { border-color: var(--acw-danger) !important; }
:root .acw-field-error { display: block; margin-top: 6px; color: var(--acw-danger); font-size: 13px; font-weight: 500; }
:root .acw-body .form-row.woocommerce-invalid > label { color: var(--acw-danger); }

/* ------------------------------------------------------------------ buttons */

:root .acw-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
	min-height: 52px; padding: 12px 22px;
	border: 1px solid var(--acw-border); border-radius: var(--acw-radius);
	background: var(--acw-secondary, var(--acw-field)); color: var(--acw-secondary-text, var(--acw-text)); font-weight: 700; font-size: 16px;
	cursor: pointer; text-decoration: none; transition: background .15s, transform .05s, box-shadow .15s;
}
:root .acw-button:active { transform: translateY(1px); }
:root .acw-button--primary, :root .acw-body #place_order {
	background: var(--acw-primary); border-color: var(--acw-primary); color: var(--acw-btn-text);
	min-height: 60px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; text-align: center;
	box-shadow: 0 1px 2px rgba(17, 24, 39, .08);
}
:root .acw-button--primary:hover, :root .acw-body #place_order:hover { background: var(--acw-primary-hover, color-mix(in srgb, var(--acw-primary) 88%, #000)); border-color: transparent; color: var(--acw-btn-hover-text, var(--acw-btn-text)); }
:root .acw-button--block { width: 100%; }
:root .acw-button.is-waiting { opacity: .7; cursor: progress; }
:root .acw-actions { margin-top: 8px; }
:root .acw-actions--split { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap-reverse; }
:root .acw-actions--split .acw-button { min-width: 240px; }
:root .acw-reassure { text-align: center; color: var(--acw-muted); font-size: 15px; margin: 14px 0 0; }
:root .acw-back { font-size: 15px; }
@media (max-width: 560px) {
	:root .acw-actions--split { flex-direction: column-reverse; align-items: stretch; }
	:root .acw-actions--split .acw-button { width: 100%; min-width: 0; }
	:root .acw-actions--split .acw-back { text-align: center; padding: 8px; }
}

/* ------------------------------------------------------------------ recap */

:root .acw-recap { margin: 0 0 28px; border: 1px solid var(--acw-line); border-radius: var(--acw-radius); padding: 2px 16px; font-size: 15px; }
:root .acw-recap__row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 0; }
:root .acw-recap__row + .acw-recap__row { border-top: 1px solid var(--acw-line); }
:root .acw-recap dt { color: var(--acw-muted); }
:root .acw-recap dd { margin: 0; overflow-wrap: anywhere; }
:root .acw-recap .acw-link { font-size: 14px; }

/* ------------------------------------------------------------------ option cards (shipping, billing) */

:root .acw-options { list-style: none; margin: 0; padding: 0; border: 1px solid var(--acw-border); border-radius: var(--acw-radius); overflow: hidden; }
:root .acw-option { position: relative; }
:root .acw-option + .acw-option { border-top: 1px solid var(--acw-border); }
:root .acw-option.is-selected { background: var(--acw-tint); }
:root .acw-option__input { position: absolute; opacity: 0; pointer-events: none; }
:root .acw-option__label { display: flex; align-items: center; gap: 14px; padding: 16px; cursor: pointer; margin: 0; }
:root .acw-option__radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--acw-border); flex: none; background: var(--acw-field); transition: border .15s; }
:root .acw-option__input:checked + .acw-option__label .acw-option__radio { border: 6px solid var(--acw-primary); }
:root .acw-option__input:focus-visible + .acw-option__label { outline: 2px solid var(--acw-primary); outline-offset: -2px; }
:root .acw-option__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
:root .acw-option__title { font-weight: 600; }
:root .acw-option__desc { color: var(--acw-muted); font-size: 14px; }
:root .acw-option__price { font-weight: 700; white-space: nowrap; }
:root .acw-option__price.is-free { color: var(--acw-success); }
:root .acw-option__extra:empty { display: none; }
:root .acw-option__extra { padding-block: 0 16px; padding-inline: 50px 16px; }
:root .acw-option .woocommerce-billing-fields.acw-option__extra { padding: 4px 16px 16px; background: var(--acw-field); border-top: 1px solid var(--acw-line); }
:root .acw-option .woocommerce-billing-fields .acw-fields { padding-top: 12px; }
:root .acw-shipping-methods { position: relative; transition: opacity .15s; }
:root .acw-shipping-methods.is-loading { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------------------ notices */

:root .acw-notice,
:root .acw-body .woocommerce-error,
:root .acw-body .woocommerce-message,
:root .acw-body .woocommerce-info,
:root .acw-body .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--acw-radius);
	border: 1px solid var(--acw-line); background: var(--acw-surface); font-size: 15px; color: var(--acw-text);
	display: block;
}
:root .acw-body .woocommerce-error, :root .acw-notice--error, :root .acw-body .wc-block-components-notice-banner.is-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
:root .acw-body .woocommerce-message, :root .acw-body .wc-block-components-notice-banner.is-success { background: var(--acw-success-tint); border-color: color-mix(in srgb, var(--acw-success) 30%, var(--acw-bg)); color: var(--acw-success); }
:root .acw-notice--warning, :root .acw-body .wc-block-components-notice-banner.is-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
:root .acw-body .woocommerce-error li { margin: 0; padding: 0; }
:root .acw-body .woocommerce-error li + li { margin-top: 4px; }
:root .acw-body .woocommerce-error::before, :root .acw-body .woocommerce-message::before, :root .acw-body .woocommerce-info::before { display: none; }
:root .acw-body .wc-block-components-notice-banner { display: flex; gap: 10px; align-items: flex-start; }
:root .acw-body .wc-block-components-notice-banner > svg { flex: none; width: 20px; height: 20px; fill: currentColor; }
:root .acw-body .woocommerce-NoticeGroup { margin-bottom: 8px; }
:root .acw-body .woocommerce-form-login-toggle { display: none; }
:root .acw-body form.woocommerce-form-login { margin: 0 0 24px; padding: 18px; border: 1px solid var(--acw-line); border-radius: var(--acw-radius); }
:root .acw-body form.woocommerce-form-login .form-row { margin: 0 0 12px; }
:root .acw-body form.woocommerce-form-login label { display: block; font-size: 14px; color: var(--acw-label); margin-bottom: 4px; }
:root .acw-body form.woocommerce-form-login .woocommerce-form-login__submit { min-height: 48px; padding: 10px 20px; border-radius: var(--acw-radius); border: 0; background: var(--acw-text); color: var(--acw-bg); font-weight: 700; cursor: pointer; }

/* ------------------------------------------------------------------ payment (WooCommerce's own markup) */

:root .acw-body #order_review { position: relative; }
:root .acw-body #payment { background: none; border-radius: 0; }
:root .acw-body #payment ul.payment_methods {
	list-style: none; margin: 0 0 20px; padding: 0;
	border: 1px solid var(--acw-border); border-radius: var(--acw-radius); overflow: hidden;
}
:root .acw-body #payment ul.payment_methods::before, :root .acw-body #payment ul.payment_methods::after { display: none; }
:root .acw-body #payment ul.payment_methods > li { margin: 0; padding: 0; position: relative; }
:root .acw-body #payment ul.payment_methods > li + li { border-top: 1px solid var(--acw-border); }
:root .acw-body #payment ul.payment_methods > li > input.input-radio { position: absolute; inset-inline-start: 16px; top: 20px; margin: 0; z-index: 1; }
:root .acw-body #payment ul.payment_methods > li > label {
	display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
	padding-block: 16px; padding-inline: 46px 16px; margin: 0; cursor: pointer; font-weight: 600; min-height: 58px;
}
:root .acw-body #payment ul.payment_methods > li > label img { max-height: 24px; width: auto; margin: 0; vertical-align: middle; float: none; }
:root .acw-body #payment ul.payment_methods > li:has(> input.input-radio:checked) { background: var(--acw-tint); }
:root .acw-body #payment ul.payment_methods li.woocommerce-notice,
:root .acw-body #payment ul.payment_methods li.woocommerce-info { padding: 16px; }
:root .acw-body #payment .payment_box {
	margin: 0; padding: 16px; background: var(--acw-field); border-top: 1px solid var(--acw-line);
	color: var(--acw-label); font-size: 15px; border-radius: 0;
}
:root .acw-body #payment .payment_box::before { display: none; }
/* A gateway without a description prints an empty box. */
:root .acw-body #payment .payment_box.acw-empty { display: none !important; }
:root .acw-body #payment .payment_box p:last-child { margin-bottom: 0; }
:root .acw-body #payment .payment_box fieldset { border: 0; padding: 0; margin: 0; }
:root .acw-body #payment .payment_box .form-row { margin: 0 0 12px; }
:root .acw-body #payment .payment_box input.input-text { min-height: 52px; padding-top: 14px; padding-bottom: 14px; }
:root .acw-body #payment .payment_box .form-row > label { position: static; display: block; font-size: 14px; color: var(--acw-label); margin-bottom: 4px; }
:root .acw-body #payment .payment_box .woocommerce-SavedPaymentMethods { list-style: none; padding: 0; margin: 0 0 12px; }
:root .acw-body #payment .payment_box .woocommerce-SavedPaymentMethods li { margin: 0 0 8px; }
:root .acw-body #payment .form-row.place-order { margin: 0; padding: 0; }
:root .acw-body #payment #place_order { width: 100%; float: none; border-radius: var(--acw-radius); }
:root .acw-body #payment .woocommerce-terms-and-conditions-wrapper { margin: 0 0 16px; font-size: 14px; color: var(--acw-label); }
:root .acw-body #payment .woocommerce-privacy-policy-text p { margin: 0 0 12px; }
:root .acw-body #payment .woocommerce-terms-and-conditions { max-height: 220px; overflow: auto; padding: 12px; border: 1px solid var(--acw-line); border-radius: 8px; margin-bottom: 12px; }
:root .acw-body #payment .validate-required.woocommerce-invalid .woocommerce-form__label-for-checkbox { color: var(--acw-danger); }
/* PayPal Payments and other smart buttons placed under the place-order button */
:root .acw-body #payment .ppc-button-wrapper, :root .acw-body #payment [id^="ppc-button"] { margin-top: 12px; }
:root .acw-body .blockUI.blockOverlay { border-radius: var(--acw-radius); }

/* ------------------------------------------------------------------ summary (aside) */

:root .acw-summary-toggle { display: none; }
:root .acw-summary { background: var(--acw-summary-bg, var(--acw-surface)); border: 1px solid var(--acw-line); border-radius: calc(var(--acw-radius) + 6px); padding: 24px; }
:root .acw-review { border: 0; margin: 0; }
:root .acw-review table { width: 100%; border-collapse: collapse; border: 0; margin: 0; background: none; }
:root .acw-review th, :root .acw-review td { border: 0; background: none; padding: 0; text-align: start; vertical-align: middle; }

:root .acw-items .acw-item td { padding: 8px 0; }
:root .acw-items .acw-item:first-child td { padding-top: 0; }
:root .acw-item__media { position: relative; width: 82px; padding-inline-end: 16px !important; }
:root .acw-item__thumb { display: block; width: 66px; height: 66px; border-radius: 12px; background: var(--acw-field); border: 1px solid var(--acw-line); overflow: hidden; }
:root .acw-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
:root .acw-item__qty {
	position: absolute; top: -2px; inset-inline-start: 52px; min-width: 24px; height: 24px; padding: 0 6px;
	border-radius: 999px; background: var(--acw-bubble, var(--acw-muted)); color: var(--acw-bubble-text, var(--acw-bg)); border: 2px solid var(--acw-summary-bg, var(--acw-surface));
	font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
:root .acw-items .acw-item:first-child .acw-item__qty { top: -10px; }
:root .acw-item__info { padding-inline-end: 12px !important; }
:root .acw-item__name { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; }
:root .acw-item__name a { color: inherit; text-decoration: none; }
:root .acw-item__meta { display: block; color: var(--acw-muted); font-size: 14px; margin-top: 2px; }
:root .acw-item__info dl.variation { display: none; }
:root .acw-item__edit { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
:root .acw-stepper { display: inline-flex; align-items: center; border: 1px solid var(--acw-border); border-radius: 999px; background: var(--acw-field); }
:root .acw-stepper__btn {
	display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
	background: none; color: var(--acw-field-text, var(--acw-text)); font-size: 17px; line-height: 1; cursor: pointer;
}
:root .acw-stepper__btn:hover:not(:disabled) { background: var(--acw-surface); }
:root .acw-stepper__btn:disabled { color: #c4c7cc; cursor: default; }
:root .acw-stepper__btn:focus-visible { outline: 2px solid var(--acw-primary); outline-offset: 1px; }
:root .acw-stepper__value { min-width: 22px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
:root .acw-item__remove { font-size: 13px; color: var(--acw-muted); }
:root .acw-item.is-removing { opacity: .4; }
:root .acw-review.is-busy .acw-items { opacity: .6; pointer-events: none; transition: opacity .15s; }
:root .acw-summary-error { margin: 0 0 14px !important; }
:root .acw-item__price { text-align: end !important; white-space: nowrap; font-weight: 700; }
:root .acw-item__price del { color: var(--acw-muted); font-weight: 400; display: block; font-size: 13px; }

:root .acw-coupon { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0 0; margin-top: 10px; border-top: 1px solid var(--acw-line); }
:root .acw-coupon__input { flex: 1 1 0; min-width: 0; width: auto; min-height: 50px; padding: 12px 14px; text-transform: uppercase; }
:root .acw-coupon__apply { flex: none; }
:root .acw-coupon__input::placeholder { text-transform: none; }
:root .acw-coupon__apply { min-height: 50px; background: var(--acw-secondary, var(--acw-field)); color: var(--acw-secondary-text, var(--acw-text)); }
:root .acw-coupon.is-loading { opacity: .6; pointer-events: none; }
:root .acw-coupon__message { flex-basis: 100%; margin: 0; font-size: 14px; }
:root .acw-coupon__message:empty { display: none; }
:root .acw-coupon__message.is-error { color: var(--acw-danger); }
:root .acw-coupon__message.is-success { color: var(--acw-success); }

:root .acw-totals { margin-top: 18px !important; border-top: 1px solid var(--acw-line) !important; }
:root .acw-coupon + .acw-totals { margin-top: 18px !important; }
:root .acw-totals tr th, :root .acw-totals tr td { padding: 5px 0; font-weight: 400; font-size: 16px; }
:root .acw-totals tr:first-child th, :root .acw-totals tr:first-child td { padding-top: 18px; }
:root .acw-totals td { text-align: end !important; }
:root .acw-totals .acw-saving, :root .acw-totals .acw-saving .amount { color: var(--acw-success); font-weight: 700; }
:root .acw-totals .acw-saving a.woocommerce-remove-coupon { display: block; font-size: 12px; font-weight: 500; color: var(--acw-muted); }
:root .acw-totals .acw-muted { font-size: 14px; }
:root .acw-totals .order-total th, :root .acw-totals .order-total td { padding-top: 16px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
:root .acw-totals .order-total td small, :root .acw-totals .order-total .includes_tax { display: block; font-size: 13px; font-weight: 400; color: var(--acw-muted); letter-spacing: 0; }

:root .acw-trust { list-style: none; margin: 22px 0 0; padding: 0 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; font-weight: 600; font-size: 15px; }
:root .acw-trust li { display: flex; align-items: center; gap: 10px; }
:root .acw-check {
	width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--acw-success-tint) center / 12px no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
}

@media (max-width: 960px) {
	:root .acw-summary-toggle {
		display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
		margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--acw-line); border-radius: var(--acw-radius);
		background: var(--acw-surface); color: var(--acw-primary); cursor: pointer; font-size: 15px; font-weight: 600;
	}
	:root .acw-summary-toggle__label { display: inline-flex; align-items: center; gap: 8px; }
	:root .acw-mobile-total { color: var(--acw-text); font-weight: 800; font-size: 17px; }
	:root .acw-chevron { transition: transform .2s; }
	:root .acw-aside.is-open .acw-chevron { transform: rotate(180deg); }
	:root .acw-aside:not(.is-open) .acw-summary { display: none; }
	:root .acw-aside.is-open .acw-summary-toggle { display: none; }
	:root .acw-summary { padding: 20px; }
}
@media (max-width: 560px) {
	:root .acw-item__media { width: 74px; }
	:root .acw-item__thumb { width: 58px; height: 58px; }
	:root .acw-item__qty { inset-inline-start: 44px; }
	:root .acw-trust { gap: 10px 12px; font-size: 14px; }
	:root .acw-recap__row { grid-template-columns: minmax(0, 1fr) auto; }
	:root .acw-recap__row dt { grid-column: 1 / -1; margin-bottom: -10px; font-size: 13px; }
}

/* Right-to-left languages. */
:root [dir="rtl"] .acw-body .form-row.acw-inset select { background-position: left 16px center; }
:root [dir="rtl"] .acw-steps__item + .acw-steps__item::before { transform: rotate(-135deg); }
:root [dir="rtl"] .acw-back span { display: inline-block; transform: scaleX(-1); }

/* ------------------------------------------------------------------ logo position */

:root .acw-logo-center .acw-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
:root .acw-logo-center .acw-logo { grid-column: 2; }
:root .acw-logo-center .acw-secure { grid-column: 3; justify-self: end; }
@media (max-width: 560px) {
	:root .acw-logo-center .acw-header__inner { grid-template-columns: 1fr; justify-items: center; gap: 4px; }
	:root .acw-logo-center .acw-logo, :root .acw-logo-center .acw-secure { grid-column: 1; justify-self: center; }
}

/* ------------------------------------------------------------------ options */

/* Summary that does not follow the scroll. */
:root .acw-summary-static .acw-aside { position: static; }

/* Labels above the fields. */
:root .acw-body.acw-labels-above .form-row > label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--acw-label); }
:root .acw-body.acw-labels-above .form-row.acw-checkbox > label,
:root .acw-body.acw-labels-above .form-row > label.checkbox,
:root .acw-body.acw-labels-above .form-row > label.woocommerce-form__label-for-checkbox { display: flex; font-weight: 400; font-size: 15px; color: var(--acw-text); }
:root .acw-body.acw-labels-above .form-row input.input-text,
:root .acw-body.acw-labels-above .form-row select { min-height: 52px; padding-top: 12px; padding-bottom: 12px; }
:root .acw-body.acw-labels-above .form-row select { padding-inline-end: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
:root .acw-body.acw-labels-above .form-row .select2-container .select2-selection--single { height: 52px; }
:root .acw-body.acw-labels-above .form-row .select2-container .select2-selection__rendered { padding: 0 44px 0 16px; line-height: 50px; color: var(--acw-field-text, var(--acw-text)); font-size: 16px; }

/* Discount field above the payment methods: phones only (the summary is folded there). */
:root .acw-coupon.acw-coupon--mobile { display: none; }
@media (max-width: 960px) {
	:root .acw-coupon.acw-coupon--mobile { display: flex; margin: 0 0 18px; padding: 0; border-top: 0; }
	:root .acw-no-mobile-coupon .acw-summary .acw-coupon { display: none; }
}

/* "Total" right above "Place order": phones only. */
:root .acw-body .acw-place-total { display: none; }
@media (max-width: 960px) {
	:root .acw-body #payment .acw-place-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 12px 2px 0; border-top: 1px solid var(--acw-line); font-size: 17px; }
	:root .acw-body #payment .acw-place-total__amount { font-size: 20px; font-weight: 800; text-align: end; }
	:root .acw-body #payment .acw-place-total__amount small { display: block; font-size: 12px; font-weight: 400; color: var(--acw-muted); }
}

/* ------------------------------------------------------------------ shipping rates: WooCommerce's label markup */

:root .acw-option__title img, :root .acw-option__price img { max-height: 24px; width: auto; vertical-align: middle; display: inline-block; margin: 0 4px 0 0; }
:root .acw-option__title small, :root .acw-option__price small { font-size: 12px; font-weight: 400; color: var(--acw-muted); }
:root .acw-option__price { text-align: end; }
:root .acw-option__price .tax_label { display: block; }
/* What carrier plugins print under a rate or around the rates, kept in a table when it is table rows. */
:root .acw-hooked-rows { width: 100%; border-collapse: collapse; border: 0; margin: 0; background: none; }
:root .acw-hooked-rows th, :root .acw-hooked-rows td { border: 0; padding: 4px 0; background: none; text-align: start; vertical-align: top; font-size: 15px; }
:root .acw-shipping-hooks { margin-top: 14px; }
:root .acw-option__extra .form-row { margin: 0 0 8px; }
:root .acw-option__extra select, :root .acw-option__extra input.input-text { max-width: 100%; }

/* ------------------------------------------------------------------ placing the order, refreshing */

:root .acw-body #place_order.acw-is-busy { position: relative; color: transparent !important; cursor: progress; opacity: 1; }
:root .acw-body #place_order.acw-is-busy::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
	border: 2.5px solid var(--acw-btn-text); border-right-color: transparent; border-radius: 50%;
	animation: acw-spin .7s linear infinite;
}
@keyframes acw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { :root .acw-body #place_order.acw-is-busy::after { animation-duration: 2s; } }
:root .acw-updating .acw-totals, :root .acw-updating .acw-mobile-total, :root .acw-updating .acw-place-total { opacity: .55; transition: opacity .15s; }

/* ------------------------------------------------------------------ errors after a failed order */

:root .acw-body .woocommerce-NoticeGroup-checkout:focus { outline: 2px solid var(--acw-danger); outline-offset: 2px; }
:root .acw-body .woocommerce-error a.acw-error-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
:root .acw-body .woocommerce-error a.acw-error-link:hover { text-decoration-thickness: 2px; }
:root .acw-body .checkout-inline-error-message { display: block; margin-top: 6px; color: var(--acw-danger); font-size: 13px; font-weight: 500; }

/* ------------------------------------------------------------------ WooCommerce components (their stylesheets are not loaded here) */

:root .acw-body .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; word-wrap: normal !important;
}
:root .acw-body .screen-reader-text:focus { position: static !important; width: auto; height: auto; margin: 0; clip: auto; clip-path: none; white-space: normal; }

/* Card form of classic gateways (wc-credit-card-form). */
:root .acw-body .wc-credit-card-form { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
:root .acw-body .wc-credit-card-form .form-row { margin: 0 !important; float: none; width: auto; }
:root .acw-body .wc-credit-card-form .form-row-wide { grid-column: 1 / -1; }
:root .acw-body .wc-credit-card-form .clear { display: none; }
:root .acw-body .wc-credit-card-form input.input-text { font-family: inherit; letter-spacing: .04em; }
:root .acw-body .wc-credit-card-form-card-number { background-repeat: no-repeat; background-position: right 12px center; background-size: 32px auto; }

/* Password strength meter (account creation). */
:root .acw-body .woocommerce-password-strength { margin-top: 6px; padding: 6px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; text-align: center; background: var(--acw-surface); color: var(--acw-text); }
:root .acw-body .woocommerce-password-strength.strong { background: #dcfce7; color: #166534; }
:root .acw-body .woocommerce-password-strength.good { background: #fef9c3; color: #854d0e; }
:root .acw-body .woocommerce-password-strength.short, :root .acw-body .woocommerce-password-strength.bad { background: #fee2e2; color: #991b1b; }
:root .acw-body .woocommerce-password-hint { display: block; margin-top: 4px; font-size: 13px; color: var(--acw-muted); }

/* "Show password" eye of WooCommerce's password fields. */
:root .acw-body .password-input { position: relative; display: block; }
:root .acw-body .password-input input.input-text { padding-inline-end: 48px; }
:root .acw-body .show-password-input {
	position: absolute; top: 50%; inset-inline-end: 8px; transform: translateY(-50%);
	width: 36px; height: 36px; padding: 0; margin: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--acw-muted);
}
:root .acw-body .show-password-input::after {
	content: ""; display: block; width: 20px; height: 20px; margin: auto; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
:root .acw-body .show-password-input.display-password { color: var(--acw-primary); }

/* blockUI (WooCommerce greys out parts of the page while it works). */
:root .acw-body .blockUI.blockOverlay { background: var(--acw-bg) !important; opacity: .6 !important; cursor: wait !important; }
:root .acw-body #order_review .blockUI.blockOverlay::before, :root .acw-body form.checkout > .blockUI.blockOverlay::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px;
	border: 3px solid var(--acw-primary); border-right-color: transparent; border-radius: 50%;
	animation: acw-spin .8s linear infinite;
}

/* ------------------------------------------------------------------ policies window */

:root .acw-dialog {
	width: min(720px, calc(100vw - 32px)); max-width: none; max-height: min(80vh, 760px); padding: 0; margin: auto;
	border: 0; border-radius: calc(var(--acw-radius) + 4px); background: var(--acw-bg); color: var(--acw-text);
	box-shadow: 0 24px 64px rgba(17, 24, 39, .28); overflow: hidden; font-family: var(--acw-font);
}
:root .acw-dialog[open] { display: flex; flex-direction: column; }
:root .acw-dialog::backdrop { background: rgba(17, 24, 39, .55); }
:root .acw-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--acw-line); }
:root .acw-dialog__title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; }
:root .acw-dialog__close {
	display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; margin: 0;
	border: 0; border-radius: 50%; background: var(--acw-surface); color: var(--acw-text); cursor: pointer;
}
:root .acw-dialog__close:hover { background: var(--acw-line); }
:root .acw-dialog__body { padding: 8px 20px 24px; overflow-y: auto; overscroll-behavior: contain; font-size: 15px; line-height: 1.6; }
:root .acw-dialog__body:focus { outline: none; }
:root .acw-dialog__body img { max-width: 100%; height: auto; }
:root .acw-dialog__body h1, :root .acw-dialog__body h2, :root .acw-dialog__body h3 { font-size: 17px; line-height: 1.35; margin: 20px 0 8px; }
:root .acw-dialog__body a { color: var(--acw-primary); }
html:root.acw-dialog-open { overflow: hidden; }
@media (max-width: 560px) {
	:root .acw-dialog { width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: calc(var(--acw-radius) + 4px) calc(var(--acw-radius) + 4px) 0 0; }
}

/* ------------------------------------------------------------------ footer */

:root .acw-footer__text { margin: 0; }
:root .acw-footer__text p { margin: 0 0 6px; }
:root .acw-footer__text a { color: var(--acw-muted); }
:root .acw-wp-footer { display: contents; }

/* ------------------------------------------------------------------ safe areas (notch, home bar) */

:root .acw-header__inner { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
:root .acw-main { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
:root .acw-footer { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); padding-bottom: max(32px, calc(16px + env(safe-area-inset-bottom))); }
@media (max-width: 560px) {
	:root .acw-header__inner, :root .acw-main, :root .acw-footer { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
	:root .acw-footer { padding-bottom: max(16px, calc(12px + env(safe-area-inset-bottom))); }
}
:root .acw-dialog__body { padding-bottom: max(24px, calc(16px + env(safe-area-inset-bottom))); }

/* Very small phones (iPhone SE, mini). */
@media (max-width: 380px) {
	:root .acw-header__inner, :root .acw-main, :root .acw-footer { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
	:root .acw-steps__link { font-size: 14px; }
	:root .acw-steps__item + .acw-steps__item::before { margin: 0 8px 0 4px; }
	:root .acw-option__label { gap: 10px; padding: 14px 12px; flex-wrap: wrap; }
	:root .acw-option__price { margin-inline-start: 30px; }
	:root .acw-option__extra { padding-inline: 12px; }
	:root .acw-summary { padding: 16px; }
	:root .acw-button--primary, :root .acw-body #place_order { font-size: 17px; }
}

/* ------------------------------------------------------------------ focus */

:root .acw-body a:focus-visible, :root .acw-body button:focus-visible, :root .acw-body [tabindex]:focus-visible, :root .acw-dialog :focus-visible { outline: 2px solid var(--acw-primary); outline-offset: 2px; border-radius: 4px; }
:root .acw-body .acw-stepper__btn:focus-visible { border-radius: 50%; }

/* ------------------------------------------------------------------ hints, refresh errors, express */

:root .acw-field-hint { display: block; margin-top: 6px; color: #92400e; font-size: 13px; }
:root .acw-refresh-error { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
:root .acw-refresh-error .acw-link { font-size: 15px; text-decoration: underline; }
:root .acw-updating #place_order { pointer-events: none; opacity: .75; }
:root .acw-express-blocked [data-acw-express],
:root .acw-express-blocked #wc-stripe-express-checkout-element,
:root .acw-express-blocked #wc-stripe-payment-request-wrapper,
:root .acw-express-blocked #wcpay-express-checkout-element,
:root .acw-express-blocked #wcpay-payment-request-wrapper,
:root .acw-express-blocked .wcpay-payment-request-wrapper,
:root .acw-express-blocked #payment-request-button,
:root .acw-express-blocked .wc-block-components-express-payment,
:root .acw-express-blocked #ppc-button-ppcp-gateway.ppcp-express,
:root .acw-express-blocked .acw-express-mirror { display: none !important; }

/* "Return to cart" under the first button. */
:root .acw-return { margin: 14px 0 0; text-align: center; }
:root .acw-return__link { font-size: 15px; }

/* A shipping step passed over (one rate, nothing to fill in). */
:root .acw-steps__item.is-skipped .acw-steps__link { opacity: .75; }

/* ------------------------------------------------------------------ summary: contrast, savings, rewards, children */

:root .acw-summary { color: var(--acw-summary-text, inherit); }
:root .acw-summary .acw-item__meta, :root .acw-summary .acw-item__remove, :root .acw-summary .acw-totals .acw-muted,
:root .acw-summary .acw-item__price del, :root .acw-summary .acw-totals .order-total .includes_tax { color: var(--acw-summary-muted, var(--acw-muted)); }
:root .acw-summary .acw-coupon, :root .acw-summary .acw-totals { border-color: var(--acw-summary-line, var(--acw-line)) !important; }
:root .acw-summary .acw-item__thumb { border-color: var(--acw-summary-line, var(--acw-line)); }
:root .acw-item__regular { display: block; font-size: 13px; font-weight: 400; color: var(--acw-muted); }
:root .acw-totals .acw-you-save th, :root .acw-totals .acw-you-save td { color: var(--acw-success); font-weight: 700; font-size: 15px; padding-top: 6px; }
:root .acw-item--child .acw-item__media, :root .acw-item.is-child .acw-item__media { padding-inline-start: 22px; }
:root .acw-item--child .acw-item__thumb, :root .acw-item.is-child .acw-item__thumb { width: 44px; height: 44px; }
:root .acw-item--child .acw-item__name, :root .acw-item.is-child .acw-item__name { font-size: 14px; font-weight: 500; }
:root .acw-review .acw-rewards { margin: 0 0 18px; padding: 0 0 16px; border-bottom: 1px solid var(--acw-summary-line, var(--acw-line)); }
:root .acw-review .acw-rewards__message { margin: 0 0 8px; font-size: 14px; }
:root .acw-review .acw-rewards__bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--acw-success) 15%, transparent); overflow: hidden; }
:root .acw-review .acw-rewards__fill { display: block; height: 100%; border-radius: inherit; background: var(--acw-success); transition: width .3s; }
:root .acw-review .acw-rewards__tiers { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--acw-summary-muted, var(--acw-muted)); }
:root .acw-review .acw-rewards__tier.is-unlocked { color: var(--acw-success); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { :root .acw-review .acw-rewards__fill { transition: none; } }

/* ------------------------------------------------------------------ pay for order (WooCommerce's form-pay) */

:root .acw-pay { max-width: 760px; }
:root .acw-pay__title { margin: 8px 0 20px; font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
:root .acw-pay .woocommerce-notices-wrapper:empty { display: none; }
:root .acw-pay table.shop_table { width: 100%; border-collapse: collapse; margin: 0 0 24px; border: 1px solid var(--acw-line); border-radius: var(--acw-radius); overflow: hidden; font-size: 15px; }
:root .acw-pay table.shop_table th, :root .acw-pay table.shop_table td { padding: 12px 16px; text-align: start; border: 0; border-top: 1px solid var(--acw-line); background: none; vertical-align: top; }
:root .acw-pay table.shop_table thead th { border-top: 0; background: var(--acw-surface); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--acw-label); }
:root .acw-pay table.shop_table td.product-total, :root .acw-pay table.shop_table tfoot td, :root .acw-pay table.shop_table td.product-subtotal { text-align: end; }
:root .acw-pay table.shop_table tfoot tr:last-child th, :root .acw-pay table.shop_table tfoot tr:last-child td { font-size: 18px; font-weight: 800; }
:root .acw-pay ul.order_details { list-style: none; margin: 0 0 24px; padding: 16px; border: 1px solid var(--acw-line); border-radius: var(--acw-radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
:root .acw-pay ul.order_details li { margin: 0; font-size: 13px; color: var(--acw-muted); }
:root .acw-pay ul.order_details li strong { display: block; font-size: 15px; color: var(--acw-text); }
:root .acw-pay #payment .form-row { margin: 0 0 12px; }
:root .acw-pay .button, :root .acw-pay input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border: 0; border-radius: var(--acw-radius); background: var(--acw-primary); color: var(--acw-btn-text); font-weight: 800; font-size: 17px; cursor: pointer; text-decoration: none; }
:root .acw-pay .button:hover, :root .acw-pay input[type="submit"]:hover { background: var(--acw-primary-hover, color-mix(in srgb, var(--acw-primary) 88%, #000)); }
@media (max-width: 560px) {
	:root .acw-pay__title { font-size: 22px; }
	:root .acw-pay table.shop_table th, :root .acw-pay table.shop_table td { padding: 10px 12px; }
}

/* ------------------------------------------------------------------ more colors */

:root .acw-logo { margin-block: var(--acw-logo-margin, 0); }
:root .acw-summary a, :root .acw-summary .acw-link { color: var(--acw-summary-link, var(--acw-primary)); }
:root .acw-summary .acw-item__name a { color: inherit; }
:root .acw-button:not(.acw-button--primary):hover { background: var(--acw-secondary-hover, color-mix(in srgb, var(--acw-secondary, var(--acw-field)) 92%, var(--acw-text))); color: var(--acw-secondary-text, var(--acw-text)); }
@media (max-width: 960px) {
	:root .acw-summary-toggle { background: var(--acw-mobile-bar-bg, var(--acw-surface)); }
}

/* ------------------------------------------------------------------ the shop's extra fields on the order */

:root .acw-order-fields dl { margin: 12px 0 0; }
:root .acw-order-fields dt { font-weight: 700; }
:root .acw-order-fields dd { margin: 0 0 8px; }
:root .acw-order-fields-wrap .acw-order-fields { margin-top: 0; }
