

input, textarea, select, button {
  font: inherit;
}
button {
  background-color: unset;
  color: inherit;
}

input[type="text"], input[type="url"], input[type="number"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], select, textarea,
.checkout-wrapper textarea {
  font-size: var(--text-m);
  line-height: 1.2;
  padding: 0.5em 0.8em;
  min-height: 2.5em;
  width: 100%;
  background-color: var(--input-background);
  border: var(--border-form);
  border-radius: var(--border-radius-m);
  box-sizing: border-box;
  color: var(--color-text);
  font-family: var(--font-fam-sans-serif);
}
input[type="text"]:focus, input[type="url"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, select:focus, textarea:focus {
  background-color: var(--input-background);
  border: var(--border-form-focus);
  color: var(--color-text);
  outline: none!important;
  box-shadow: 0 0 0 2px var(--color-primary-200);
}


label {
  font-family: var(--font-fam-sans-serif);
  font-size: var(--text-s);
  line-height: 1.2;
  color: var(--color-text);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}


input[type="checkbox"] {
  background-color: var(--input-background);
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  width: 18px;
  padding: 0;
  border: var(--border-form);
  border-radius: var(--border-radius-s);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  transition: box-shadow var(--tran-du-s) ease;
  box-shadow: none;
}
input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border: var(--border-form-focus);
  background-image: url("data:image/svg+xml,%3Csvg class='checkbox-tick-svg' height='14' width='14' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M10.346 3.301a.929.929 0 0 1 1.37 0 1.076 1.076 0 0 1 0 1.456l-4.64 4.94a.929.929 0 0 1-1.37 0L3.284 7.123a1.076 1.076 0 0 1 0-1.456.929.929 0 0 1 1.37 0L6.39 7.513l3.955-4.212z' style='fill:%23ffffff;'%3E%3C/path%3E%3C/svg%3E");
  box-shadow: 0 0 0 2px var(--color-primary-200);
}

select {  
  -webkit-appearance: none;
  appearance: none;
}



form.wc-block-components-form {
  font-size: 16px;
}

body.wp-theme-bricks .wc-block-components-text-input input[type="email"],
body.wp-theme-bricks .wc-block-components-text-input input[type="number"],
body.wp-theme-bricks .wc-block-components-text-input input[type="password"],
body.wp-theme-bricks .wc-block-components-text-input input[type="tel"],
body.wp-theme-bricks .wc-block-components-text-input input[type="text"],
body.wp-theme-bricks .wc-block-components-text-input input[type="url"] {
  background-color: var(--color-brand-25);
  border: var(--border-form);
  border-radius: var(--border-radius-m);
  box-sizing: border-box;
  color: var(--color-text);
  font-family: var(--font-fam-sans-serif);
  font-size: 1em;
  height: 3.125em;
  line-height: 1em;
  margin: 0;
  min-height: 0;
  width: 100%;
}
body.wp-theme-bricks .wc-blocks-components-select .wc-blocks-components-select__select {
  background-color: var(--color-brand-25);
  border: var(--border-form);
  border-radius: var(--border-radius-m);
}
body.wp-theme-bricks .wc-blocks-components-select .wc-blocks-components-select__select:focus {
  background-color: #ffffff;
  border: var(--border-form-focus);
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary-200);
}
body.wp-theme-bricks .wc-block-components-text-input input[type=email]:focus,
body.wp-theme-bricks .wc-block-components-text-input input[type=number]:focus,
body.wp-theme-bricks .wc-block-components-text-input input[type=password]:focus,
body.wp-theme-bricks .wc-block-components-text-input input[type=tel]:focus,
body.wp-theme-bricks .wc-block-components-text-input input[type=text]:focus,
body.wp-theme-bricks .wc-block-components-text-input input[type=url]:focus,
.checkout-wrapper .wc-block-checkout__add-note textarea:focus  {
  background-color: #ffffff;
  border: var(--border-form-focus);
  color: var(--color-text);
  outline: none;
  box-shadow: 0 0 0 2px var(--color-primary-200);
}
body.wp-theme-bricks .wc-block-components-text-input.has-error input[type=email]:not(:focus),
body.wp-theme-bricks .wc-block-components-text-input.has-error input[type=number]:not(:focus),
body.wp-theme-bricks .wc-block-components-text-input.has-error input[type=password]:not(:focus),
body.wp-theme-bricks .wc-block-components-text-input.has-error input[type=tel]:not(:focus),
body.wp-theme-bricks .wc-block-components-text-input.has-error input[type=text]:not(:focus),
body.wp-theme-bricks .wc-block-components-text-input.has-error input[type=url]:not(:focus) {
  border-color: var(--color-red);
}
body.wp-theme-bricks .wc-block-components-validation-error {
  color: var(--color-red);
}


body.wp-theme-bricks .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] {
  background-color: var(--color-brand-25);
  border: var(--border-form);
  border-radius: var(--border-radius-s);
  box-sizing: border-box;
  flex: none;
  padding: 0;
  outline: none!important;
}
body.wp-theme-bricks .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] + svg {
  fill: #ffffff;
}
body.wp-theme-bricks .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-200);
}


body.wp-theme-bricks .wc-block-components-form .wc-block-components-text-input label,
body.wp-theme-bricks .wc-block-components-text-input label {
  color: var(--color-text);
}


.fluentform input[type="checkbox"] {
  -webkit-appearance: none!important;
  appearance: none!important;
}