/**
 * Kixify Next — form field chrome for .layout-shell (loads last from page.tpl.php).
 *
 * Default: Nike-style notched labels (label in the top border).
 * body.kn-fields--list-item: label above, border on control (settings / list item).
 * body.kn-fields--float-in: label inside field; floats up on focus (checkout).
 * Bottom section resets pill style-code search + screen-reader-only labels.
 */

body.kn-theme-on {
  --kn-field-notch-bg: var(--kn-white, #ffffff);
  --kn-field-border: rgba(17, 17, 17, 0.42);
  --kn-field-border-focus: var(--kn-ink, #111111);
  --kn-field-radius: 8px;
  --kn-field-label: var(--kn-muted, #5c5c5c);
  --kn-field-error: #b00020;
}

/*
 * Shared gate: text-ish .form-item with a real (non-checkbox) label, no file/rich-editor widgets.
 * (Long selector kept once in comments to avoid drift — each block repeats the same :not chain.)
 * Gate: not checkbox, not radio, not file, not tinymce/cke, not sr-only label, has visible label, has control.
 */
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, textarea.form-textarea, select.form-select, textarea) {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.15rem;
  padding: 0;
  border: 1px solid var(--kn-field-border);
  border-radius: var(--kn-field-radius);
  background: var(--kn-field-notch-bg);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, textarea.form-textarea, select.form-select, textarea):focus-within {
  border-color: var(--kn-field-border-focus);
  box-shadow: 0 0 0 1px var(--kn-field-border-focus);
}

body.kn-theme-on .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, textarea, select.form-select, select) {
  border-color: var(--kn-field-error);
}

body.kn-theme-on .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, textarea, select.form-select, select):focus-within {
  border-color: var(--kn-field-error);
  box-shadow: 0 0 0 1px rgba(176, 0, 32, 0.25);
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, textarea.form-textarea, select.form-select, textarea) > label:not(.option) {
  position: absolute;
  left: 0.65rem;
  top: 0;
  z-index: 2;
  transform: translateY(-50%);
  margin: 0 !important;
  padding: 0 0.35rem;
  max-width: calc(100% - 1.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--kn-field-label);
  background: var(--kn-field-notch-bg);
  pointer-events: none;
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, textarea, select) > label:not(.option) .form-required {
  color: var(--kn-field-error);
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, textarea, select.form-select) input.form-text,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, textarea, select.form-select) input.form-control,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea.form-textarea,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-select,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-control {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: calc(var(--kn-field-radius) - 1px) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--kn-ink, #111111);
  min-height: 2.75rem;
  padding: 1.05rem 0.85rem 0.55rem !important;
  appearance: none;
  -webkit-appearance: none;
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea.form-textarea,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea {
  min-height: 6.5rem;
  resize: vertical;
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-select,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-control {
  padding-right: 2.25rem !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c5c5c' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

/* Notched fields only — list-item pages use square ink border + focus ring below */
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:focus,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) textarea:focus,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) select:focus {
  outline: none !important;
  box-shadow: none !important;
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) .description {
  margin: 0.35rem 0.75rem 0.6rem;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--kn-muted, #5c5c5c);
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) > .warning,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) > .error {
  margin: 0 0.75rem 0.5rem;
}

body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input) .field-prefix,
body.kn-theme-on:not(.kn-fields--list-item):not(.kn-fields--float-in) .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input) .field-suffix {
  display: inline-block;
  padding: 0 0.25rem;
  vertical-align: middle;
  color: var(--kn-muted, #5c5c5c);
  font-size: 0.9375rem;
}

/* Hub order filters (legacy plain fields only — fulfill list uses kn-fields--float-in). */
body.kn-theme-on.store-hub:not(.kn-fields--float-in) .layout-shell #order-form.well.well-sm .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text) input.form-text,
body.kn-theme-on.store-hub:not(.kn-fields--float-in) .layout-shell #order-form.well.well-sm .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select.form-select) select.form-select {
  height: auto !important;
  min-height: 2.75rem !important;
}

/* /products filters use body.kn-fields--float-in (same tokens as checkout). */
body.kn-theme-on.store-hub.kixify-products-hub.kn-fields--float-in .layout-shell details.kixify-product-list-filters .kn-products-filters-panel .form-item:has(> label:not(.option)):has(input.form-text, select) {
  min-height: var(--kn-fi-height, 3.5rem);
}

/* Pill style-code search — keep existing product-form / home layout */
body.kn-theme-on .layout-shell .kn-product-search-bar .form-item,
body.kn-theme-on .layout-shell fieldset.product-stylecode .form-item:has(#stylecode-search-term-wrapper) {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin-bottom: 0 !important;
}

body.kn-theme-on .layout-shell .kn-product-search-bar .form-item > label:not(.option),
body.kn-theme-on .layout-shell fieldset.product-stylecode .form-item:has(#stylecode-search-term-wrapper) > label:not(.option) {
  position: static !important;
  transform: none !important;
  margin: 0 0 0.35rem 0 !important;
  padding: 0 !important;
  background: transparent !important;
  max-width: none !important;
  white-space: normal !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--kn-ink, #111111) !important;
  pointer-events: auto !important;
}

/* Legacy pill search (cargoh) — KN list-item + .kn-plain-input-fields use standard control chrome. */
body.kn-theme-on:not(.kn-fields--list-item) .layout-shell fieldset.product-stylecode .form-item:has(#stylecode-search-term-wrapper) input.form-text,
body.kn-theme-on:not(.kn-fields--list-item) .layout-shell fieldset.product-stylecode .form-item:has(#stylecode-search-term-wrapper) input.form-control {
  padding: 0.65rem 1rem 0.65rem 2.75rem !important;
  min-height: 3rem !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
}

body.kn-theme-on.kn-fields--list-item .layout-shell fieldset.product-stylecode .kn-plain-input-fields #stylecode-search-term-wrapper .field-prefix,
body.kn-theme-on.kn-fields--list-item .layout-shell fieldset.product-stylecode .kn-plain-input-fields #stylecode-search-term-wrapper .field-suffix {
  display: none !important;
}

/*
 * Plain hub inputs — placeholder on control, border on input (List Your Item search).
 * Use .kn-plain-input-fields on a wrapper; do not use notched #title labels.
 */
body.kn-theme-on .layout-shell .kn-plain-input-fields .form-item {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.kn-theme-on .layout-shell .kn-plain-input-fields .form-item:last-child {
  margin-bottom: 0 !important;
}

body.kn-theme-on .layout-shell .kn-plain-input-fields .form-item > label:not(.option) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.kn-theme-on .layout-shell .kn-plain-input-fields input.form-text,
body.kn-theme-on .layout-shell .kn-plain-input-fields input.form-control,
body.kn-theme-on .layout-shell .kn-plain-input-fields select.form-select,
body.kn-theme-on .layout-shell .kn-plain-input-fields select.form-control {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  min-height: 2.75rem !important;
  padding: 0.5rem 0.85rem !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
  color: var(--kn-ink, #111111) !important;
  border-radius: var(--kn-radius, 3px) !important;
  border: 1px solid var(--kn-line-strong, #cccccc) !important;
  background-color: var(--kn-white, #ffffff) !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

body.kn-theme-on .layout-shell .kn-plain-input-fields select.form-select,
body.kn-theme-on .layout-shell .kn-plain-input-fields select.form-control {
  padding-right: 2.5rem !important;
  cursor: pointer !important;
  font-weight: 500;
  background-color: rgba(17, 17, 17, 0.04) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23111111' stroke-opacity='0.55' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M5.5 8.25 10 12.5l4.5-4.25'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.65rem center !important;
  background-size: 1.25rem !important;
}

body.kn-theme-on .layout-shell .kn-plain-input-fields input.form-text::placeholder,
body.kn-theme-on .layout-shell .kn-plain-input-fields input.form-control::placeholder {
  color: var(--kn-muted, #5c5c5c);
  opacity: 1;
}

body.kn-theme-on .layout-shell .kn-plain-input-fields input.form-text:focus,
body.kn-theme-on .layout-shell .kn-plain-input-fields input.form-control:focus,
body.kn-theme-on .layout-shell .kn-plain-input-fields select.form-select:focus,
body.kn-theme-on .layout-shell .kn-plain-input-fields select.form-control:focus {
  border-color: var(--kn-ink, #111111) !important;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08) !important;
  outline: none !important;
}

/* Panels on grey: match notch paint to card (optional hook) */
body.kn-theme-on .layout-shell .panel-body,
body.kn-theme-on .layout-shell .well {
  --kn-field-notch-bg: var(--kn-white, #ffffff);
}

/*
 * Marketplace PDP add-to-cart: do not use notch wrapper (home.css uses a normal bordered <select>).
 * This file loads after home.css — without a reset, notch rules on .layout-shell .form-item win and the size control looks broken.
 */
body.kn-theme-on .layout-shell .kn-pdp-add-form-block #add-to-cart-attributes .form-item,
body.kn-theme-on .layout-shell #block-cargoh_helper-cargoh_add_to_cart #add-to-cart-attributes .form-item,
body.kn-theme-on .layout-shell #marketplace-product-pdp #add-to-cart-attributes .form-item {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.kn-theme-on .layout-shell .kn-pdp-add-form-block #add-to-cart-attributes .form-item > label:not(.option),
body.kn-theme-on .layout-shell #block-cargoh_helper-cargoh_add_to_cart #add-to-cart-attributes .form-item > label:not(.option),
body.kn-theme-on .layout-shell #marketplace-product-pdp #add-to-cart-attributes .form-item > label:not(.option) {
  position: static !important;
  transform: none !important;
  margin: 0 0 0.35rem 0 !important;
  padding: 0 !important;
  background: transparent !important;
  max-width: none !important;
  white-space: normal !important;
  pointer-events: auto !important;
}

body.kn-theme-on .layout-shell .kn-pdp-add-form-block #add-to-cart-attributes select,
body.kn-theme-on .layout-shell #block-cargoh_helper-cargoh_add_to_cart #add-to-cart-attributes select,
body.kn-theme-on .layout-shell #marketplace-product-pdp #add-to-cart-attributes select {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  min-height: 2.85rem !important;
  padding: 0.55rem 0.9rem !important;
  border: 1px solid var(--kn-line-strong, rgba(17, 17, 17, 0.22)) !important;
  border-radius: 8px !important;
  background: var(--kn-white, #ffffff) !important;
  box-shadow: none !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--kn-ink, #111111) !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
}

/*
 * CCK imagefield (filefield-element): replace legacy float/column layout + default submits
 * with the same pill language as .kn-pdp__btn (account settings, sell/product/release forms).
 */
body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  margin: 0 0 1.15rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 12px;
  background: #fafafa;
  box-sizing: border-box;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element .widget-preview,
body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element .widget-edit,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element .widget-preview,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element .widget-edit,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element .widget-preview,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element .widget-edit {
  float: none !important;
  width: auto !important;
  max-width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element .widget-preview,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element .widget-preview,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element .widget-preview {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 5.75rem;
  min-width: 5.75rem;
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: var(--kn-tile-media-radius, 12px);
  background: var(--kn-tile-studio, #f4f4f4);
  border: 1px solid rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element .imagefield-preview,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element .imagefield-preview,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element .imagefield-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  margin: 0;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element .imagefield-preview img,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element .imagefield-preview img,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element .imagefield-preview img {
  display: block;
  max-width: 100%;
  max-height: 5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element .widget-edit,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element .widget-edit,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element .widget-edit {
  flex: 1 1 12rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element .filefield-upload,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element .filefield-upload,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element .filefield-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element .filefield-upload .imgwrapper,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element .filefield-upload .imgwrapper,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element .filefield-upload .imgwrapper {
  display: inline-flex;
  flex: 1 1 12rem;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-file,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-file,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-file {
  flex: 1 1 10rem;
  min-width: 0;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 0.8125rem !important;
}

/* Imagefield Upload — same primary pill as header Sell / .kn-pdp__btn--primary (home.css) */
body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"],
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"],
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_upload"] {
  box-sizing: border-box !important;
  min-height: 3rem !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 999px !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-decoration: none !important;
  border: 1px solid var(--kn-ink, #111111) !important;
  background: var(--kn-ink, #111111) !important;
  color: var(--kn-white, #ffffff) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:hover,
body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:focus,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:hover,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:focus,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:hover,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:focus {
  opacity: 0.92;
  outline: none !important;
  text-decoration: none !important;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:focus-visible,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:focus-visible,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_upload"]:focus-visible {
  opacity: 1;
  outline: 2px solid var(--kn-ink, #111111) !important;
  outline-offset: 2px !important;
}

/* Remove — secondary outline pill (same family as .kn-pdp__btn default) */
body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"],
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"],
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_remove"] {
  box-sizing: border-box !important;
  min-height: 3rem !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 999px !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-decoration: none !important;
  border: 1px solid var(--kn-ink, #111111) !important;
  background: var(--kn-white, #ffffff) !important;
  color: var(--kn-ink, #111111) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:hover,
body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:focus,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:hover,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:focus,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:hover,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:focus {
  background: rgba(17, 17, 17, 0.04) !important;
  border-color: var(--kn-ink, #111111) !important;
  color: var(--kn-ink, #111111) !important;
  outline: none !important;
  text-decoration: none !important;
}

body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:focus-visible,
body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:focus-visible,
body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_remove"]:focus-visible {
  outline: 2px solid var(--kn-ink, #111111) !important;
  outline-offset: 2px !important;
}

@media (max-width: 899px) {
  body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"],
  body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_upload"],
  body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_upload"],
  body.kn-theme-on.kn-product-form-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"],
  body.kn-theme-on.kn-sell-release-page .layout-shell .filefield-element input.form-submit[name*="filefield_remove"],
  body.kn-hub-page.store-hub.kn-page-account-settings .layout-shell .filefield-element input.form-submit[name*="filefield_remove"] {
    min-height: 2.5rem !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.875rem !important;
  }
}

/*
 * Profile photo — circle tap-to-upload; Remove photo when one exists.
 */
body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader,
body.kn-theme-on.kn-page-account-settings #profile .filefield-element--profile-avatar,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .filefield-element--profile-avatar {
  display: block;
  margin: 0 0 1.25rem;
  padding: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.kn-page-progress-loader {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2147483000;
  height: 2px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, visibility 140ms ease;
}

body.kn-page-progress-active .kn-page-progress-loader {
  opacity: 1;
  visibility: visible;
}

.kn-page-progress-loader span {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 0.85) 50%,
    rgba(17, 17, 17, 0) 100%
  );
  animation: kn-page-progress-loader-sweep 1.1s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

@keyframes kn-page-progress-loader-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@media (prefers-reduced-motion: reduce) {
  .kn-page-progress-loader span {
    width: 100%;
    background: rgba(17, 17, 17, 0.45);
    animation: none;
  }
}

body.kn-theme-on.kn-page-account-settings #profile .form-item:has(.kn-avatar-uploader),
body.kn-hub-page.store-hub.kn-page-account-settings #profile .form-item:has(.kn-avatar-uploader) {
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__thumb-wrap,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__thumb-wrap {
  flex: 0 0 auto;
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__thumb,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__thumb,
body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: #ececec;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone.is-dragover,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone.is-dragover {
  border-color: #111;
  background: #f3f3f3;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone:not(.kn-avatar-uploader__dropzone--has-image):not(.is-uploading)::after,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone:not(.kn-avatar-uploader__dropzone--has-image):not(.is-uploading)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='rgba(17,17,17,0.32)' stroke-width='1.75' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center center / 1.65rem no-repeat;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__thumb-wrap .kn-avatar-uploader__edit-icon,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__thumb-wrap .kn-avatar-uploader__edit-icon {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #111;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__edit-icon-svg,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__edit-icon-svg {
  display: block;
  width: 0.72rem;
  height: 0.72rem;
  flex-shrink: 0;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone--has-image + .kn-avatar-uploader__edit-icon,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone--has-image + .kn-avatar-uploader__edit-icon {
  display: flex;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone--has-image::after,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone--has-image::after {
  display: none;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__actions,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__actions {
  display: none !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__remove-hidden,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__remove-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__controls,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__controls {
  min-width: 0;
  flex: 1 1 100%;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row {
  align-items: flex-start;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone.is-uploading::before,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone.is-uploading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__thumb .imagefield-preview,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__thumb .imagefield-preview {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__thumb .imagefield-preview img,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__thumb .imagefield-preview img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  border-radius: 999px;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__empty,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #ececec;
  font-family: var(--kn-font, system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--kn-ink, #111);
  text-align: center;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls,
body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__controls,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  flex: 1 1 12rem;
  min-width: 0;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__actions,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__upload-submit--hidden,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__upload-submit--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__controls .filefield-upload,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__controls .filefield-upload,
body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__controls .imgwrapper,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__controls .imgwrapper {
  display: none !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone .kn-avatar-uploader__native-wrap,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone .kn-avatar-uploader__native-wrap {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone .imagefield-preview,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone .imagefield-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  color: transparent;
  pointer-events: none;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone .imagefield-preview img,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone .imagefield-preview img,
body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone > img,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  border-radius: 999px;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__dropzone .kn-avatar-row__empty,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__dropzone .kn-avatar-row__empty {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__native-wrap .form-item,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__native-wrap .form-item,
body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__native-wrap .description,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__native-wrap .description {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__input,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__error,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__error {
  display: none;
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 500;
  color: #b42318;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__error.is-success,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__error.is-success {
  color: #15803d;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__error.is-visible,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__error.is-visible {
  display: block;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__save-hint,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__save-hint {
  display: none;
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 500;
  color: #525252;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__save-hint.is-visible,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__save-hint.is-visible {
  display: block;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader--invalid .kn-avatar-uploader__dropzone,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader--invalid .kn-avatar-uploader__dropzone {
  border-color: #b42318;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls .filefield-upload,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls .filefield-upload {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  width: 100%;
  max-width: 18rem;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls .imgwrapper,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls .kn-avatar-filewrap {
  display: block;
  width: 100%;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls input.form-file,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls input.form-file {
  width: 100% !important;
  max-width: 18rem !important;
  font-size: 0.8125rem !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-uploader__actions input.form-submit[name*="filefield_remove"],
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-uploader__actions input.form-submit[name*="filefield_remove"],
body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls input.form-submit[name*="filefield_remove"],
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls input.form-submit[name*="filefield_remove"] {
  display: inline-block !important;
  min-height: 2.25rem !important;
  height: 2.25rem !important;
  padding: 0 1rem !important;
  line-height: 2.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  border: 1px solid #ccc !important;
  background: #fff !important;
  color: #111 !important;
  cursor: pointer;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls .form-item,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls .form-item {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls .button-wrapper,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls .button-wrapper {
  display: block !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls .button-wrapper::before,
body.kn-theme-on.kn-page-account-settings #profile .kn-avatar-row__controls .button-wrapper::after,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls .button-wrapper::before,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-avatar-row__controls .button-wrapper::after {
  display: none !important;
  content: none !important;
}

body.kn-theme-on.kn-page-account-settings #profile .form-item-field-avatar,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .form-item-field-avatar {
  margin-bottom: 1rem !important;
}

body.kn-theme-on.kn-page-account-settings #profile .form-item-field-avatar > label,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .form-item-field-avatar > label {
  display: none !important;
}

/*
 * Store settings — US shipping lives in a rates row; do not stack the
 * notched .form-item outline on the amount field.
 */
body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item:focus-within {
  border: none !important;
  box-shadow: none !important;
}

body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item.error {
  border: none !important;
  box-shadow: none !important;
}

body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item.error:focus-within {
  border: none !important;
  box-shadow: none !important;
}

body.kn-theme-on.kn-page-account-settings .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item > label:not(.option) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.kn-theme-on:not(.kn-page-account-settings) .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item > label:not(.option) {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  z-index: auto !important;
  display: block !important;
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
  color: var(--kn-ink, #111111) !important;
  background: transparent !important;
  pointer-events: auto !important;
}

body.kn-theme-on.kn-page-account-settings .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .kn-price-input,
body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .kn-price-input {
  width: 100%;
  max-width: 9.25rem;
}

body.kn-theme-on.kn-page-account-settings .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .kn-price-input input.kn-store-shipping-rates__us-input,
body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .kn-price-input input.kn-store-shipping-rates__us-input {
  width: auto !important;
  max-width: 100% !important;
  min-height: 2.65rem !important;
  padding: 0.45rem 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
  font-variant-numeric: tabular-nums !important;
}

body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item .description {
  margin: 0.5rem 0 0 !important;
  padding: 0 !important;
  font-size: 0.75rem !important;
  line-height: 1.45 !important;
  color: rgba(17, 17, 17, 0.48) !important;
}

body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item .field-prefix,
body.kn-theme-on .layout-shell #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item .field-suffix {
  display: none !important;
}

/*
 * List-your-item text fields — square 1px outline on the control, label above.
 * Matches List Your Item / sell-release inputs (product-form.css #product-attribute-wrapper).
 * Rollout: add body.kn-fields--list-item (sell / list-your-item).
 * Gate: visible label + text-ish control; not checkbox/radio/file/rich-text/filefield.
 */
body.kn-theme-on.kn-fields--list-item {
  /* List Your Item: grey idle (#stylecode-search-term), black stroke + grey halo on :focus */
  --kn-li-field-border: var(--kn-line-strong, #cccccc);
  --kn-li-field-border-focus: var(--kn-ink, #111111);
  --kn-li-field-focus-ring: 0 0 0 2px rgba(17, 17, 17, 0.08);
  --kn-li-field-radius: var(--kn-radius, 3px);
  --kn-li-field-label: var(--kn-ink, #111111);
  --kn-li-field-error: #b00020;
}

/* Gate includes password/email — Drupal user + profile forms often omit .form-text on those. */
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], input[type="tel"], input[type="url"], input[type="number"], textarea.form-textarea, select.form-select, textarea) {
  position: static;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea.form-textarea, select.form-select, textarea):focus-within {
  border: none;
  box-shadow: none;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, textarea, select) {
  border: none;
  box-shadow: none;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) > label:not(.option) {
  position: static;
  left: auto;
  top: auto;
  z-index: auto;
  transform: none;
  display: block;
  margin: 0 0 0.35rem;
  padding: 0;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--kn-li-field-label);
  background: transparent;
  pointer-events: auto;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) > label:not(.option) .form-required {
  color: var(--kn-li-field-error);
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input.form-text,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input.form-control,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input[type="password"],
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input[type="email"],
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input[type="text"],
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea.form-textarea,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-select,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-control {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--kn-ink, #111111);
  background: var(--kn-white, #ffffff) !important;
  border: 1px solid var(--kn-li-field-border) !important;
  border-radius: var(--kn-li-field-radius) !important;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea.form-textarea,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea {
  min-height: 6.5rem;
  resize: vertical;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-select,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-control {
  padding-right: 2.25rem !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c5c5c' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:focus,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:focus-visible,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) textarea:focus,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) textarea:focus-visible,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) select:focus,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) select:focus-visible,
body.kn-theme-on.kn-fields--list-item .layout-shell .kn-li-field-input:focus,
body.kn-theme-on.kn-fields--list-item .layout-shell .kn-li-field-input:focus-visible {
  outline: none !important;
  border: 1px solid var(--kn-li-field-border-focus) !important;
  -webkit-box-shadow: var(--kn-li-field-focus-ring) !important;
  box-shadow: var(--kn-li-field-focus-ring) !important;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:focus,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) textarea:focus,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) select:focus {
  border-color: var(--kn-li-field-error) !important;
  box-shadow: 0 0 0 2px rgba(176, 0, 32, 0.12) !important;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input.form-text,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) textarea,
body.kn-theme-on.kn-fields--list-item .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) select {
  border-color: var(--kn-li-field-error) !important;
}

body.kn-theme-on.kn-fields--list-item .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) .description {
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--kn-muted, #5c5c5c);
}

/*
 * Account settings — float-in fields (same as checkout).
 * #accountsettings + .node-form beats cargoh forms.css label/input margins.
 */
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item > label:not(.option),
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings .node-form div.form-item > label:not(.option) {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: calc(100% - (var(--kn-fi-pad-x) * 2)) !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Prefilled profile fields (value attr) — raised label + value band (beats cargoh node-form label margin). */
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item.kn-float-in--raised > label:not(.option),
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item:has(input[value]:not([value=""])) > label:not(.option),
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item:has(input[placeholder]:not(:placeholder-shown)) > label:not(.option),
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item:has(textarea[placeholder]:not(:placeholder-shown)) > label:not(.option) {
  top: var(--kn-fi-label-top) !important;
  transform: translateY(0) scale(0.72) !important;
  transform-origin: left top !important;
  font-size: 0.75rem !important;
  line-height: 1.1 !important;
  color: var(--kn-fi-label-float) !important;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item.kn-float-in--raised input:not(.kn-custom-select__native),
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item:has(input[value]:not([value=""])) input:not(.kn-custom-select__native),
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item:has(input[placeholder]:not(:placeholder-shown)) input:not(.kn-custom-select__native) {
  --kn-fi-value-line: calc(var(--kn-fi-height) - var(--kn-fi-pad-top-raised) - var(--kn-fi-pad-bottom-raised));
  padding: var(--kn-fi-pad-top-raised) var(--kn-fi-pad-x) var(--kn-fi-pad-bottom-raised) !important;
  line-height: var(--kn-fi-value-line) !important;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item.kn-float-in--raised textarea,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item:has(textarea[placeholder]:not(:placeholder-shown)) textarea,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form .form-item:has(textarea):focus-within textarea {
  padding: var(--kn-fi-pad-top-raised) var(--kn-fi-pad-x) var(--kn-fi-pad-bottom-raised) !important;
  line-height: 1.55 !important;
  height: auto !important;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item input.form-text,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item input.form-control,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item input[type="password"],
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item input[type="email"],
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item input[type="text"],
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item input[type="tel"],
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item input[type="url"],
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item select.form-select,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item textarea.form-textarea,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings .node-form div.form-item input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="image"]) {
  float: none !important;
  display: block !important;
  margin: 0 !important;
}

/* Textarea float-in — wrapper grows with content; label must not sit on body text. */
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea):not(:has(input.form-text)):not(:has(input.form-control)):not(:has(input[type="text"])):not(:has(input[type="email"])):not(:has(input[type="password"])) {
  min-height: auto;
}

/*
 * Store policy (node body) — profile field chrome; section card title only (no float label / placeholder).
 */
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper.kn-store-policy-field,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper.kn-store-policy-field {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
  min-height: auto !important;
  border: 1px solid var(--kn-fi-border, rgba(17, 17, 17, 0.22)) !important;
  border-radius: var(--kn-fi-radius, 3px) !important;
  background: var(--kn-fi-bg, #ffffff) !important;
  box-shadow: none !important;
  float: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper.kn-store-policy-field:hover,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper.kn-store-policy-field:hover {
  border-color: var(--kn-fi-border-hover, rgba(17, 17, 17, 0.28)) !important;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.04) !important;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper.kn-store-policy-field:focus-within,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper.kn-store-policy-field:focus-within {
  border-color: var(--kn-fi-border-focus, #111111) !important;
  box-shadow: var(--kn-fi-focus-shadow, 0 1px 2px rgba(17, 17, 17, 0.08)) !important;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper.kn-policy-field--no-label > label,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper.kn-policy-field--no-label > label {
  display: none !important;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper .resizable-textarea,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper .resizable-textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper textarea,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper textarea,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper textarea.form-textarea,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper textarea.kn-store-policy-field__input {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  height: 7.25rem !important;
  min-height: 7.25rem !important;
  max-height: 7.25rem !important;
  padding: var(--kn-fi-pad-y, 0.65rem) var(--kn-fi-pad-x, 0.75rem) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: var(--kn-ink, #111111) !important;
  resize: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  appearance: none;
  -webkit-appearance: none;
}

body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #edit-body-wrapper .grippie,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #edit-body-wrapper .grippie {
  display: none !important;
}

/* Store shipping — keep sell-style price input inside bordered kn-price-input */
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in #accountsettings.kn-settings #store #kn-store-shipping-rates .kn-price-input input.kn-store-shipping-rates__us-input,
body.kn-theme-on.kn-page-account-settings.kn-fields--float-in .kn-settings #store #kn-store-shipping-rates .kn-price-input input.kn-store-shipping-rates__us-input {
  width: auto !important;
  min-height: 2.65rem !important;
  height: auto !important;
  padding: 0.45rem 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/*
 * Account settings (/account/settings) — form action row layout only.
 * Button chrome: hub card actions (.kn-sfd-card-action) in store-hub-kn.css.
 * This file loads after store-hub-kn; do not re-style submits here (home.css .kn-pdp__btn fights it).
 */
body.kn-theme-on.kn-page-account-settings #accountsettings #profile .node-form-buttons,
body.kn-theme-on.kn-page-account-settings #accountsettings #store .node-form-buttons,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .node-form-buttons,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #store .node-form-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem 0.75rem;
  margin-top: 2rem !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Profile: border on .kn-settings__panel-footer (store-hub-kn.css), not on inner buttons row */
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .kn-settings__panel-footer .node-form-buttons,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #store .kn-settings__panel-footer .node-form-buttons,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .node-form > .kn-settings__panel-footer .node-form-buttons,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .node-form .kn-settings__panel-footer .node-form-buttons,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .kn-settings__panel-footer .node-form-buttons,
body.kn-hub-page.store-hub.kn-page-account-settings #profile .node-form > .kn-settings__panel-footer .node-form-buttons {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  align-items: center !important;
}

/* cargoh kixify-overide uses row-reverse on .node-form-buttons — align with card actions (left). */
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons {
  flex-direction: row !important;
}

body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons .button-wrapper,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons .button-wrapper.button-save-changes {
  display: inline-block !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
  cursor: default !important;
}

body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .node-form-buttons .kn-pdp__btn,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #store .node-form-buttons .kn-pdp__btn,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input.form-submit,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input[type="submit"],
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .kn-hub-settings-btn {
  flex: 0 0 auto;
  -webkit-appearance: none !important;
  appearance: none !important;
}

body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .node-form > input[id^="edit-submit"].form-submit,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #store .node-form > input[id^="edit-submit"].form-submit {
  display: inline-block !important;
  margin-top: 2rem !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  float: none !important;
}

body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .kn-settings__panel-footer > input[id^="edit-submit"].form-submit,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #store .kn-settings__panel-footer > input[id^="edit-submit"].form-submit,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .kn-settings__panel-footer .node-form-buttons,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #store .kn-settings__panel-footer .node-form-buttons {
  margin-top: 0 !important;
}

/*
 * Beat cargoh styles.css .button-save-changes + Bootstrap .btn-default on settings saves.
 * (Loads after store-hub-kn card-action rules — same tokens, higher specificity on wrapper.)
 */
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons .button-wrapper.button-save-changes input.form-submit,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons .button-wrapper input.form-submit.btn,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input.form-submit:not(.kn-pdp__btn--outline):not(.kn-settings__btn--danger),
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input[type="submit"]:not(.kn-pdp__btn--outline):not(.kn-settings__btn--danger),
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form input[id^="edit-submit"].form-submit {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  height: 2.125rem !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 1rem !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: calc(2.125rem - 2px) !important;
  vertical-align: middle !important;
  text-transform: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  color: #fff !important;
  background: #111 !important;
  border: 1px solid #111 !important;
  border-radius: 999px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
  overflow: visible !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
}

body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons .button-wrapper.button-save-changes input.form-submit:hover,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons .button-wrapper input.form-submit.btn:hover,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input.form-submit:not(.kn-pdp__btn--outline):not(.kn-settings__btn--danger):hover,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input.form-submit:not(.kn-pdp__btn--outline):not(.kn-settings__btn--danger):focus {
  color: #fff !important;
  background: #2a2a2a !important;
  border-color: #2a2a2a !important;
  opacity: 1 !important;
}

/* Beat home.css .kn-pdp__btn { min-height: 3rem } — keep hub card-action dimensions. */
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input.kn-pdp__btn--primary {
  height: 2.125rem !important;
  min-height: 0 !important;
  padding: 0 1rem !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  line-height: calc(2.125rem - 2px) !important;
  border-radius: 999px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input.kn-pdp__btn--outline,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input.kn-settings__btn--danger,
body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .kn-hub-settings-btn {
  min-height: 2.125rem !important;
}

@media (max-width: 767px) {
  body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .node-form-buttons,
  body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #store .node-form-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .node-form-buttons .kn-pdp__btn,
  body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #store .node-form-buttons .kn-pdp__btn,
  body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input.form-submit,
  body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form-buttons input[type="submit"],
  body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings #profile .kn-hub-settings-btn,
  body.kn-hub-page.store-hub.kn-page-account-settings #accountsettings.kn-settings .node-form input[id^="edit-submit"].form-submit {
    flex: 1 1 auto;
    width: 100% !important;
  }
}

/*
 * Marketplace PDP — size / attribute control: custom-styled native <select>
 * (chevron + padding) so it reads as a deliberate dropdown, not a textfield.
 * Loads after the generic add-to-cart select reset above — uses !important where needed.
 */
body.kn-theme-on.layout-marketplace-pdp .layout-shell #marketplace-product-pdp #add-to-cart-attributes select,
body.kn-theme-on.layout-marketplace-pdp .layout-shell #block-cargoh_helper-cargoh_add_to_cart #add-to-cart-attributes select,
body.kn-theme-on.node-type-product:not(.kn-product-form-page) .layout-shell #marketplace-product-pdp #add-to-cart-attributes select,
body.kn-theme-on.node-type-product:not(.kn-product-form-page) .layout-shell #block-cargoh_helper-cargoh_add_to_cart #add-to-cart-attributes select {
  -webkit-appearance: none !important;
  appearance: none !important;
  min-height: 3rem !important;
  padding: 0.65rem 2.65rem 0.65rem 1rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--kn-ink, #111111) !important;
  background-color: var(--kn-white, #ffffff) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23111111' stroke-opacity='0.55' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M5.5 8.25 10 12.5l4.5-4.25'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.65rem center !important;
  background-size: 1.25rem !important;
  border: 1px solid var(--kn-line-strong, rgba(17, 17, 17, 0.22)) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04), 0 1px 3px rgba(17, 17, 17, 0.06) !important;
  cursor: pointer !important;
}

body.kn-theme-on.layout-marketplace-pdp .layout-shell #marketplace-product-pdp #add-to-cart-attributes select:focus,
body.kn-theme-on.layout-marketplace-pdp .layout-shell #block-cargoh_helper-cargoh_add_to_cart #add-to-cart-attributes select:focus,
body.kn-theme-on.node-type-product:not(.kn-product-form-page) .layout-shell #marketplace-product-pdp #add-to-cart-attributes select:focus,
body.kn-theme-on.node-type-product:not(.kn-product-form-page) .layout-shell #block-cargoh_helper-cargoh_add_to_cart #add-to-cart-attributes select:focus {
  outline: 2px solid var(--kn-ink, #111111) !important;
  outline-offset: 2px !important;
  border-color: rgba(17, 17, 17, 0.45) !important;
}

/*
 * Marketplace uc_product PDP — Sell is a real <button id="sellnowonkixify"> (not <input>).
 * This sheet loads after home.css; wins when earlier pill selectors miss (e.g. body class drift).
 */
body.kn-theme-on .layout-shell #marketplace-product-pdp #product-offer_btn button#sellnowonkixify {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 3rem !important;
  padding: 0.65rem 1.25rem !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  border-radius: 999px !important;
  border: 1px solid var(--kn-line-strong, rgba(17, 17, 17, 0.22)) !important;
  background: var(--kn-white, #ffffff) !important;
  color: var(--kn-ink, #111111) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

@media (max-width: 899px) {
  body.kn-theme-on .layout-shell #marketplace-product-pdp #product-offer_btn button#sellnowonkixify {
    min-height: 2.5rem !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.875rem !important;
  }
}

/*
 * .kn-li-field-input — list-item pages only (not float-in account/settings).
 */
body.kn-theme-on.kn-fields--list-item .kn-li-field-input {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  min-height: 2.75rem !important;
  padding: 0.5rem 0.85rem !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif) !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
  color: var(--kn-ink, #111111) !important;
  background: var(--kn-white, #ffffff) !important;
  border: 1px solid var(--kn-line-strong, #cccccc) !important;
  border-radius: var(--kn-radius, 3px) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.kn-theme-on.kn-fields--list-item .kn-li-field-input:focus,
body.kn-theme-on.kn-fields--list-item .kn-li-field-input:focus-visible {
  outline: none !important;
  border: 1px solid var(--kn-ink, #111111) !important;
  -webkit-box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08) !important;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08) !important;
}

body.kn-theme-on.kn-fields--list-item #accountsettings .kn-store-shipping-rates__us-input.kn-li-field-input {
  width: 5.5rem !important;
  min-height: 0 !important;
  padding: 0.2rem 0.45rem !important;
}

/*
 * Float-in label — idle label centered inside grey field; shrinks to top on focus/value.
 * body.kn-fields--float-in (checkout). Requires js/kn-float-fields.js for prefilled values.
 */
body.kn-theme-on.kn-fields--float-in {
  /* Tall enough for shrunk label + value on one line (not ~4rem stacked min-heights). */
  --kn-fi-height: 3.5rem;
  --kn-fi-pad-x: 0.75rem;
  --kn-fi-pad-y: 0.65rem;
  --kn-fi-pad-top-raised: 1.2rem;
  --kn-fi-pad-bottom-raised: 0.5rem;
  --kn-fi-label-top: 0.45rem;
  --kn-fi-bg: var(--kn-white, #ffffff);
  --kn-fi-bg-hover: var(--kn-white, #ffffff);
  --kn-fi-bg-focus: var(--kn-white, #ffffff);
  --kn-fi-border: rgba(17, 17, 17, 0.22);
  --kn-fi-border-hover: rgba(17, 17, 17, 0.28);
  --kn-fi-border-focus: var(--kn-ink, #111111);
  --kn-fi-focus-shadow: 0 1px 2px rgba(17, 17, 17, 0.08);
  --kn-fi-radius: var(--kn-radius, 3px);
  --kn-fi-label: var(--kn-ink, #111111);
  --kn-fi-label-float: rgba(17, 17, 17, 0.62);
  --kn-fi-error: #b00020;
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], input[type="tel"], input[type="url"], input[type="number"], textarea.form-textarea, select.form-select, textarea) {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.65rem;
  padding: 0;
  min-height: var(--kn-fi-height);
  border: 1px solid var(--kn-fi-border);
  border-radius: var(--kn-fi-radius);
  background: var(--kn-fi-bg);
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select):hover {
  background: var(--kn-fi-bg-hover);
  border-color: var(--kn-fi-border-hover);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.04);
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select):focus-within {
  background: var(--kn-fi-bg-focus);
  border-color: var(--kn-fi-border-focus);
  box-shadow: var(--kn-fi-focus-shadow);
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item.error:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) {
  border-color: var(--kn-fi-error);
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) > label:not(.option) {
  position: absolute;
  left: var(--kn-fi-pad-x);
  right: var(--kn-fi-pad-x);
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  margin: 0 !important;
  padding: 0;
  max-width: calc(100% - (var(--kn-fi-pad-x) * 2));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--kn-fi-label);
  background: transparent;
  pointer-events: none;
  transition: top 0.16s ease, transform 0.16s ease, font-size 0.16s ease, color 0.16s ease;
}

/* Tall textareas should idle like the first line of a normal textfield, not center in the full box. */
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) > label:not(.option) {
  top: calc(var(--kn-fi-height, 3.5rem) / 2);
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) > label:not(.option) .form-required {
  color: var(--kn-fi-error);
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select):focus-within > label:not(.option),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item.kn-float-in--raised:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) > label:not(.option),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input[value]:not([value=""])) > label:not(.option),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input[placeholder]:not(:placeholder-shown)) > label:not(.option),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input:-webkit-autofill) > label:not(.option),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea[placeholder]:not(:placeholder-shown)) > label:not(.option),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) > label:not(.option) {
  top: var(--kn-fi-label-top);
  transform: translateY(0) scale(0.72);
  transform-origin: left top;
  font-size: 0.75rem;
  line-height: 1.1;
  color: var(--kn-fi-label-float);
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], input[type="tel"], input[type="url"], input[type="number"], textarea, select) input.form-text,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input.form-control,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input[type="password"],
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input[type="email"],
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], textarea, select) input[type="text"],
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea.form-textarea,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-select,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-control {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: var(--kn-fi-height);
  border: 0 !important;
  border-radius: calc(var(--kn-fi-radius) - 1px) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--kn-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--kn-ink, #111111);
  appearance: none;
  -webkit-appearance: none;
}

/* Idle empty only — symmetric padding (must not beat filled rules below). */
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):not(.kn-float-in--raised):not(:focus-within):not(:has(input[value]:not([value=""]))):not(:has(input[placeholder]:not(:placeholder-shown))):not(:has(textarea[placeholder]:not(:placeholder-shown))):not(:has(input:-webkit-autofill)):has(input.form-text, input.form-control, input[type="password"], input[type="email"], input[type="text"], input[type="tel"], input[type="url"], input[type="number"], textarea) input:not(.kn-custom-select__native),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):not(.kn-float-in--raised):not(:focus-within):not(:has(textarea[placeholder]:not(:placeholder-shown))):has(textarea) textarea {
  padding: var(--kn-fi-pad-y) var(--kn-fi-pad-x) !important;
  line-height: 1.25 !important;
}

/* Filled or focused — value band under label (matches custom-select trigger). */
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input[value]:not([value=""])) input:not(.kn-custom-select__native),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input[placeholder]:not(:placeholder-shown)) input:not(.kn-custom-select__native),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input[value]:not([value=""])) input:not(.kn-custom-select__native),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input[placeholder]:not(:placeholder-shown)) input:not(.kn-custom-select__native),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item.kn-float-in--raised:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input) input:not(.kn-custom-select__native),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea):focus-within input:not(.kn-custom-select__native),
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input:-webkit-autofill) input:not(.kn-custom-select__native) {
  --kn-fi-value-line: calc(var(--kn-fi-height) - var(--kn-fi-pad-top-raised) - var(--kn-fi-pad-bottom-raised));
  padding: var(--kn-fi-pad-top-raised) var(--kn-fi-pad-x) var(--kn-fi-pad-bottom-raised) !important;
  line-height: var(--kn-fi-value-line) !important;
}

/* Textareas — multiline padding (never single-line --kn-fi-value-line). */
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea[placeholder]:not(:placeholder-shown)) textarea,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item.kn-float-in--raised:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea):focus-within textarea {
  padding: var(--kn-fi-pad-top-raised) var(--kn-fi-pad-x) var(--kn-fi-pad-bottom-raised) !important;
  line-height: 1.55 !important;
  height: auto !important;
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea.form-textarea,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(textarea) textarea {
  height: auto;
  min-height: 5rem;
  resize: vertical;
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-select,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(select) select.form-control {
  padding-right: 2.25rem !important;
  cursor: pointer;
  background-color: var(--kn-white, #ffffff) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c5c5c' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:focus,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:focus-visible,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) textarea:focus,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) textarea:focus-visible,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) select:focus,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) select:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input[readonly],
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input[disabled] {
  color: rgba(17, 17, 17, 0.72) !important;
  cursor: default;
  opacity: 1 !important;
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:-webkit-autofill,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:-webkit-autofill:hover,
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--kn-ink, #111111) !important;
  transition: background-color 99999s ease-out 0s;
  box-shadow: 0 0 0 1000px var(--kn-white, #ffffff) inset !important;
}

body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):not(:has(.mceEditor)):not(:has(.cke_editor)):not(:has([id^="cke_"])):not(:has(.filefield-element)):not(:has(> label.element-invisible)):not(:has(> label.kn-visually-hidden)):has(> label:not(.option)):has(input, textarea, select) .description {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 0.85rem 0.55rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(17, 17, 17, 0.55);
}

/* Placeholder keeps :placeholder-shown in sync when JS runs late */
body.kn-theme-on.kn-fields--float-in .layout-shell .form-item:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])):not(:has(input[type="file"])):has(> label:not(.option)):has(input) input::placeholder {
  color: transparent;
}

/* Checkout/contact custom selects: keep native selects hidden after generic select rules. */
body.kn-theme-on.layout-checkout-page.kn-fields--float-in .layout-shell .kn-checkout__delivery .form-item:has(.kn-custom-select) select.kn-custom-select__native,
body.kn-theme-on.kn-page-contact.kn-fields--float-in .layout-shell .kn-contact__form .form-item:has(.kn-custom-select) select.kn-custom-select__native {
  position: absolute !important;
  display: block !important;
  width: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  background-image: none !important;
}

/* Contact message matches List Your Item description: fixed two-height float-in textarea, no grippie. */
body.kn-theme-on.kn-page-contact.kn-fields--float-in .layout-shell #edit-message-wrapper {
  min-height: calc(var(--kn-fi-height, 3.5rem) * 2) !important;
}

body.kn-theme-on.kn-page-contact.kn-fields--float-in .layout-shell #edit-message-wrapper textarea {
  min-height: calc(var(--kn-fi-height, 3.5rem) * 2) !important;
  height: calc(var(--kn-fi-height, 3.5rem) * 2) !important;
  max-height: calc(var(--kn-fi-height, 3.5rem) * 2) !important;
  padding-top: calc(var(--kn-fi-pad-top-raised, 1.2rem) + 0.45rem) !important;
  line-height: 1.4 !important;
  resize: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body.kn-theme-on.kn-page-contact.kn-fields--float-in .layout-shell #edit-message-wrapper .grippie {
  display: none !important;
}

/*
 * Store shipping price table — never use float-in form-item chrome; sell-style
 * kn-price-input owns the border ($ · amount · USD).
 */
body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .form-item,
body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .kn-store-shipping-rates__us-field-wrap .form-item {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 11.5rem !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .form-item:hover,
body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .form-item:focus-within,
body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .form-item.error {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .form-item > label:not(.option) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.kn-theme-on.kn-fields--float-in #accountsettings.kn-settings .node-form #kn-store-shipping-rates .form-item input.form-text,
body.kn-theme-on.kn-fields--float-in .kn-settings #store #kn-store-shipping-rates .form-item input.form-text,
body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .kn-price-input input {
  display: inline-block !important;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0.45rem 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
}

body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .form-item .field-prefix,
body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .form-item .field-suffix,
body.kn-theme-on.kn-fields--float-in #kn-store-shipping-rates .form-item .description {
  display: none !important;
}
