body {
  background: #f3f5f9;
}

.page {
  padding: 18px;
  padding-bottom: 90px;
}

.page-header {
  background: linear-gradient(135deg, #2e9e3e, #1e7a2c);
  color: #fff;
  padding: 24px 18px;
  border-radius: 22px;
  margin-bottom: 18px;
}

.page-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.page-header p {
  margin: 6px 0 0;
  opacity: 0.92;
}

.search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.search-pill {
  flex: 1;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.search-pill input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
}

.s-icon {
  cursor: pointer;
}

.filter-btn {
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.af-pill {
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.af-remove {
  margin-left: 8px;
  color: #e8650a;
  cursor: pointer;
}

.cat-section {
  margin-bottom: 16px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.cat-card {
  border: 0;
  background: #fff;
  border-radius: 18px;
  padding: 14px 8px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  cursor: pointer;
}

.cat-card.active {
  outline: 2px solid #2e9e3e;
  background: #eef9f0;
}

.cat-icon {
  display: block;
  font-size: 25px;
}

.cat-name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 6px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 12px;
}

.section-title {
  font-size: 18px;
  font-weight: 900;
}

.result-count {
  font-size: 13px;
  color: #666;
}

.view-all {
  color: #2e9e3e;
  font-weight: 800;
  text-decoration: none;
}

.services-list {
  display: grid;
  gap: 14px;
}

.service-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.07);
}

.service-img-wrap {
  height: 170px;
  background: #eef0f3;
  position: relative;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-img-fallback {
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.service-body {
  padding: 14px;
}

.service-top,
.service-bottom,
.service-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.service-cat {
  background: #eef9f0;
  color: #1e7a2c;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.service-price {
  color: #e8650a;
  font-weight: 900;
}

.service-title {
  font-size: 18px;
  margin: 10px 0 5px;
  font-weight: 900;
}

.service-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.service-meta {
  color: #555;
  font-size: 13px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.service-rating {
  font-weight: 800;
  font-size: 13px;
}

.service-book-btn {
  border: 0;
  background: #2e9e3e;
  color: #fff;
  padding: 8px 13px;
  border-radius: 12px;
  font-weight: 800;
}

.empty-state {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  color: #555;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: none;
  align-items: flex-end;
  z-index: 9999;
}

.modal-overlay.open {
  display: flex;
}

.filter-modal {
  background: #fff;
  width: 100%;
  border-radius: 24px 24px 0 0;
  padding: 18px;
}

.modal-handle {
  width: 45px;
  height: 5px;
  background: #ddd;
  border-radius: 999px;
  margin: 0 auto 12px;
}

.modal-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
}

.filter-section-label {
  font-weight: 900;
  margin: 14px 0 8px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  background: #f3f5f9;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.chip.active {
  background: #2e9e3e;
  color: #fff;
}

.filter-apply,
.filter-reset {
  width: 100%;
  border: 0;
  padding: 12px;
  border-radius: 14px;
  font-weight: 900;
  margin-top: 12px;
}

.filter-apply {
  background: #2e9e3e;
  color: #fff;
}

.filter-reset {
  background: #f3f5f9;
  color: #333;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  box-shadow: 0 -8px 22px rgba(0,0,0,.08);
  z-index: 1000;
}

.bnav-item {
  text-decoration: none;
  color: #555;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.bnav-item.active {
  color: #2e9e3e;
}

.bnav-icon {
  display: block;
  font-size: 20px;
}

.svc-menu-scrim,
.dfab-scrim,
.dfab-panel-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: none;
  z-index: 9997;
}

.svc-menu-scrim.open,
.dfab-scrim.open,
.dfab-panel-scrim.open {
  display: block;
}

.svc-menu-popup {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: -100%;
  background: #fff;
  border-radius: 24px 24px 18px 18px;
  padding: 16px;
  z-index: 9998;
  transition: bottom .25s ease;
}

.svc-menu-popup.open {
  bottom: 80px;
}

.svc-menu-handle-bar {
  width: 42px;
  height: 5px;
  background: #ddd;
  border-radius: 999px;
  margin: 0 auto 12px;
}

.svc-menu-hdr-title {
  font-weight: 900;
  font-size: 19px;
}

.svc-menu-hdr-sub {
  color: #777;
  font-size: 13px;
  margin-bottom: 12px;
}

.svc-menu-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #222;
  padding: 12px;
  border-radius: 16px;
  background: #f8f9fb;
  margin-bottom: 10px;
}

.svc-menu-opt-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.svc-menu-opt-title {
  font-weight: 900;
}

.svc-menu-opt-sub {
  color: #777;
  font-size: 13px;
}

.svc-menu-opt-arrow {
  margin-left: auto;
  font-size: 25px;
}

.svc-menu-cancel {
  width: 100%;
  border: 0;
  padding: 12px;
  border-radius: 14px;
  font-weight: 900;
  background: #f3f5f9;
}

.dfab-wrap {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 9996;
}

.dfab-btn,
.dfab-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(30,122,44,.45);
}

.dfab-btn {
  background: #2e9e3e;
}

.dfab-circle {
  background: #fff;
}

.dfab-node {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  text-align: center;
}

.dfab-wrap.open .dfab-node {
  opacity: 1;
  pointer-events: auto;
}

.dfab-wrap.open .n-ai {
  transform: translateY(-210px);
}

.dfab-wrap.open .n-msg {
  transform: translateY(-140px);
}

.dfab-wrap.open .n-supp {
  transform: translateY(-70px);
}

.dfab-label {
  display: block;
  background: #fff;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 800;
  margin-top: 4px;
}

.dfab-cross {
  position: relative;
  width: 22px;
  height: 22px;
}

.dfc-h,
.dfc-v {
  position: absolute;
  background: #fff;
  border-radius: 4px;
}

.dfc-h {
  width: 22px;
  height: 4px;
  top: 9px;
}

.dfc-v {
  height: 22px;
  width: 4px;
  left: 9px;
}

.dfab-btn.open .dfc-v {
  display: none;
}

.dfab-notif-badge,
.dfab-item-badge {
  background: #e8650a;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
}

.dfab-panel {
  position: fixed;
  right: -100%;
  top: 0;
  bottom: 0;
  width: min(390px, 100%);
  background: #fff;
  z-index: 9999;
  transition: right .3s ease;
}

.dfab-panel.open {
  right: 0;
}

.dfab-panel-header {
  background: linear-gradient(135deg, #2e9e3e, #1e7a2c);
  color: #fff;
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.dfab-panel-close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: rgba(255,255,255,.2);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.dfab-panel-av {
  font-size: 38px;
}

.dfab-panel-title {
  font-size: 20px;
  font-weight: 900;
}

.dfab-panel-sub {
  opacity: .9;
  font-size: 13px;
}

.dfab-panel-body {
  padding: 16px;
}

.dfab-section-lbl {
  color: #777;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.dfab-item {
  border: 0;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  text-align: left;
}

.dfab-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.dfab-item-title {
  font-weight: 900;
}

.dfab-item-sub {
  font-size: 13px;
  color: #777;
}

.dfab-item-arrow {
  margin-left: auto;
  font-size: 25px;
}

.dfab-divider {
  height: 1px;
  background: #eee;
}

.dfab-panel-footer {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  color: #888;
  font-size: 12px;
}

.dfab-page {
  display: none;
  height: 100%;
}

.dfab-page.show {
  display: block;
}

.dfab-page-bar {
  height: 55px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid #eee;
}

.dfab-page-back {
  border: 0;
  background: #f3f5f9;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 24px;
}

.dfab-page-name {
  font-weight: 900;
}

.dfab-page-badge {
  margin-left: auto;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.dfab-page-iframe {
  width: 100%;
  height: calc(100% - 55px);
  border: 0;
}

@media (min-width: 700px) {
  .page {
    max-width: 960px;
    margin: auto;
  }

  .cat-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-nav {
    display: none;
  }
}