/* ===== BASE WRAPPER ===== */
.biz-subnav-wrap {
  margin-top: 14px;
  margin-bottom: 16px;
}

/* ===== DESKTOP TABS ===== */
.biz-subnav-desktop {
  display: inline-flex;
  gap: 0;
  font-size: 13px;
  white-space: nowrap;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 2px;
}

.biz-subnav-desktop a {
  position: relative;
  padding: 8px 0 10px;
  margin-right: 18px;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent; /* active underline */
}

.biz-subnav-desktop a + a {
  margin-left: 18px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent, #e11d48); /* Dine Pass red */
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.35);
	margin-bottom: 15px;
}

.btn-back-icon {
  font-size: 14px;
  line-height: 1;
}

.btn-back-label {
  line-height: 1;
}

/* Optional hover/focus states */
.btn-back:hover {
  filter: brightness(0.95);
}

.btn-back:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 2px;
}


/* vertical separator between items (except first) */
.biz-subnav-desktop a + a::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #e5e7eb;
}

.biz-subnav-desktop a:hover {
  color: #111827;
}

.biz-subnav-desktop a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* ===== MOBILE TOGGLE + DROPDOWN ===== */
.biz-subnav-toggle {
  display: none; /* shown only on mobile */
  width: 100%;
  margin-top: 8px;
  border-radius: 12px;
  border: none;
  padding: 10px 12px;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: space-between;
}

.biz-subnav-toggle-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.biz-subnav-toggle-arrow {
  font-size: 14px;
  margin-left: 8px;
  transition: transform 0.15s ease;
}

/* rotate arrow when open (JS toggles .is-open) */
.biz-subnav-toggle.is-open .biz-subnav-toggle-arrow {
  transform: rotate(180deg);
}

.biz-subnav-mobile {
  display: none; /* jQuery slideToggle controls this on mobile */
  margin-top: 6px;
}

/* mobile menu items (stacked buttons) */
.biz-subnav-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
}

.biz-subnav-mobile a:last-child {
  margin-bottom: 0;
}

.biz-subnav-mobile-arrow {
  font-size: 14px;
  color: #9ca3af;
  margin-left: 8px;
}

.biz-subnav-mobile a:hover {
  background: #f9fafb;
}

.biz-subnav-mobile a.active {
  background: #fef2f2;
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.biz-subnav-mobile a.active .biz-subnav-mobile-arrow {
  color: var(--accent);
}

/* ===== RESPONSIVE BEHAVIOR ===== */
@media (max-width: 768px) {
  .biz-subnav-desktop {
    display: none; /* hide desktop tabs */
  }

  .biz-subnav-toggle {
    display: flex; /* show red bar */
  }

  .biz-subnav-wrap {
    margin-bottom: 12px;
  }
}

@media (min-width: 769px) {
  .biz-subnav-mobile,
  .biz-subnav-toggle {
    display: none !important; /* ensure only desktop tabs on large screens */
  }
}
