/* KICKSTW reskin: shared chrome styles (header and footer).
   Ported from site_prototype/assets/css/site.css. Every selector starts with .kt-chrome so nothing
   here can reach the theme, WooCommerce or Elementor markup. The plugin prints this file after the
   theme's stylesheets (wp_enqueue_scripts priority PHP_INT_MAX); the reset below also sets, on
   purpose, every property the theme is known to style globally on these elements.
   Reset selectors stay at (0,1,1) or lower; component rules are (0,2,0) or more and always win. */

/* ---------- base ---------- */
.kt-chrome, .kt-chrome *, .kt-chrome *::before, .kt-chrome *::after { box-sizing: border-box; }
.kt-chrome {
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 15px/1.5 var(--font-body);
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  text-shadow: none;
}
.kt-chrome [hidden] { display: none; }
.kt-chrome :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.kt-chrome :focus:not(:focus-visible) { outline: 0; }

/* ---------- reset against the theme (Astra, child theme, WooCommerce, Elementor) ---------- */
.kt-chrome a { color: var(--ink); background: none; border: 0; box-shadow: none; text-decoration: underline; text-shadow: none; }
.kt-chrome a:where(:hover, :focus, :active) { color: var(--muted); background: none; box-shadow: none; }

.kt-chrome button {
  appearance: none; -webkit-appearance: none;
  margin: 0; padding: 0; height: auto; min-height: 0;
  background: none; color: inherit;
  border: 0; border-radius: 0; box-shadow: none; text-shadow: none;
  font: inherit; line-height: inherit; letter-spacing: normal; text-transform: none; text-decoration: none;
  cursor: pointer;
}
.kt-chrome button:where(:hover, :focus, :active) { background: none; color: inherit; box-shadow: none; border-color: transparent; }

.kt-chrome input {
  appearance: none; -webkit-appearance: none;
  margin: 0; padding: 0; height: auto; min-height: 0;
  background: none; color: inherit;
  border: 0; border-radius: 0; box-shadow: none; text-shadow: none;
  font: inherit; line-height: inherit; letter-spacing: normal; text-transform: none;
}
.kt-chrome input:where(:hover, :focus, :active) { background: none; box-shadow: none; }

.kt-chrome summary {
  margin: 0; padding: 0; height: auto; min-height: 0;
  background: none; color: inherit;
  border: 0; border-radius: 0; box-shadow: none;
  font: inherit; line-height: inherit; letter-spacing: normal; text-transform: none;
  cursor: pointer;
}
.kt-chrome details { display: block; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }

.kt-chrome ul, .kt-chrome ol { margin: 0; padding: 0; list-style: none; background: none; }
.kt-chrome li { margin: 0; padding: 0; list-style: none; background: none; }
.kt-chrome nav { display: block; margin: 0; padding: 0; background: none; border: 0; }
.kt-chrome form { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.kt-chrome label { margin: 0; padding: 0; font: inherit; letter-spacing: normal; text-transform: none; }
.kt-chrome p { margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.kt-chrome h1, .kt-chrome h2, .kt-chrome h3 { margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; text-wrap: balance; }
.kt-chrome img { display: block; max-width: 100%; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.kt-chrome svg { display: inline-block; max-width: none; vertical-align: middle; overflow: hidden; }
.kt-chrome svg[fill="none"] { fill: none; }
.kt-chrome svg[stroke="currentColor"] { stroke: currentColor; }

.kt-chrome .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type ---------- */
.kt-chrome .eyebrow { margin: 0; font: var(--type-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kt-chrome .h-page { margin: 0; font: var(--type-title); letter-spacing: -0.015em; text-transform: uppercase; }
.kt-chrome .h-section { margin: 0; font: var(--type-block); }
.kt-chrome .h-card { margin: 0; font: var(--type-block); }
.kt-chrome .lede { margin: 0; font: 400 16px/1.55 var(--font-body); color: var(--muted); max-width: 65ch; }
.kt-chrome .muted { color: var(--muted); }

/* ---------- buttons and links ---------- */
.kt-chrome .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 0; font: 600 14px var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.kt-chrome .btn--primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.kt-chrome .btn--primary:hover { background: var(--ink-2); color: var(--white); }
.kt-chrome .btn--outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.kt-chrome .btn--outline:hover { background: var(--panel); color: var(--ink); }
.kt-chrome .btn--inverse { background: var(--white); color: var(--ink); border-color: var(--white); }
.kt-chrome .btn--inverse:hover { background: var(--panel); color: var(--ink); }
.kt-chrome .btn--on-dark { background: transparent; color: var(--white); border-color: var(--white); }
.kt-chrome .btn--on-dark:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.kt-chrome .btn--block { width: 100%; }
.kt-chrome .btn[disabled], .kt-chrome .btn[aria-disabled="true"] { background: var(--muted); border-color: var(--muted); color: var(--white); cursor: not-allowed; }
.kt-chrome .btn--outline[disabled] { background: var(--panel); border-color: var(--chip-line); color: var(--faint); }
.kt-chrome .link { font: 600 14px var(--font-body); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.kt-chrome .link--plain { text-decoration: none; }
.kt-chrome .link-more { display: inline-flex; align-items: center; min-height: 44px; font: 600 14px var(--font-body); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.kt-chrome .icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--ink); background: none; border: 0; text-decoration: none; }

/* ---------- forms ---------- */
.kt-chrome .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kt-chrome .field__label { font: 600 13px var(--font-body); }
.kt-chrome .field__label--caps { font: var(--type-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kt-chrome .input, .kt-chrome .select, .kt-chrome .textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 0; background: var(--white); font: 400 15px var(--font-body); }
.kt-chrome .textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.kt-chrome .select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.kt-chrome .input:disabled, .kt-chrome .select:disabled { background: var(--panel); border-color: var(--chip-line); color: var(--muted); }
.kt-chrome .input[aria-invalid="true"], .kt-chrome .select[aria-invalid="true"], .kt-chrome .textarea[aria-invalid="true"] { border: 2px solid var(--red); }
.kt-chrome .field__error { margin: 0; font: 500 13px/1.5 var(--font-body); color: var(--red-ink); }
.kt-chrome .field__error:empty { display: none; }
.kt-chrome .field__hint { margin: 0; font: 400 13px/1.5 var(--font-body); color: var(--muted); }
.kt-chrome .check { display: flex; align-items: flex-start; gap: 10px; font: 400 14px/1.5 var(--font-body); }
.kt-chrome .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); appearance: auto; }
/* Touch screens: iPhones zoom the page when a field's text is under 16px. */
@media (pointer: coarse) { .kt-chrome input:not([type="checkbox"]):not([type="radio"]), .kt-chrome select, .kt-chrome textarea { font-size: 16px !important; } }
