.bmnb-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 99;
  top: 0;
  background: linear-gradient(90deg, var(--bmnb-grad-from), var(--bmnb-grad-to));
  color: #fff;
  font-family: inherit;
}

.bmnb-bar[data-layout="normal"] {
  position: relative;
  top: auto;
  bottom: auto;
}

.bmnb-bar[data-position="bottom"] {
  top: auto;
  bottom: 0;
}

.bmnb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.bmnb-icon,
.bmnb-timer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bmnb-icon svg,
.bmnb-timer-icon svg {
  display: block;
}

.bmnb-left {
  display: flex;
  align-items: start;
  gap: 10px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  flex-direction: row;
  align-items: center;
}

.bmnb-heading {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.bmnb-subtext {
  font-size: 12px;
  opacity: 0.95;
}

.bmnb-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.bmnb-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.bmnb-close {
  appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.bmnb-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Avoid content hiding under fixed bar */
body {
  --bmnb-height: 54px;
  --bmnb-offset: 0px;
}

body.bmnb-has-bar {
  padding-top: calc(var(--bmnb-height) + var(--bmnb-offset));
}

body.bmnb-has-bar.bmnb-bottom {
  padding-top: 0;
  padding-bottom: calc(var(--bmnb-height) + var(--bmnb-offset));
}

.bmnb-heading {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  align-items: center;
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

.bmnb-subtext {
  font-size: 12px;
  opacity: 0.95;
  overflow: hidden;
  /* ellipsis */
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .bmnb-inner {
    padding: 10px 10px;
  }

  .bmnb-heading {
    font-size: 13px;
  }

  .bmnb-timer {
    font-size: 12px;
  }
}

.bmnb-coupon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.6px;
}

.bmnb-heading-wapper {
  display: flex;
  flex-direction: column;
}

.bmnb-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bmnb-popup[hidden] {
  display: none;
}

.bmnb-popup-overlay {
  position: absolute;
  inset: 0;
  background: var(--bmnb-popup-overlay);
  opacity: 0;
  transition: opacity 140ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.bmnb-popup[data-position="right"] {
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: var(--bmnb-popup-offset-top);
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.bmnb-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, var(--bmnb-popup-maxw));
  background: var(--bmnb-popup-bg);
  color: var(--bmnb-popup-text);
  border-radius: var(--bmnb-popup-radius);
  box-shadow: var(--bmnb-popup-shadow);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.85);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.bmnb-popup[data-position="right"] .bmnb-popup-dialog {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(92vw, var(--bmnb-popup-maxw));
  border-radius: 0;
  opacity: 1;
  transform: translateX(110%);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.bmnb-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: calc(var(--bmnb-popup-close-size) + 10px);
  height: calc(var(--bmnb-popup-close-size) + 10px);
  border: none;
  background: var(--bmnb-popup-header-icon-bg);
  color: var(--bmnb-popup-close);
  font-size: var(--bmnb-popup-close-size);
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  z-index: 1;
}

.bmnb-popup-title {
  margin: 0 0 10px 0;
  font-size: var(--bmnb-popup-title-size);
  font-weight: 700;
}

.bmnb-popup-content {
  font-size: var(--bmnb-popup-text-size);
  line-height: 1.5;
}

.bmnb-popup-image,
.bmnb-popup-extra {
  margin-top: 12px;
}

.bmnb-popup-image img,
.bmnb-popup-extra img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bmnb-popup-extra-label {
  font-size: var(--bmnb-popup-text-size);
  margin-bottom: 6px;
}

.bmnb-popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(90deg, var(--bmnb-popup-header-from), var(--bmnb-popup-header-to));
  color: var(--bmnb-popup-header-text);
}

.bmnb-popup-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bmnb-popup-header-icon-bg);
  color: var(--bmnb-popup-header-icon);
  font-size: 18px;
  flex-shrink: 0;
}

.bmnb-popup-header-title {
  font-weight: 700;
  font-size: calc(var(--bmnb-popup-title-size) + 1px);
  line-height: 1.25;
}

.bmnb-popup-header-subtitle {
  font-size: calc(var(--bmnb-popup-text-size) - 1px);
  opacity: 0.95;
  line-height: 1.35;
}

.bmnb-popup-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.bmnb-popup-card {
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  color: var(--bmnb-popup-card-text);
}

.bmnb-popup-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  margin: 0 auto 8px auto;
  font-size: 16px;
}

.bmnb-popup-card-title {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}

.bmnb-popup-card-value {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.bmnb-popup-form-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bmnb-popup-form-title);
  margin-bottom: 12px;
  margin-left: 10px;
}

.bmnb-popup-form-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 14px;
  flex-shrink: 0;
}

.bmnb-popup-form-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #eef2f7;
  position: relative;
}

.bmnb-popup-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bmnb-popup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bmnb-popup-field-full {
  grid-column: 1 / -1;
}

.bmnb-popup-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bmnb-popup-label);
}

.bmnb-popup-input {
  position: relative;
  display: block;
}

.bmnb-popup-input-icon {
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #94a3b8;
  pointer-events: none;
}

.bmnb-popup-input-textarea .bmnb-popup-input-icon {
  top: 7px;
  transform: none;
}

body .bmnb-popup-field input,
body .bmnb-popup-field select,
body .bmnb-popup-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--bmnb-popup-input-border);
  background: var(--bmnb-popup-input-bg);
  color: var(--bmnb-popup-input-text);
  border-radius: var(--bmnb-popup-input-radius);
  padding: 7px 7px 7px 30px;
  font-size: 13px;
  outline: none;
}

.bmnb-popup-field textarea {
  min-height: 35px;
  resize: vertical;
}

.bmnb-popup-field input:focus,
.bmnb-popup-field select:focus,
.bmnb-popup-field textarea:focus {
  border-color: var(--bmnb-popup-input-focus);
}

.bmnb-popup-field input::placeholder,
.bmnb-popup-field textarea::placeholder {
  color: var(--bmnb-popup-input-placeholder);
}

.bmnb-popup-submit {
  width: 100%;
  margin-top: 16px;
  padding: 13px 14px;
  background: linear-gradient(90deg, var(--bmnb-popup-header-from), var(--bmnb-popup-header-to));
  color: var(--bmnb-popup-btn-text);
  border: none;
  border-radius: var(--bmnb-popup-btn-radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.bmnb-popup-submit:hover {
  filter: brightness(0.95);
}

.bmnb-popup-help {
  font-size: 11px;
  color: var(--bmnb-popup-help);
}

.bmnb-required {
  color: #ef4444;
}


.bmnb-popup-field.bmnb-popup-field-error input,
.bmnb-popup-field.bmnb-popup-field-error select,
.bmnb-popup-field.bmnb-popup-field-error textarea,
.bmnb-popup-field.bmnb-popup-field-error input:focus,
.bmnb-popup-field.bmnb-popup-field-error select:focus,
.bmnb-popup-field.bmnb-popup-field-error textarea:focus {
  border-color: #ef4444;
}

.bmnb-popup-error {
  display: none;
}

.bmnb-popup-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 120px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 220ms ease, transform 220ms ease;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  pointer-events: none;
}

.bmnb-popup-toast--show {
  opacity: 1;
  transform: translateY(0);
}

.bmnb-popup-toast--success {
  background: #16a34a;
  color: #f0fdf4;
}

@media (max-width: 680px) {
  .bmnb-popup-cards {
    grid-template-columns: 1fr;
  }

  .bmnb-popup-form-grid {
    grid-template-columns: 1fr;
  }
}

body.bmnb-popup-open {
  overflow: hidden;
}

.icons-header .e-fas-phone-alt {
  cursor: pointer;
}

.bmnb-popup-body {
  padding: calc(var(--bmnb-popup-padding));
}

.bmnb-popup-card-icon .fa-phone-alt,
.bmnb-popup-card.Phone .bmnb-popup-card-value {
  color: #155dfc;
}

.bmnb-popup-card-icon .fa-envelope,
.bmnb-popup-card.Email .bmnb-popup-card-value {
  color: #9810fa;
}

.bmnb-popup-card-icon .fa-clock,
.bmnb-popup-card.Hours .bmnb-popup-card-value {
  color: #00a63e;
}

.bmnb-popup-animate-item {
  opacity: 0;
  transform: translateY(12px);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.bmnb-popup--open .bmnb-popup-overlay {
  opacity: 1;
}

.bmnb-popup--open .bmnb-popup-dialog {
  opacity: 1;
  transform: scale(1);
}

.bmnb-popup--open .bmnb-popup-animate-item {
  opacity: 1;
  transform: translateY(0);
}

.bmnb-popup--closing .bmnb-popup-dialog {
  opacity: 0;
  transform: scale(0.9);
}

.bmnb-popup--closing .bmnb-popup-overlay {
  opacity: 0;
}

.bmnb-popup--closing .bmnb-popup-animate-item {
  opacity: 0;
  transform: translateY(8px);
}

.bmnb-popup--open[data-position="right"] .bmnb-popup-dialog {
  transform: translateX(0);
}

.bmnb-popup--closing[data-position="right"] .bmnb-popup-dialog {
  transform: translateX(110%);
  transition: transform 170ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Newsletter Form (Shortcode) */
.bmnb-newsletter-form {
  position: relative;
  max-width: 500px;
  font-family: inherit;
}

.bmnb-newsletter-field-wrap {
  display: flex;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bmnb-newsletter-field-wrap:focus-within {
  border-color: var(--bmnb-grad-from, #2563eb);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.bmnb-newsletter-form input[type="email"] {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
    color: #1e293b;
    outline: none !important;
    min-width: 0;
    background: #fff;
    border-radius: 10px;
	margin-right: 10px;
}

.bmnb-newsletter-form input[type="email"]::placeholder {
  color: #94a3b8;
}
button.bmnb-newsletter-btn {
    background: linear-gradient(90deg, #1540FC 0%, #3985F6 100%);
}
.bmnb-newsletter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  white-space: nowrap;
}

.bmnb-newsletter-btn:hover {
  filter: brightness(1.1);
}

.bmnb-newsletter-btn:active {
  transform: scale(0.97);
}

.bmnb-newsletter-form .bmnb-popup-toast {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 10px;
  bottom: auto;
  /* override popup toast position */
  z-index: 10;
}

.bmnb-form--submitting {
  opacity: 0.7;
  pointer-events: none;
}

/* Fix for existing toast in relative container */
.bmnb-newsletter-form .bmnb-popup-toast {
  transform: translateY(10px);
}

.bmnb-newsletter-form .bmnb-popup-toast--show {
  transform: translateY(0);
}

.bmnb-newsletter-error {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #b91c1c;
  font-size: 13px;
  border-radius: 6px;
  animation: bmnb-fade-in 0.3s ease;
}

@keyframes bmnb-fade-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bmnb-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bmnb-spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes bmnb-spin {
  to {
    transform: rotate(360deg);
  }
}

.bmnb-form--submitting .bmnb-btn-text {
  opacity: 0.8;
}