/*
 * Design tokens of the 2027 storefront (Figma "Monday App Store 2027 v2",
 * docs/DESIGN-IMPLEMENTATION-PLAN.md §3). The Elementor kit holds the same
 * values as global colours and fonts; these variables let the plugin
 * shortcodes (mas-store, mas-licensing) match it. Presentation only.
 *
 * Geist and Geist Mono (SIL OFL 1.1, assets/fonts/OFL.txt) are served from
 * the theme, so no font request leaves the site; functions.php lists them in
 * Elementor's font picker.
 */
@font-face {
	font-family: "Geist";
	src: url("../fonts/Geist-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
:root {
	--mas-navy: #0a0a18;
	--mas-navy-2: #14142b;
	--mas-ink: #05050d;
	--mas-canvas: #ffffff;
	--mas-surface: #f6f7fa;
	--mas-border: #e4e7ee;
	--mas-title: #0f1020;
	--mas-body: #4a4f5c;
	--mas-muted: #6b7080;
	--mas-on-dark: #ffffff;
	--mas-on-dark-soft: #b4b4cc;
	--mas-accent: linear-gradient(90deg, #ff9a3d, #ff5c00);
	--mas-accent-solid: #c2560a;
	--mas-accent-bright: #ff5c00;
	--mas-accent-soft: #fff3ea;
	--mas-good: #0e9f6e;
	--mas-good-text: #087a55;   /* small text on --mas-good-soft, AA */
	--mas-accent-on-soft: #a84a08; /* small text on --mas-accent-soft, AA */
	--mas-bad-text: #b42318;    /* small text on --mas-bad-soft, AA */
	--mas-good-soft: #e8f7f1;
	--mas-bad: #d92d20;
	--mas-bad-soft: #fdecec;
	--mas-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mas-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--mas-radius-card: 16px;
	--mas-radius-input: 10px;
	--mas-content: 1200px;
}

/* Navy hero band with the orange glow (nav, hero, closing CTA): add the
   class "mas-band-navy" to an Elementor container. */
.mas-band-navy {
	background:
		radial-gradient(60% 80% at 50% 0%, rgba(255, 92, 0, .18), transparent 70%),
		linear-gradient(180deg, var(--mas-navy-2), var(--mas-navy));
	color: var(--mas-on-dark);
}

/* Orange gradient text, e.g. the 404 numeral: class "mas-gradient-text" on a Heading widget. */
.mas-gradient-text .elementor-heading-title, .mas-gradient-text.elementor-heading-title {
	background: var(--mas-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Logo (header and footer HTML widget): the four-dot mark + the name. */
.mas-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--mas-on-dark); font-family: var(--mas-font); font-weight: 600; font-size: 19px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.mas-logo img { width: 28px; height: 28px; }
/* a.mas-logo inside the header/footer outranks the kit's link colour (.elementor-kit-N a). */
.mas-header a.mas-logo, .mas-footer a.mas-logo, .mas-header a.mas-logo:hover, .mas-footer a.mas-logo:hover { color: var(--mas-on-dark); }
.mas-footer .mas-logo { font-size: 17px; }
.mas-footer .mas-logo img { width: 26px; height: 26px; }
/* The logo line is the mark's 26 px, not a text line (Figma 8:13). */
.mas-footer a.mas-logo { display: flex; width: max-content; line-height: 26px; }
.mas-footer .elementor-widget-html:has(> .elementor-widget-container > .mas-logo), .mas-footer .elementor-widget-html:has(> .mas-logo) { line-height: 0; }
/* Bottom line: 18 px text 26 px under the rule, 45 px in all. */
.mas-footer .e-con:last-child > .elementor-widget-text-editor p { line-height: 18px; }

/* Footer: link lists ([mas_product_links] and the menus) in the footer colours. */
.mas-footer { --mas-footer-link: var(--mas-on-dark-soft); --mas-footer-muted: #7e7e9a; }
.mas-footer .mas-product-links { gap: 13px; }
.mas-footer .mas-product-links li { line-height: 20px; }
.mas-footer .mas-product-links a { color: var(--mas-footer-link); font-family: var(--mas-font); font-size: 15px; line-height: 20px; }
/* Desktop: the brand column takes what the three link columns leave
   (714 px of 1200 in the frame); tablet and phone keep its full width. */
/* A Div as wide as its content (Home "View all" link beside the title). */
.e-con.mas-fit { --width: auto; flex: 0 0 auto; }
@media (min-width: 1025px) { .mas-footer .e-con.mas-footer-brand { --width: auto; flex: 1 1 0; min-width: 0; } }
/* Columns are as narrow as the frame's; a long name must not wrap. */
.mas-footer .mas-product-links a, .mas-footer .elementor-nav-menu a { white-space: nowrap; }
.mas-footer .mas-product-links a:hover { color: var(--mas-on-dark); }
.mas-footer .elementor-widget-text-editor p { margin: 0; }

/* WooCommerce block cart and checkout in the kit's look (design S6): light
   borders, 10 px fields, 16 px summary card, the place-order pill without
   WooCommerce's pink focus border. */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	border: 1px solid var(--mas-border) !important;
	border-radius: var(--mas-radius-input) !important;
	background: #fff;
}
.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--mas-accent-solid) !important;
	box-shadow: 0 0 0 1px var(--mas-accent-solid) !important;
}
.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	border-color: var(--mas-accent-solid) !important;
	border-radius: 12px !important;
}
.wc-block-components-radio-control--highlight-checked { border-radius: 12px; }
.wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-cart-order-summary-block {
	border: 1px solid var(--mas-border) !important;
	border-radius: var(--mas-radius-card) !important;
	background: #fff;
}
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--mas-accent) !important;
	color: #1a0e03 !important;
	font-weight: 600 !important;
	box-shadow: 0 12px 26px -12px rgba(255, 92, 0, .55);
}
.wc-block-components-checkout-place-order-button:focus-visible { outline: 2px solid var(--mas-accent-solid); outline-offset: 3px; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-radius: 5px; border-color: var(--mas-border); }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--mas-accent-solid); border-color: var(--mas-accent-solid); }

@media (prefers-reduced-motion: reduce) {
	.mas-spin { animation: none !important; }
}

/* Storefront pages: Plugins & pricing (Product Archive template) and the
   product page (Single Product template), Figma 16:2 / 22:2. The Elementor
   templates set these classes; text stays editable in Elementor. */
.mas-eyebrow-accent, .mas-eyebrow-accent .elementor-heading-title { font-family: var(--mas-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mas-accent-bright); }
.mas-lead p, .mas-sub p { margin: 0; }

/* Pricing card (Loop Item "MAS Product card") */
.mas-card { background: var(--mas-canvas); border: 1px solid var(--mas-border); border-radius: 22px; box-shadow: 0 10px 28px rgba(15, 18, 31, .07); overflow: hidden; height: 100%; }
.mas-card .elementor-widget-theme-post-featured-image img, .mas-card-art img { display: block; width: 100%; height: 212px; object-fit: cover; object-position: left center; border-radius: 0; }
.mas-card-title .elementor-heading-title { font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--mas-title); }
.mas-card-title a { color: inherit; }
.mas-card .woocommerce-product-details__short-description p, .mas-card-desc p { margin: 0; font-size: 15px; line-height: 1.68; color: var(--mas-body); }
.mas-card .mas-bullets { gap: 0; }
.mas-card .mas-bullets li { padding: 5px 0; font-size: 14.5px; color: var(--mas-body); }
.mas-card .mas-tiers { padding: 12px 16px; border-radius: 11px; }
.mas-card .mas-tier-chip { padding: 0 16px; }
.mas-card .mas-tier-name { font-size: 11.5px; }
.mas-card .mas-tier-price { font-size: 17px; }
.mas-card .mas-tier-price small { display: block; font-size: 10.5px; }
/* Cards never stretch past the Figma card width (588 px). A card alone on
   its row (the last of an odd count, a category with one plugin) keeps
   that width, aligned left with the cards above. At 900 px and below,
   one a row, they take the full width (see the 900 px block). */
.mas-shop-grid .elementor-loop-container > div.e-loop-item { width: 100%; max-width: 588px; justify-self: start; }

/* Secondary pill (Details, View): add "mas-btn-outline" to an Elementor Button. */
.mas-btn-outline .elementor-button { box-shadow: none; }
.mas-btn-outline .elementor-button-content-wrapper { justify-content: flex-start; }

/* "The tier only changes how many sites" */
.mas-tier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mas-tier-card { background: var(--mas-surface); border-radius: 18px; padding: 28px 28px 30px; }
.mas-tier-card.is-picked { background: var(--mas-accent-soft); border: 1.4px solid var(--mas-accent-solid); }
.mas-tier-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; color: var(--mas-title); display: flex; align-items: center; gap: 10px; }
.mas-tier-card h3 span { font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255, 114, 4, .14); color: var(--mas-accent-on-soft); }
.mas-tier-card strong { display: block; margin-bottom: 10px; font-weight: 500; font-size: 15px; color: var(--mas-accent-solid); }
.mas-tier-card p { margin: 0; font-size: 15px; line-height: 1.66; color: var(--mas-body); }

/* "Included with every license" rows; same look as the product's What it does */
.mas-inc { display: grid; gap: 14px; }
.mas-inc > div { display: grid; grid-template-columns: 28px 300px 1fr; gap: 18px; align-items: center; background: var(--mas-canvas); border: 1px solid var(--mas-border); border-radius: 14px; padding: 22px 26px; }
.mas-inc > div::before { content: ""; width: 28px; height: 28px; border-radius: 8px; background: var(--mas-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3 3 7-7' fill='none' stroke='%23ff5c00' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
.mas-inc strong { font-size: 16px; font-weight: 600; color: var(--mas-title); }
.mas-inc p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--mas-body); }
.mas-sec-surface .mas-row { padding: 24px 28px; border-radius: 16px; }

/* Paying FAQ on the pricing page (the product page uses the box's FAQ) */
.mas-faq-static { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 0; }
.mas-faq-static > div { padding: 22px 0 24px; border-top: 1px solid var(--mas-border); }
.mas-faq-static dt { margin-bottom: 10px; font-size: 18px; font-weight: 600; color: var(--mas-title); }
.mas-faq-static dd { margin: 0; font-size: 15px; line-height: 1.68; color: var(--mas-body); }

/* Product page */
.mas-crumbs .woocommerce-breadcrumb { margin: 0; font-size: 14px; color: var(--mas-muted); }
.mas-crumbs .woocommerce-breadcrumb a { color: var(--mas-muted); }
.mas-product-title .product_title { margin: 0; font-size: 48px; font-weight: 600; letter-spacing: -.026em; line-height: 1.1; color: var(--mas-title); }
.mas-product-lead .woocommerce-product-details__short-description p { margin: 0; font-size: 19px; line-height: 1.68; color: var(--mas-body); }
.mas-hero-art img { display: block; width: 100%; height: auto; border-radius: 20px; }
.mas-chip-lg .mas-chip-version { padding: 5px 10px; border-radius: 6px; font-size: 12px; }
.mas-sticky { position: sticky; top: 24px; }
.mas-panel-card { background: var(--mas-canvas); border: 1px solid var(--mas-border); border-radius: 18px; padding: 30px 35px; }
.mas-panel-card .mas-releases { margin-top: 24px; }
/* A product-page section whose shortcode draws nothing (empty Product page
   box) is hidden with its heading, so no blank band shows. */
.mas-sec:has(.mas-sec-body .elementor-shortcode:empty) { display: none; }
body.mas-focused .mas-hide-focused { display: none; }
/* No related products (nothing shares a category): no empty band. */
.mas-related:not(:has(.e-loop-item)) { display: none; }

/* Navy closing CTA */
.mas-cta .elementor-button { box-shadow: 0 12px 32px rgba(255, 114, 4, .42); }

/* Order received (woocommerce/checkout/thankyou.php) and its email check */
body.woocommerce-order-received .page-header { display: none; }
body.woocommerce-order-received .site-main { max-width: 760px; margin: 0 auto; padding: 56px 16px 88px; }
.mas-thanks-card, .woocommerce-verify-email { background: var(--mas-canvas); border: 1px solid var(--mas-border); border-radius: 22px; box-shadow: 0 24px 48px -24px rgba(15, 16, 32, .18); padding: 40px 37px 34px; text-align: center; font-family: var(--mas-font); }
.mas-thanks-mark { display: inline-block; width: 52px; height: 52px; border-radius: 50%; background: var(--mas-good-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M4 11.5l4.5 4.5L18 6.5' fill='none' stroke='%230e9f6e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.is-failed .mas-thanks-mark { background: var(--mas-bad-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' fill='none' stroke='%23d92d20' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
.is-waiting .mas-thanks-mark { background: var(--mas-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8' fill='none' stroke='%23c2560a' stroke-width='2.2'/%3E%3Cpath d='M11 6.5V11l3 2' fill='none' stroke='%23c2560a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
.woocommerce-order.mas-thanks h1.mas-thanks-title { margin: 20px 0 10px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--mas-title); }
.mas-thanks-lead { margin: 0 auto; max-width: 560px; font-size: 16px; line-height: 1.65; color: var(--mas-body); }
.mas-thanks-lead strong { color: var(--mas-title); font-weight: 500; }
.mas-thanks-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 26px 0 0; padding: 0; background: var(--mas-border); border: 1px solid var(--mas-border); border-radius: 14px; overflow: hidden; text-align: left; }
.mas-thanks-facts div { background: var(--mas-surface); padding: 14px 16px; }
.mas-thanks-facts dt { font-family: var(--mas-font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mas-muted); }
.mas-thanks-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--mas-title); }
.mas-thanks-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.mas-thanks .mas-btn, .woocommerce .woocommerce-verify-email button.button { display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px; font-family: var(--mas-font); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; border: 1px solid transparent; }
.mas-thanks .mas-btn-primary, .woocommerce .woocommerce-verify-email button.button { background: var(--mas-accent); color: #1a0e03; border: 0; box-shadow: 0 10px 24px -10px rgba(255, 92, 0, .55); }
.mas-thanks .mas-btn-secondary { background: var(--mas-canvas); border-color: var(--mas-border); color: var(--mas-title); }
.mas-thanks .mas-btn:focus-visible, .woocommerce .woocommerce-verify-email button.button:focus-visible { outline: 2px solid var(--mas-accent-solid); outline-offset: 3px; }
/* Order details under the card: items, the licence key, totals */
.mas-thanks .woocommerce-order-details, .mas-thanks .woocommerce-customer-details { margin-top: 28px; font-family: var(--mas-font); }
.mas-thanks .woocommerce-order-details__title, .mas-thanks .woocommerce-column__title { font-size: 19px; font-weight: 600; color: var(--mas-title); margin: 0 0 14px; }
.mas-thanks table.shop_table { width: 100%; border: 1px solid var(--mas-border); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 14px; }
.mas-thanks table.shop_table th, .mas-thanks table.shop_table td { padding: 14px 18px; border: 0; border-top: 1px solid var(--mas-border); background: var(--mas-canvas); text-align: left; color: var(--mas-body); }
.mas-thanks table.shop_table thead th { border-top: 0; background: var(--mas-surface); font-family: var(--mas-font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mas-muted); }
.mas-thanks table.shop_table tfoot th { color: var(--mas-title); font-weight: 500; }
.mas-thanks table.shop_table td.product-name a { color: var(--mas-title); font-weight: 600; text-decoration: none; }
.mas-thanks .mas-order-licence { margin: 10px 0 0; padding: 10px 12px; background: var(--mas-surface); border-radius: 10px; font-size: 13px; }
.mas-thanks .mas-order-licence code, .mas-thanks .mas-order-licence span { font-family: var(--mas-font-mono); color: var(--mas-title); word-break: break-all; }
.mas-thanks .mas-order-file { margin: 10px 0 0; }
.mas-thanks .mas-order-file a { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--mas-border); color: var(--mas-title); font-size: 13px; font-weight: 500; text-decoration: none; }
.mas-thanks .mas-order-file a:hover { background: var(--mas-surface); }
.mas-thanks .woocommerce-customer-details address { border: 1px solid var(--mas-border); border-radius: 16px; padding: 18px 20px; font-style: normal; color: var(--mas-body); }
.woocommerce-verify-email { text-align: left; }
.woocommerce-verify-email label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--mas-title); }
.woocommerce-verify-email input[type="email"] { width: 100%; padding: 12px 14px; border: 1px solid var(--mas-border); border-radius: var(--mas-radius-input); font: inherit; }
.woocommerce-verify-email input[type="email"]:focus { outline: 2px solid var(--mas-accent-solid); outline-offset: 1px; border-color: transparent; }

/* Button hover, every storefront button (theme, Elementor, plugins).
   Filled orange buttons lift, glow and catch a light sweep; outlined ones
   lift and darken their edge; all press down on click. Keyboard focus
   gets the same lift as hover. No motion with prefers-reduced-motion.
   Smooth: one long ease-out curve for lift and glow, nothing that repaints
   the whole button (no filter), and the sweep only runs forwards, so
   leaving a button never plays it backwards. */
.elementor-button,
.mas-btn, .mas-handoff-btn, .mas-resend-button,
.mas-sites-table .button,
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button,
.woocommerce .woocommerce-verify-email button.button,
.woocommerce-account .woocommerce .button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
a.mas-chip-link {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	--mas-ease: cubic-bezier(.22, 1, .36, 1);
	transition: transform .45s var(--mas-ease), box-shadow .45s var(--mas-ease), border-color .3s ease, background-color .3s ease, color .3s ease;
	will-change: transform;
	backface-visibility: hidden;
}
/* Filled (gradient) buttons */
.elementor-button::after,
.mas-btn-primary::after, .mas-handoff-btn.is-primary::after, .mas-resend-button::after,
.wc-block-components-checkout-place-order-button::after, .wc-block-cart__submit-button::after,
.woocommerce .woocommerce-verify-email button.button::after,
.woocommerce-account .woocommerce form.login .button::after,
.woocommerce-account .woocommerce-MyAccount-content button.button::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .32) 50%, transparent 80%);
	transform: translateX(-130%);
	transition: none; /* back to the start at once, out of sight */
	pointer-events: none;
}
.elementor-button:hover, .elementor-button:focus-visible,
.mas-btn-primary:hover, .mas-btn-primary:focus-visible,
.mas-handoff-btn.is-primary:hover, .mas-handoff-btn.is-primary:focus-visible,
.mas-resend-button:hover, .mas-resend-button:focus-visible,
.wc-block-components-checkout-place-order-button:hover, .wc-block-components-checkout-place-order-button:focus-visible,
.wc-block-cart__submit-button:hover, .wc-block-cart__submit-button:focus-visible,
.woocommerce .woocommerce-verify-email button.button:hover,
.woocommerce-account .woocommerce form.login .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover {
	transform: translateY(-1.5px);
	box-shadow: 0 14px 28px -12px rgba(255, 92, 0, .6), 0 0 0 4px rgba(255, 114, 4, .1) !important;
	color: #1a0e03 !important; /* the kit's hover text colour is orange: unreadable on orange */
}
.elementor-button:hover::after, .elementor-button:focus-visible::after,
.mas-btn-primary:hover::after, .mas-btn-primary:focus-visible::after,
.mas-handoff-btn.is-primary:hover::after, .mas-resend-button:hover::after,
.wc-block-components-checkout-place-order-button:hover::after, .wc-block-cart__submit-button:hover::after,
.woocommerce .woocommerce-verify-email button.button:hover::after,
.woocommerce-account .woocommerce form.login .button:hover::after,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover::after {
	transform: translateX(130%);
	transition: transform 1.1s var(--mas-ease);
}
/* Outlined buttons (Details, View-less secondaries, account, chips) */
.mas-btn-outline .elementor-button::after { display: none; }
.mas-btn-outline .elementor-button:hover, .mas-btn-outline .elementor-button:focus-visible,
.mas-btn-secondary:hover, .mas-btn-secondary:focus-visible,
.mas-handoff-btn:not(.is-primary):hover, .mas-handoff-btn:not(.is-primary):focus-visible,
.mas-licences .mas-btn:not(.mas-btn-primary):hover, .mas-invoices .mas-btn:hover,
a.mas-chip-link:hover, a.mas-chip-link:focus-visible {
	transform: translateY(-1.5px);
	border-color: var(--mas-title) !important;
	box-shadow: 0 10px 22px -14px rgba(15, 16, 32, .4) !important;
	color: var(--mas-title) !important;
}
a.mas-chip-link.is-current:hover, a.mas-chip-link.is-current:focus-visible { border-color: var(--mas-title) !important; color: #fff !important; }
.mas-sites-table .button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(217, 45, 32, .55); }
/* Press */
.elementor-button:active, .mas-btn:active, .mas-handoff-btn:active, .mas-resend-button:active,
.wc-block-components-checkout-place-order-button:active, .wc-block-cart__submit-button:active,
.woocommerce-account .woocommerce .button:active, a.mas-chip-link:active {
	transform: translateY(0) scale(.985);
	transition-duration: .15s;
}
/* Disabled / sold out: no effect */
.mas-btn[disabled], .mas-btn.is-sold-out, .elementor-button[aria-disabled="true"] { transform: none !important; }
.mas-btn[disabled]::after, .mas-btn.is-sold-out::after { display: none; }
@media (prefers-reduced-motion: reduce) {
	.elementor-button, .mas-btn, .mas-handoff-btn, .mas-resend-button, .mas-sites-table .button,
	.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button,
	.woocommerce-account .woocommerce .button, a.mas-chip-link { transition: none; transform: none !important; }
	.elementor-button::after, .mas-btn-primary::after, .mas-handoff-btn.is-primary::after, .mas-resend-button::after,
	.wc-block-components-checkout-place-order-button::after, .wc-block-cart__submit-button::after,
	.woocommerce .woocommerce-verify-email button.button::after,
	.woocommerce-account .woocommerce form.login .button::after,
	.woocommerce-account .woocommerce-MyAccount-content button.button::after { display: none; }
}

/* About page (Figma 40:2; elementor/pages/about.json). */
.mas-founder { display: grid; grid-template-columns: 108px 1fr; gap: 32px; align-items: center; padding: 36px; border-radius: 22px; background: linear-gradient(135deg, var(--mas-accent-soft), #fffaf5); border: 1px solid rgba(255, 114, 4, .12); }
.mas-founder-photo { width: 108px; height: 108px; border-radius: 50%; border: 1.5px dashed rgba(194, 86, 10, .35); background: #fff; display: grid; place-items: center; font: 500 10px/1 var(--mas-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mas-muted); }
.mas-founder-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mas-founder p { margin: 0; }
.mas-founder-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--mas-title); }
.mas-founder-role { margin-top: 8px !important; font-size: 13px; color: var(--mas-muted); }
.mas-founder blockquote { margin: 12px 0 0; padding: 0; border: 0; font-size: 16px; font-style: normal; line-height: 1.7; color: var(--mas-body); }
/* Text still waiting for the user's final words (D-14, D-19). */
.mas-placeholder-tag { font: 500 10px/1 var(--mas-font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(255, 114, 4, .14); color: var(--mas-accent-on-soft); }
.mas-values, .mas-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.mas-values > div { background: var(--mas-surface); border-radius: 18px; padding: 28px; }
.mas-values h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; color: var(--mas-title); }
.mas-values p, .mas-facts p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--mas-body); }
.mas-facts > div { background: var(--mas-canvas); border: 1px solid var(--mas-border); border-radius: 16px; padding: 27px; }
.mas-facts strong { display: block; margin-bottom: 10px; font-size: 44px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--mas-accent-solid); }
/* A live count with nothing to count draws nothing: drop its card. */
.mas-facts > div:has(> strong:empty) { display: none; }
@media (max-width: 900px) {
	.mas-values, .mas-facts { grid-template-columns: 1fr; }
	.mas-founder { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; justify-items: start; }
	.mas-founder-photo { width: 84px; height: 84px; }
}

/* Contact page (Figma 41:2; elementor/pages/contact.json). The Elementor
   Pro form is drawn as a card; fields match the resend and checkout fields.
   .elementor-widget-form outranks the kit's own input rules. */
.mas-contact-form.elementor-widget-form { background: var(--mas-canvas); border: 1px solid var(--mas-border); border-radius: 20px; box-shadow: 0 10px 34px rgba(15, 16, 32, .06); padding: 36px; }
.mas-contact-form.elementor-widget-form .elementor-field-group { margin-bottom: 20px; }
.mas-contact-form.elementor-widget-form .elementor-field-label { margin-bottom: 9px; font-size: 14px; font-weight: 500; color: var(--mas-title); }
.mas-contact-form.elementor-widget-form .elementor-field-textual { min-height: 55px; padding: 15px 19px; border: 1px solid var(--mas-border); border-radius: var(--mas-radius-input); background: #fff; font-family: var(--mas-font); font-size: 15px; color: var(--mas-title); box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; }
.mas-contact-form.elementor-widget-form textarea.elementor-field-textual { min-height: 119px; resize: vertical; }
.mas-contact-form.elementor-widget-form .elementor-field-textual::placeholder { color: var(--mas-muted); opacity: 1; }
.mas-contact-form.elementor-widget-form .elementor-field-textual:focus { outline: none; border-color: var(--mas-accent-solid); box-shadow: 0 0 0 3px rgba(255, 114, 4, .18); }
.mas-contact-form.elementor-widget-form .elementor-field-type-submit { margin-bottom: 0; }
.mas-contact-form.elementor-widget-form .elementor-button { min-height: 55px; border-radius: 999px; font-family: var(--mas-font); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--mas-title); }
.mas-contact-form .elementor-message { margin-top: 16px; font-size: 15px; }
.mas-contact-form .elementor-message-success { color: var(--mas-good-text); }
.mas-contact-form .elementor-message-danger, .mas-contact-form .elementor-error .elementor-field-textual { color: var(--mas-bad-text); border-color: var(--mas-bad-text); }
.mas-side-cards { display: grid; gap: 14px; }
.mas-side-cards > div { background: var(--mas-surface); border-radius: 16px; padding: 22px 24px 24px; }
.mas-side-cards > div.is-urgent { background: var(--mas-accent-soft); border: 1px solid rgba(194, 86, 10, .35); }
.mas-side-cards h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16.5px; font-weight: 600; color: var(--mas-title); }
.mas-side-cards p { margin: 0; font-size: 14.5px; line-height: 1.66; color: var(--mas-body); }
.mas-side-cards a { color: var(--mas-accent-on-soft); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) { .mas-contact-form.elementor-widget-form { padding: 24px 20px; } }

/* Home page (Figma 2:2; elementor/pages/home.json). */
.mas-home-hero { position: relative; overflow: hidden; }
/* The five sparkles of the frame, drawn as one background. */
.mas-home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.9 6 3.6 8.9 10 10-6.4 1.1-9.1 4-10 10-.9-6-3.6-8.9-10-10C6.4 8.9 9.1 6 10 0z' fill='%23ff9a3d'/%3E%3C/svg%3E") no-repeat 6.7% 300px / 30px,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.9 6 3.6 8.9 10 10-6.4 1.1-9.1 4-10 10-.9-6-3.6-8.9-10-10C6.4 8.9 9.1 6 10 0z' fill='%23ffb547'/%3E%3C/svg%3E") no-repeat 91.4% 232px / 20px,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.9 6 3.6 8.9 10 10-6.4 1.1-9.1 4-10 10-.9-6-3.6-8.9-10-10C6.4 8.9 9.1 6 10 0z' fill='%23ff7204'/%3E%3C/svg%3E") no-repeat 88% 474px / 16px,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.9 6 3.6 8.9 10 10-6.4 1.1-9.1 4-10 10-.9-6-3.6-8.9-10-10C6.4 8.9 9.1 6 10 0z' fill='%23ffb547'/%3E%3C/svg%3E") no-repeat 10.6% 566px / 18px,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.9 6 3.6 8.9 10 10-6.4 1.1-9.1 4-10 10-.9-6-3.6-8.9-10-10C6.4 8.9 9.1 6 10 0z' fill='%23ff9a3d'/%3E%3C/svg%3E") no-repeat 82% 150px / 11px; }
.mas-home-hero > .e-con-inner { position: relative; }
@media (max-width: 767px) { .mas-home-hero::before { display: none; } }
.mas-hero-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 18px 9px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #d6d6e6; font-size: 14px; line-height: 1.3; }
.mas-hero-badge span { padding: 4px 9px; border-radius: 999px; background: var(--mas-accent); color: #1a0d00; font: 600 10.5px/1 var(--mas-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.elementor-widget-text-editor:has(.mas-hero-badge:empty), .mas-hero-badge:empty { display: none; }
.mas-home-dashboard { margin-top: 32px; }
.mas-home-dashboard img { display: block; width: 100%; max-width: 1260px; height: auto; margin: 0 auto -1px; }
.mas-logo-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 36px; margin: 0; padding: 0; list-style: none; }
.mas-logo-strip img { display: block; height: 46px; width: auto; max-width: 140px; object-fit: contain; }
.mas-h2 { margin: 0; font-size: 40px; font-weight: 600; line-height: 1.16; letter-spacing: -.02em; color: var(--mas-title); }
.elementor a.mas-pill-link, .mas-pill-link { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border: 1.4px solid var(--mas-border); border-radius: 999px; background: var(--mas-canvas); color: var(--mas-title); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .15s ease, transform .15s ease; }
.elementor a.mas-pill-link:hover, .elementor a.mas-pill-link:focus-visible { border-color: var(--mas-title); color: var(--mas-title); transform: translateY(-1px); }
.mas-pill-link:focus-visible { outline: 2px solid var(--mas-accent-solid); outline-offset: 3px; }
.mas-teaser-grid .elementor-loop-container > div.e-loop-item { height: 100%; }
.mas-teaser { display: flex; flex-direction: column; }
/* Home card art from Figma 29:10 (385 x 192): shown whole, at its own ratio. */
.mas-teaser .mas-teaser-art img { height: auto; aspect-ratio: 770 / 384; object-fit: cover; object-position: center; }
.mas-feature-row { border-radius: 24px; }
.mas-feature-text .mas-feature-title { margin: 0 0 18px; font-size: 36px; font-weight: 600; line-height: 1.17; letter-spacing: -.02em; color: var(--mas-title); max-width: 380px; }
.mas-feature-text p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: var(--mas-body); }
.mas-feature-text p:last-child { margin: 0; }
.elementor a.mas-arrow-link, .mas-arrow-link { display: inline-flex; gap: 8px; font-size: 16px; font-weight: 600; color: var(--mas-title); text-decoration: none; }
.mas-arrow-link span { transition: transform .15s ease; }
.elementor a.mas-arrow-link:hover, .elementor a.mas-arrow-link:focus-visible { color: var(--mas-title); }
.mas-arrow-link:hover span, .mas-arrow-link:focus-visible span { transform: translateX(3px); }
.mas-feature-art img { display: block; width: 100%; max-width: 510px; height: auto; margin: 0 auto; }
.mas-home-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mas-home-trust > div { background: var(--mas-canvas); border: 1px solid var(--mas-border); border-radius: 16px; padding: 26px 26px 28px; }
.mas-home-trust > div::before { content: ""; display: block; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 8px; background: var(--mas-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3 3 7-7' fill='none' stroke='%23ff5c00' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
.mas-home-trust h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; color: var(--mas-title); }
.mas-home-trust p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--mas-body); }
.mas-home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; text-align: left; }
.mas-home-steps li { background: #14142a; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 30px; }
.mas-home-steps span { display: inline-block; padding: 6px 11px; border-radius: 999px; background: var(--mas-accent); color: #1a0d00; font: 600 12px/1 var(--mas-font-mono); }
.mas-home-steps h3 { margin: 16px 0 14px; font-size: 21px; font-weight: 600; color: #fff; }
.mas-home-steps p { margin: 0; font-size: 15px; line-height: 1.66; color: #a9a9c2; }
.mas-reassure { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 20px 27px; border: 1px solid rgba(18, 183, 106, .3); border-radius: 999px; background: #0f1e24; color: #fff; font-size: 16px; font-weight: 500; text-align: left; }
.mas-reassure::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #12b76a; }
.mas-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mas-quotes figure { margin: 0; padding: 30px; border: 1.5px dashed rgba(255, 114, 4, .45); border-radius: 18px; background: var(--mas-surface); }
.mas-quotes blockquote { margin: 18px 0 22px; padding: 0; border: 0; font-size: 18px; line-height: 1.6; color: var(--mas-body); }
.mas-quotes figcaption { font-size: 14px; color: var(--mas-body); }
.mas-quotes figcaption small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--mas-muted); }
@media (max-width: 1199px) { .mas-logo-strip { justify-content: center; } }
@media (max-width: 1024px) {
	.mas-home-trust { grid-template-columns: repeat(2, 1fr); }
}
/* Featured cards: three a row down to 900 px; below that one a row, at
   most 588 px and on the left, as on the Plugins & pricing page. */
@media (min-width: 900px) and (max-width: 1024px) { .mas-teaser-grid .elementor-loop-container { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) {
	.mas-teaser-grid .elementor-loop-container { grid-template-columns: 1fr; }
	.mas-teaser-grid .elementor-loop-container > div.e-loop-item { width: 100%; max-width: 588px; justify-self: start; }
}
@media (max-width: 900px) {
	.mas-home-steps, .mas-quotes { grid-template-columns: 1fr; }
	.mas-h2, .mas-feature-text .mas-feature-title { font-size: 28px; }
	.mas-logo-strip { justify-content: center; }
	.mas-logo-strip img { height: 36px; }
}
@media (max-width: 600px) { .mas-home-trust { grid-template-columns: 1fr; } .mas-reassure { border-radius: 18px; } }

/* Legal pages (page-templates/mas-legal.php; plan §4.10). */
/* Hello boxes .site-main on pages not built with Elementor; the hero is full width. */
body:not([class*=elementor-page-]) .site-main.mas-legal-page { max-width: none; margin: 0; padding: 0; }
/* Same hierarchy as the Elementor pages: section > container > row > div.
   The container is the kit's content width (1224 px) with the kit's 12 px
   side padding inside it (Site Settings › Layout), so 1200 px of text area. */
.mas-legal-container { box-sizing: border-box; max-width: var(--container-max-width, 1224px); margin: 0 auto; padding-left: var(--container-default-padding-left, 12px); padding-right: var(--container-default-padding-right, 12px); }
.mas-legal-row { display: flex; }
.mas-legal-div { flex: 1 1 auto; min-width: 0; }
.mas-legal-hero { padding: 76px 0 70px; text-align: center; }
.mas-legal-hero .mas-eyebrow-accent { margin: 0 0 16px; }
.mas-legal-page .mas-legal-title { margin: 0; font-size: 48px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.mas-legal-updated { margin: 16px 0 0; font-size: 14px; color: #a9a9c2; }
.mas-legal-section { padding: 64px 0 96px; }
.mas-legal-body { max-width: 760px; margin: 0 auto; font-size: 16.5px; line-height: 1.75; color: var(--mas-body); }
.mas-legal-body h2 { margin: 2em 0 .6em; font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--mas-title); }
.mas-legal-body h3 { margin: 1.6em 0 .5em; font-size: 19px; font-weight: 600; color: var(--mas-title); }
.mas-legal-body > :first-child { margin-top: 0; }
.mas-legal-body a { color: var(--mas-accent-solid); text-decoration: underline; text-underline-offset: 2px; }
.mas-legal-body ul, .mas-legal-body ol { padding-left: 1.3em; }
@media (max-width: 767px) { .mas-legal-page .mas-legal-title { font-size: 34px; } .mas-legal-hero { padding: 48px 0 44px; } .mas-legal-section { padding: 40px 0 64px; } }

/* Footer newsletter (Figma 8:21; elementor/templates/footer.json): the
   email field and Subscribe sit inside one dark pill. */
.mas-newsletter-label p { margin: 0; }
.mas-newsletter.elementor-widget-form { max-width: 320px; }
.mas-newsletter .elementor-form-fields-wrapper { flex-wrap: nowrap; align-items: center; margin: 0; padding: 6px 6px 6px 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .04); transition: border-color .15s ease; }
.mas-footer .mas-newsletter .elementor-form-fields-wrapper:focus-within { border-color: var(--mas-accent-bright); box-shadow: 0 0 0 3px rgba(255, 114, 4, .4); }
.mas-newsletter .elementor-field-group { flex: 1 1 auto; width: auto; margin: 0; padding: 0; }
.mas-newsletter .elementor-field-type-submit { flex: 0 0 auto; }
.mas-newsletter.elementor-widget-form .elementor-field-textual { min-height: 38px; padding: 0 10px; border: 0; background: transparent; box-shadow: none; color: #fff; font-family: var(--mas-font); font-size: 14px; }
.mas-newsletter.elementor-widget-form .elementor-field-textual::placeholder { color: #8a8aa3; opacity: 1; }
.mas-newsletter.elementor-widget-form .elementor-field-textual:focus { outline: none; box-shadow: none; }
.mas-newsletter.elementor-widget-form .elementor-button { min-height: 38px; padding: 0 20px; border-radius: 999px; font-family: var(--mas-font); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--mas-title); white-space: nowrap; }
.mas-newsletter .elementor-message { margin-top: 10px; font-size: 13.5px; color: #c9c9da; }
.mas-newsletter .elementor-message-success { color: #6ee7b7; }
.mas-newsletter .elementor-message-danger, .mas-newsletter .elementor-error .elementor-field-textual { color: #fda29b; }

/* My account › Details (WooCommerce's edit-account form): a white card
   like the licence cards, names side by side, the rest full width, 20 px
   apart; password change is its own titled part under a rule. The extra
   .woocommerce-MyAccount-content outranks the kit's input rules. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; max-width: 760px; margin: 0; padding: 36px 36px 32px; border: 1px solid var(--mas-border); border-radius: 20px; background: var(--mas-canvas); box-shadow: 0 10px 34px rgba(15, 16, 32, .05); }
.woocommerce-EditAccountForm > * { grid-column: 1 / -1; }
.woocommerce-EditAccountForm > .form-row-first { grid-column: 1; }
.woocommerce-EditAccountForm > .form-row-last { grid-column: 2; }
.woocommerce-EditAccountForm .clear { display: none; }
.woocommerce-account .woocommerce-EditAccountForm .form-row { float: none; width: auto; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-EditAccountForm label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--mas-title); }
.woocommerce-account .woocommerce-EditAccountForm .required { color: var(--mas-bad-text); text-decoration: none; border: 0; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm input.input-text { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--mas-border); border-radius: var(--mas-radius-input); background: #fff; box-shadow: none; font-family: var(--mas-font); font-size: 15px; color: var(--mas-title); transition: border-color .15s ease, box-shadow .15s ease; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm input.input-text:focus { outline: none; border-color: var(--mas-accent-solid); box-shadow: 0 0 0 3px rgba(255, 114, 4, .18); }
.woocommerce-EditAccountForm .password-input { display: block; position: relative; }
.woocommerce-EditAccountForm .password-input input.input-text { padding-right: 48px; }
.woocommerce-EditAccountForm .show-password-input { top: 50%; right: 14px; transform: translateY(-50%); }
#account_display_name_description { display: block; margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--mas-muted); }
#account_display_name_description em { font-style: normal; }
.woocommerce-account .woocommerce-EditAccountForm fieldset { display: grid; gap: 22px; min-width: 0; margin: 10px 0 0; padding: 30px 0 0; border: 0; border-top: 1px solid var(--mas-border); }
/* Floated, the legend is an ordinary first row instead of sitting on the rule. */
.woocommerce-account .woocommerce-EditAccountForm legend { float: left; width: 100%; margin: 0; padding: 0; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--mas-title); }
.woocommerce-EditAccountForm .woocommerce-password-strength { margin-top: 8px; padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.woocommerce-EditAccountForm .woocommerce-password-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--mas-muted); }
.woocommerce-EditAccountForm > p:last-of-type { margin: 6px 0 0; }
@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm { grid-template-columns: 1fr; padding: 24px 20px; }
	.woocommerce-EditAccountForm > .form-row-first, .woocommerce-EditAccountForm > .form-row-last { grid-column: 1; }
}

/* While a chip or account tab loads its content (assets/js/mas-nav.js):
   the old content fades and a spinner sits over it. The spinner waits a
   moment, so a quick answer never flashes. */
.mas-nav-loading { opacity: .55; pointer-events: none; transition: opacity .15s ease; }
.mas-shop-grid.mas-nav-loading, .woocommerce-MyAccount-content.mas-nav-loading { position: relative; opacity: 1; }
.mas-shop-grid.mas-nav-loading > *, .woocommerce-MyAccount-content.mas-nav-loading > * { opacity: .45; transition: opacity .15s ease; }
.mas-shop-grid.mas-nav-loading::after, .woocommerce-MyAccount-content.mas-nav-loading::after {
	content: ""; position: absolute; z-index: 5; left: 50%; top: min(50%, 140px);
	width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
	border: 3px solid rgba(255, 92, 0, .2); border-top-color: var(--mas-accent-bright);
	background: #fff; box-shadow: 0 4px 16px rgba(20, 20, 43, .12);
	opacity: 0; animation: mas-nav-show .2s ease .15s forwards, mas-nav-spin .7s linear infinite;
}
@keyframes mas-nav-show { to { opacity: 1; } }
@keyframes mas-nav-spin { to { transform: rotate(360deg); } }
.woocommerce-MyAccount-content:focus, .mas-shop-grid:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
	.mas-nav-loading, .mas-nav-loading > * { transition: none; }
	.mas-shop-grid.mas-nav-loading::after, .woocommerce-MyAccount-content.mas-nav-loading::after { animation: mas-nav-show .01s linear .15s forwards; }
}

@media (max-width: 900px) {
	/* Two pricing cards no longer fit their tier rows: one per row, full width. */
	.mas-shop-grid .elementor-loop-container { grid-template-columns: 1fr; }
	.mas-shop-grid .elementor-loop-container > div.e-loop-item { max-width: none; }
}
@media (max-width: 1024px) {
	.mas-sticky { position: static; }
	.mas-inc > div { grid-template-columns: 28px 1fr; }
	.mas-inc > div p { grid-column: 2; }
}
@media (max-width: 767px) {
	.mas-tier-cards, .mas-faq-static { grid-template-columns: 1fr; }
	.mas-product-title .product_title { font-size: 34px; }
	.mas-product-lead .woocommerce-product-details__short-description p { font-size: 17px; }
}
