/* Best Mebel V2 0.5.0 — one button standard for all customer-facing actions.
   Styling comes only from assets/css/00-tokens.css; the semantic class does
   not change href, submit handlers, JS hooks, widths or button placement.
   Closing crosses, slider arrows, icon-only controls and footer navigation
   DO NOT use this class. */
body.bm-theme-v2 #bm-app .bm-action-button {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bm-button-gap);
  min-height: var(--bm-button-height);
  height: auto;
  max-width: 100%;
  padding: var(--bm-button-padding-y) var(--bm-button-padding-x);
  border: 0;
  border-radius: var(--bm-action-radius);
  background-color: transparent;
  background-image: linear-gradient(0deg,var(--bm-action-start) 0%,var(--bm-action-end) 100%);
  background-size: 350% 100%;
  background-position: 0% 50%;
  color: var(--bm-action-text);
  font-family: var(--bm-font);
  font-size: var(--bm-button-font-size);
  font-weight: var(--bm-action-font-weight);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--bm-action-shadow);
  cursor: pointer;
  transform: none;
  user-select: none;
  touch-action: manipulation;
  transition: background-position .9s cubic-bezier(.33,1.51,.65,1),
              filter .3s ease, box-shadow .3s ease;
}
/* The HTML hidden attribute MUST outrank the button display rule, including AJAX retry. */
body.bm-theme-v2 #bm-app .bm-action-button[hidden] { display: none !important; }
body.bm-theme-v2 #bm-app .bm-action-button:hover {
  background-color: transparent;
  background-image: linear-gradient(0deg,var(--bm-action-start) 0%,var(--bm-action-end) 100%);
  background-position: 100% 50%;
  color: var(--bm-action-text);
  filter: brightness(var(--bm-action-hover-brightness)) saturate(1.12);
  box-shadow: var(--bm-action-shadow);
  transform: none;
  text-decoration: none;
}
body.bm-theme-v2 #bm-app .bm-action-button:active {
  filter: brightness(.96);
  transform: none;
}
body.bm-theme-v2 #bm-app .bm-action-button:focus-visible {
  outline: 3px solid var(--bm-ink);
  outline-offset: 3px;
}
body.bm-theme-v2 #bm-app .bm-action-button:disabled,
body.bm-theme-v2 #bm-app .bm-action-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .6;
  filter: none;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body.bm-theme-v2 #bm-app .bm-action-button { transition: none; }
}
