/*Theme: DekhoBiz / DekhoBiz
Layer: Common component system
Purpose: global tokens, accessible primitives and reusable components only.
Page/section adjustments live in page-*.css files.*/

:root {
  --db-blue: #2563eb;
  --db-accent: #d71920;
  --db-accent-2: #e11d2e;
  --db-accent-soft: #fff1f2;
  --db-deep: #111827;
  --db-ink: #374151;
  --db-muted: #64748b;
  --db-soft: #f8fafc;
  --db-soft-2: #f1f5f9;
  --db-line: #e5e7eb;
  --db-card: #fff;
  --db-success: #15803d;
  --db-warning: #b45309;
  --db-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --db-shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.055);
  --db-radius: 14px;
  --db-radius-lg: 22px;
  --db-radius-sm: 10px;
  --db-font:
    "Inter", "Noto Sans Devanagari", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --db-container: 1120px;
  --db-header-h: 62px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  margin:0 !important;
  padding: 0 !important;
  scroll-padding-top: calc(var(--db-header-h) + 28px);
}

body {
  margin: 0;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.3);
  outline-offset: 3px;
  border-radius: 10px;
}

::selection {
  background: var(--db-accent);
  color: #fff;
}

/*Bootstrap compatibility layer*/

.db-bootstrap-theme .container,
.db-bootstrap-theme .container-xl {
  --bs-gutter-x: 0;
  max-width: var(--db-container);
}

.db-bootstrap-theme .db-main-nav .nav-link {
  color: #303949;
}

.db-bootstrap-theme .db-site-main .form-control,
.db-bootstrap-theme .db-site-main .form-select,
.db-bootstrap-theme .db-site-main .form-check-input,
.db-bootstrap-theme .db-site-header .form-control,
.db-bootstrap-theme .db-site-header .form-select {
  border-color: var(--db-line);
  border-radius: 14px;
  min-height: 46px;
  color: var(--db-deep);
}

.db-bootstrap-theme .db-site-main .form-control:focus,
.db-bootstrap-theme .db-site-main .form-select:focus,
.db-bootstrap-theme .db-site-main .form-check-input:focus,
.db-bootstrap-theme .db-site-header .form-control:focus,
.db-bootstrap-theme .db-site-header .form-select:focus {
  border-color: rgba(215, 25, 32, 0.36);
  box-shadow: 0 0 0 0.25rem rgba(215, 25, 32, 0.12);
}

.db-bootstrap-theme .btn {
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 999px;
  --bs-btn-padding-y: 0.68rem;
  --bs-btn-padding-x: 1.15rem;
}

.db-bootstrap-theme .btn-primary {
  --bs-btn-bg: var(--db-accent);
  --bs-btn-border-color: var(--db-accent);
  --bs-btn-hover-bg: #b9151b;
  --bs-btn-hover-border-color: #b9151b;
  --bs-btn-active-bg: #9f1239;
  --bs-btn-active-border-color: #9f1239;
}

.db-bootstrap-theme .btn-outline-secondary {
  --bs-btn-color: #394154;
  --bs-btn-border-color: var(--db-line);
  --bs-btn-hover-bg: var(--db-accent-soft);
  --bs-btn-hover-border-color: rgba(215, 25, 32, 0.24);
  --bs-btn-hover-color: var(--db-accent);
}

.db-bootstrap-theme .btn-light {
  --bs-btn-color: var(--db-accent);
}

.db-bootstrap-theme .btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.38);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--db-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--db-shadow);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.db-container {
  margin-inline: auto;
}

.db-section {
  position: relative;
  background: #fff;
}

.db-site-main {
  min-height: 58vh;
  background: #fff;
}

.db-page-shell {
  background: linear-gradient(180deg, #fff 0%, #fafbfe 100%);
}

.db-layout {
  display: grid;
  align-items: start;
}

.db-listing-column {
  min-width: 0;
}

.db-eyebrow,
.db-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.db-eyebrow::before,
.db-home-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.16;
}

h1 {
  font-size: clamp(28px, 5vw, 52px);
}

h2 {
  font-size: clamp(22px, 3vw, 34px);
}

h3 {
  font-size: clamp(17px, 2vw, 22px);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

.db-section-head,
.db-home-section__head,
.db-center-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.db-section-head p,
.db-home-section__head p,
.db-center-head p {
  max-width: 720px;
  margin-top: 8px;
  margin-bottom: 0;
}

.db-section-head > a,
.db-home-section__head > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--db-accent);
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--db-line);
  padding: 10px 16px;
  box-shadow: var(--db-shadow-sm);
}

.db-section-head > a:hover,
.db-home-section__head > a:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 25, 32, 0.28);
}

.db-center-head {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.db-center-head .db-eyebrow,
.db-center-head .db-home-eyebrow {
  justify-content: center;
}

/*Header / navigation*/

.db-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: saturate(170%) blur(18px);
}

#wpadminbar {
  display: none!important;
}

/* .admin-bar .db-site-header {
  top: 32px;
} */

.db-header-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.db-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--db-deep);
  font-weight: 600;
}

.db-logo img {
  width: auto;
  object-fit: contain;
  border-radius: 0;
}

.db-logo strong {
  display: block;
  line-height: 1.05;
  white-space: nowrap;
}

.db-logo em {
  display: none;
}

.db-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--db-accent-soft);
  color: var(--db-accent);
}

.db-main-nav {
  margin-left: auto;
}

.db-main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.db-main-nav a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.db-main-nav a:hover {
  background: var(--db-accent-soft);
  color: var(--db-accent);
}

.db-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.db-header-auth {
  display: flex;
  align-items: center;
  gap: 4px;
}

.db-header-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #394154;
  background: #fff;
  border: 1px solid transparent;
}

.db-header-auth-link:hover {
  border-color: var(--db-line);
  box-shadow: var(--db-shadow-sm);
}

.db-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--db-soft);
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.db-menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--db-deep);
  border-radius: 99px;
}

.db-header-listing-btn {
  gap: 6px;
}

.db-header-listing-btn .db-icon {
  font-size: 13px;
}

.db-floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: none;
}

.db-floating-actions a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--db-accent);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 18px 42px rgba(215, 25, 32, 0.35);
}

.db-floating-actions a .db-icon {
  font-size: 1.5rem;
}

/*City switcher*/

.db-city-switcher {
  position: relative;
  flex: 0 0 auto;
}

.db-city-switcher__button {
  gap: 8px;
  border: 1px solid var(--db-line);
  background: #fff;
  border-radius: 999px;
}

.db-city-switcher__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--db-accent);
  flex: 0 0 auto;
}

.db-city-switcher__pin .db-icon {
  font-size: 14px;
}

.db-city-switcher__label {
  min-width: 0;
  max-width: 170px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.db-city-switcher__label strong {
  display: block;
  color: var(--db-deep);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}

.db-city-switcher__chevron {
  font-size: 10px;
  color: var(--db-muted);
}

.db-location-modal[hidden] {
  display: none !important;
}

.db-location-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  padding: 16px;
}

.db-location-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 38, 0.58);
  backdrop-filter: blur(8px);
}

.db-location-modal__panel {
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  box-shadow: 0 28px 80px rgba(9, 20, 38, 0.28);
}

.db-location-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.db-location-modal__close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--db-soft);
  font-size: 20px;
  color: var(--db-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-location-modal__close:hover {
  background: var(--db-accent-soft);
  color: var(--db-accent);
}

.db-location-modal__search {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  border-radius: 14px;
}

.db-location-modal__search:focus-within {
  border-color: rgba(215, 25, 32, 0.42);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

.db-location-modal__search input {
  width: 100%;
  min-width: 0;
  color: var(--db-deep);
  box-shadow: none;
}

.db-location-modal__search input:focus {
  outline: none;
}

.db-location-modal__search button {
  min-width: 92px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--db-line);
  border-radius: 12px;
  background: var(--db-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.18);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.db-location-modal__search button:hover {
  background: #c4161d;
  border-color: #c4161d;
}

.db-location-modal__search button:disabled,
.db-location-modal__search button[aria-disabled="true"] {
  background: #e5e7eb;
  border-color: #d0d5dd;
  color: #98a2b3;
  box-shadow: none;
  cursor: not-allowed;
}

.db-location-modal__hint,
.db-location-modal__status {
  color: var(--db-muted);
}

.db-location-option {
  border: 1px solid var(--db-line);
  background: #fff;
  color: var(--db-deep);
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s,
    color 0.18s;
}

.db-location-option:hover,
.db-location-option.is-active {
  border-color: rgba(215, 25, 32, 0.32);
  background: var(--db-accent-soft);
  color: var(--db-accent);
}

.db-location-modal-open {
  overflow: hidden;
}

/*Buttons and chips*/

.db-btn,
.db-btn,
.button-hero,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 13px;
  text-decoration: none;
  line-height: 1;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.db-btn:hover,
.db-btn:hover,
.button-hero:hover {
  transform: none;
}

.db-btn-primary,
.db-btn-primary,
.button-primary,
.button-hero {
  color: #fff !important;
}

.db-btn-outline,
.button-secondary {
  background: #fff;
  color: var(--db-deep) !important;
  border-color: var(--db-line);
  box-shadow: var(--db-shadow-sm);
}

.db-btn-outline:hover,
.button-secondary:hover {
  border-color: rgba(215, 25, 32, 0.3);
  color: var(--db-accent) !important;
}

.db-btn-soft {
  background: var(--db-accent-soft);
  color: var(--db-accent) !important;
  border-color: rgba(215, 25, 32, 0.1);
}

.db-btn-light {
  color: var(--db-accent) !important;
}

.db-btn-outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.36);
}

.db-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--db-line);
  color: var(--db-deep);
  font-weight: 600;
  box-shadow: 0 7px 18px rgba(20, 38, 59, 0.05);
  transition: all 0.18s ease;
}

.db-mini-btn:hover {
  color: var(--db-accent);
  border-color: rgba(215, 25, 32, 0.26);
  transform: none;
}

.db-mini-btn-primary {
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.24);
}

.db-mini-btn-muted {
  background: #f9fafc;
  color: #586173;
}

.db-inline-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.db-inline-links a,
.db-inline-links span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--db-line);
  font-size: 12px;
  font-weight: 600;
  color: #3d4656;
  box-shadow: 0 8px 22px rgba(20, 38, 59, 0.05);
}

.db-inline-links a:hover {
  color: var(--db-accent);
  border-color: rgba(215, 25, 32, 0.26);
  transform: translateY(-1px);
}

/*Icons*/

.db-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  flex: 0 0 auto;
  font-size: 1em;
  color: currentColor;
}

.db-category-icon .db-icon {
  font-size: 22px;
}

.db-media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #eef1f6;
}

.db-media-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
}

/*Forms and search*/

.db-search-card {
  width: 100%;
  background: #fff;
  position: relative;
  color: var(--db-ink);
}

.db-search-primary-row {
  display: block;
}

.db-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--db-line);
  padding: 9px 10px;
  color: var(--db-muted);
}

.db-search-keyword {
  border-color: transparent;
  background: #fff;
}

.db-search-field label {
  display: grid;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.db-search-field label span {
  font-size: 10px;
  text-transform: uppercase;
  color: #8a93a5;
}

.db-search-field input,
.db-search-field select,
.db-search-field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--db-deep);
  outline: 0;
  min-width: 0;
}

.db-search-field input::placeholder {
  color: #9aa3b4;
  font-weight: 600;
}

.db-advanced-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 5px 2px;
}

.db-advanced-toggle,
.db-location-chip {
  border: 0;
  background: var(--db-soft);
  color: var(--db-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 13px;
  font-size: 12px;
}

.db-advanced-toggle:hover,
.db-location-chip:hover {
  background: var(--db-accent-soft);
  color: var(--db-accent);
}

.db-clear-search {
  color: var(--db-accent);
  font-size: 12px;
  font-weight: 600;
}

.db-advanced-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 0 0;
}

.db-advanced-panel.is-open {
  display: grid;
}

.db-search-filter {
  min-height: 58px;
}

.db-search-suggestions {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 82px;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--db-line);
  border-radius: 18px;
  box-shadow: var(--db-shadow);
  padding: 14px;
}

.db-search-suggestions[hidden] {
  display: none !important;
}

.db-search-suggestions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--db-deep);
}

.db-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.db-suggestion-list button,
.db-suggestion-list a {
  border: 1px solid var(--db-line);
  background: var(--db-soft);
  border-radius: 999px;
  padding: 8px 11px;
  color: #414b5c;
  font-size: 12px;
  font-weight: 600;
}

.db-location-status {
  font-size: 12px;
  margin: 10px 0 0;
  color: var(--db-muted);
}

.ts-wrapper.single .ts-control,
.ts-wrapper.multi .ts-control {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  font-weight: 700;
  color: var(--db-deep);
}

.ts-dropdown {
  border-color: var(--db-line) !important;
  border-radius: 14px !important;
  box-shadow: var(--db-shadow) !important;
  overflow: hidden !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
  border: 1px solid var(--db-line);
  background: #fff;
  color: var(--db-deep);
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(215, 25, 32, 0.42);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

label {
  color: #3e4758;
}

/*Reusable cards*/

.db-content-card,
.db-sidebar-card,
.db-placeholder-box,
.db-profile-section,
.db-panel,
.db-public-form-wrap,
.db-dashboard-panel,
.db-auth-panel,
.db-listing-panel,
.db-dashboard-panel {
  background: #fff;
  border: 1px solid var(--db-line);
  border-radius: var(--db-radius);
  box-shadow: var(--db-shadow-sm);
}

.db-content-card,
.db-sidebar-card,
.db-placeholder-box,
.db-profile-section {
  padding: 24px;
}

.db-placeholder-box {
  text-align: center;
  padding: 44px 24px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}

.db-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: calc(var(--db-header-h) + 18px);
}

.admin-bar .db-sidebar {
  top: calc(var(--db-header-h) + 50px);
}

.db-sponsor-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fff 0%, #fff5f8 100%);
  border-color: rgba(215, 25, 32, 0.15);
}

.db-sponsor-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(215, 25, 32, 0.08);
}

.db-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 9px;
  background: var(--db-soft);
  color: #4b5568;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.db-badge-featured {
  background: var(--db-accent-soft);
  color: var(--db-accent);
}

.db-badge-pending {
  background: #fffbeb;
  color: #a16207;
}

.db-badge-soft {
  background: #f5f7fb;
  color: #475467;
}

/*Business listing card*/

.db-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.db-business-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--db-line);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.db-business-card:hover {
  border-color: rgba(215, 25, 32, 0.18);
}

.db-business-card--row {
  display: flex;
  flex-direction: column;
}

.db-business-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.db-business-media img,
.db-business-media .db-media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.db-business-card:hover .db-business-media img {
  transform: scale(1.045);
}

.db-card-badges {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.db-business-body {
  display: grid;
  min-height: 210px;
}

.db-business-body h3 {
  letter-spacing: -0.025em;
}

.db-business-body h3 a:hover {
  color: var(--db-accent);
}

.db-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 700;
}

.db-rating {
  margin: 0;
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.db-rating span {
  color: var(--db-muted);
  font-weight: 700;
  letter-spacing: 0;
}

.db-card-excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.db-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}

/*Category and area cards*/

.db-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.db-category-card {
  position: relative;
  border: 1px solid var(--db-line);
  border-radius: 18px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 4px;
  box-shadow: 0 10px 28px rgba(20, 38, 59, 0.06);
  overflow: hidden;
}

.db-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% -20%,
    rgba(215, 25, 32, 0.12),
    transparent 48%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.db-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 25, 32, 0.22);
  box-shadow: 0 18px 42px rgba(20, 38, 59, 0.11);
}

.db-category-card:hover::before {
  opacity: 1;
}

.db-category-icon {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.db-category-card strong {
  position: relative;
  z-index: 1;
  color: var(--db-deep);
  line-height: 1.25;
}

.db-category-card small {
  position: relative;
  z-index: 1;
  color: #8a93a5;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
}

.db-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.db-area-card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--db-line);
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 38, 59, 0.06);
}

.db-area-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 25, 32, 0.24);
  box-shadow: 0 18px 42px rgba(20, 38, 59, 0.11);
}

.db-area-card > span {
  border-radius: 999px;
  background: var(--db-accent-soft);
  color: var(--db-accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.db-area-card strong {
  display: block;
  color: var(--db-deep);
  line-height: 1.1;
}

.db-area-card small {
  display: block;
  color: #8a93a5;
  font-size: 11px;
  font-weight: 700;
  margin-top: 3px;
}

/*Offers / public cards*/

.db-offer-grid,
.db-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.db-offer-card,
.db-public-card,
.db-deal-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--db-line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(20, 38, 59, 0.08);
}

.db-offer-media,
.db-card-image,
.db-deal-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1.65/1;
  overflow: hidden;
  background: #eef1f6;
}

.db-offer-media img,
.db-card-image img,
.db-deal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.db-offer-tag,
.db-deal-card__media span.db-deal-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--db-accent);
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.db-card-body,
.db-deal-card__body {
  padding: 18px;
}

.db-card-meta,
.db-deal-meta {
  font-size: 12px;
  color: var(--db-muted);
  font-weight: 700;
  margin: 0.3rem 0;
}

/*Detail/profile shared*/

.db-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.db-breadcrumb a:hover {
  color: #fff;
}

.db-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.db-detail-grid > div {
  border: 1px solid var(--db-line);
  background: #fbfcff;
}

.db-detail-grid strong {
  display: block;
  color: var(--db-deep);
  font-size: 13px;
}

.db-detail-grid span {
  display: block;
  color: var(--db-muted);
  font-size: 13px;
  margin-top: 3px;
}

.db-faq-list {
  display: grid;
  gap: 10px;
}

.db-faq-item {
  border: 1px solid var(--db-line);
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.db-faq-item:hover,
.db-faq-item[open] {
  border-color: rgba(215, 25, 32, 0.16);
  box-shadow: 0 18px 40px rgba(20, 38, 59, 0.09);
}

.db-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  color: var(--db-deep);
  font-weight: 600;
  border-left: 3px solid transparent;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.db-faq-item summary::-webkit-details-marker {
  display: none;
}

.db-faq-item summary::marker {
  content: "";
}

.db-faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.db-faq-item:hover summary,
.db-faq-item[open] summary {
  background: linear-gradient(180deg, #fff7fa 0%, #fff 100%);
  border-left-color: var(--db-accent);
  color: var(--db-accent);
}

.db-faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.db-faq-item summary:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.3);
  outline-offset: -3px;
  border-radius: 0;
}

.db-faq-item p {
  margin: 0;
  line-height: 1.7;
}

.db-muted-note {
  font-size: 13px;
  color: var(--db-muted);
}

.db-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.db-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.db-pagination a,
.db-pagination span {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--db-line);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  color: var(--db-deep);
}

.db-pagination .current,
.db-pagination a:hover {
  background: var(--db-accent);
  border-color: var(--db-accent);
  color: #fff;
}

/*Bottom CTA and footer*/

.db-bottom-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 44px 0;
}

.db-bottom-cta::before,
.db-bottom-cta::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.db-bottom-cta::before {
  width: 260px;
  height: 260px;
  left: -110px;
  top: -110px;
}

.db-bottom-cta::after {
  width: 210px;
  height: 210px;
  right: -70px;
  bottom: -95px;
}

.db-bottom-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.db-bottom-cta-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.db-bottom-cta-copy > .db-icon {
  width: 54px;
  height: 54px;
  font-size: 22px;
  color: #fff;
}

.db-bottom-cta h2 {
  color: #fff;
}

.db-bottom-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 6px 0 0;
}

.db-bottom-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.db-footer {
  border-top: none;
  color: #d0d8e2;
}

.db-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.db-footer h3 {
  margin-bottom: 14px;
  color: #fff;
}

.db-footer p,
.db-footer li,
.db-footer a {
  color: #9cb0c6;
}

.db-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.db-footer a:hover {
  color: #fff;
}

.db-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.db-social-links a {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.db-social-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.db-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #9cb0c6;
  font-size: 13px;
}

.db-contact-list .db-icon {
  margin-top: 4px;
  font-size: 1.4rem !important;
}

.db-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  color: #7f98b0;
  font-size: 12px;
  font-weight: 700;
}

.db-footer-bottom .db-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.db-footer-bottom nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.db-footer-bottom a {
  color: #7f98b0;
}

.db-footer-bottom a:hover {
  color: #fff;
}

/*Notices and dashboards shared*/

.db-notice,
.db-claim-notice,
.notice {
  border-radius: 14px;
  border: 1px solid var(--db-line);
  padding: 12px 14px;
  background: #fff;
  color: var(--db-deep);
}

.db-notice-error,
.is-error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #9f1239;
}

.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.is-warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.db-empty-state,
.db-empty-state {
  padding: 34px;
  border: 1px dashed #d8ddea;
  border-radius: 20px;
  text-align: center;
  background: #fff;
}



/* ==========================================================
   v1.2.68 Public header profile dropdown
   Scope: logged-in site header only.
   ========================================================== */
.db-header-profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.db-header-profile-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 14px 4px 5px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.db-header-profile-menu__toggle::-webkit-details-marker {
  display: none;
}

.db-header-profile-menu__avatar {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--db-orange, #d71920);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.db-header-profile-menu__name {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
}

.db-header-profile-menu__chevron {
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  transition: transform .18s ease;
}

.db-header-profile-menu[open] .db-header-profile-menu__chevron {
  transform: rotate(180deg);
}

.db-header-profile-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1000;
  width: 178px;
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

.db-header-profile-menu__panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(226, 232, 240, .95);
  border-left: 1px solid rgba(226, 232, 240, .95);
  background: #fff;
  transform: rotate(45deg);
}

.db-header-profile-menu__panel a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.db-header-profile-menu__panel a:hover,
.db-header-profile-menu__panel a:focus-visible {
  background: #f8fafc;
  color: var(--db-orange, #d71920);
  outline: none;
}

.db-header-profile-menu__logout {
  color: var(--db-orange, #d71920) !important;
}

@media (max-width: 760px) {
  .db-header-profile-menu__toggle {
    min-height: 34px;
    padding: 2px;
  }
  .db-header-profile-menu__name,
  .db-header-profile-menu__chevron {
    display: none;
  }
  .db-header-profile-menu__avatar {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 1120px) {
  .db-header-inner {
    gap: 10px;
  }

  .db-main-nav a {
    padding: 0 9px;
  }

  .db-city-switcher__button {
    max-width: 152px;
  }

  .db-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .db-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .db-container {
    width: min(100% - 24px, var(--db-container));
  }

  .db-section {
    padding: 52px 0;
  }

  .db-header-inner {
    min-height: 64px;
  }

  .db-logo strong {
    font-size: 18px;
  }

  /*mobile nav dropdown*/

  .db-main-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    display: none;
    background: #fff;
    border: 1px solid var(--db-line);
    box-shadow: var(--db-shadow);
    z-index: 100;
  }

  .db-main-nav.is-open {
    display: block;
  }

  .db-main-nav ul {
    display: grid;
    gap: 3px;
  }

  .db-main-nav a {
    justify-content: flex-start;
    width: 100%;
    min-height: 40px;
    border-radius: 12px;
  }

  .db-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  /*show Add Listing btn label inside open nav*/

  .db-header-actions {
    margin-left: 0;
  }

  .db-header-auth {
    display: none;
  }

  .db-header-listing-btn span {
    display: none;
  }

  .db-header-listing-btn {
    width: 38px;
    padding: 0;
    border-radius: 12px;
  }

  .db-layout {
    grid-template-columns: 1fr;
  }

  .db-sidebar {
    position: static;
    order: 2;
  }

  .db-listing-column {
    order: 1;
  }

  .db-section-head,
  .db-home-section__head {
    display: grid;
    align-items: start;
    gap: 12px;
  }

  .db-advanced-panel {
    grid-template-columns: 1fr;
  }

  .db-search-submit {
    min-width: 96px;
  }

  .db-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .db-area-grid,
  .db-offer-grid,
  .db-public-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-bottom-cta-inner {
    display: grid;
    gap: 18px;
  }

  .db-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .db-floating-actions {
    display: block;
  }
}

/*mid-tablet gap: 640px–768px had no rules before*/

@media (max-width: 768px) {
  .db-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .db-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /*modal full-screen on mid phones*/

  .db-location-modal {
    padding: 8px;
  }

  .db-location-modal__panel {
    border-radius: 18px;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(28px, 6vw, 38px);
  }

  h2 {
    font-size: clamp(22px, 5vw, 30px);
  }

  .db-logo span span {
    display: none;
  }

  .db-search-card {
    border-radius: 14px;
  }

  .db-search-keyword {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px;
  }

  .db-search-submit {
    grid-column: 1/-1;
    width: 100%;
    margin-top: 4px;
  }

  .db-search-suggestions {
    top: 110px;
  }

  .db-business-grid,
  .db-business-grid--home,
  .db-business-grid-page,
  .db-category-grid,
  .db-area-grid,
  .db-offer-grid,
  .db-public-grid {
    grid-template-columns: 1fr;
  }

  .db-category-card {
    min-height: 96px;
  }

  .db-detail-grid {
    grid-template-columns: 1fr;
  }

  .db-inline-links {
    gap: 6px;
  }

  .db-bottom-cta-copy {
    align-items: flex-start;
  }

  .db-footer-bottom .db-container {
    display: grid;
    gap: 8px;
    align-items: center;
  }

  .db-footer-bottom nav {
    flex-wrap: wrap;
  }

  .db-floating-actions a span {
    display: none;
  }

  .db-floating-actions a {
    width: 50px;
    height: 50px;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
  }

  .db-sidebar-card,
  .db-content-card,
  .db-profile-section {
    padding: 18px;
  }

  .db-card-actions .db-mini-btn {
    flex: 1 1 auto;
  }

  /*modal on small phones*/

  .db-location-modal {
    padding: 0;
    align-items: flex-end;
  }

  .db-location-modal__panel {
    width: 100%;
    border-radius: 22px 22px 0 0;
    max-height: min(560px, calc(100dvh - 60px));
  }
}

@media (max-width: 782px) {
  .admin-bar .db-site-header {
    top: 46px;
  }
}

@media (max-width: 920px) {
  .admin-bar .db-main-nav {
    top: calc(32px + var(--db-header-h) + 6px);
  }
}

@media (max-width: 782px) {
  .admin-bar .db-main-nav {
    top: calc(46px + var(--db-header-h) + 6px);
  }
}

/*Legacy shortcode compatibility components*/

.db-term-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.db-term-card {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  min-height: 122px;
  background: #fff;
  border: 1px solid var(--db-line);
  border-radius: 16px;
  padding: 18px 12px;
  box-shadow: 0 10px 28px rgba(20, 38, 59, 0.06);
}

.db-term-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 25, 32, 0.22);
  box-shadow: 0 18px 42px rgba(20, 38, 59, 0.11);
}

.db-term-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--db-accent-soft);
  color: var(--db-accent);
  font-size: 22px;
}

.db-term-card strong {
  color: var(--db-deep);
  font-size: 13px;
  line-height: 1.25;
}

.db-term-card em {
  font-style: normal;
  color: #8a93a5;
  font-weight: 700;
  font-size: 11px;
}

.db-placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 920px) {
  .db-term-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .db-term-grid {
    grid-template-columns: 1fr;
  }
}

/*==========================================================
   DekhoBiz v1.2 final polish layer
   Compact, readable, GoodUp-inspired directory UI.
   Shared components stay here; page-level CSS only adjusts layout.
   ==========================================================*/

body {
  font-family: var(--db-font);
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--db-deep);
}

p {
  color: var(--db-muted);
}

.db-section-soft,
.is-alt {
  background: var(--db-soft);
}

.db-container {
  width: min(var(--db-container), calc(100% - 32px));
}

.db-eyebrow,
.db-home-eyebrow {
  color: var(--db-accent);
}

.db-logo strong {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.db-main-nav a {
  color: #334155;
}

.db-city-switcher__button {
  font-weight: 600;
  color: #1f2937;
}

.db-header-listing-btn {
  font-weight: 600;
}

.db-btn,
.db-btn,
.button-hero,
.button-primary,
.button-secondary {
  font-weight: 600;
  border-radius: 10px;
  min-height: 42px;
  letter-spacing: 0;
}

.db-btn-primary,
.db-btn-primary,
.button-primary,
.button-hero {
  background: var(--db-accent);
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.18);
}

.db-btn-primary:hover,
.db-btn-primary:hover,
.button-primary:hover {
  background: #b9151b;
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.24);
}

.db-btn-outline,
.button-secondary,
.db-mini-btn {
  font-weight: 500;
}

.db-mini-btn-primary {
  background: var(--db-accent);
  border-color: var(--db-accent);
}

.db-search-card {
  padding: 10px;
}

.db-search-field label span {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.db-search-field input,
.db-search-field select,
.db-search-field textarea {
  font-weight: 500;
}

.db-search-submit {
  font-weight: 600;
}

.db-advanced-toggle,
.db-location-chip {
  font-weight: 500;
}

.db-suggestion-pill,
.db-home-search__tags a {
  font-weight: 500;
}

.db-section-head > a,
.db-home-section__head > a {
  font-weight: 600;
  border-radius: 10px;
}

.db-section-head p,
.db-home-section__head p {
  font-size: 15px;
  line-height: 1.6;
}

.db-business-card,
.db-category-card,
.db-area-card,
.db-content-card,
.db-sidebar-card {
  border-color: var(--db-line);
  border-radius: 14px;
  box-shadow: var(--db-shadow-sm);
}

.db-business-card:hover,
.db-category-card:hover,
.db-area-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
  border-color: rgba(215, 25, 32, 0.18);
}

.db-business-media {
  background: #eef2f7;
}

.db-meta,
.db-card-excerpt {
  font-size: 13px;
}

.db-card-actions .db-mini-btn {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.db-category-icon {
  border-radius: 12px;
  background: var(--db-accent-soft);
  color: var(--db-accent);
}

.db-category-card strong {
  font-weight: 600;
}

.db-category-card small,
.db-area-card small {
  font-weight: 500;
}

.db-area-card {
  border-radius: 999px;
}

.db-area-card > span {
  width: 38px;
  height: 38px;
}

.db-area-card strong {
  font-weight: 600;
}

.db-badge {
  font-weight: 600;
  border-radius: 999px;
}

.db-badge-sponsored {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}

.db-badge-verified {
  background: #ecfdf5;
  color: #047857;
  border-color: #bbf7d0;
}

.db-bottom-cta {
  background: #083f42;
}

.db-footer {
  background: #0f172a;
}

.db-footer h3 {
  font-weight: 600;
}

.db-footer p,
.db-footer li,
.db-footer a {
  font-weight: 400;
}

.db-location-option {
  font-weight: 500;
}

.db-location-modal__search {
  font-size: 16px;
}

@media (max-width: 1100px) {
  .db-main-nav {
    display: none;
  }

  .db-main-nav.is-open {
    display: block;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--db-line);
    border-radius: 16px;
    box-shadow: var(--db-shadow);
    padding: 10px;
  }

  .db-main-nav.is-open ul {
    display: grid;
    gap: 4px;
  }

  .db-menu-toggle {
    display: flex;
  }

  .db-header-auth {
    display: none;
  }

  .db-header-listing-btn span {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15.5px;
  }

  .db-container {
    width: min(100% - 24px, var(--db-container));
  }

  .db-section {
    padding: 36px 0;
  }

  .db-header-inner {
    min-height: 62px;
  }

  .db-logo img {
    width: auto;
    height: 48px;
    max-width: 230px;
  }

  .db-logo strong {
    font-size: 17px;
  }

  .db-city-switcher__button {
    height: 38px;
    max-width: 148px;
    padding: 0 12px 0 10px;
  }

  .db-header-listing-btn {
    min-height: 34px;
    padding: 0 10px;
  }

  .db-business-card {
    border-radius: 13px;
  }

  .db-card-actions .db-mini-btn {
    flex: 1;
  }

  .db-search-submit {
    width: 100%;
  }

  .db-footer-bottom .db-container {
    text-align: left;
  }
}

/*Workspace shared styles merged from db-workspace-common.css*/

/*Shared workspace components for owner flows.*/

.db-builder,
.db-dashboard-panel,
.db-listing-panel,
.db-user-dashboard,
.db-dashboard-panel {
  background: #fff;
  border: 1px solid var(--db-line);
  border-radius: 26px;
  box-shadow: var(--db-shadow-sm);
}

.db-builder {
  padding: 22px;
}

.db-builder input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.db-builder select,
.db-builder textarea,
.db-auth-modal input[type="text"],
.db-auth-modal input[type="password"],
.db-auth-modal input[type="email"],
.db-auth-modal input[type="tel"] {
  width: 100%;
  min-width: 0;
}

.db-builder label span,
.db-hour-row span {
  margin-bottom: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--db-deep);
}

.db-builder-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border: 1px solid var(--db-line);
  border-radius: 22px;
  background: #fff;
}

.db-builder-hero h2 {
  margin: 4px 0 6px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.16;
}

.db-builder-hero p {
  margin: 0;
  color: var(--db-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 720px;
}

.db-builder-scoreboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 10px;
}

.db-builder-scoreboard > div,
.db-review-score {
  padding: 12px 13px;
  border-radius: 18px;
  background: #fbfcff;
  border: 1px solid var(--db-line);
}

.db-builder-scoreboard strong,
.db-review-score strong {
  display: block;
  font-size: 19px;
  line-height: 1.1;
  color: var(--db-deep);
}

.db-builder-scoreboard span,
.db-review-score span {
  display: block;
  margin-top: 4px;
  color: var(--db-muted);
  font-size: 11px;
  font-weight: 600;
}

.db-builder-guidance {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--db-line);
  border-radius: 22px;
  background: #fbfcff;
}

.db-builder-guidance strong {
  color: var(--db-deep);
  font-size: 16px;
}

.db-builder-guidance p {
  margin: 0;
  color: var(--db-muted);
  font-size: 13px;
  line-height: 1.5;
}

.db-builder-progress {
  position: relative;
  height: 12px;
  margin: 0 0 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #ecf0f7;
  border: 1px solid var(--db-line);
}

.db-builder-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--db-accent), #ff7b95);
}

.db-builder-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.db-builder-card {
  appearance: none;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 92px;
  padding: 15px 16px;
  border: 1px solid var(--db-line);
  border-radius: 20px;
  background: #fff;
  text-align: left;
  color: var(--db-deep);
  box-shadow: var(--db-shadow-sm);
}

.db-builder-card.is-active,
.db-builder-card:hover {
  border-color: rgba(215, 25, 32, 0.24);
  box-shadow: 0 16px 36px rgba(20, 38, 59, 0.1);
}

.db-builder-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--db-accent-soft);
  color: var(--db-accent);
}

.db-builder-icon-svg {
  width: 22px;
  height: 22px;
}

.db-builder-card__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.db-builder-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.db-builder-card strong {
  font-size: 15px;
  line-height: 1.25;
}

.db-builder-card small {
  color: var(--db-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.db-builder-card__hint {
  color: #7a8698;
  font-size: 11.5px;
  font-weight: 700;
}

.db-card-required {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--db-accent-soft);
  color: var(--db-accent);
  font-size: 10px;
  font-weight: 600;
  border-left: 0;
}

.db-card-required--optional {
  background: #f3f5f9;
  color: #667085;
}

.db-builder-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475467;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
}

.db-builder-card__arrow {
  color: #98a2b3;
  font-size: 18px;
  font-style: normal;
}

/*Shared upload field used by listing, KYC and deal forms.*/

.db-upload-field {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 74px;
  padding: 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #334155;
  cursor: pointer;
}

.db-upload-field:hover {
  border-color: rgba(215, 25, 32, 0.45);
  background: #fffafa;
}

.db-upload-field__icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--db-accent-soft);
  color: var(--db-accent);
  font-size: 18px;
  font-weight: 700;
}

.db-upload-field strong {
  display: block;
  margin-bottom: 3px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.db-upload-field em {
  display: block;
  color: var(--db-muted);
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.45;
}

.db-upload-field input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.db-upload-preview {
  display: block;
  margin-top: 6px;
  color: var(--db-accent);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 560px) {
  .db-upload-field {
    padding: 12px;
  }
}

.db-builder-field-grid,
.db-dashboard-grid,
.db-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.db-field-wide {
  grid-column: 1 / -1;
}

.db-dashboard-panel,
.db-listing-panel,
.db-dashboard-panel {
  padding: 22px;
}

.db-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.db-dashboard-stats > div,
.db-stat-card {
  background: #fbfcff;
  border: 1px solid var(--db-line);
  border-radius: 18px;
  padding: 18px;
}

.db-builder-hint,
.db-dashboard-helper,
.db-help-text {
  color: var(--db-muted);
  font-size: 13px;
}

.db-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.db-check input {
  margin-top: 2px;
}

.db-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.db-payment-grid .db-check {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--db-line);
  border-radius: 14px;
  background: #fff;
}

.db-hour-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--db-line);
  border-radius: 16px;
  background: #fff;
}

.db-hour-row strong {
  align-self: center;
}

.db-repeater-rows {
  display: grid;
  gap: 10px;
}

.db-repeater-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--db-line);
  border-radius: 16px;
  background: #fff;
}

.db-repeater-row .db-field-wide {
  grid-column: 1 / span 2;
}

.db-repeater-row button[data-db-form-repeater-remove] {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--db-line);
  border-radius: 12px;
  background: #fff;
  color: var(--db-deep);
  font-weight: 700;
}

[data-db-form-repeater-add] {
  margin-top: 10px;
}

.db-review-submit {
  display: grid;
  gap: 14px;
}

.db-builder-modal[hidden],
.db-builder-modal[aria-hidden="true"]:not(.is-open) {
  display: none;
}

.db-builder-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
}

.db-builder-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 38, 0.56);
  backdrop-filter: blur(8px);
}

.db-builder-modal__panel {
  position: relative;
  margin: 5vh auto;
  width: min(760px, calc(100% - 24px));
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(9, 20, 38, 0.28);
}

.db-builder-modal__head,
.db-builder-modal__foot {
  padding: 18px 22px;
  border-bottom: 1px solid var(--db-line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.db-builder-modal__head h3 {
  margin: 4px 0;
  font-size: 24px;
  line-height: 1.18;
}

.db-builder-modal__head p {
  margin: 0;
  color: var(--db-muted);
  font-size: 14px;
}

.db-builder-modal__foot {
  border-top: 1px solid var(--db-line);
  border-bottom: 0;
}

.db-builder-modal__body {
  padding: 22px;
}

.db-builder-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--db-soft);
}

.db-auth-gate-shell {
  padding: 18px 0;
}

.db-auth-modal {
  width: min(100%, 680px);
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--db-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--db-shadow-sm);
}

.db-auth-modal__brand h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.16;
}

.db-auth-modal__brand p {
  margin: 0;
  color: var(--db-muted);
}

.db-auth-tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0;
  padding: 6px;
  border-radius: 999px;
  background: #f5f7fb;
}

.db-auth-tabs button {
  flex: 1 1 0;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #667085;
  font-weight: 700;
}

.db-auth-tabs .is-active {
  background: var(--db-accent-soft);
  color: var(--db-accent);
  box-shadow: inset 0 0 0 1px rgba(215, 25, 32, 0.12);
}

.db-auth-panel {
  display: none;
}

.db-auth-panel.is-active {
  display: block;
}

.db-auth-modal #loginform,
.db-auth-modal .db-dashboard-form {
  display: grid;
  gap: 14px;
}

.db-auth-modal #loginform p {
  margin: 0;
}

.db-auth-modal #loginform label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--db-deep);
}

.db-auth-modal .login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
}

.db-auth-modal .db-dashboard-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--db-deep);
}

.db-auth-modal .login-remember label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.db-auth-modal .login-submit .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--db-accent), #e11d2e);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(215, 25, 32, 0.28);
}

.db-auth-help {
  margin-top: 12px;
}

@media (max-width: 880px) {
  .db-builder-scoreboard,
  .db-builder-field-grid,
  .db-dashboard-grid,
  .db-settings-grid {
    grid-template-columns: 1fr;
  }

  .db-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .db-builder-guidance {
    grid-template-columns: 1fr;
  }

  .db-builder-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .db-builder {
    padding: 18px;
  }

  .db-builder-hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .db-builder-scoreboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .db-builder-modal__panel {
    width: 100vw;
    max-height: 90vh;
    margin: 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 22px 22px 0 0;
  }

  .db-builder-modal__head,
  .db-builder-modal__foot {
    padding: 14px 16px;
  }

  .db-builder-modal__body {
    padding: 14px 16px 18px;
  }

  .db-builder-modal__foot {
    flex-wrap: wrap;
  }

  .db-builder-modal__foot .db-btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .db-payment-grid,
  .db-repeater-row,
  .db-hour-row {
    grid-template-columns: 1fr;
  }

  .db-repeater-row .db-field-wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .db-builder {
    padding: 14px;
    border-radius: 20px;
  }

  .db-dashboard-stats {
    grid-template-columns: 1fr;
  }

  .db-builder-card {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    min-height: 84px;
    padding: 14px;
  }

  .db-builder-card__arrow {
    display: none;
  }

  .db-builder-scoreboard {
    grid-template-columns: 1fr;
  }

  .db-auth-modal {
    padding: 18px;
    border-radius: 18px;
  }

  .db-auth-tabs {
    display: grid;
    border-radius: 18px;
  }

  .db-auth-tabs button {
    border-radius: 14px;
  }

  .db-builder-card__top {
    display: grid;
    justify-items: start;
  }
}

/*Final upgrade: missing images stay as clean empty containers without SVG/photo fallbacks.*/

.db-media-placeholder,
.db-business-placeholder,
.db-profile-placeholder,
.db-media-placeholder,
.db-card-image .db-empty-image,
.db-empty-image,
.db-blog-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: linear-gradient(135deg, #f1f5f9 0%, #eef2f7 100%);
  border: 0;
}

.db-media-placeholder img,
.db-media-placeholder-badge {
  display: none !important;
}

.db-business-media,
.db-card-image,
.db-deal-card__media,
.db-blog-card__media {
  background: #f1f5f9;
}

.db-logo-text-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--db-accent-soft, #fff1f2);
  color: var(--db-accent, #d71920);
  flex: 0 0 40px;
}

.db-logo-text-mark .dashicons {
  width: auto;
  height: auto;
  font-size: 20px;
  line-height: 1;
}

.db-icon.dashicons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 2em;
  line-height: 1;
  vertical-align: -0.32em;
}

/*Production polish: remove noisy default widget/sidebar output and keep utility pages clean.*/

.db-section-head-small {
  margin-top: 26px;
}

.db-more-category-links {
  margin-top: 8px;
}

.db-more-category-links a {
  background: #fff;
}

.db-error-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.db-error-links {
  margin-top: 18px;
}

.db-page-content .wp-block-search,
.db-page-content .widget_search {
  display: none;
}

.db-sidebar:empty {
  display: none;
}

.db-layout:has(.db-sidebar:empty) {
  grid-template-columns: 1fr;
}

@media (max-width: 767px) {
  .db-error-hero {
    min-height: auto;
  }

  .db-more-category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*Simple WordPress auth form safety guards.*/

#loginform .login-submit .button,
.db-public-form button {
  cursor: pointer;
}

#loginform input[type="text"],
#loginform input[type="password"] {
  max-width: 100%;
}

/*Shared inner page header
   Used on all pages except the front page. Keep this simple and consistent.*/

.db-inner-hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgba(8, 15, 31, 0.88) 0%,
      rgba(8, 15, 31, 0.72) 42%,
      rgba(8, 15, 31, 0.5) 100%
    ),
    url("../images/page-heading-bg.png") center center / cover no-repeat;
  padding: 36px 0 32px;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.db-inner-hero::after {
  display: none;
}

.db-inner-hero .db-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.db-inner-hero .db-breadcrumb {
  margin-bottom: 10px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.74);
}

.db-inner-hero .db-breadcrumb a,
.db-inner-hero .db-breadcrumb strong,
.db-inner-hero .db-breadcrumb span {
  color: inherit;
}

.db-inner-hero .db-breadcrumb a:hover {
  color: #fff;
}

.db-inner-hero .db-eyebrow {
  margin-bottom: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  display: none; 
  /* do not show this until asked */
}

.db-inner-hero .db-eyebrow::before {
  background: rgba(255, 255, 255, 0.88);
}

.db-inner-hero h1 {
  margin: 0 auto;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.db-inner-hero p {
  margin: 9px auto 0;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.db-inner-hero .db-hero-actions,
.db-inner-hero .db-ad-proof-strip {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.db-inner-hero--compact {
  padding: 30px 0 26px;
}

.db-tax-hero,
.db-auth-hero,
.db-error-hero,
.db-advertise-hero {
  background:
    linear-gradient(
      90deg,
      rgba(8, 15, 31, 0.88) 0%,
      rgba(8, 15, 31, 0.72) 42%,
      rgba(8, 15, 31, 0.5) 100%
    ),
    url("../images/page-heading-bg.png") center center / cover no-repeat;
}

@media (max-width: 680px) {
  .db-inner-hero {
    padding: 28px 0 24px;
  }

  .db-inner-hero h1 {
    font-size: 26px;
  }

  .db-inner-hero p {
    font-size: 14px;
  }
}

/*Simple success notice shared by auth, dashboard and forms.*/

.db-notice-success {
  border-color: rgba(21, 128, 61, 0.22);
  background: #f0fdf4;
  color: #166534;
}

.db-empty-state {
  padding: 18px;
  border: 1px dashed var(--db-line);
  border-radius: 18px;
  background: #fbfcff;
  color: var(--db-muted);
}

.db-empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: var(--db-deep);
  font-size: 16px;
  font-weight: 600;
}

.db-empty-state p {
  margin: 0;
}

.db-dashboard-mini-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.db-dashboard-mini-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--db-line);
  border-radius: 14px;
  background: #fff;
}

.db-dashboard-mini-list strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--db-deep);
}

.db-dashboard-mini-list span {
  display: block;
  margin-top: 2px;
  color: var(--db-muted);
  font-size: 12.5px;
}

.db-dashboard-mini-list a {
  color: var(--db-accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .db-dashboard-mini-list article {
    display: grid;
    gap: 8px;
  }
}

/*Owner flow retest fixes: keep auth, dashboard and form layouts simple.*/

.db-owner-auth-form,
.db-auth-shell #loginform {
  display: grid;
  gap: 14px;
}

.db-auth-shell #loginform p {
  margin: 0;
}

.db-auth-shell #loginform label,
.db-owner-auth-form label {
  display: grid;
  gap: 8px;
  color: var(--db-deep);
  font-size: 13px;
  font-weight: 600;
}

.db-auth-shell #loginform input[type="text"],
.db-auth-shell #loginform input[type="password"],
.db-owner-auth-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--db-line);
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  color: var(--db-deep);
}

.db-auth-shell .login-remember label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
}

.db-auth-shell .login-submit .button,
.db-auth-shell #wp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--db-accent);
  color: #fff;
  font-weight: 600;
}

.db-auth-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--db-line);
  border-radius: 16px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--db-muted);
}

@media (max-width: 640px) {
  .db-auth-note {
    display: grid;
    align-items: start;
  }
}

/*Owner flow safety actions*/

.db-form-actions,
.db-dashboard-listing-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.db-form-actions {
  margin-top: 14px;
}

.db-form-actions .db-btn {
  min-height: 42px;
}

.db-btn-light {
  background: #f8fafc;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.db-btn-light:hover {
  background: #f1f5f9;
  color: #111827;
}

.db-card-image-empty,
.db-empty-image {
  display: block;
  width: 100%;
  min-height: 160px;
  background: #f8fafc;
  border: 1px dashed #e5e7eb;
  border-radius: 14px;
}

.db-dashboard-listing-head > div {
  min-width: 0;
  flex: 1 1 240px;
}

@media (max-width: 575px) {
  .db-form-actions .db-btn {
    width: 100%;
    justify-content: center;
  }

  .db-dashboard-listing-head .db-btn {
    width: 100%;
  }
}

/*QA launch fixes: keep compact UI stable across real user flows.*/

html,
body {
  max-width: 100%;
}

.db-menu-toggle,
.db-btn,
.btn,
button,
input[type="submit"],
.db-header-auth-link,
.db-profile-actions a,
.db-profile-actions button {
  min-height: 38px;
}

.db-city-modal[hidden],
[data-db-city-modal][hidden],
.db-auth-panel:not(.is-active),
.db-dashboard-panel:not(.is-active),
.db-listing-panel:not(.is-active) {
  display: none !important;
}

[data-db-city-list] [data-city-slug][hidden] {
  display: none !important;
}

.db-field-help {
  font-weight: 400;
}

.db-password-meter {
  display: block;
  margin-top: 6px;
  color: var(--db-muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.db-password-meter.is-weak {
  color: #b45309;
}

.db-password-meter.is-medium {
  color: #92400e;
}

.db-password-meter.is-strong {
  color: #15803d;
}

.db-field-error {
  font-weight: 500;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.db-local-save-status {
  display: block;
  margin-top: 6px;
  color: var(--db-muted);
  font-size: 12px;
}

.db-open-status {
  font-weight: 600;
}

.db-open-status.is-open {
  color: #15803d;
}

.db-open-status.is-closed {
  color: #b91c1c;
}

.db-open-status.is-neutral {
  color: var(--db-muted);
}

.db-profile-media,
.db-business-media,
.db-deal-card__media,
.db-card-image {
  min-height: 180px;
}

.db-profile-media .db-media-placeholder,
.db-business-media .db-media-placeholder,
.db-deal-card__media .db-empty-image,
.db-card-image .db-empty-image,
.db-card-image-empty {
  min-height: inherit;
}

@media (max-width: 640px) {
  .db-public-form label,
  .db-owner-auth-form label,
  .db-builder-field-grid label,
  .db-deal-form label {
    width: 100%;
  }

  .db-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 30;
    background: #fff;
    border-top: 1px solid var(--db-line);
    padding: 12px;
    margin-inline: -12px;
  }

  .db-form-actions .db-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .db-dashboard-tabs,
  .db-listing-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .db-dashboard-tabs button,
  .db-listing-tabs button {
    white-space: nowrap;
    padding-inline: 14px;
  }

  .db-header-inner,
  .db-search-card,
  .db-business-grid,
  .db-builder-field-grid {
    max-width: 100%;
  }
}

/*Code verified QA fixes*/

html,
body {
  overflow-x: hidden;
}

.db-container,
.db-hero,
.db-category-grid,
.db-business-grid,
.db-profile-card,
.db-page-shell {
  max-width: 100%;
}

[data-db-dashboard-panel] {
  display: none;
}

[data-db-dashboard-panel].is-active {
  display: block;
}

.db-password-field {
  position: relative;
}

.db-password-field input[type="password"],
.db-password-field input[type="text"] {
  padding-right: 74px;
}

.db-password-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--db-line);
  border-radius: 8px;
  background: #fff;
  color: var(--db-text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.db-field-help {
  display: block;
  margin-top: 6px;
  color: var(--db-muted);
  font-size: 13px;
  line-height: 1.45;
}

.db-field-error {
  margin-top: 6px;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.4;
}

.db-profile-empty-media {
  min-height: 220px;
  width: 100%;
  border-radius: inherit;
  background: #f8fafc;
  border: 1px solid var(--db-line);
}

.db-open-status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--db-muted);
  font-size: 14px;
}

.db-open-status-live.is-open {
  background: #ecfdf5;
  color: #166534;
}

.db-open-status-live.is-closed {
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 768px) {
  .db-builder-footer-actions {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid var(--db-line);
    padding: 12px;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
  }

  .db-btn,
  .db-mini-btn,
  button,
  input[type="submit"] {
    min-height: 44px;
  }
}

/*Visual QA compact launch pass — keep the site usable under 1300px.*/

[hidden] {
  display: none !important;
}

body {
  font-size: 15px;
  line-height: 1.58;
  background: #fff;
  color: #202938;
}

.db-container,
.container-xl {
  max-width: var(--db-container);
}

.db-section {
  padding: 38px 0;
}

.db-inner-hero h1 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 760px;
}

.db-inner-hero p {
  font-size: 14px;
  line-height: 1.55;
  max-width: 650px;
  margin-top: 7px;
}

.db-breadcrumb {
  font-size: 12px;
  line-height: 1.45;
}

.db-eyebrow,
.db-home-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.db-header-inner {
  min-height: 62px;
  gap: 10px;
}

.db-logo strong {
  font-size: 17px;
}

.db-logo img,
.db-logo-text-mark {
  width: auto;
  height: 46px;
}

.db-main-nav a {
  min-height: 36px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
}

.db-header-auth-link {
  min-height: 36px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
}

.db-city-switcher__button {
  height: 38px;
  max-width: 194px;
  padding: 0 12px 0 10px;
  font-size: 12px;
  box-shadow: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.db-location-modal {
  display: grid;
  place-items: center;
}

.db-location-modal[hidden],
[data-db-city-modal][hidden] {
  display: none !important;
}

.db-location-modal__panel {
  max-height: min(620px, calc(100dvh - 24px));
}

.db-location-modal__head p {
  font-size: 13px;
  margin: 4px 0 0;
}

.db-location-modal__search {
  gap: 8px;
}

.db-location-modal__hint,
.db-location-modal__status {
  font-size: 12px;
}

.db-location-modal__list {
  display: grid;
  gap: 8px;
  overflow: auto;
}

.db-location-option {
  font-size: 13px;
  text-align: left;
}

.db-business-card,
.db-category-card,
.db-area-card,
.db-content-card,
.db-sidebar-card,
.db-deals-empty,
.db-deal-submit-card,
.db-profile-card {
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.055);
}

.db-business-body h3 {
  font-weight: 600;
}

.db-card-excerpt,
.db-meta {
  font-size: 13px;
  line-height: 1.48;
}

.db-category-card {
  min-height: 129px;
  padding: 20px 14px;
}

.db-category-icon {
  width: 45px;
  height: 45px;
}

.db-category-card strong {
  font-size: 13px;
}

.db-area-card {
  padding: 10px 12px;
}

.db-area-card strong {
  font-size: 13.5px;
}

.db-section-head,
.db-home-section__head {
  margin-bottom: 16px;
}

.db-section-head h2,
.db-home-section__head h2 {
  font-size: clamp(21px, 2vw, 27px);
} 
.db-btn,
.button-primary,
.button-secondary {
  min-height: 40px;
  border-radius: 10px;
  font-size: 14px;
  padding: 9px 14px;
}

.db-btn .db-icon {
  font-size: 1.4rem;
}

.db-mini-btn {
  min-height: 34px;
  border-radius: 9px;
  font-size: 12px;
  padding: 7px 10px;
}

.db-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}

.db-sidebar-card {
  padding: 16px;
}

.db-sidebar-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.db-detail-grid {
  gap: 10px;
}

.db-detail-grid > div {
  padding: 12px;
  border-radius: 12px;
}

.db-profile-section {
  padding-top: 18px;
  margin-top: 18px;
}

.db-profile-section h2 {
  font-size: 21px;
}

.db-profile-section h3 {
  font-size: 16px;
  font-weight: 600;
}

.db-profile-media,
.db-profile-empty-media,
.db-business-media,
.db-empty-image {
  min-height: 190px;
  background: #eef2f7;
}

.db-inline-links {
  gap: 8px;
}

.db-inline-links a {
  font-size: 13px;
  padding: 8px 10px;
}

.db-bottom-cta {
  border-radius: 0;
}

.db-bottom-cta h2 {
  font-size: 23px;
}

.db-bottom-cta p {
  font-size: 14px;
}

.db-footer-grid {
  padding: 40px 0;
}

.db-footer h3 {
  font-size: 14px;
}

.db-footer p,
.db-footer li,
.db-footer a {
  font-size: 13px;
  line-height: 1.5;
  align-items: center;
}

@media (max-width: 1240px) {
  .db-container {
    width: min(100% - 28px, var(--db-container));
  }

  .db-main-nav {
    display: none;
  }

  .db-main-nav.is-open {
    display: block;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--db-line);
    border-radius: 14px;
    box-shadow: var(--db-shadow);
    padding: 10px;
    z-index: 110;
  }

  .db-main-nav.is-open ul {
    display: grid;
    gap: 4px;
  }

  .db-main-nav.is-open a {
    justify-content: flex-start;
    width: 100%;
  }

  .db-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .db-header-auth {
    display: none;
  }

  .db-header-listing-btn span {
    display: none;
  }

  .db-header-listing-btn {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .db-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .db-layout {
    grid-template-columns: 1fr;
  }

  .db-sidebar {
    position: static;
    order: 2;
  }

  .db-listing-column {
    order: 1;
  }

  .db-section {
    padding: 32px 0;
  }

  .db-inner-hero {
    padding: 24px 0 20px;
  }

  .db-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }

  .db-container {
    width: min(100% - 18px, var(--db-container));
  }

  .db-header-inner {
    min-height: 58px;
  }

  .db-logo strong {
    font-size: 16px;
  }

  .db-city-switcher__label {
    max-width: 108px;
  }

  .db-city-switcher__button {
    height: 34px;
    max-width: 132px;
  }

  .db-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .db-inner-hero h1 {
    font-size: 24px;
  }

  .db-inner-hero p {
    font-size: 13.5px;
  }

  .db-section {
    padding: 28px 0;
  }

  .db-footer-grid {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .db-location-modal__list {
    grid-template-columns: 1fr;
  }

  .db-location-modal__panel {
    padding: 16px;
  }

  .db-location-modal__search {
    grid-template-columns: 1fr;
  }

  .db-location-modal__search button {
    width: 100%;
  }

  .db-bottom-cta-inner {
    display: grid;
  }

  .db-bottom-cta-copy > .db-icon {
    display: none;
  }
}

/*Auth/input compactness pass: readable, smaller controls without hurting mobile tapping.*/

.db-required {
  color: var(--db-accent);
  font-style: normal;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.35;
}

label {
  font-weight: 600;
}

@media (max-width: 640px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    min-height: 44px;
    font-size: 16px;
  }
}

/*Shared password toggle guard: prevent generic button styles from stretching the eye icon.*/

.db-password-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.db-password-wrap input[type="password"],
.db-password-wrap input[type="text"] {
  padding-right: 44px !important;
}

.db-password-wrap .db-password-toggle {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  max-width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #64748b !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  z-index: 3 !important;
}

.db-password-wrap .db-password-toggle:hover,
.db-password-wrap .db-password-toggle:focus-visible {
  background: #eef2f7 !important;
  color: #334155 !important;
  outline: none !important;
}

.db-password-toggle .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 18px;
  display: block;
}

/*Header city selector: curated defaults + searchable full list*/

.db-location-option {
  gap: 10px;
}

.db-location-option small {
  flex: 0 0 auto;
  line-height: 1;
  letter-spacing: 0.02em;
}

/*Contact reveal modal: global fallback-safe styling.*/

.db-contact-modal[hidden] {
  display: none !important;
}

.db-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
}

.admin-bar .db-contact-modal {
  padding-top: 50px;
}

.db-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 27, 0.62);
  backdrop-filter: blur(6px);
}

.db-contact-modal__panel {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: #fff;
  color: #101828;
  box-shadow: 0 28px 90px rgba(7, 13, 27, 0.28);
}

.db-contact-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #f8fafc;
  color: #101828;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  box-shadow: none;
}

.db-contact-modal__eyebrow {
  margin: 0 48px 6px 0;
  color: var(--db-accent, #d71920);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.db-contact-modal h2 {
  margin: 0 48px 8px 0;
  color: #101828;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.13;
  letter-spacing: -0.03em;
}

.db-contact-modal__note,
.db-contact-modal__status {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.db-contact-modal__status:not(:empty) {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.db-contact-modal__body {
  display: grid;
}

.db-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
}

.db-contact-row span {
  grid-column: 1 / -1;
  color: #667085;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.db-contact-row strong {
  min-width: 0;
  color: #101828;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.db-contact-modal-open body {
  overflow: hidden;
}

@media (max-width: 560px) {
  .db-contact-modal {
    align-items: end;
    padding: 0;
  }

  .admin-bar .db-contact-modal {
    padding-top: 0;
  }

  .db-contact-modal__panel {
    width: 100%;
    max-height: 84vh;
    padding: 20px 16px 22px;
    border-radius: 22px 22px 0 0;
  }

  .db-contact-row {
    grid-template-columns: 1fr;
  }

  .db-contact-row .db-btn {
    width: 100%;
  }
}

/*Clean manual city selector: no auto-detect, no apply step.*/

.db-location-modal__panel {
  width: min(460px, calc(100vw - 28px));
  padding: 18px;
  border-radius: 20px;
}

.db-location-modal__head {
  margin-bottom: 12px;
}

.db-location-modal__head h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.db-location-modal__head p {
  max-width: 340px;
  color: var(--db-muted);
}

.db-location-modal__search {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.db-location-modal__search input {
  min-height: 46px;
  border: 1px solid var(--db-line);
  border-radius: 14px;
  background: #fff;
  padding: 0 14px;
}

.db-location-modal__search input:focus {
  border-color: rgba(215, 25, 32, 0.45);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

.db-location-modal__hint {
  margin-top: 8px;
}

.db-location-modal__status {
  min-height: 16px;
  margin: 8px 0 0;
}

.db-location-modal__list {
  grid-template-columns: 1fr;
  max-height: 330px;
  margin-top: 12px;
  padding-right: 0;
}

.db-location-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-radius: 12px;
  padding: 10px 12px;
}

.db-location-option small {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--db-accent-soft);
  color: var(--db-accent);
  font-size: 11px;
  font-weight: 800;
}

@media (min-width: 560px) {
  .db-location-modal__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*Reusable lightweight action modals for listing/deal forms.*/

.db-action-modal[hidden] {
  display: none !important;
}

.db-action-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
}

.admin-bar .db-action-modal {
  padding-top: calc(32px + clamp(16px, 3vw, 32px));
}

.db-action-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.66);
  backdrop-filter: blur(12px);
}

.db-action-modal__panel {
  position: relative;
  width: min(100%, 680px);
  max-height: min(86vh, 780px);
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
  padding: clamp(22px, 3vw, 34px);
}

.db-action-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f5f7fb;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.db-action-modal__close:hover,
.db-action-modal__close:focus-visible {
  background: #ffe8e8;
  color: #dc1f28;
  outline: none;
}

.db-action-modal .db-public-form-wrap,
.db-action-modal .db-claim-form {
  margin: 0;
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.db-action-modal .db-form-intro {
  margin-bottom: 18px;
}

.db-action-modal .db-form-intro h2,
.db-action-modal h2 {
  margin: 4px 48px 8px 0;
}

.db-action-modal .db-public-form,
.db-action-modal .db-claim-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.db-action-modal .db-public-form .db-form-wide,
.db-action-modal .db-claim-form .db-claim-wide,
.db-action-modal .db-public-form button,
.db-action-modal .db-claim-form button,
.db-action-modal .db-claim-form .db-btn {
  grid-column: 1 / -1;
}

.db-action-modal input,
.db-action-modal select,
.db-action-modal textarea {
  width: 100%;
  max-width: 100%;
}

html.db-action-modal-open,
body.db-action-modal-open {
  overflow: hidden;
}

@media (max-width: 680px) {
  .db-action-modal {
    align-items: flex-end;
    padding: 0;
  }

  .db-action-modal__panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    padding: 24px 18px;
  }

  .db-action-modal .db-public-form,
  .db-action-modal .db-claim-form {
    grid-template-columns: 1fr;
  }
}

/*Lead-first CTA modals: Add Business, Advertise, and WhatsApp intent.*/

.db-lead-modal[hidden] {
  display: none !important;
}

.db-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
}

.db-lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.66);
  backdrop-filter: blur(14px);
}

.db-lead-modal__panel {
  position: relative;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 32px 96px rgba(15, 23, 42, 0.24);
}

.db-lead-modal__panel h2 {
  margin: 4px 0 8px;
  color: #111827;
  letter-spacing: -0.035em;
}

.db-lead-modal__panel > p {
  margin: 0 0 20px;
  color: #64748b;
}

.db-lead-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.db-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.db-lead-form label {
  margin: 0;
}

.db-lead-form input,
.db-lead-form select,
.db-lead-form textarea {
  width: 100%;
  min-width: 0;
}

.db-searchable-select-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.db-searchable-select-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 6px 12px;
  border: 1px solid var(--db-line);
  border-radius: var(--db-radius);
  background: #fff;
  color: var(--db-deep);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 400;
  line-height: 1;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.db-searchable-select-trigger:hover {
  border-color: rgba(215, 25, 32, 0.25);
}

.db-searchable-select-trigger:focus {
  outline: 0;
  border-color: rgba(215, 25, 32, 0.42);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

.db-searchable-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  margin-top: 0.25rem;
  border: 1px solid var(--db-line);
  border-radius: var(--db-radius);
  background: #fff;
  box-shadow: var(--db-shadow-sm);
  padding: 5px;
}

.db-searchable-select-dropdown[hidden] {
  display: none;
}

.db-searchable-select-search {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid var(--db-line);
  border-radius: var(--db-radius) var(--db-radius) 0 0;
  background: #f8fafc;
  color: var(--db-deep);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
}

.db-searchable-select-search:focus {
  outline: none;
  background: #fff;
  border-bottom-color: rgba(215, 25, 32, 0.42);
}

.db-searchable-select-listbox {
  max-height: 240px;
  overflow-y: auto;
  padding: 0.25rem 0;
}

.db-searchable-select-item {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 6px 12px;
  border: none;
  background: transparent;
  color: var(--db-deep);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 400;
  line-height: 1;
  min-height: 30px;
}

.db-searchable-select-item:hover {
  background: #f1f5f9;
}

.db-searchable-select-item.is-selected {
  background: #f0fdf4;
  color: #166534;
  font-weight: 500;
}

.db-searchable-select-empty {
  padding: 1rem 0.75rem;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

.db-services-field {
  display: grid;
  gap: 0.55rem;
}

.db-services-field input {
  padding: 10px 12px;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
}

.db-services-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.db-service-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--db-line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--db-deep);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 400;
  line-height: 1;
  min-height: 30px;
}

.db-service-pill:hover {
  background: #e2e8f0;
  border-color: rgba(215, 25, 32, 0.2);
}

.db-service-pill::after {
  content: "✕";
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.db-service-pill:hover::after {
  opacity: 1;
}

.db-lead-form .db-form-wide,
.db-lead-form .db-lead-status,
.db-lead-form .db-btn {
  grid-column: 1 / -1;
}

.db-lead-status {
  min-height: 20px;
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.db-lead-modal-open body {
  overflow: hidden;
}

@media (max-width: 680px) {
  .db-lead-form {
    grid-template-columns: 1fr;
  }
}

.db-lead-hint {
  margin: -2px 0 2px;
  color: #64748b;
  font-size: 0.92rem;
}

.db-ad-credit-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(220, 38, 38, 0.16);
  background: #fff7f7;
}

.db-ad-credit-preview strong {
  color: #b91c1c;
}

.db-ad-credit-preview span {
  color: #64748b;
  text-align: right;
}

@media (max-width: 680px) {
  .db-ad-credit-preview {
    flex-direction: column;
  }

  .db-ad-credit-preview span {
    text-align: left;
  }
}

/*Soft launch city lock*/

.db-location-option.is-locked,
.db-home-city-card.is-locked {
  position: relative;
  opacity: 0.82;
  cursor: not-allowed;
  border-style: dashed;
  background: #fff7ed;
}

.db-location-option.is-locked span:first-child,
.db-home-city-card.is-locked strong {
  color: #7c2d12;
}

.db-location-option.is-locked.is-lock-hint {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  border-color: #fb923c;
}

.db-city-lock-text,
.db-home-city-card.is-locked small {
  color: #9a3412 !important;
  font-weight: 700;
}

.db-home-city-card.is-locked {
  width: 100%;
  appearance: none;
  font: inherit;
  text-align: left;
}

.db-soft-lock-tooltip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(100% + 8px);
  z-index: 8;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  padding: 10px 12px;
  border-radius: 14px;
  color: #fff;
  background: #111827;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  font-size: 12px;
  line-height: 1.35;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.db-soft-lock-tooltip::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 100%;
  border-width: 6px;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
}

.db-home-city-card.is-locked:hover .db-soft-lock-tooltip,
.db-home-city-card.is-locked:focus .db-soft-lock-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.db-soft-launch-hero .db-container {
  max-width: 880px;
}

select option[disabled][data-db-city-locked="1"] {
  color: #9a3412;
}

/*Soft launch city lock: lock-only UI with hover tooltip and click modal.*/

.db-location-option.is-locked {
  position: relative;
  cursor: help;
}

.db-location-option.is-locked::after {
  content: attr(data-city-message);
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(100% + 8px);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  padding: 9px 11px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
  font-size: 12px;
  line-height: 1.35;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.db-location-option.is-locked:hover::after,
.db-location-option.is-locked:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.db-city-lock-text {
  letter-spacing: 0;
  font-size: 16px;
  line-height: 1;
}

.db-city-lock-modal .db-action-modal__panel {
  max-width: 440px;
}

.db-city-lock-modal__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 22px;
  margin-bottom: 14px;
}

.db-action-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .db-action-modal__actions .db-btn {
    width: 100%;
  }
}

/*Static legal/help pages and soft-release bug reporting.*/

.db-static-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.db-static-page__content {
  display: grid;
  gap: 16px;
}

.db-static-page__section {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.06);
}

.db-static-page__section h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 1.18rem;
}

.db-static-page__section ul {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  line-height: 1.75;
}

.db-static-page__aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}

.db-bug-float {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  color: red;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.db-bug-float:hover,
.db-bug-float:focus-visible {
  background: #123f91;
  color: #fff;
  transform: translateY(-1px);
}

.db-bug-float__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

@media (max-width: 900px) {
  .db-static-page__layout {
    grid-template-columns: 1fr;
  }

  .db-static-page__aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .db-bug-float {
    left: 12px;
    bottom: 12px;
    padding: 7px 10px;
  }

  .db-static-page__section {
    padding: 18px;
    border-radius: 18px;
  }
}

/*Business detail final launch guard: prevents generic profile/card CSS from shrinking the listing detail page.*/

body.single-db_business
  .db-section-profile
  > .db-container.db-layout.db-business-detail-layout,
body.single-db_business .db-business-detail-layout,
.db-business-detail-page .db-business-detail-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(300px, 340px) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: clamp(18px, 2.4vw, 28px) !important;
  width: min(100% - 32px, 1120px) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.single-db_business .db-business-detail-main,
body.single-db_business .db-profile-card.db-business-detail-main,
.db-business-detail-page .db-business-detail-main,
.db-business-detail-page .db-profile-card.db-business-detail-main {
  grid-column: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-self: stretch !important;
  display: block !important;
  flex: none !important;
}

body.single-db_business .db-business-detail-sidebar,
.db-business-detail-page .db-business-detail-sidebar {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 340px !important;
  justify-self: stretch !important;
}

body.single-db_business
  .db-profile-card.db-business-detail-main
  .db-profile-body,
.db-business-detail-page
  .db-profile-card.db-business-detail-main
  .db-profile-body {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

body.single-db_business
  .db-profile-card.db-business-detail-main
  .db-detail-grid,
body.single-db_business
  .db-profile-card.db-business-detail-main
  .db-service-grid,
.db-business-detail-page
  .db-profile-card.db-business-detail-main
  .db-detail-grid,
.db-business-detail-page
  .db-profile-card.db-business-detail-main
  .db-service-grid {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 1080px) {
  body.single-db_business
    .db-section-profile
    > .db-container.db-layout.db-business-detail-layout,
  body.single-db_business .db-business-detail-layout,
  .db-business-detail-page .db-business-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 310px) !important;
  }
}

@media (max-width: 900px) {
  body.single-db_business
    .db-section-profile
    > .db-container.db-layout.db-business-detail-layout,
  body.single-db_business .db-business-detail-layout,
  .db-business-detail-page .db-business-detail-layout {
    grid-template-columns: 1fr !important;
  }

  body.single-db_business .db-business-detail-main,
  body.single-db_business .db-business-detail-sidebar,
  .db-business-detail-page .db-business-detail-main,
  .db-business-detail-page .db-business-detail-sidebar {
    grid-column: 1 !important;
    max-width: none !important;
  }
}

@media (max-width: 640px) {
  body.single-db_business
    .db-section-profile
    > .db-container.db-layout.db-business-detail-layout,
  body.single-db_business .db-business-detail-layout,
  .db-business-detail-page .db-business-detail-layout {
    width: min(100% - 18px, 1120px) !important;
  }
}

/*Quick lead modal polish: compact header, lightweight labels and standard hover info dots.*/

.db-lead-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.db-lead-modal__header h2,
.db-lead-modal__panel h2 {
  margin: 0;
  color: #0f172a;
}

.db-lead-modal__header .db-lead-modal__close,
.db-lead-modal__close {
  position: static;
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #f8fafc;
  color: #0f172a;
  font-weight: 400;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.db-lead-modal__close:hover,
.db-lead-modal__close:focus-visible {
  background: #fff1f2;
  border-color: rgba(220, 38, 38, 0.22);
  color: #dc2626;
}

.db-lead-form label {
  display: block;
  color: #475569;
  font-weight: 400;
}

.db-lead-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #475569;
  font-weight: 400;
  line-height: 1.25;
}

.db-lead-field-label > span:first-child {
  font-weight: 400;
}

.db-lead-form input,
.db-lead-form select,
.db-lead-form textarea {
  color: #0f172a;
  font: inherit;
  font-weight: 400;
}

.db-info-dot {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  cursor: help;
  appearance: none;
  -webkit-appearance: none;
}

.db-info-dot:hover,
.db-info-dot:focus-visible {
  border-color: rgba(220, 38, 38, 0.35);
  background: #fff1f2;
  color: #dc2626;
  outline: none;
}

.db-info-dot .db-info-tooltip {
  display: none !important;
}

.db-info-dot::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 220px;
  transform: translate(-50%, 4px);
  opacity: 0;
  pointer-events: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.db-info-dot::before {
  content: "";
  position: absolute;
  z-index: 21;
  left: 50%;
  bottom: calc(100% + 5px);
  width: 8px;
  height: 8px;
  background: #0f172a;
  transform: translate(-50%, 4px) rotate(45deg);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.db-info-dot:hover::after,
.db-info-dot:focus-visible::after,
.db-info-dot:hover::before,
.db-info-dot:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0) rotate(0deg);
}

.db-info-dot:hover::before,
.db-info-dot:focus-visible::before {
  transform: translate(-50%, 0) rotate(45deg);
}

@media (max-width: 680px) {
  .db-lead-modal__header {
    margin-bottom: 16px;
  }

  .db-info-dot::after {
    left: auto;
    right: -8px;
    transform: translate(0, 4px);
    max-width: min(220px, 70vw);
  }

  .db-info-dot:hover::after,
  .db-info-dot:focus-visible::after {
    transform: translate(0, 0);
  }
}

/*Quick lead modal final compact fix: lock background scroll and keep all lead forms short.*/

html.db-lead-modal-open,
html.db-lead-modal-open body,
body.db-lead-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

body.db-lead-modal-open .db-lead-modal,
html.db-lead-modal-open .db-lead-modal {
  overscroll-behavior: contain;
  touch-action: auto;
}

.db-lead-modal {
  align-items: center;
  padding: clamp(14px, 2vh, 22px);
}

.admin-bar .db-lead-modal {
  padding-top: clamp(44px, 7vh, 58px);
}

.db-lead-modal__panel {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 22px 24px 18px;
  border-radius: 22px;
  overscroll-behavior: contain;
  /*scrollbar-gutter: stable;*/
}

.admin-bar .db-lead-modal__panel {
  max-height: calc(100dvh - 72px);
}

.db-lead-modal__header {
  margin-bottom: 14px;
}

.db-lead-modal__header h2,
.db-lead-modal__panel h2 {
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.db-lead-modal__header .db-lead-modal__close,
.db-lead-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  font-size: 22px;
}

.db-lead-form {
  gap: 10px 14px;
}

.db-lead-field-label {
  margin-bottom: 5px;
  font-size: 13px;
}

.db-lead-form input,
.db-lead-form select,
.db-lead-form textarea {
  min-height: 40px;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.35;
}

.db-lead-form textarea {
  min-height: 42px;
  max-height: 72px;
  resize: vertical;
}

.db-lead-form textarea[rows="1"] {
  min-height: 42px;
  height: 42px;
  max-height: 64px;
}

.db-ad-credit-preview {
  min-height: 0;
  gap: 10px;
}

.db-ad-credit-preview strong {
  line-height: 1.25;
}

.db-ad-credit-preview span {
  line-height: 1.35;
}

.db-ad-credit-preview span b {
  font-weight: 600;
}

.db-lead-form .db-btn {
  min-height: 44px;
  margin-top: 0;
  font-size: 14px;
}

@media (max-height: 780px) and (min-width: 681px) {
  .db-lead-modal__panel {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 36px);
    padding: 20px 24px 26px 24px;
  }

  .admin-bar .db-lead-modal__panel {
    max-height: calc(100dvh - 64px);
  }

  .db-lead-modal__header {
    margin-bottom: 12px;
  }

  .db-lead-modal__header h2,
  .db-lead-modal__panel h2 {
    font-size: 24px;
  }

  .db-lead-form {
    gap: 8px 14px;
  }

  .db-lead-form input,
  .db-lead-form select,
  .db-lead-form textarea,
  .db-lead-form textarea[rows="1"] {
    min-height: 38px;
  }

  .db-lead-form textarea,
  .db-lead-form textarea[rows="1"] {
    height: 40px;
  }

  .db-ad-credit-preview {
    padding: 9px 12px;
  }
}

@media (max-width: 680px) {
  html.db-lead-modal-open,
  html.db-lead-modal-open body,
  body.db-lead-modal-open {
    touch-action: auto;
  }

  .db-lead-modal {
    align-items: end;
    padding: 0;
  }

  .admin-bar .db-lead-modal {
    padding-top: 0;
  }

  .db-lead-modal__panel {
    width: 100%;
    max-height: 88dvh;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }

  .db-lead-modal__header h2,
  .db-lead-modal__panel h2 {
    font-size: 24px;
  }

  .db-ad-credit-preview {
    align-items: flex-start;
  }
}

body.db-lead-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/*Final modal/card polish: compact contact reveal, circular close buttons, safe placeholders.*/

html.db-contact-modal-open,
html.db-contact-modal-open body,
body.db-contact-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.db-contact-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.db-contact-modal,
.db-lead-modal,
.db-action-modal,
.db-location-modal {
  place-items: center;
}

.db-contact-modal__panel {
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 20px 22px 22px;
  border-radius: 22px;
  overflow: auto;
  scrollbar-gutter: stable;
}

.admin-bar .db-contact-modal__panel {
  max-height: calc(100dvh - 72px);
}

.db-contact-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.db-contact-modal h2,
.db-contact-modal__header h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(21px, 2.1vw, 25px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.db-contact-modal__eyebrow,
.db-contact-modal__note {
  display: none !important;
}

.db-contact-modal__body {
  gap: 10px;
  margin-top: 0;
}

.db-contact-row {
  padding: 13px 14px;
  border-radius: 15px;
}

.db-contact-row span {
  font-size: 10.5px;
}

.db-contact-row strong {
  font-size: 15px;
}

.db-contact-row .db-btn {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
}

.db-location-modal__close,
.db-contact-modal__close,
.db-action-modal__close,
.db-lead-modal__close,
.db-lead-modal__header .db-lead-modal__close {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0.8;
}

.db-lead-modal__header h2,
.db-lead-modal__panel h2 {
  font-size: clamp(18px, 2vw, 25px);
}

.db-lead-modal__panel {
  margin: auto;
}

.db-lead-form textarea,
.db-lead-form textarea[rows="1"] {
  min-height: 40px;
  height: 40px;
  max-height: 64px;
}

.db-ad-credit-preview {
  padding: 8px 11px;
  border-radius: 13px;
}

.db-ad-credit-preview strong {
  font-size: 13px;
  font-weight: 700;
}

.db-ad-credit-preview span {
  font-size: 12px;
}

.db-deal-card__media {
  background: #f1f5f9 !important;
}

.db-deal-card__media > .db-empty-image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%) !important;
  color: transparent !important;
}

.db-deal-card__media > .db-empty-image::before,
.db-deal-card__media > .db-empty-image::after {
  content: none !important;
}

.db-deal-card__media span.db-deal-badge {
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
}

@media (max-width: 680px) {
  .db-contact-modal {
    align-items: end;
    padding: 0;
  }

  .db-contact-modal__panel {
    width: 100%;
    max-height: 86dvh;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }

  .db-contact-row {
    grid-template-columns: 1fr;
  }

  .db-contact-row .db-btn {
    width: 100%;
  }
}

/*Lead form feedback + toast*/

.db-lead-form-status {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.db-lead-form-status[hidden] {
  display: none !important;
}

.db-lead-form-status--success {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.db-lead-form-status--error {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
}

.db-lead-form-status--info {
  background: #f8fafc;
  color: #475569;
  border-color: #e2e8f0;
}

.db-lead-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100000;
  max-width: min(460px, calc(100vw - 28px));
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.db-lead-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.db-lead-toast--success {
  background: #047857;
}

.db-lead-toast--error {
  background: #be123c;
}

.db-lead-toast--info {
  background: #334155;
}

/*Global missing image placeholder*/

.db-media-placeholder,
.db-business-placeholder,
.db-profile-placeholder,
.db-media-placeholder,
.db-card-image .db-empty-image,
.db-deal-card__media .db-empty-image,
.db-empty-image,
.db-blog-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #f5f2ee url("../images/missing-image-placeholder.png") center
    center / cover no-repeat !important;
}

.db-media-placeholder img,
.db-fallback-image {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.db-media-placeholder-badge {
  display: none !important;
}

/*Business detail layout guard: keep the main profile column wide when no featured image is shown.*/

body.single-db_business
  .db-business-detail-page
  > .db-container.db-layout.db-business-detail-layout,
body.single-db_business
  .db-section-profile
  > .db-container.db-layout.db-business-detail-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 720px) minmax(280px, 320px) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
  width: min(100% - 32px, 1088px) !important;
  max-width: 1088px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

body.single-db_business .db-profile-card.db-business-detail-main,
body.single-db_business
  .db-business-detail-page
  .db-profile-card.db-business-detail-main {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 720px !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  display: block !important;
  flex: none !important;
  box-sizing: border-box !important;
}

body.single-db_business
  .db-profile-card.db-business-detail-main
  .db-profile-body,
body.single-db_business
  .db-business-detail-page
  .db-profile-card.db-business-detail-main
  .db-profile-body {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.single-db_business .db-business-detail-sidebar,
body.single-db_business .db-business-detail-page .db-business-detail-sidebar {
  grid-column: 2 !important;
  width: 100% !important;
  max-width: 320px !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}

@media (max-width: 980px) {
  body.single-db_business
    .db-business-detail-page
    > .db-container.db-layout.db-business-detail-layout,
  body.single-db_business
    .db-section-profile
    > .db-container.db-layout.db-business-detail-layout {
    grid-template-columns: 1fr !important;
    width: min(100% - 24px, 720px) !important;
    max-width: 720px !important;
  }

  body.single-db_business .db-profile-card.db-business-detail-main,
  body.single-db_business .db-business-detail-sidebar,
  body.single-db_business
    .db-business-detail-page
    .db-profile-card.db-business-detail-main,
  body.single-db_business .db-business-detail-page .db-business-detail-sidebar {
    grid-column: 1 !important;
    max-width: none !important;
  }
}

/*Shared UI polish v1.2.18: header, cards, FAQ, footer.*/

.db-site-header {
  background: #fff;
  border-bottom: 1px solid rgba(228, 233, 241, 0.92);
  box-shadow: 0 12px 34px rgba(16, 31, 52, 0.07);
}

.db-site-header__inner {
  min-height: 60px;
  gap: 18px;
}

.db-logo img {
  height: 50px;
  max-width: 200px;
}

.db-site-header__nav .nav-link,
.db-main-nav a {
  min-height: 40px;
  padding-inline: 14px;
  border: 1px solid transparent;
  color: #263245;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.db-site-header__nav .nav-link:hover,
.db-site-header__nav .nav-link:focus-visible,
.db-main-nav a:hover,
.db-main-nav a:focus-visible {
  background: transparent;
  /*border-color: rgba(215, 25, 32, 0.12);*/
  color: var(--db-accent);
  /*box-shadow: 0 8px 20px rgba(215, 25, 32, 0.08);*/
}

.db-site-header__actions {
  gap: 10px;
}

.db-site-header__auth .db-header-auth-link {
  min-height: 40px;
  border-color: rgba(20, 38, 59, 0.08);
  background: #fff;
  padding: 8px 18px;
}

.db-header-listing-btn {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 12px;
  letter-spacing: 0.2px;
  border-radius: 50px;
  padding: 8px 18px;
}

.db-search-card {
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 20px;
  box-shadow: 0 26px 60px rgba(16, 31, 52, 0.11);
}

.db-search-field {
  border-radius: 18px;
}

.db-search-keyword {
  min-height: 60px;
  box-shadow: inset 0 0 0 1px #e7ecf3;
}

.db-search-submit {
  min-width: 132px;
  height: 44px;
  min-height: 44px;
}

.db-business-card {
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(16, 31, 52, 0.08);
}

.db-business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 54px rgba(16, 31, 52, 0.13);
}

.db-business-media {
  aspect-ratio: 1.68 / 1;
}

.db-business-body {
  padding: 18px 18px 19px;
  gap: 9px;
}

.db-business-body h3 {
  font-size: 18px;
  line-height: 1.28;
}

.db-meta {
  font-size: 12px;
  line-height: 1.45;
  color: var(--db-accent);
}

.db-card-excerpt {
  color: #5a687b;
}

.db-card-actions {
  gap: 9px;
}

.db-category-card,
.db-area-card {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(16, 31, 52, 0.07);
}

.db-category-card:hover,
.db-area-card:hover {
  box-shadow: 0 20px 48px rgba(16, 31, 52, 0.12);
}

.db-category-card strong,
.db-area-card strong {
  letter-spacing: -0.01em;
}

.db-category-card small,
.db-area-card small {
  color: #78869a;
}

.db-faq-item {
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(16, 31, 52, 0.05);
}

.db-faq-item summary {
  padding: 19px 22px;
  font-size: 15px;
  line-height: 1.45;
}

.db-faq-item p {
  padding: 0 22px 22px;
  color: #58677a;
}

.db-site-footer-cta,
.db-bottom-cta {
  background: linear-gradient(135deg, #10273b, #0b1728);
}

.db-bottom-cta-inner {
  gap: 28px;
}

.db-bottom-cta-copy > .db-icon {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.db-site-footer,
.db-footer {
  background: linear-gradient(180deg, #14263b 0%, #0f1d2d 100%);
}

.db-footer-grid {
  gap: 24px;
}

.db-site-footer__brand .db-footer-logo-panel {
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.db-footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.db-footer-whatsapp:hover {
  background: rgba(255, 255, 255, 0.14);
}

.db-footer-bottom {
  background: #0a1522;
}

@media (max-width: 920px) {
  .db-site-header__inner {
    min-height: 68px;
  }

  .db-main-nav {
    top: calc(var(--db-header-h) + 10px);
    border-radius: 20px;
    padding: 12px;
  }

  .db-site-header__actions {
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .db-site-header__inner {
    gap: 10px;
  }

  .db-logo img {
    height: 54px;
    max-width: 220px;
  }

  .db-site-footer__brand,
  .db-site-footer__panel {
    padding: 18px;
  }
}

/* ============================================================
   v1.2.51 mobile header + quick listing modal hotfix
   Goal: mobile must feel like a directory app, not a broken overlay.
   - Keep header to one compact row.
   - Add visible Login/Signup/Dashboard items inside mobile menu.
   - Keep quick Add Business modal inside the viewport with safe scrolling.
   ============================================================ */
.db-mobile-account-link {
  display: none;
}

@media (max-width: 920px) {
  .db-main-nav .db-mobile-account-link {
    display: block;
  }

  .db-main-nav .db-mobile-account-link .nav-link {
    font-weight: 700;
  }
}

@media (max-width: 680px) {
  .db-site-header,
  .db-site-header.db-site-header {
    min-height: 0 !important;
  }

  .db-site-header__inner,
  .db-header-inner {
    min-height: 64px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .db-logo {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: min(42vw, 166px) !important;
  }

  .db-logo img,
  .db-logo-image {
    height: 38px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
  }

  .db-city-switcher,
  .db-header-city,
  .db-city-switcher__button {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  .db-city-switcher__button {
    max-width: 142px !important;
    min-height: 42px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
  }

  .db-header-actions,
  .db-site-header__actions {
    display: none !important;
  }

  .db-menu-toggle {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }

  .db-main-nav {
    top: calc(100% + 8px) !important;
    left: 10px !important;
    right: 10px !important;
    max-height: min(70vh, 430px) !important;
    overflow-y: auto !important;
    padding: 12px !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.18) !important;
    z-index: 1000 !important;
  }

  .db-main-nav ul {
    gap: 4px !important;
  }

  .db-main-nav a,
  .db-site-header__nav .nav-link {
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 380px) {
  .db-logo img,
  .db-logo-image {
    height: 34px !important;
    max-width: 138px !important;
  }

  .db-city-switcher__button {
    max-width: 128px !important;
    padding-inline: 10px !important;
  }
}

/* Quick lead modal: safe mobile sheet with real scroll area. */
html.db-lead-modal-open,
html.db-lead-modal-open body,
body.db-lead-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.db-lead-modal-open {
  position: static !important;
  width: auto !important;
}

.db-lead-modal,
body.db-lead-modal-open .db-lead-modal,
html.db-lead-modal-open .db-lead-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 16px !important;
  overflow: hidden !important;
  touch-action: auto !important;
}

.db-lead-modal__panel {
  box-sizing: border-box !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
}

@media (max-width: 680px) {
  .db-lead-modal,
  body.db-lead-modal-open .db-lead-modal,
  html.db-lead-modal-open .db-lead-modal {
    place-items: center !important;
    align-items: center !important;
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)) !important;
  }

  .db-lead-modal__backdrop {
    background: rgba(10, 18, 32, 0.58) !important;
    backdrop-filter: blur(8px) !important;
  }

  .db-lead-modal__panel {
    width: min(100%, 520px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100svh - 22px) !important;
    max-height: calc(100dvh - 22px) !important;
    margin: auto !important;
    padding: 16px 15px 14px !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.28) !important;
  }

  .db-lead-modal__header {
    position: sticky !important;
    top: -16px !important;
    z-index: 3 !important;
    margin: -16px -15px 12px !important;
    padding: 14px 15px 12px !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.86) !important;
  }

  .db-lead-modal__header h2,
  .db-lead-modal__panel h2 {
    font-size: 21px !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
  }

  .db-lead-modal__header .db-lead-modal__close,
  .db-lead-modal__close {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 999px !important;
    font-size: 24px !important;
  }

  .db-lead-form,
  .db-public-form.db-lead-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .db-lead-form label,
  .db-lead-form .db-form-wide,
  .db-lead-form .db-lead-form-status,
  .db-lead-form .db-btn {
    grid-column: 1 / -1 !important;
  }

  .db-lead-field-label {
    margin-bottom: 5px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .db-lead-form input,
  .db-lead-form select,
  .db-lead-form textarea {
    min-height: 44px !important;
    height: auto !important;
    padding: 9px 12px !important;
    border-radius: 13px !important;
    font-size: 15px !important;
  }

  .db-lead-form textarea,
  .db-lead-form textarea[rows="1"] {
    min-height: 44px !important;
    max-height: 82px !important;
  }

  .db-services-field {
    border-radius: 13px !important;
    padding: 8px !important;
  }

  .db-lead-form .db-btn {
    position: sticky !important;
    bottom: -14px !important;
    z-index: 2 !important;
    min-height: 48px !important;
    margin: 4px -2px 0 !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 680px) and (max-height: 720px) {
  .db-lead-modal__panel {
    max-height: calc(100svh - 14px) !important;
    max-height: calc(100dvh - 14px) !important;
    padding: 14px 14px 12px !important;
  }

  .db-lead-modal__header {
    top: -14px !important;
    margin: -14px -14px 10px !important;
    padding: 12px 14px 10px !important;
  }

  .db-lead-form {
    gap: 8px !important;
  }

  .db-lead-field-label {
    font-size: 12.5px !important;
  }

  .db-lead-form input,
  .db-lead-form select,
  .db-lead-form textarea {
    min-height: 40px !important;
    padding-block: 7px !important;
  }
}

/* ============================================================
   v1.2.53 mobile header lock
   Goal: clean mobile header. The selected location remains in the
   homepage/search UI, not in the small mobile header row.
   ============================================================ */
@media (max-width: 680px) {
  .db-site-header .db-city-switcher,
  .db-site-header .db-header-city,
  .db-site-header .db-city-switcher__button,
  .db-site-header [data-db-city-selector] {
    display: none !important;
  }

  .db-site-header__inner,
  .db-header-inner {
    grid-template-columns: minmax(0, auto) 44px !important;
    justify-content: space-between !important;
  }

  .db-logo {
    max-width: min(50vw, 150px) !important;
  }

  .db-logo img,
  .db-logo-image {
    height: 34px !important;
    max-width: 148px !important;
  }

  .db-menu-toggle {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
    border-radius: 12px !important;
  }
}

/* v1.2.59 repeatable form controls for standalone builder styles. */
.db-form-repeater{display:grid;gap:10px}.db-repeater-empty{display:grid;place-items:center;min-height:92px;padding:16px;border:1px dashed rgba(15,23,42,.16);border-radius:12px;background:#fbfcff}.db-repeater-empty[hidden],.db-repeater-footer[hidden]{display:none!important}.db-repeater-footer{display:flex;justify-content:flex-end;padding-top:4px}@media(max-width:680px){.db-repeater-empty{min-height:76px;padding:12px}.db-repeater-footer .db-btn,.db-repeater-empty .db-btn{width:100%;justify-content:center}}

/* v1.2.85 sponsored ads slider. Keep this in common.css because it is loaded site-wide. */
.db-smart-ad-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.db-image-ad {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.db-image-ad__label {
  display: block;
  margin: 0 0 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.db-image-ad__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.db-home-ad .db-image-ad__img,
.db-smart-ad-list--homepage-top .db-image-ad__img,
.db-smart-ad-list--homepage-featured-strip .db-image-ad__img,
.db-smart-ad-list--wide-banner .db-image-ad__img {
  max-height: clamp(150px, 18vw, 230px);
  aspect-ratio: auto;
  object-fit: contain;
}

.db-sidebar .db-image-ad__img,
.db-smart-ad-list--business-sidebar .db-image-ad__img,
.db-smart-ad-list--area-sponsor .db-image-ad__img,
.db-smart-ad-list--category-top .db-image-ad__img {
  aspect-ratio: 1 / 1;
}

.db-ad-slider.is-slider {
  display: block !important;
  overflow: hidden !important;
}

.db-ad-slider__track,
.db-ad-slider.is-slider .db-ad-slider__track {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  width: 100%;
}

.db-ad-slider.is-slider .db-ad-slide {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate3d(8px, 0, 0);
  transition: opacity 0.65s ease, transform 0.65s ease, visibility 0.65s ease;
}

.db-ad-slider.is-slider .db-ad-slide.is-active {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0);
}

.db-ad-slider.is-static .db-ad-slide {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.db-ad-slider__button {
  display: none !important;
}

.db-ad-slider__controls {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  min-height: 20px;
  margin-top: 10px;
}

.db-ad-slider__dots {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.db-ad-slider__dot {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px;
  min-height: 8px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #cbd5e1 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.db-ad-slider__dot.is-active {
  width: 22px !important;
  background: #d71920 !important;
}

.db-ad-slider__dot:focus-visible {
  outline: 2px solid rgba(215, 25, 32, 0.28);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .db-home-ad .db-image-ad__img,
  .db-smart-ad-list--homepage-top .db-image-ad__img,
  .db-smart-ad-list--homepage-featured-strip .db-image-ad__img,
  .db-smart-ad-list--wide-banner .db-image-ad__img,
  .db-inline-ad-slot .db-image-ad__img {
    max-height: clamp(120px, 34vw, 180px);
    aspect-ratio: auto;
    object-fit: contain;
  }
}
