/* Click2Aesthetics — undo Hello Elementor reset.css inside C2A markup (header .c2a, footer .c2a-ft).
   Loaded after the parent theme and BEFORE the c2a component CSS, with low
   specificity (:where), so the approved component styles always win. */

.c2a,.c2a-ft,.c2a-pg{line-height:normal}
:where(.c2a-ft){color:#000}
:where(.c2a,.c2a-ft,.c2a-pg) :is(h1,h2,h3,h4,h5,h6){line-height:normal}
:is(.c2a,.c2a-ft) img{max-width:none}

/* Hello: [type=button], [type=submit], button { border-radius:3px; white-space:nowrap; transition:all .3s; … } */
:where(.c2a,.c2a-ft,.c2a-pg) :is(button,[type=button],[type=submit]){border-radius:0;white-space:normal;user-select:auto;transition:none}
:where(.c2a-ft) :is(button,[type=button],[type=submit]){padding:0;border:0;background:none;color:inherit;font:inherit}
:where(.c2a) input[type=search]{transition:none}

/* Hello: button:hover/focus { background:#c36; color:#fff } is kept out of C2A markup in front.php
   (c2a_scope_hello_button_states), so the design's own button colours apply in every state. */

/* Hello: table { margin-block-end:15px } and table td/th { border:1px solid … } — product description tables */
:where(.c2a-pg) table{margin-block-end:0}
:where(.c2a-pg) table :is(td,th){border:0}

/* Old child-theme style.css sets main.c2p-site-main { width:1400px; margin:50px auto }.
   New-design templates opt out with add_filter( 'c2a_full_width_main', '__return_true' ). */
main.c2p-site-main.c2a-main--full{width:auto;max-width:none;margin:0}
/* Hello: table thead:first-child tr:first-child th { border-block-start:1px solid … } */
.c2a-pg table thead:first-child tr:first-child :is(th,td){border-block-start:0}
/* Hello: sub, sup { line-height:0; position:relative } sup { top:-.5em } — the ® on brand pages */
:where(.c2a-pg) sup{line-height:inherit;position:static;top:auto}
/* Hello: figcaption { color:#333; font-style:italic; line-height:1.4 } — home review quotes */
:where(.c2a-pg) figcaption{color:inherit;font-size:inherit;font-style:normal;font-weight:inherit;line-height:normal}
/* Hello: label { display:inline-block; line-height:1 }, legend { display:table }, small { font-size:80% },
   input { margin:0; line-height:1.5 } — the Contact page form keeps the browser defaults */
:where(.c2a-pg) label{display:inline;line-height:normal;vertical-align:baseline}
:where(.c2a-pg) legend{display:block;max-width:none}
:where(.c2a-pg) small{font-size:smaller}
:where(.c2a-pg) input[type=radio]{margin:3px 3px 0 5px}
:where(.c2a-pg) input[type=checkbox]{margin:3px 3px 3px 4px}
/* Hello: input[type=search|text|…] { border-radius:3px; transition:all .3s } — blog search box */
:where(.c2a-pg) :is(input[type=search],input[type=text],input[type=email],input[type=tel],textarea,select){border-radius:0;transition:none}
