/**
 * Thelmz: classic WooCommerce screens.
 *
 * Styles the WooCommerce screens that PHP templates still draw instead of
 * blocks:
 *   - My account: log in, lost/reset password, dashboard, account menu,
 *     orders, view order, addresses, account details, downloads, payment
 *     methods;
 *   - "Pay for order", including Paystack's "Pay now" step that every card,
 *     transfer or USSD payment passes through;
 *   - the store notice (Appearance → Store notice).
 *
 * functions.php loads this file only where those screens appear, after
 * WooCommerce's own CSS. Colours, fonts, radii and shadows all come from
 * theme.json tokens, so changes in Appearance → Editor → Styles carry through.
 * Mobile first: the base rules are for phones; wider screens build on them.
 * No JavaScript: everything here works with what WooCommerce already loads.
 *
 * Author: Shina Adetoye
 */

/* =========================================================================
   1. Tokens for these screens
   ========================================================================= */

:is(.woocommerce-account, .woocommerce-order-pay) {
	/* Field outline. Fallback: muted (5.8:1). See the @supports block below. */
	--thelmz-field-border: var(--wp--preset--color--muted);
	--thelmz-field-height: 3rem; /* 48px: a comfortable thumb target */
	--thelmz-tap: 2.75rem; /* 44px minimum for links and small buttons */
	--thelmz-card-padding: clamp(1.25rem, 4vw, 2rem);

	/* WooCommerce reads these for inputs, selects and searchable dropdowns. */
	--wc-form-border-color: var(--thelmz-field-border);
	--wc-form-border-radius: var(--wp--custom--radius--small);
	--wc-form-border-width: 1px;
	--wc-form-color-background: var(--wp--preset--color--white);
	--wc-form-color-text: var(--wp--preset--color--ink);
	--wc-red: var(--wp--preset--color--rose-ink);
	--wc-green: var(--wp--preset--color--teal-soft);
	--wc-subtext: var(--wp--preset--color--muted);
}

/* Softer field outline where supported: ink at 60% on white is 3.9:1, above
   the 3:1 WCAG minimum for form controls. */
@supports (color: color-mix(in srgb, red 50%, blue)) {
	:is(.woocommerce-account, .woocommerce-order-pay) {
		--thelmz-field-border: color-mix(in srgb, var(--wp--preset--color--ink) 60%, var(--wp--preset--color--white));
	}
}

/* =========================================================================
   2. Page widths
   ========================================================================= */

/* Signed in: room for the account menu beside the content. */
.woocommerce-account main .woocommerce {
	max-width: 1080px;
}

/* Signed out (log in, lost and reset password): one calm, narrow column. */
.woocommerce-account:not(.logged-in) main .woocommerce,
.woocommerce-account.woocommerce-lost-password main .woocommerce {
	max-width: 30rem;
}

/* Signed out with sign-up on: Log in and Register side by side (they stack
   on phones, WooCommerce's small-screen rules). */
.woocommerce-account:not(.logged-in) main .woocommerce:has(#customer_login.col2-set) {
	max-width: 60rem;
}

/* Pay for order: a focused single column. */
.woocommerce-order-pay main .woocommerce {
	max-width: 42rem;
	margin-inline: auto;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-notices-wrapper:empty {
	display: none;
}

/* =========================================================================
   3. Type inside these screens
   ========================================================================= */

/* Global h2 is "Huge"; inside account screens headings stay modest. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(h2, h3) {
	margin: 2rem 0 1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	line-height: 1.25;
	color: var(--wp--preset--color--teal-deep);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce h3 {
	font-size: var(--wp--preset--font-size--medium);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(h2, h3):first-child {
	margin-top: 0;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce address {
	font-style: normal;
	line-height: 1.6;
}

/* =========================================================================
   4. Cards: forms, address boxes and the dashboard share one look
   ========================================================================= */

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(
	form.woocommerce-form-login,
	form.woocommerce-form-register,
	form.lost_reset_password,
	.woocommerce-MyAccount-content > form
),
.woocommerce-account .woocommerce form#add_payment_method {
	margin: 0 0 1.5rem;
	padding: var(--thelmz-card-padding);
	text-align: left;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--soft);
}

/* =========================================================================
   5. Form rows, labels and fields
   ========================================================================= */

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row {
	margin: 0 0 1.1rem;
	padding: 0;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row label {
	display: block;
	margin: 0 0 0.4rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row .required {
	color: var(--wp--preset--color--rose-ink);
	text-decoration: none;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row .optional {
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

/* Text inputs, text areas and selects. 16px+ text stops phones zooming in. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form :is(input.input-text, textarea.input-text, select) {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--thelmz-field-height);
	margin: 0;
	padding: 0.7rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--thelmz-field-border);
	border-radius: var(--wp--custom--radius--small);
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form textarea.input-text {
	min-height: 7rem;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form select {
	padding-right: 2.75rem;
	background-position: calc(100% - 1rem) 50%;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form :is(input.input-text, textarea.input-text, select):hover {
	border-color: var(--wp--preset--color--teal-soft);
}

/* Focus: a 2px teal edge, plus the theme's rose focus ring (theme.css). */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form :is(input.input-text, textarea.input-text, select):focus {
	border-color: var(--wp--preset--color--teal);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--teal);
	outline-offset: 2px;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form ::placeholder {
	color: var(--wp--preset--color--muted);
	opacity: 1;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row.woocommerce-invalid :is(input.input-text, select) {
	border-color: var(--wp--preset--color--rose-ink);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--rose-ink);
}

/* Field help text (WooCommerce shows it as a small pop-over on focus). */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row .woocommerce-input-wrapper .description {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--teal-deep);
	border-radius: var(--wp--custom--radius--small);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row .woocommerce-input-wrapper .description::before {
	border-color: var(--wp--preset--color--teal-deep) transparent transparent transparent;
}

#account_display_name_description {
	display: block;
	margin-top: 0.4rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

/* Checkboxes and radios: native controls in brand teal, 20px. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(input[type="checkbox"], input[type="radio"]) {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	accent-color: var(--wp--preset--color--teal);
	vertical-align: middle;
	cursor: pointer;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row label:is(.woocommerce-form__label-for-checkbox, .checkbox) {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: var(--thelmz-tap);
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

/* Two fields per row from 600px (account details: first and last name). */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form :is(.form-row-first, .form-row-last) {
	float: none;
	width: auto;
}

@media (min-width: 600px) {
	.woocommerce-account .woocommerce .woocommerce-EditAccountForm .form-row-first {
		float: left;
		width: calc(50% - 0.625rem);
	}

	.woocommerce-account .woocommerce .woocommerce-EditAccountForm .form-row-last {
		float: right;
		width: calc(50% - 0.625rem);
	}
}

/* Address form: a tidy grid instead of floats. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 1.25rem;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-address-fields__field-wrapper > .form-row {
	float: none;
	width: auto;
	margin: 0 0 1.1rem;
}

@media (min-width: 600px) {
	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-address-fields__field-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-address-fields__field-wrapper > .form-row {
		grid-column: 1 / -1;
	}

	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-address-fields__field-wrapper > :is(.form-row-first, .form-row-last) {
		grid-column: auto;
	}
}

/* "Password change" group in Account details. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form fieldset {
	clear: both;
	margin: 1.5rem 0 1.25rem;
	padding: 1rem var(--thelmz-card-padding) 0.25rem;
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form fieldset legend {
	padding: 0 0.5rem;
	margin-left: -0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--teal-deep);
}

/* Optional birthday (sign-up and Account details; thelmz-core
   customer-accounts.php): day and month side by side. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form fieldset.thelmz-birthday {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
	gap: 0.75rem;
	padding: 1rem var(--thelmz-card-padding);
}
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .thelmz-birthday__help {
	grid-column: 1 / -1;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

/* Searchable dropdowns (state/county): match the text fields. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	min-height: var(--thelmz-field-height);
	border-color: var(--thelmz-field-border);
	border-radius: var(--wp--custom--radius--small);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0.7rem 2.75rem 0.7rem 1rem;
	font-size: 1rem;
	color: var(--wp--preset--color--ink);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 1rem;
}

:is(.woocommerce-account, .woocommerce-order-pay) .select2-container--focus .select2-selection,
:is(.woocommerce-account, .woocommerce-order-pay) .select2-container .select2-selection:focus-visible {
	border-color: var(--wp--preset--color--teal);
	outline: 2px solid var(--wp--preset--color--rose);
	outline-offset: 2px;
}

:is(.woocommerce-account, .woocommerce-order-pay) .select2-container .select2-results__option {
	padding: 0.65rem 1rem;
}

/* 16px search text in the dropdown, so phones don't zoom in. */
:is(.woocommerce-account, .woocommerce-order-pay) .select2-container .select2-search--dropdown .select2-search__field {
	min-height: var(--thelmz-tap);
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	border: 1px solid var(--thelmz-field-border);
	border-radius: var(--wp--custom--radius--small);
}

:is(.woocommerce-account, .woocommerce-order-pay) .select2-container--default .select2-results__option--highlighted:is([aria-selected], [data-selected]) {
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--teal);
}

/* Show/hide password button: a 44px target inside the field. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .password-input .input-text {
	padding-right: 3.25rem;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .show-password-input {
	display: grid;
	place-items: center;
	right: 0.2rem;
	width: var(--thelmz-tap);
	height: var(--thelmz-tap);
	color: var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--small);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .show-password-input:hover {
	background-color: var(--wp--preset--color--blush-soft);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form .show-password-input::before {
	width: 1.25rem;
	height: 1.25rem;
}

/* =========================================================================
   6. Buttons
   WooCommerce's classic buttons (.button) get the same pill as the theme's
   block buttons, including the ones Paystack and WooCommerce print without
   the theme's button class.
   ========================================================================= */

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(a.button, button.button, input.button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	box-sizing: border-box;
	min-height: var(--thelmz-field-height);
	margin: 0;
	padding: 0.7rem 1.6rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--rose-ink);
	border: 1.5px solid var(--wp--preset--color--rose-ink);
	border-radius: var(--wp--custom--radius--pill);
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(a.button, button.button, input.button):hover {
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--teal-deep);
	border-color: var(--wp--preset--color--teal-deep);
	opacity: 1;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(a.button, button.button, input.button):is(:disabled, .disabled) {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Quieter, outlined buttons: view an order, page through orders, card actions. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(.button.view, .woocommerce-pagination .button, .payment-method-actions .button) {
	color: var(--wp--preset--color--teal);
	background-color: transparent;
	border-color: currentColor;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(.button.view, .woocommerce-pagination .button, .payment-method-actions .button):hover {
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--teal);
	border-color: var(--wp--preset--color--teal);
}

/* Cancel (an order, or Paystack's "Cancel order & restore cart"). */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .button.cancel {
	color: var(--wp--preset--color--rose-ink);
	background-color: transparent;
	border-color: currentColor;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .button.cancel:hover {
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--rose-ink);
	border-color: var(--wp--preset--color--rose-ink);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}

/* =========================================================================
   7. Notices (success, info, error)
   Block themes print WooCommerce messages as "notice banners".
   ========================================================================= */

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner {
	align-items: flex-start;
	margin: 0 0 1.25rem;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
	color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-left: 4px solid var(--wp--preset--color--teal-soft);
	border-radius: var(--wp--custom--radius--small);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner > svg {
	width: 1.5rem;
	height: 1.5rem;
	fill: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--teal-soft);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner.is-success {
	border-left-color: var(--wp--preset--color--teal);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner.is-success > svg {
	background-color: var(--wp--preset--color--teal);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner:is(.is-error, .is-warning) {
	background-color: var(--wp--preset--color--blush-soft);
	border-color: var(--wp--preset--color--blush);
	border-left-color: var(--wp--preset--color--rose-ink);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner:is(.is-error, .is-warning) > svg {
	background-color: var(--wp--preset--color--rose-ink);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner a:not(.button) {
	color: var(--wp--preset--color--teal);
	font-weight: 600;
}

/* The link inside a notice (e.g. "Browse products" when there are no orders)
   becomes a proper button on its own line. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward {
	float: none;
	display: flex;
	width: fit-content;
	min-height: var(--thelmz-tap);
	margin: 0.75rem 0 0;
	padding: 0.55rem 1.25rem !important;
	font-weight: 600;
	text-decoration: none;
	color: var(--wp--preset--color--white) !important;
	background: var(--wp--preset--color--teal) !important;
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	opacity: 1;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .wc-block-components-notice-banner > .wc-block-components-notice-banner__content .wc-forward:hover {
	background: var(--wp--preset--color--teal-deep) !important;
}

/* Older-style messages that some plugins still print directly. */
:is(.woocommerce-account, .woocommerce-order-pay) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem 1rem 2.5rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-left: 4px solid var(--wp--preset--color--teal-soft);
	border-radius: var(--wp--custom--radius--small);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-error {
	background-color: var(--wp--preset--color--blush-soft);
	border-left-color: var(--wp--preset--color--rose-ink);
}

/* A plain dot instead of WooCommerce's icon font (saves a font download). */
:is(.woocommerce-account, .woocommerce-order-pay) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	content: "";
	top: 1.45rem;
	left: 1rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--teal-soft);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-error::before {
	background-color: var(--wp--preset--color--rose-ink);
}

/* =========================================================================
   8. Tables (orders, order details, downloads, payment methods)
   ========================================================================= */

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table {
	width: 100%;
	margin: 0 0 1.5rem;
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--soft);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table :is(th, td) {
	padding: 0.85rem 1.1rem;
	line-height: 1.5;
	vertical-align: middle;
	border-top: 1px solid var(--wp--preset--color--line);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table thead th {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	border-top: 0;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table tfoot th {
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table tfoot td {
	font-weight: 600;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table a:not(.button) {
	font-weight: 500;
	color: var(--wp--preset--color--teal-deep);
}

/* Amounts line up on the right. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-table--order-details :is(th, td):last-child,
.woocommerce-order-pay .woocommerce #order_review .shop_table :is(th, td):last-child {
	text-align: right;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .product-quantity {
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

/* Item details such as delivery date or card message. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.wc-item-meta {
	margin: 0.35rem 0 0;
	padding: 0;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
	list-style: none;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.wc-item-meta :is(li, p) {
	margin: 0.15rem 0 0;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.wc-item-meta .wc-item-meta-label {
	float: none;
	font-weight: 600;
}

/* Order status: teal when moving, rose when it needs attention. */
.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-status {
	font-weight: 600;
	color: var(--wp--preset--color--teal-soft);
}

.woocommerce-account .woocommerce :is(.woocommerce-orders-table__row--status-pending, .woocommerce-orders-table__row--status-on-hold, .woocommerce-orders-table__row--status-failed) .woocommerce-orders-table__cell-order-status {
	color: var(--wp--preset--color--rose-ink);
}

.woocommerce-account .woocommerce :is(.woocommerce-orders-table__row--status-cancelled, .woocommerce-orders-table__row--status-refunded) .woocommerce-orders-table__cell-order-status {
	color: var(--wp--preset--color--muted);
}

.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-number a {
	font-family: var(--wp--preset--font-family--heading);
	text-decoration: none;
}

.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button {
	display: inline-flex;
	margin: 0;
	min-height: var(--thelmz-tap);
	padding: 0.5rem 1.15rem;
}

/* Phones (up to 768px, WooCommerce's own breakpoint): every row becomes a
   card with labels on the left. */
@media (max-width: 768px) {
	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table_responsive {
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table_responsive tr {
		display: block;
		margin: 0 0 1rem;
		padding: 0.25rem 1.1rem 0.9rem;
		background: var(--wp--preset--color--white);
		border: 1px solid var(--wp--preset--color--line);
		border-radius: var(--wp--custom--radius--medium);
		box-shadow: var(--wp--preset--shadow--soft);
	}

	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table_responsive tr :is(td, th) {
		display: flow-root; /* label floats left; the value stays in one piece */
		padding: 0.65rem 0;
		text-align: right !important;
		background: transparent;
		border-top: 1px solid var(--wp--preset--color--line);
	}

	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table_responsive tr > :first-child {
		border-top: 0;
	}

	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce table.shop_table_responsive tr td::before {
		float: left;
		margin-right: 1rem;
		content: attr(data-title);
		font-size: var(--wp--preset--font-size--x-small);
		font-weight: 600;
		letter-spacing: 0.08em;
		text-align: left;
		text-transform: uppercase;
		color: var(--wp--preset--color--muted);
	}

	/* WooCommerce hides the order number on phones; show it as the card title. */
	.woocommerce-account .woocommerce table.woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number {
		display: block;
		padding: 0.75rem 0 0.5rem;
		font-size: var(--wp--preset--font-size--large);
		text-align: left !important;
		border-top: 0;
	}

	.woocommerce-account .woocommerce table.woocommerce-orders-table tr td.woocommerce-orders-table__cell-order-actions {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		padding-top: 0.9rem;
	}

	.woocommerce-account .woocommerce table.woocommerce-orders-table tr td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}

	.woocommerce-account .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
		flex: 1 1 8rem;
		margin: 0;
	}
}

@media (min-width: 769px) {
	.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions {
		text-align: right;
		white-space: nowrap;
	}

	.woocommerce-account .woocommerce .woocommerce-orders-table__cell-order-actions .button + .button {
		margin-left: 0.4rem;
	}
}

/* =========================================================================
   9. Account menu: swipeable chips on phones, a card menu on desktop
   ========================================================================= */

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	margin: 0 0 1.5rem;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
}

/* Phones: one row of chips that scrolls sideways, edge to edge. */
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
	display: flex;
	gap: 0.5rem;
	margin: 0 calc(-1 * var(--wp--style--root--padding-left, 1rem));
	padding: 0.25rem var(--wp--style--root--padding-left, 1rem) 0.5rem;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--wp--style--root--padding-left, 1rem);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
	display: none;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	list-style: none;
	scroll-snap-align: start;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a {
	display: inline-flex;
	align-items: center;
	min-height: var(--thelmz-tap);
	padding: 0 1.1rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	color: var(--wp--preset--color--teal-deep);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a:hover {
	text-decoration: none;
	background: var(--wp--preset--color--blush-soft);
	border-color: var(--wp--preset--color--blush);
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active a {
	text-decoration: none;
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--teal);
	border-color: var(--wp--preset--color--teal);
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--wp--preset--color--rose-ink);
}

/* Desktop: menu beside the content, as a soft card. */
@media (min-width: 960px) {
	.woocommerce-account main .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		display: grid;
		grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
		gap: var(--wp--preset--spacing--50);
		align-items: start;
	}

	.woocommerce-account main .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
	.woocommerce-account main .woocommerce:has(> .woocommerce-MyAccount-navigation)::after {
		display: none;
	}

	.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
		margin: 0;
	}

	.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
		flex-direction: column;
		gap: 0.15rem;
		margin: 0;
		padding: 0.5rem;
		overflow: visible;
		background: var(--wp--preset--color--white);
		border: 1px solid var(--wp--preset--color--line);
		border-radius: var(--wp--custom--radius--medium);
		box-shadow: var(--wp--preset--shadow--soft);
	}

	.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li a {
		display: flex;
		width: 100%;
		box-sizing: border-box;
		padding: 0.5rem 0.9rem;
		background: transparent;
		border: 0;
		border-radius: var(--wp--custom--radius--small);
	}

	.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.is-active a {
		font-weight: 600;
		color: var(--wp--preset--color--teal-deep);
		background: var(--wp--preset--color--blush);
		box-shadow: inset 3px 0 0 var(--wp--preset--color--rose);
	}

	.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 0.35rem;
		padding-top: 0.35rem;
		border-top: 1px solid var(--wp--preset--color--line);
	}
}

/* =========================================================================
   10. Account screens
   ========================================================================= */

/* Dashboard: a welcome card. */
.woocommerce-account.woocommerce-dashboard .woocommerce .woocommerce-MyAccount-content {
	padding: var(--thelmz-card-padding);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--soft);
}

.woocommerce-account.woocommerce-dashboard .woocommerce .woocommerce-MyAccount-content > p:first-of-type {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
}

.woocommerce-account.woocommerce-dashboard .woocommerce .woocommerce-MyAccount-content > p:first-of-type strong {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 400;
	color: var(--wp--preset--color--teal-deep);
}

.woocommerce-account.woocommerce-dashboard .woocommerce .woocommerce-MyAccount-content > p:last-child {
	margin-bottom: 0;
	color: var(--wp--preset--color--muted);
}

/* Addresses: one card each, side by side from 600px. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(.addresses, .woocommerce-columns--addresses) {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin: 0 0 1.5rem;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(.addresses, .woocommerce-columns--addresses)::before,
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(.addresses, .woocommerce-columns--addresses)::after {
	display: none;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(.addresses, .woocommerce-columns--addresses) > :is(.col-1, .col-2) {
	float: none;
	width: auto;
}

@media (min-width: 600px) {
	:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(.addresses, .woocommerce-columns--addresses) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.woocommerce-account .woocommerce .woocommerce-Address {
	padding: var(--thelmz-card-padding);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--soft);
}

.woocommerce-account .woocommerce .woocommerce-Address .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin: 0 0 0.75rem;
}

.woocommerce-account .woocommerce .woocommerce-Address .woocommerce-Address-title h2 {
	margin: 0;
}

.woocommerce-account .woocommerce .woocommerce-Address .woocommerce-Address-title a.edit {
	display: inline-flex;
	color: var(--wp--preset--color--teal);
	align-items: center;
	min-height: var(--thelmz-tap);
	margin: 0;
	padding: 0 1rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid currentColor;
	border-radius: var(--wp--custom--radius--pill);
}

.woocommerce-account .woocommerce .woocommerce-Address .woocommerce-Address-title a.edit:hover {
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--teal);
	border-color: var(--wp--preset--color--teal);
}

.woocommerce-account.woocommerce-edit-address .woocommerce .woocommerce-MyAccount-content > p:first-of-type {
	color: var(--wp--preset--color--muted);
}

/* Order details: customer addresses shown under an order. */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-customer-details address {
	box-sizing: border-box;
	width: 100%;
	padding: 1.1rem 1.25rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-customer-details address p {
	margin: 0.5rem 0 0;
}

/* View order: the "Order #… was placed on … and is currently …" line. */
.woocommerce-account.woocommerce-view-order .woocommerce .woocommerce-MyAccount-content > p:first-of-type {
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	line-height: 1.8;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-content mark {
	font-weight: 600;
	color: var(--wp--preset--color--teal-deep);
	background: transparent;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-content mark.order-status {
	padding: 0.15em 0.7em;
	white-space: nowrap;
	background: var(--wp--preset--color--blush);
	border-radius: var(--wp--custom--radius--pill);
}

/* Order updates from the shop: a simple timeline. */
.woocommerce-account .woocommerce ol.woocommerce-OrderUpdates {
	margin: 0 0 2rem;
	padding: 0 0 0 1.25rem;
	list-style: none;
	border-left: 2px solid var(--wp--preset--color--blush);
}

.woocommerce-account .woocommerce ol.woocommerce-OrderUpdates li {
	position: relative;
	margin: 0 0 1.25rem;
}

.woocommerce-account .woocommerce ol.woocommerce-OrderUpdates li::before {
	content: "";
	position: absolute;
	top: 0.4rem;
	left: calc(-1.25rem - 6px);
	width: 10px;
	height: 10px;
	background: var(--wp--preset--color--rose);
	border-radius: 50%;
}

.woocommerce-account .woocommerce .woocommerce-OrderUpdate-meta {
	margin: 0 0 0.25rem;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

.woocommerce-account .woocommerce .woocommerce-OrderUpdate-description p {
	margin: 0;
}

.woocommerce-account .woocommerce .order-again {
	margin: 0 0 1.5rem;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-content > a.button {
	margin-top: 0.5rem;
}

/* Log in, lost and reset password. */
.woocommerce-account:not(.logged-in) .woocommerce > h2 {
	margin: 0 0 1rem;
	text-align: center;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: var(--thelmz-tap);
	margin: 0;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce :is(.woocommerce-form-login__submit, .woocommerce-form-register__submit, form.lost_reset_password .button) {
	float: none;
	width: 100%;
	margin: 0.75rem 0 0;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-LostPassword {
	margin: 1rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce .woocommerce-LostPassword a {
	display: inline-flex;
	align-items: center;
	min-height: var(--thelmz-tap);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form.lost_reset_password > p:first-child {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce form.lost_reset_password :is(.form-row-first, .form-row-last) {
	float: none;
	width: 100%;
}

/* Password strength meter (reset password, account details). */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-strength {
	margin: 0.5rem 0 0;
	padding: 0.45rem 0.75rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	text-align: left;
	color: var(--wp--preset--color--rose-ink);
	background-color: var(--wp--preset--color--blush-soft);
	border: 1px solid var(--wp--preset--color--blush);
	border-radius: var(--wp--custom--radius--small);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-strength::after {
	content: "";
	display: block;
	width: 25%;
	height: 4px;
	margin-top: 0.4rem;
	background: currentColor;
	border-radius: var(--wp--custom--radius--pill);
	transition: width 0.25s ease;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-strength.bad {
	background-color: var(--wp--preset--color--blush);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-strength.bad::after {
	width: 50%;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-strength.good {
	color: var(--wp--preset--color--teal-soft);
	background-color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--teal-soft);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-strength.good::after {
	width: 75%;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-strength.strong {
	color: var(--wp--preset--color--teal);
	background-color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--teal);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-strength.strong::after {
	width: 100%;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce-password-hint {
	display: block;
	margin: 0.4rem 0 0;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

/* =========================================================================
   11. Pay for order + Paystack "Pay now"
   ========================================================================= */

/* Order summary strip (order number, date, total, payment method). */
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin: 0 0 1.5rem;
	padding: var(--thelmz-card-padding);
	list-style: none;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--preset--shadow--soft);
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.order_details::before,
:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.order_details::after {
	display: none;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.order_details li {
	flex: 1 1 8rem;
	float: none;
	margin: 0;
	padding: 0;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	border: 0;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.order_details li strong {
	display: block;
	margin-top: 0.25rem;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: none;
	color: var(--wp--preset--color--ink);
	overflow-wrap: break-word;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.order_details li.method {
	flex-basis: 14rem;
}

:is(.woocommerce-account, .woocommerce-order-pay) .woocommerce ul.order_details li.total strong {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	color: var(--wp--preset--color--teal-deep);
}

/* Paystack's step: a short line, a full-width "Pay Now", a quiet cancel. */
#wc-paystack-form {
	padding: var(--thelmz-card-padding);
	text-align: center;
	background: var(--wp--preset--color--blush-soft);
	border: 1px solid var(--wp--preset--color--blush);
	border-radius: var(--wp--custom--radius--medium);
}

#wc-paystack-form > p {
	margin: 0 0 1.25rem;
	color: var(--wp--preset--color--ink);
}

#paystack_form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

#paystack_form #paystack-payment-button {
	width: 100%;
	min-height: 3.25rem;
	font-size: var(--wp--preset--font-size--medium);
}

#paystack_form #paystack-cancel-payment-button {
	width: 100%;
}

/* "Pay for order" form (orders created by the shop, or "Pay" from My account). */
:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment,
#add_payment_method #payment {
	padding: 0;
	background: transparent;
	border-radius: 0;
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment ul.payment_methods,
#add_payment_method #payment ul.payment_methods {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	border: 0;
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment ul.payment_methods li,
#add_payment_method #payment ul.payment_methods li {
	margin: 0 0 0.75rem;
	padding: 0.85rem 1.1rem;
	line-height: 1.5;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment ul.payment_methods li > input,
#add_payment_method #payment ul.payment_methods li > input {
	margin: 0 0.6rem 0 0;
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment ul.payment_methods li > label,
#add_payment_method #payment ul.payment_methods li > label {
	display: inline;
	font-weight: 600;
	cursor: pointer;
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment ul.payment_methods li img,
#add_payment_method #payment ul.payment_methods li img {
	max-height: 1.5rem;
	margin: 0 0 0 0.5rem;
	vertical-align: middle;
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment div.payment_box,
#add_payment_method #payment div.payment_box {
	margin: 0.75rem 0 0;
	padding: 0.85rem 1rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink);
	background-color: var(--wp--preset--color--blush-soft);
	border-radius: var(--wp--custom--radius--small);
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment div.payment_box::before,
#add_payment_method #payment div.payment_box::before {
	border-bottom-color: var(--wp--preset--color--blush-soft);
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment div.form-row,
#add_payment_method #payment div.form-row {
	padding: 0;
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce #payment #place_order,
#add_payment_method #payment #place_order {
	float: none;
	width: 100%;
	min-height: 3.25rem;
	margin: 0.5rem 0 0;
	font-size: var(--wp--preset--font-size--medium);
}

:is(.woocommerce-order-pay, .woocommerce-account) .woocommerce :is(.woocommerce-terms-and-conditions-wrapper, .woocommerce-privacy-policy-text) {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

/* =========================================================================
   12. Store notice
   Off by default (Appearance → Store notice).
   When on, it sits at the very top of every page and scrolls away, so it
   never covers the WhatsApp button, the cart or checkout on a phone.
   ========================================================================= */

p.woocommerce-store-notice.demo_store {
	position: relative;
	inset: auto;
	z-index: 41;
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0.35rem var(--wp--style--root--padding-left, 1rem);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
	color: var(--wp--preset--color--teal-deep);
	background: var(--wp--preset--color--blush);
	border-bottom: 1px solid var(--wp--preset--color--line);
	box-shadow: none;
}

p.woocommerce-store-notice.demo_store a {
	color: var(--wp--preset--color--teal-deep);
}

p.woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link {
	display: inline-flex;
	align-items: center;
	margin-left: 0.5rem;
	vertical-align: middle;
	min-height: 2.75rem;
	padding: 0 1rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

p.woocommerce-store-notice.demo_store .woocommerce-store-notice__dismiss-link:hover {
	text-decoration: underline;
}
