/* --orange là nguồn màu thương hiệu hiện hữu: #ff8b01. */
body .branch-gallery .gallery-all.be-button.be-button { position: absolute; left: auto; right: 20px; bottom: 20px; width: max-content; max-width: calc(100% - 40px); margin: 0; justify-self: end; transform-origin: right bottom; }
body .be-button.be-button {
  --button-bg: var(--orange);
  --button-text: #fff;
  --spread-color: #fff;
  --hover-text: var(--orange);
  --badge-bg: #fff;
  --badge-text: var(--orange);
  display: inline-flex;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 6px 22px 6px 6px;
  min-height: 52px;
  max-width: 100%;
  width: auto;
  border: 1.5px solid var(--orange);
  border-radius: 9999px;
  background: var(--button-bg);
  color: var(--button-text);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .065em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: left;
  white-space: normal;
  box-shadow: 0 3px 12px color-mix(in srgb, var(--orange) 15%, transparent);
  transition: transform .25s ease, box-shadow .25s ease, color .3s ease;
  cursor: pointer;
  transform-origin: center;
}
body .be-button[data-be-variant="dark"] { --button-bg: #23272d; --button-text: #fff; --badge-bg: var(--orange); --badge-text: #23272d; --spread-color: var(--orange); --hover-text: #23272d; }
body .be-button[data-be-variant="outline"] { --button-bg: transparent; --button-text: var(--orange); --badge-bg: #fff; --badge-text: var(--orange); --spread-color: var(--orange); --hover-text: #fff; border-color: var(--orange); box-shadow: none; }
body .be-button .be-button-badge { position: relative; display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; margin: 0; border: 0; border-radius: 50%; background: var(--badge-bg); color: var(--badge-text); font-size: 20px; transition: transform .3s ease; }
/* Lớp nền đặt ngay tại badge: luôn trùng tâm icon kể cả nút full-width hoặc label xuống dòng. */
body .be-button .be-button-badge::before { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: 50%; background: var(--spread-color); transform: scale(1); transform-origin: center; transition: transform .45s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
body .be-button[data-be-variant="outline"] .be-button-badge::before { transform: scale(0); }
body .be-button .be-button-badge svg { position: relative; z-index: 2; display: block; width: 19px; height: 19px; margin: 0; color: inherit; }
body .be-button .be-button-label { position: relative; z-index: 2; display: block; min-width: 0; color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; }
body .be-button .be-button-label > span { font: inherit; color: inherit; }
body .be-button:hover .be-button-label, body .be-button:hover .be-button-label > span { transform: none; }
body .be-button::after, body .be-button::before { content: none; }
body .be-button:focus-visible:not(:disabled):not([aria-disabled="true"]) { color: var(--hover-text); }
body .be-button:focus-visible:not(:disabled):not([aria-disabled="true"]) .be-button-badge::before { transform: scale(30); }
body .be-button:focus-visible:not(:disabled):not([aria-disabled="true"]) .be-button-badge { color: var(--hover-text); }
body .be-button.account-button-danger { --hover-text: var(--button-text); }
body .be-button.account-button-danger .be-button-badge::before { content: none; }
body .be-button.full-width, body .be-button.auth-submit, body .be-button.account-button-wide { width: 100%; justify-content: center; }
body .be-button:focus-visible, body .be-control:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
body .be-button:active:not(:disabled):not([aria-disabled="true"]) { transform: scale(.96); }
body .be-button:disabled, body .be-button[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
body .be-control { border-radius: 9999px; transition: background .2s, transform .2s; }
body .be-control[role="tab"], body button.be-control.filter, body button.be-control[data-region], body button.be-control[data-book-filter] { padding: 10px 16px; min-height: 44px; border: 1px solid var(--line); font-weight: 600; }
body .be-control[aria-selected="true"], body button.be-control.filter.active, body button.be-control[data-region].active, body button.be-control[data-book-filter].active { background: var(--orange); color: #181b20; border-color: var(--orange); }
body .be-control[aria-pressed="true"] { background: var(--orange); color: #181b20; }
body .be-control[role="tab"]::after, body .be-control.filter::after { content: none; }
body .be-control:active:not(:disabled) { transform: scale(.96); }
body .be-floating-cta.be-button { position: fixed; right: 24px; bottom: 24px; z-index: 35; box-shadow: 0 8px 25px color-mix(in srgb, var(--orange) 35%, transparent); }
body.modal-open .be-floating-cta, body:has(dialog[open]) .be-floating-cta { visibility: hidden; }
@media (hover: hover) and (pointer: fine) {
  body .be-button:hover:not(:disabled):not([aria-disabled="true"]) { color: var(--hover-text); transform: scale(1.04); box-shadow: 0 8px 25px color-mix(in srgb, var(--orange) 35%, transparent); }
  body .be-button:hover:not(:disabled):not([aria-disabled="true"]) .be-button-badge { transform: scale(1.05); color: var(--hover-text); }
  body .be-button:hover:not(:disabled):not([aria-disabled="true"]) .be-button-badge::before { transform: scale(30); }
  body .be-button:active:hover:not(:disabled) { transform: scale(.96); }
}
@media (max-width: 767px) {
  body .be-button.be-button { min-height: 46px; padding: 5px 16px 5px 5px; gap: 9px; font-size: 10px; letter-spacing: .04em; }
  body .be-button .be-button-badge { width: 34px; height: 34px; flex-basis: 34px; }
  body .be-floating-cta.be-button { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .rental-tabs { overflow: visible; gap: 4px; padding: 4px; }
  body .be-control[role="tab"] { padding-inline: 12px; }
}
.reduced-motion .be-button, .reduced-motion .be-button-badge, .reduced-motion .be-control { transition: none !important; transform: none !important; }
.reduced-motion .be-button-badge::before { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  body .be-button, body .be-button .be-button-badge, body .be-control { transition: none !important; transform: none !important; }
  body .be-button .be-button-badge::before { transition: none !important; }
}

