/*
 * Beauty Bank v3.12.0 — structural theme isolation layer.
 * Loaded after every BEVO component stylesheet. It is deliberately scoped to
 * .bevo-root / .bevo-embedded-menu so Hub/Elementor/theme rules cannot reshape
 * Beauty Bank controls, while no site/theme element is changed.
 */
html body .bevo-root,
html body .bevo-root *,
html body .bevo-embedded-menu,
html body .bevo-embedded-menu * {
  box-sizing: border-box !important;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
}

html body .bevo-root button,
html body .bevo-root input,
html body .bevo-root select,
html body .bevo-root textarea,
html body .bevo-embedded-menu button,
html body .bevo-embedded-menu input,
html body .bevo-embedded-menu select,
html body .bevo-embedded-menu textarea {
  font-family: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Standalone + modal category chips. These were the strongest Hub collision. */
html body .bevo-root.bevo-embedded-menu .bevo-standalone-categories > button.bevo-category-chip,
html body .bevo-root .bevo-filter-chips button[data-bevo-menu-category],
html body .bevo-root button.bevo-category-chip {
  display: inline-flex !important;
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 32px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 1px solid var(--bevo-line,#eadfce) !important;
  border-radius: 999px !important;
  background: var(--bevo-input-bg,#fff) !important;
  background-image: none !important;
  color: var(--bevo-ink,#211d1a) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
  filter: none !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  opacity: 1 !important;
}
html body .bevo-root.bevo-embedded-menu .bevo-standalone-categories > button.bevo-category-chip::before,
html body .bevo-root.bevo-embedded-menu .bevo-standalone-categories > button.bevo-category-chip::after,
html body .bevo-root .bevo-filter-chips button[data-bevo-menu-category]::before,
html body .bevo-root .bevo-filter-chips button[data-bevo-menu-category]::after {
  content: none !important;
  display: none !important;
}
html body .bevo-root.bevo-embedded-menu .bevo-standalone-categories > button.bevo-category-chip.is-active,
html body .bevo-root .bevo-filter-chips button[data-bevo-menu-category].is-active,
html body .bevo-root button.bevo-category-chip.is-active {
  border-color: var(--bevo-green,#173f29) !important;
  background: var(--bevo-green,#173f29) !important;
  color: var(--bevo-button-text,#fff) !important;
}
/*
 * Popup menu structure invariant:
 * menu-ui.js nests the secondary categories inside .bevo-extra-category-chips.
 * These buttons do NOT receive .bevo-category-chip, so target their semantic
 * data attribute rather than relying on direct-child structure. This is the
 * source of the Hub gold-CTA collision fixed in v3.12.0.
 */
html body .bevo-root .bevo-filter-chips .bevo-extra-category-chips > button[data-bevo-menu-category] {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 32px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 1px solid var(--bevo-line,#eadfce) !important;
  border-radius: 999px !important;
  background: var(--bevo-input-bg,#fff) !important;
  background-image: none !important;
  color: var(--bevo-ink,#211d1a) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
  filter: none !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
}
html body .bevo-root .bevo-filter-chips .bevo-extra-category-chips > button[data-bevo-menu-category]::before,
html body .bevo-root .bevo-filter-chips .bevo-extra-category-chips > button[data-bevo-menu-category]::after {
  content: none !important;
  display: none !important;
}
html body .bevo-root .bevo-filter-chips .bevo-extra-category-chips > button[data-bevo-menu-category].is-active {
  border-color: var(--bevo-green,#173f29) !important;
  background: var(--bevo-green,#173f29) !important;
  color: var(--bevo-button-text,#fff) !important;
}
html body .bevo-root.bevo-embedded-menu .bevo-standalone-categories.is-collapsed > button.bevo-category-chip.is-extra-category {
  display: none !important;
}
html body .bevo-root.bevo-embedded-menu .bevo-standalone-categories.is-expanded > button.bevo-category-chip.is-extra-category {
  display: inline-flex !important;
}

/* Category disclosure must remain a compact chip rather than a theme CTA. */
html body .bevo-root button.bevo-category-toggle,
html body .bevo-root.bevo-embedded-menu button.bevo-category-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  height: auto !important;
  min-height: 32px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 1px solid var(--bevo-green,#173f29) !important;
  border-radius: 999px !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--bevo-green,#173f29) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
  filter: none !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
}

/* Search fields: protect dimensions, native text rendering and icon spacing. */
html body .bevo-root .bevo-menu-search input,
html body .bevo-root .bevo-standalone-search input,
html body .bevo-embedded-menu .bevo-standalone-search input {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 38px 0 12px !important;
  border: 1px solid var(--bevo-line,#eadfce) !important;
  border-radius: 10px !important;
  background: var(--bevo-input-bg,#fff) !important;
  background-image: none !important;
  color: var(--bevo-ink,#211d1a) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

/* Service cards and their action controls. */
html body .bevo-root .bevo-premium-menu-card,
html body .bevo-root .bevo-menu-item {
  transform: none;
}
html body .bevo-root button.bevo-premium-add,
html body .bevo-root .bevo-menu-item-action > button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--bevo-green,#173f29) !important;
  background-image: none !important;
  color: var(--bevo-button-text,#fff) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: none !important;
  filter: none !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
html body .bevo-root button.bevo-premium-add::before,
html body .bevo-root button.bevo-premium-add::after,
html body .bevo-root .bevo-menu-item-action > button::before,
html body .bevo-root .bevo-menu-item-action > button::after {
  content: none !important;
  display: none !important;
}

/* Shared modal/button controls: neutralise Hub CTA pseudo-layers and min-widths. */
html body .bevo-root :is(.bevo-primary-action,.bevo-secondary-action,.bevo-primary-button,.bevo-secondary-button,.bevo-whatsapp-button,.bevo-success-close,.bevo-send-button,.bevo-composer-mic,.bevo-header-back,.bevo-close-button,.bevo-appointment-slot,.bevo-appointment-submit,.bevo-appointment-reset,.bevo-appointment-date-button,.bevo-appointment-choose-service,.bevo-menu-voice-cta,.bevo-show-more,.bevo-custom-empty-action) {
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  filter: none !important;
}
html body .bevo-root :is(.bevo-primary-action,.bevo-secondary-action,.bevo-primary-button,.bevo-secondary-button,.bevo-whatsapp-button,.bevo-success-close,.bevo-send-button,.bevo-composer-mic,.bevo-header-back,.bevo-close-button,.bevo-appointment-slot,.bevo-appointment-submit,.bevo-appointment-reset,.bevo-appointment-date-button,.bevo-appointment-choose-service,.bevo-menu-voice-cta,.bevo-show-more,.bevo-custom-empty-action)::before,
html body .bevo-root :is(.bevo-primary-action,.bevo-secondary-action,.bevo-primary-button,.bevo-secondary-button,.bevo-whatsapp-button,.bevo-success-close,.bevo-send-button,.bevo-composer-mic,.bevo-header-back,.bevo-close-button,.bevo-appointment-slot,.bevo-appointment-submit,.bevo-appointment-reset,.bevo-appointment-date-button,.bevo-appointment-choose-service,.bevo-menu-voice-cta,.bevo-show-more,.bevo-custom-empty-action)::after {
  content: none !important;
  display: none !important;
}

/* Inputs/selects/textarea across appointment/cart/customer flows. */
html body .bevo-root :is(input,select,textarea) {
  box-sizing: border-box !important;
  max-width: 100% !important;
  color: var(--bevo-ink,#211d1a) !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

/* Keep icons from inherited theme image/SVG dimensions. */
html body .bevo-root button > svg,
html body .bevo-root a > svg {
  flex: 0 0 auto !important;
  max-width: none;
}

@media (max-width: 767px) {
  html body .bevo-root.bevo-embedded-menu .bevo-standalone-categories > button.bevo-category-chip,
  html body .bevo-root .bevo-filter-chips button[data-bevo-menu-category],
  html body .bevo-root button.bevo-category-chip {
    min-height: 30px !important;
    padding: 5px 8px !important;
    font-size: 9.5px !important;
  }
}
