/*
 * NOISSEY reset. Loaded after Astra and before noissey.css.
 * Neutralizes Astra's global element styles inside NOISSEY markup (.noissey-ui)
 * so the original design renders exactly; everything else on the site keeps Astra styling.
 */
body.noissey-full { background: var(--n-bg); }
body.noissey #page { overflow-x: clip; }
.noissey-ui { font-family: var(--n-font); font-size: 16px; line-height: normal; color: var(--n-text); }

:where(.noissey-ui) h1, :where(.noissey-ui) h2, :where(.noissey-ui) h3,
:where(.noissey-ui) h4, :where(.noissey-ui) h5, :where(.noissey-ui) h6 {
	font-family: inherit; font-weight: 700; color: inherit; line-height: normal;
	text-transform: none; letter-spacing: normal; margin: .67em 0; clear: none;
}
:where(.noissey-ui) p { margin: 1em 0; }
:where(.noissey-ui) blockquote { border: 0; padding: 0; margin: 0; font-style: normal; font-size: inherit; background: none; }
:where(.noissey-ui) ul, :where(.noissey-ui) ol { margin: 1em 0; padding-left: 40px; }
:where(.noissey-ui) a { color: inherit; text-decoration: none; }
:where(.noissey-ui) a:is(:hover, :focus) { color: inherit; }
:where(.noissey-ui) textarea { font: inherit; }

/* Buttons: Astra paints every <button> and .button; the design starts from a blank button. */
:where(.noissey-ui) button,
:where(.noissey-ui) .button {
	background-color: transparent; color: inherit; border: 0; border-radius: 0;
	font-family: inherit; font-weight: inherit; text-transform: none; box-shadow: none; text-shadow: none;
}
:where(.noissey-ui) button { padding: 0; line-height: inherit; letter-spacing: inherit; }
:where(.noissey-ui) :is(button, .button):is(:hover, :focus, :active) {
	background-color: transparent; color: inherit; border-color: transparent; box-shadow: none;
}
/* Astra's WooCommerce button rule (".woocommerce-js a.button") is stronger than ".button";
   the repeated class matches noissey.css, which uses the same specificity for its button styles. */
:where(.noissey-ui) .button.button.button.button {
	background-color: transparent; color: inherit; border: 0; border-radius: 0;
	font-family: inherit; font-weight: inherit; text-transform: none; box-shadow: none; text-shadow: none;
}
:where(.noissey-ui) .button.button.button.button:is(:hover, :focus, :active) {
	background-color: transparent; color: inherit; box-shadow: none;
}

/* Form fields inside the design. */
.noissey-ui input, .noissey-ui select, .noissey-ui textarea {
	border-radius: 0; box-shadow: none; height: auto; transition: none; color: inherit;
}
.noissey-ui input[type="email"], .noissey-ui input[type="search"], .noissey-ui input[type="number"] { padding: 1px 2px; }
