/**
 * Fixly Qatar landing light/dark theme
 * Complements landing-page-dark.min.css + Bootstrap data-bs-theme
 */

:root {
  --fx-maroon: #8C0F32;
  --fx-maroon-dark: #6E0C28;
  --fx-gold: #CBA346;
  --fx-navy: #2A0E18;
  --bs-primary: #8C0F32;
  --bs-primary-rgb: 140, 15, 50;
  --bs-link-color: #8C0F32;
  --bs-link-hover-color: #6E0C28;
  --bs-primary-bg-subtle: #F8EEF1;
  --bs-primary-border-subtle: #E7C8D1;
  --bs-primary-text-emphasis: #8C0F32;
  --bs-primary-hover-bg: #6E0C28;
  --bs-primary-hover-border: #6E0C28;
  --bs-primary-active-bg: #6E0C28;
  --bs-primary-active-border: #6E0C28;
}

.btn-primary,
.bg-primary {
  --bs-btn-bg: #8C0F32;
  --bs-btn-border-color: #8C0F32;
  --bs-btn-hover-bg: #6E0C28;
  --bs-btn-hover-border-color: #6E0C28;
  --bs-btn-active-bg: #6E0C28;
  --bs-btn-active-border-color: #6E0C28;
}

.btn-primary {
  background-color: #8C0F32 !important;
  border-color: #8C0F32 !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #6E0C28 !important;
  border-color: #6E0C28 !important;
}

.text-primary,
a.text-primary {
  color: #8C0F32 !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #8C0F32 !important;
}

/* Public header menu — maroon only, never leftover blue */
header .iq-nav-menu.navbar-nav > .nav-item > .nav-link,
#header-menu.navbar-nav > .nav-item > .nav-link {
  color: #6B5E63 !important;
  background: transparent !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  padding: 0.45rem 0.95rem !important;
}

header .iq-nav-menu.navbar-nav > .nav-item > .nav-link:hover,
#header-menu.navbar-nav > .nav-item > .nav-link:hover {
  color: #8C0F32 !important;
  background: transparent !important;
}

header .iq-nav-menu.navbar-nav > .nav-item > .nav-link.active,
#header-menu.navbar-nav > .nav-item > .nav-link.active {
  color: #8C0F32 !important;
  background: rgba(140, 15, 50, 0.1) !important;
  font-weight: 700 !important;
}

.logo-normal img {
  background: transparent !important;
  height: 72px !important;
  max-height: 72px !important;
  width: auto !important;
  max-width: 280px;
  object-fit: contain;
}

header .navbar-brand,
.fx-header-logo,
.landing-header .navbar-brand {
  display: flex;
  align-items: center;
  padding: 0.15rem 0;
}

header .navbar-brand img,
header .logo-normal img,
.fx-header-logo img,
.navbar-brand img {
  height: 72px !important;
  max-height: 72px !important;
  width: auto !important;
  max-width: min(280px, 52vw);
  object-fit: contain;
}

.landing-header {
  min-height: 84px;
}

@media (max-width: 575.98px) {
  header .navbar-brand img,
  header .logo-normal img,
  .fx-header-logo img,
  .navbar-brand img {
    height: 56px !important;
    max-height: 56px !important;
  }
}

/* ---------- Category cards ---------- */
.category-card .img-bg {
  background-color: transparent !important;
  padding: 1rem 1.25rem !important;
}

.category-card .img-bg img {
  background: transparent !important;
  mix-blend-mode: normal;
}

.category-card .categories-name {
  color: var(--bs-heading-color, var(--bs-body-color));
}

.category-card .categories-desc {
  color: var(--bs-secondary-color, var(--bs-body-color)) !important;
  opacity: 0.85;
}

.card.bg-light.circle-clip-effect {
  background-color: var(--bs-light) !important;
  border-color: var(--bs-border-color) !important;
}

/* ---------- Search ---------- */
.search-form .form-control {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
  border: 1px solid var(--bs-border-color) !important;
}

.search-form .form-control::placeholder {
  color: var(--bs-secondary-color, #6c757d) !important;
  opacity: 0.8;
}

.search-form .search-icon {
  color: var(--bs-body-color) !important;
  background: transparent !important;
  border: 0 !important;
}

/* ---------- Header / navbar ---------- */
.iq-navbar.navbar,
header .navbar {
  background-color: var(--bs-body-bg) !important;
}

.iq-navbar .nav-link,
.iq-navbar .navbar-nav .nav-link {
  background: transparent !important;
  color: var(--bs-body-color) !important;
}

.iq-navbar .right-panel .nav-link:hover {
  color: #8C0F32 !important;
}

.logo-normal img {
  background: transparent !important;
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
}

/* ---------- Cookie notice ---------- */
#cookiePopup,
.cookiePopup {
  background-color: var(--bs-body-bg) !important;
  color: var(--bs-body-color) !important;
  border-top: 1px solid var(--bs-border-color);
  z-index: 1070;
  box-shadow: 0 -8px 24px rgba(18, 32, 26, 0.08);
}

#cookiePopup h5,
.cookiePopup h5,
#cookiePopup p,
.cookiePopup p {
  color: var(--bs-body-color) !important;
  background: transparent !important;
}

/* Kill accidental selection-like text backgrounds */
.main-content *:not(mark):not(.badge):not(.btn):not(.nav-link.active) {
  -webkit-tap-highlight-color: transparent;
}

.navbar-nav .nav-link,
.category-card .categories-name,
.category-card .categories-desc,
.cookiePopup h5,
.cookiePopup p {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ---------- Dark mode (class + attribute) ---------- */
[data-bs-theme="dark"] body,
body.dark,
[data-bs-theme="dark"] .body-bg,
body.dark.body-bg {
  background-color: #0f1219 !important;
  color: #cfd3dc !important;
}

[data-bs-theme="dark"] .card.bg-light.circle-clip-effect,
body.dark .card.bg-light.circle-clip-effect,
[data-bs-theme="dark"] .bg-light,
body.dark .bg-light {
  background-color: #1c1f34 !important;
  color: #e8eaed !important;
}

[data-bs-theme="dark"] .category-card .img-bg,
body.dark .category-card .img-bg {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

[data-bs-theme="dark"] .category-card .categories-name,
body.dark .category-card .categories-name {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .category-card .categories-desc,
body.dark .category-card .categories-desc {
  color: #a8b0bd !important;
  opacity: 1;
}

[data-bs-theme="dark"] .search-form .form-control,
body.dark .search-form .form-control {
  background-color: #171928 !important;
  color: #e8eaed !important;
  border-color: #2a2f3d !important;
}

[data-bs-theme="dark"] .search-form .form-control::placeholder,
body.dark .search-form .form-control::placeholder {
  color: #8b93a7 !important;
}

[data-bs-theme="dark"] .iq-navbar.navbar,
[data-bs-theme="dark"] header .navbar,
body.dark .iq-navbar.navbar,
body.dark header .navbar {
  background-color: #0f1219 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] #cookiePopup,
[data-bs-theme="dark"] .cookiePopup,
body.dark #cookiePopup,
body.dark .cookiePopup {
  background-color: #171928 !important;
  color: #e8eaed !important;
}

/* ---------- Light mode ---------- */
[data-bs-theme="light"] .card.bg-light.circle-clip-effect {
  background-color: #f8f9fa !important;
}

[data-bs-theme="light"] .category-card .img-bg {
  background-color: #ffffff !important;
}

[data-bs-theme="light"] .category-card .categories-name {
  color: #1c1f34 !important;
}

[data-bs-theme="light"] .category-card .categories-desc {
  color: #6c757d !important;
}

[data-bs-theme="light"] .search-form .form-control {
  background-color: #ffffff !important;
  color: #1c1f34 !important;
  border-color: #dee2e6 !important;
}

[data-bs-theme="light"] .search-form .form-control::placeholder {
  color: #6c757d !important;
}

[data-bs-theme="light"] .iq-navbar.navbar,
[data-bs-theme="light"] header .navbar {
  background-color: #ffffff !important;
}

/* ---------- Premium landing ---------- */
:root {
  --nt-green: #8C0F32;
  --nt-ink: #2A0E18;
  --nt-muted: #6B5E63;
  --nt-surface: #FBF6F7;
  --nt-radius: 18px;
  --nt-shadow: 0 12px 32px rgba(26, 21, 32, 0.08);
}

body.body-bg,
.body-bg {
  background: var(--nt-surface) !important;
}

.iq-navbar.navbar {
  box-shadow: 0 1px 0 rgba(26, 21, 32, 0.06);
}

.iq-navbar .right-panel .nav-link {
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

header {
  position: relative;
  z-index: 1030;
}

header .right-panel,
header .navbar-inner,
header .iq-navbar,
header .navbar {
  overflow: visible !important;
}

header .user-dropdown .dropdown-menu {
  z-index: 1080;
  min-width: 240px;
  margin-top: 0.35rem;
  background-color: var(--bs-body-bg, #fff);
  box-shadow: 0 12px 32px rgba(42, 14, 24, 0.12);
}

header .user-dropdown .dropdown-toggle::after {
  display: none;
}

.btn-primary,
.iq-button.btn-primary {
  background: linear-gradient(135deg, #8C0F32, #6E0C28) !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 18px rgba(140, 15, 50, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.search-form .form-control {
  border-radius: 14px !important;
  min-height: 52px;
  padding-left: 1.1rem !important;
  box-shadow: var(--nt-shadow) !important;
}

.search-form .search-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px !important;
}

.category-list-card,
.card.category-list-card {
  border: 1px solid #E3EEE7 !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(18, 32, 26, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.category-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 32, 26, 0.1) !important;
}

.category-card .img-bg {
  width: 76px;
  height: 76px;
  border-radius: 18px !important;
  background: #F8EEF1 !important;
}

.category-card .categories-name {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

.card,
.service-card,
.featured-card {
  border-radius: 18px !important;
}

.hero-section,
.banner-section,
.iq-banner,
section.banner {
  overflow: hidden;
}

.hero-section h1,
.banner-section h1,
.iq-banner h1 {
  letter-spacing: -0.03em;
  font-weight: 800 !important;
}

.booking-detail-service-box {
  background: #ffffff !important;
  border: 1px solid #E3EEE7 !important;
  box-shadow: 0 12px 32px rgba(18, 32, 26, 0.06);
}

.book-service-img {
  border-radius: 16px !important;
  min-height: 180px;
  object-fit: cover;
}

footer {
  background: #1A1520 !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Last-wins header nav colors (beat leftover blue tokens in landing-page.min.css) */
header .iq-nav-menu.navbar-nav > .nav-item > a.nav-link,
#header-menu > .nav-item > a.nav-link {
  color: #6B5E63 !important;
  background-color: transparent !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  padding: 0.45rem 0.95rem !important;
}

header .iq-nav-menu.navbar-nav > .nav-item > a.nav-link:hover,
#header-menu > .nav-item > a.nav-link:hover {
  color: #8C0F32 !important;
  background-color: transparent !important;
}

header .iq-nav-menu.navbar-nav > .nav-item > a.nav-link.active,
#header-menu > .nav-item > a.nav-link.active,
header .iq-nav-menu.navbar-nav > .nav-item > a.nav-link.active:hover,
#header-menu > .nav-item > a.nav-link.active:hover {
  color: #8C0F32 !important;
  background-color: #F8EEF1 !important;
  font-weight: 700 !important;
}

/* ---------- Category catalog (/category-list) ---------- */
.category-catalog-hero {
  background:
    radial-gradient(1200px 280px at 12% -20%, rgba(140, 15, 50, 0.08), transparent 60%),
    radial-gradient(800px 240px at 92% 0%, rgba(203, 163, 70, 0.14), transparent 55%),
    #FBF6F7;
  border-bottom: 1px solid #EDE0E4;
  padding: 2.25rem 0 2rem;
}

.category-catalog-aside {
  background: #fff;
  border: 1px solid #EDE0E4;
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 24px rgba(42, 14, 24, 0.05);
}

.category-catalog-aside-title {
  color: #2A0E18;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.category-catalog-aside-text {
  color: #6B5E63;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.category-catalog-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(140, 15, 50, 0.1);
  color: #8C0F32;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-catalog-title {
  color: #2A0E18;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.category-catalog-subtitle {
  color: #6B5E63;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.category-catalog-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-catalog-steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #2A0E18;
  font-weight: 600;
  font-size: 0.92rem;
}

.category-catalog-step-num {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8C0F32;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.category-catalog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: nowrap;
  margin-top: 1.35rem;
}

.category-catalog-actions .category-catalog-steps {
  flex: 1 1 auto;
  min-width: 0;
}

.category-catalog-actions .category-catalog-search {
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
  margin: 0;
}

.category-catalog-page .float-end,
.category-catalog-toolbar {
  display: flex;
  justify-content: flex-end;
  float: none !important;
  width: 100%;
}

.category-catalog-page .search-form,
.category-catalog-search {
  width: 100%;
}

.category-catalog-actions .category-catalog-search.search-form {
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
}

@media (min-width: 992px) {
  .category-catalog-page .custom-card-table tbody.row-cols-xl-4 > *,
  .category-catalog-page .custom-card-table tbody.row-cols-lg-3 > * {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
  }
}

.category-catalog-page .category-catalog-grid,
.category-catalog-page .table-responsive {
  overflow: visible !important;
}

.category-catalog-page .custom-card-table.table > :not(caption) > * > * {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  height: 100%;
}

.category-catalog-page .custom-card-table tbody tr {
  height: 100%;
}

.category-catalog-page .custom-card-table tbody tr:hover > *,
.category-catalog-page .table-hover > tbody > tr:hover > * {
  --bs-table-bg-state: transparent;
  background-color: transparent !important;
}

.category-catalog-card,
a.category-catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 1.15rem 1.2rem 1rem;
  background: #fff;
  border: 1px solid #EDE0E4;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(42, 14, 24, 0.05);
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-catalog-card::after {
  content: none !important;
  display: none !important;
}

.category-catalog-card:hover,
.category-catalog-card:focus-visible {
  transform: translateY(-4px);
  border-color: #E7C8D1;
  box-shadow: 0 16px 36px rgba(140, 15, 50, 0.12);
  color: inherit;
}

.category-catalog-card__body {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  flex: 1 1 auto;
}

.category-catalog-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #F8EEF1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.category-catalog-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.category-catalog-card__title {
  color: #2A0E18 !important;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: transparent !important;
}

.category-catalog-card__desc {
  color: #6B5E63 !important;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
  background: transparent !important;
  opacity: 1 !important;
}

.category-catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid #F3E6EA;
}

.category-catalog-card__count {
  color: #6B5E63;
  font-size: 0.82rem;
  font-weight: 600;
}

.category-catalog-card__cta {
  color: #8C0F32;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.category-catalog-card__cta::after {
  content: " →";
}

[dir="rtl"] .category-catalog-card__cta::after {
  content: " ←";
}

.category-catalog-card:hover .category-catalog-card__cta {
  color: #6E0C28;
}

.category-catalog-page .section-padding {
  padding-top: 1.25rem !important;
}

.category-catalog-page .dataTables_processing {
  display: none !important;
}

.category-catalog-page .dataTables_wrapper .table-responsive.my-3 {
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
}

.category-catalog-page .category-catalog-grid.table-responsive {
  padding-top: 0.25rem !important;
  padding-bottom: 0.5rem !important;
}

.category-catalog-page .dataTables_paginate .paginate_button.current,
.category-catalog-page .page-item.active .page-link {
  background-color: #8C0F32 !important;
  border-color: #8C0F32 !important;
  color: #fff !important;
}

/* Kill leftover circle-clip fill on any remaining category cards */
.category-list-card.circle-clip-effect::after,
.card.circle-clip-effect.category-list-card::after,
.category-catalog-page .circle-clip-effect::after {
  content: none !important;
  display: none !important;
  clip-path: none !important;
}

@media (max-width: 767.98px) {
  .category-catalog-hero {
    padding: 1.75rem 0 1.5rem;
  }

  .category-catalog-title {
    max-width: none;
  }

  .category-catalog-actions {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .category-catalog-actions .category-catalog-search {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }

  .category-catalog-toolbar {
    justify-content: stretch;
  }

  .category-catalog-search {
    width: 100%;
  }
}

[data-bs-theme="dark"] .category-catalog-hero,
body.dark .category-catalog-hero {
  background: #14141f;
  border-bottom-color: #2a2f3d;
}

[data-bs-theme="dark"] .category-catalog-aside,
body.dark .category-catalog-aside {
  background: #1c1f34;
  border-color: #2a2f3d;
}

[data-bs-theme="dark"] .category-catalog-aside-title,
body.dark .category-catalog-aside-title {
  color: #f4f1f2;
}

[data-bs-theme="dark"] .category-catalog-title,
body.dark .category-catalog-title,
[data-bs-theme="dark"] .category-catalog-steps li,
body.dark .category-catalog-steps li,
[data-bs-theme="dark"] .category-catalog-card__title,
body.dark .category-catalog-card__title {
  color: #f4f1f2 !important;
}

[data-bs-theme="dark"] .category-catalog-subtitle,
body.dark .category-catalog-subtitle,
[data-bs-theme="dark"] .category-catalog-card__desc,
body.dark .category-catalog-card__desc,
[data-bs-theme="dark"] .category-catalog-card__count,
body.dark .category-catalog-card__count {
  color: #a8b0bd !important;
}

[data-bs-theme="dark"] .category-catalog-card,
body.dark .category-catalog-card {
  background: #1c1f34;
  border-color: #2a2f3d;
}

[data-bs-theme="dark"] .category-catalog-card__icon,
body.dark .category-catalog-card__icon {
  background: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .category-catalog-card__footer,
body.dark .category-catalog-card__footer {
  border-top-color: #2a2f3d;
}

/* ---------- Service catalog (/service-list) ---------- */
.service-catalog-page .section-padding {
  padding-top: 1.25rem !important;
}

.service-catalog-filters {
  background: #fff;
  border: 1px solid #EDE0E4;
  border-radius: 20px;
  padding: 1rem 1.15rem 1.15rem;
  box-shadow: 0 8px 24px rgba(42, 14, 24, 0.05);
}

.service-catalog-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-items: end;
}

@media (min-width: 992px) {
  .service-catalog-filter-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr minmax(180px, 1.4fr) auto;
  }
}

.service-catalog-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #6B5E63;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-catalog-field .form-select,
.service-catalog-field .select2-container {
  width: 100% !important;
}

.service-catalog-field .select2-container .select2-selection--single {
  min-height: 48px;
  border-radius: 12px !important;
  border-color: #EDE0E4 !important;
  display: flex;
  align-items: center;
}

.service-catalog-reset {
  min-height: 48px;
  white-space: nowrap;
}

.service-catalog-page .table-responsive,
.service-catalog-page .service-catalog-grid {
  overflow: visible !important;
}

.service-catalog-page .dataTables_wrapper > .row:first-child,
.service-catalog-page .dataTables_processing {
  display: none !important;
}

.service-catalog-page .dataTables_wrapper .table-responsive.my-3 {
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

.service-catalog-page .custom-card-table.table > :not(caption) > * > * {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  height: 100%;
}

.service-catalog-page .custom-card-table tbody tr,
.service-catalog-page .custom-card-table tbody tr:hover > * {
  background: transparent !important;
  height: 100%;
}

.service-catalog-page .service-box-card,
.service-catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0 !important;
  padding: 0.6rem 0.65rem 0.7rem !important;
  background: #fff !important;
  border: 1px solid #EDE0E4 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 24px rgba(42, 14, 24, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-catalog-page .service-box-card:hover,
.service-catalog-card:hover {
  transform: translateY(-4px);
  border-color: #E7C8D1 !important;
  box-shadow: 0 16px 36px rgba(140, 15, 50, 0.12);
}

.service-catalog-page .service-box-card .iq-image,
.service-catalog-page .service-box-card .service-img img,
.service-catalog-page .service-card-table .service-box-card .service-img {
  height: 168px;
  object-fit: cover;
  border-radius: 14px !important;
}

.service-catalog-page .service-box-card a.service-heading:not(.service-catalog-card__cta) {
  margin-top: 0 !important;
  padding-top: 0.55rem !important;
  padding-bottom: 0.15rem !important;
}

.service-catalog-page .service-box-card .service-title {
  color: #2A0E18 !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0 !important;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-catalog-page .service-box-card .price-content {
  margin-top: 0.2rem !important;
  margin-bottom: 0 !important;
}

.service-catalog-page .service-box-card .price-content li.text-primary {
  color: #8C0F32 !important;
  font-weight: 700 !important;
}

.service-catalog-page .service-box-card .service-user-name {
  color: #2A0E18;
  font-weight: 600;
}

.service-catalog-page .service-box-card > .mt-3 {
  margin-top: 0.4rem !important;
}

.service-catalog-page .service-box-card .mt-2 {
  margin-top: 0.2rem !important;
}

.service-catalog-card__muted {
  color: #6B5E63;
  font-size: 0.82rem;
}

.service-catalog-card__cta {
  display: inline-flex !important;
  align-items: center;
  margin-top: auto;
  padding-top: 0.55rem !important;
  padding-bottom: 0 !important;
  border-top: 1px solid #F3E6EA;
  color: #8C0F32 !important;
  font-size: 0.88rem;
  font-weight: 700;
}

.service-catalog-card__cta::after {
  content: " →";
}

[dir="rtl"] .service-catalog-card__cta::after {
  content: " ←";
}

.service-catalog-page .dataTables_paginate .paginate_button.current,
.service-catalog-page .page-item.active .page-link {
  background-color: #8C0F32 !important;
  border-color: #8C0F32 !important;
  color: #fff !important;
}

@media (max-width: 767.98px) {
  .service-catalog-filter-grid {
    grid-template-columns: 1fr;
  }
}

[data-bs-theme="dark"] .service-catalog-filters,
body.dark .service-catalog-filters,
[data-bs-theme="dark"] .service-catalog-page .service-box-card,
body.dark .service-catalog-page .service-box-card {
  background: #1c1f34 !important;
  border-color: #2a2f3d !important;
}

[data-bs-theme="dark"] .service-catalog-page .service-box-card .service-title,
body.dark .service-catalog-page .service-box-card .service-title,
[data-bs-theme="dark"] .service-catalog-page .service-box-card .service-user-name,
body.dark .service-catalog-page .service-box-card .service-user-name {
  color: #f4f1f2 !important;
}

.favourite-catalog-empty {
  background: #fff;
  border: 1px solid #EDE0E4;
  border-radius: 20px;
  padding: 2.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(42, 14, 24, 0.05);
}

.favourite-catalog-empty-title {
  color: #2A0E18;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.favourite-catalog-empty-text {
  color: #6B5E63;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

[data-bs-theme="dark"] .favourite-catalog-empty,
body.dark .favourite-catalog-empty {
  background: #1c1f34;
  border-color: #2a2f3d;
}

[data-bs-theme="dark"] .favourite-catalog-empty-title,
body.dark .favourite-catalog-empty-title {
  color: #f4f1f2;
}

/* ---------- Category detail ---------- */
.category-detail-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  color: #6B5E63;
  font-size: 0.88rem;
  font-weight: 600;
}

.category-detail-crumb a {
  color: #8C0F32 !important;
  text-decoration: none;
}

.category-detail-crumb a:hover {
  text-decoration: underline;
}

.category-detail-count {
  color: #8C0F32;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.category-detail-aside-link {
  display: inline-flex;
  margin-top: 0.85rem;
  color: #8C0F32 !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.category-detail-aside-link::after {
  content: " →";
}

[dir="rtl"] .category-detail-aside-link::after {
  content: " ←";
}

.category-detail-filters {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid #EDE0E4;
}

.category-detail-filters-label {
  margin: 0 0 0.65rem;
  color: #6B5E63;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.category-detail-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border: 1px solid #EDE0E4;
  border-radius: 999px;
  background: #fff;
  color: #2A0E18 !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.category-detail-chip:hover,
.category-detail-chip.active {
  background: #8C0F32 !important;
  border-color: #8C0F32 !important;
  color: #fff !important;
}

.category-detail-page .our-service {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

[data-bs-theme="dark"] .category-detail-chip,
body.dark .category-detail-chip {
  background: #1c1f34;
  border-color: #2a2f3d;
  color: #f4f1f2 !important;
}

[data-bs-theme="dark"] .category-detail-chip.active,
body.dark .category-detail-chip.active,
[data-bs-theme="dark"] .category-detail-chip:hover,
body.dark .category-detail-chip:hover {
  background: #8C0F32 !important;
  color: #fff !important;
}

/* ---------- Blog catalog (/blog-list) ---------- */
.blog-catalog-page .section-padding {
  padding-top: 1.25rem !important;
}

.blog-catalog-page .table-responsive,
.blog-catalog-page .blog-catalog-grid {
  overflow: visible !important;
}

.blog-catalog-page .dataTables_wrapper > .row:first-child,
.blog-catalog-page .dataTables_processing {
  display: none !important;
}

.blog-catalog-page .dataTables_wrapper .table-responsive.my-3 {
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
}

.blog-catalog-page .blog-catalog-grid.table-responsive {
  padding-top: 0.25rem !important;
  padding-bottom: 0.5rem !important;
}

.blog-catalog-page .custom-card-table.table > :not(caption) > * > * {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  height: 100%;
}

.blog-catalog-page .custom-card-table tbody tr,
.blog-catalog-page .custom-card-table tbody tr:hover > * {
  height: 100%;
  --bs-table-bg-state: transparent;
  background-color: transparent !important;
}

@media (min-width: 992px) {
  .blog-catalog-page .custom-card-table tbody.row-cols-lg-3 > * {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
  }
}

.blog-catalog-page .dataTables_paginate .paginate_button.current,
.blog-catalog-page .page-item.active .page-link {
  background-color: #8C0F32 !important;
  border-color: #8C0F32 !important;
  color: #fff !important;
}

.blog-catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #EDE0E4;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(42, 14, 24, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-catalog-card:hover {
  transform: translateY(-4px);
  border-color: #E7C8D1;
  box-shadow: 0 16px 36px rgba(140, 15, 50, 0.12);
}

.blog-catalog-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-catalog-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-catalog-card__views {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(42, 14, 24, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-catalog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.05rem 1.15rem 0.35rem;
}

.blog-catalog-card__date {
  margin: 0 0 0.4rem;
  color: #8C0F32;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-catalog-card__title {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.blog-catalog-card__title a {
  color: #2A0E18 !important;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-catalog-card__title a:hover {
  color: #8C0F32 !important;
}

.blog-catalog-card__excerpt {
  margin: 0;
  color: #6B5E63;
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.9rem 1.15rem 1.05rem;
  border-top: 1px solid #F3E6EA;
}

.blog-catalog-card__author {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: #6B5E63;
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-catalog-card__author img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-catalog-card__author span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-catalog-card__cta {
  color: #8C0F32 !important;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}

.blog-catalog-card__cta::after {
  content: " →";
}

[dir="rtl"] .blog-catalog-card__cta::after {
  content: " ←";
}

[data-bs-theme="dark"] .blog-catalog-card,
body.dark .blog-catalog-card {
  background: #1c1f34;
  border-color: #2a2f3d;
}

[data-bs-theme="dark"] .blog-catalog-card__title a,
body.dark .blog-catalog-card__title a {
  color: #f4f1f2 !important;
}

[data-bs-theme="dark"] .blog-catalog-card__excerpt,
body.dark .blog-catalog-card__excerpt,
[data-bs-theme="dark"] .blog-catalog-card__author,
body.dark .blog-catalog-card__author {
  color: #a8b0bd;
}

[data-bs-theme="dark"] .blog-catalog-card__footer,
body.dark .blog-catalog-card__footer {
  border-top-color: #2a2f3d;
}

/* ---------- Provider catalog (/provider-list) ---------- */
.provider-catalog-page .section-padding {
  padding-top: 1.25rem !important;
}

.provider-catalog-page .table-responsive,
.provider-catalog-page .provider-catalog-grid {
  overflow: visible !important;
}

.provider-catalog-page .dataTables_wrapper > .row:first-child,
.provider-catalog-page .dataTables_processing {
  display: none !important;
}

.provider-catalog-page .dataTables_wrapper .table-responsive.my-3 {
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
}

.provider-catalog-page .provider-catalog-grid.table-responsive {
  padding-top: 0.25rem !important;
  padding-bottom: 0.5rem !important;
}

.provider-catalog-page .custom-card-table.table > :not(caption) > * > * {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  height: 100%;
}

.provider-catalog-page .custom-card-table tbody tr,
.provider-catalog-page .custom-card-table tbody tr:hover > * {
  height: 100%;
  --bs-table-bg-state: transparent;
  background-color: transparent !important;
}

@media (min-width: 992px) {
  .provider-catalog-page .custom-card-table tbody.row-cols-lg-3 > * {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
  }
}

.provider-catalog-page .dataTables_paginate .paginate_button.current,
.provider-catalog-page .page-item.active .page-link {
  background-color: #8C0F32 !important;
  border-color: #8C0F32 !important;
  color: #fff !important;
}

.provider-catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #EDE0E4;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(42, 14, 24, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.provider-catalog-card:hover {
  transform: translateY(-4px);
  border-color: #E7C8D1;
  box-shadow: 0 16px 36px rgba(140, 15, 50, 0.12);
}

.provider-catalog-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.provider-catalog-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.provider-catalog-card__rating {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #8C0F32;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.provider-catalog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.05rem 1.15rem 0.35rem;
}

.provider-catalog-card__title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.provider-catalog-card__title a {
  color: #2A0E18 !important;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-catalog-card__title a:hover {
  color: #8C0F32 !important;
}

.provider-catalog-card__verified {
  display: inline-flex;
  color: #8C0F32;
  flex-shrink: 0;
}

.provider-catalog-card__role {
  margin: 0 0 0.35rem;
  color: #8C0F32;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: capitalize;
}

.provider-catalog-card__reviews {
  margin: 0;
  color: #6B5E63;
  font-size: 0.82rem;
  font-weight: 600;
}

.provider-catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.9rem 1.15rem 1.05rem;
  border-top: 1px solid #F3E6EA;
}

.provider-catalog-card__services,
.provider-catalog-card__cta {
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.provider-catalog-card__services {
  color: #6B5E63 !important;
}

.provider-catalog-card__services:hover {
  color: #8C0F32 !important;
}

.provider-catalog-card__cta {
  color: #8C0F32 !important;
}

.provider-catalog-card__cta::after {
  content: " →";
}

[dir="rtl"] .provider-catalog-card__cta::after {
  content: " ←";
}

[data-bs-theme="dark"] .provider-catalog-card,
body.dark .provider-catalog-card {
  background: #1c1f34;
  border-color: #2a2f3d;
}

[data-bs-theme="dark"] .provider-catalog-card__title a,
body.dark .provider-catalog-card__title a {
  color: #f4f1f2 !important;
}

[data-bs-theme="dark"] .provider-catalog-card__reviews,
body.dark .provider-catalog-card__reviews,
[data-bs-theme="dark"] .provider-catalog-card__services,
body.dark .provider-catalog-card__services {
  color: #a8b0bd !important;
}

[data-bs-theme="dark"] .provider-catalog-card__footer,
body.dark .provider-catalog-card__footer {
  border-top-color: #2a2f3d;
}

/* DataTables page-size select — keep the current value visible */
.dataTables_wrapper .dataTables_length {
  display: flex;
  align-items: center;
}

.dataTables_wrapper .dataTables_length label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 0;
  font-size: 0.9rem;
  color: #6B5E63;
}

.dataTables_wrapper .dataTables_length .form-select,
.dataTables_wrapper .dataTables_length select {
  display: inline-block !important;
  width: auto !important;
  min-width: 4.75rem;
  height: auto !important;
  padding: 0.35rem 2.1rem 0.35rem 0.7rem !important;
  color: #2A0E18 !important;
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
  background-color: #fff !important;
  border: 1px solid #EDE0E4 !important;
  border-radius: 10px !important;
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length .form-select,
body.dark .dataTables_wrapper .dataTables_length .form-select,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length select,
body.dark .dataTables_wrapper .dataTables_length select {
  color: #f4f1f2 !important;
  background-color: #1c1f34 !important;
  border-color: #2a2f3d !important;
}

/* ---------- Homepage wow ---------- */
.home-wow {
  overflow: clip;
}

.home-hero {
  position: relative;
  padding: 1.35rem 0 1.25rem;
  max-height: none;
  overflow: visible;
  background:
    radial-gradient(1200px 420px at 12% -10%, rgba(203, 163, 70, 0.22), transparent 55%),
    radial-gradient(900px 380px at 100% 10%, rgba(140, 15, 50, 0.55), transparent 50%),
    linear-gradient(165deg, #2A0E18 0%, #4A1024 42%, #8C0F32 100%);
  color: #fff;
  content-visibility: auto;
  contain-intrinsic-size: 560px;
}

@media (max-width: 1199.98px) {
  .home-hero {
    padding: 1.5rem 0 1.75rem;
  }
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
  pointer-events: none;
  will-change: auto;
}

.home-hero__copy {
  position: relative;
  z-index: 1;
  padding-inline-end: 1rem;
}

.home-hero .container > .row {
  --bs-gutter-y: 1.25rem;
}

.home-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 0.7rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(203, 163, 70, 0.18);
  border: 1px solid rgba(203, 163, 70, 0.45);
  color: #E8D7A8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero__title,
.home-hero .iq-title-box h1,
.home-hero .iq-title-box h2 {
  color: #fff !important;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 16ch;
}

.home-hero .highlighted-text,
.home-hero .highlighted-image svg path {
  color: #CBA346 !important;
  stroke: #CBA346 !important;
}

.home-hero__lead {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 38rem;
}

.home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0.85rem 0 0.75rem;
  padding: 0;
}

.home-hero__trust li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.home-hero__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
}

.home-hero__steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.home-hero__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #CBA346;
  color: #2A0E18;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-hero .search-box-wrapper {
  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.home-hero .search-box-wrapper .btn-primary {
  border-radius: 12px;
  min-height: 46px;
  padding-inline: 1.25rem;
}

.home-hero .categories-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.home-hero .categories-list li {
  padding: 0 !important;
}

.home-hero .categories-list li:first-child,
.home-hero .categories-list li:first-child h6 {
  display: none !important;
}

.home-hero .categories-list li::after {
  content: none !important;
}

.home-hero .categories-list li a,
.home-hero .categories-list li a:visited {
  display: inline-flex;
  align-items: center;
  color: #F7EDEE !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(203, 163, 70, 0.42);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: none;
}

.home-hero .categories-list li a::before {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

.home-hero .categories-list li:hover a {
  color: #CBA346 !important;
  background: rgba(203, 163, 70, 0.18);
  border-color: #CBA346;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 0.85rem;
}

.home-hero__cta {
  min-height: 44px;
  padding-inline: 1.25rem;
  border-radius: 14px !important;
  font-weight: 700;
}

.home-hero__link {
  color: #E8D7A8 !important;
  font-weight: 700;
  text-decoration: none;
}

.home-hero__link:hover {
  color: #fff !important;
}

.home-hero__ai {
  flex-basis: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

.home-hero__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
}

.home-hero__carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline-start: auto;
  padding-bottom: 2.5rem;
  overflow: hidden;
}

.home-hero__carousel .swiper-slide {
  height: auto;
}

.home-hero__portrait {
  position: relative;
  margin: 0;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(203, 163, 70, 0.55);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.home-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.home-hero__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(140, 15, 50, 0.92);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.2;
}

.home-hero__caption strong {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero__caption span {
  opacity: 0.9;
  flex-shrink: 0;
}

.home-hero__nav {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.home-hero__nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.home-hero__nav-btn:hover,
.home-hero__nav-btn:focus {
  background: rgba(203, 163, 70, 0.28);
  border-color: #CBA346;
  outline: none;
}

.home-hero .search-box-wrapper {
  overflow: hidden;
}

.home-stats {
  background: #fff;
  border-bottom: 1px solid #F3E6EA;
  box-shadow: 0 12px 30px rgba(42, 14, 24, 0.04);
}

.home-stats__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 1.15rem 0;
}

@media (min-width: 768px) {
  .home-stats__list {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.35rem 0;
  }
}

.home-stats__list li {
  text-align: center;
}

.home-stats__list strong {
  display: block;
  color: #8C0F32;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.home-stats__list span {
  color: #6B5E63;
  font-size: 0.82rem;
  font-weight: 600;
}

.home-wow .section-padding {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.home-wow .home-section .iq-title-box h3,
.home-wow .home-head h3,
.home-wow .home-reviews h3,
.home-wow .home-how h3 {
  color: #2A0E18;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.home-wow .home-section .highlighted-text,
.home-wow .home-reviews .highlighted-text,
.home-wow .home-how .highlighted-image,
.home-wow .home-section .highlighted-image {
  display: none;
}

.home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.home-head__eyebrow {
  display: inline-block;
  margin: 0 0 0.4rem;
  color: #8C0F32;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-head__all {
  color: #8C0F32 !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.home-head__all:hover {
  color: #6E0C28 !important;
}

.home-wow #home-categories .row.mt-5 {
  margin-top: 0.25rem !important;
  --bs-gutter-y: 1rem;
}

.home-wow .category-catalog-card {
  margin-bottom: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-wow .category-catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(42, 14, 24, 0.1);
}

.home-wow .our-service {
  background: #FBF6F7 !important;
}

.home-wow .our-service .service-box-card {
  margin-bottom: 0.75rem !important;
  background: #fff !important;
  border: 1px solid #F3E6EA;
  box-shadow: 0 8px 22px rgba(42, 14, 24, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-wow .our-service .service-box-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(42, 14, 24, 0.1);
}

.home-wow .service-title {
  color: #2A0E18 !important;
  font-weight: 700;
}

.home-wow .service-user-name,
.home-wow a .service-user-name {
  color: #2A0E18 !important;
  font-weight: 600;
}

.home-wow a:hover .service-user-name {
  color: #8C0F32 !important;
}

.home-wow .service-catalog-card__muted {
  display: none;
}

.home-wow .home-join {
  background: linear-gradient(135deg, #F8EEF1, #fff) !important;
}

.home-wow .home-join .iq-title-box h2 {
  color: #2A0E18;
  font-weight: 800;
}

.home-wow .provider-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.home-wow .provider-section .provider {
  border-radius: 18px;
  border: 3px solid #CBA346;
  box-shadow: 0 16px 36px rgba(42, 14, 24, 0.18);
}

.home-join__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.15rem;
}

.home-join__cta {
  padding: 0.85rem 1.5rem !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
}

.home-join__mail,
.home-join__tel {
  color: #8C0F32 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.home-join__tel {
  color: #2A0E18 !important;
}

.home-join__mail:hover,
.home-join__tel:hover {
  color: #CBA346 !important;
}

.home-reviews__score {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #F3E6EA;
  box-shadow: 0 8px 20px rgba(42, 14, 24, 0.05);
}

.home-reviews__score strong {
  color: #8C0F32;
  font-size: 1.15rem;
}

.home-reviews__score span {
  color: #6B5E63;
  font-size: 0.88rem;
  font-weight: 600;
}

.home-reviews__note {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: #6B5E63;
  font-size: 0.95rem;
}

.home-wow .home-app,
.home-wow .px-5.bg-primary.rounded-3 {
  background: linear-gradient(135deg, #8C0F32, #4A1024) !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 50px rgba(140, 15, 50, 0.28);
}

.home-app__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 163, 70, 0.35) 0%, transparent 68%);
  pointer-events: none;
}

.home-wow .home-app h2,
.home-wow .home-app p {
  color: #fff !important;
}

.home-how__lead {
  color: #6B5E63;
  font-size: 1.05rem;
  line-height: 1.6;
}

.home-wow .home-how .border-bottom {
  border-color: #F3E6EA !important;
}

.home-wow .swiper-pagination-bullet-active {
  background: #8C0F32 !important;
}

.home-wow .swiper-button-next,
.home-wow .swiper-button-prev {
  color: #8C0F32 !important;
}

/* Pagination — inactive links use maroon, not Bootstrap blue */
.pagination .page-link,
.dataTables_paginate .page-link,
.pagination .pagination-link {
  color: #8C0F32 !important;
}

.pagination .page-link:hover,
.pagination .pagination-link:hover:not(:disabled):not(.active),
.dataTables_paginate .page-item:not(.active):not(.disabled) .page-link:hover {
  color: #6E0C28 !important;
  background-color: #F8EEF1 !important;
  border-color: #E7C8D1 !important;
}

.pagination .page-item.active .page-link,
.dataTables_paginate .page-item.active .page-link,
.dataTables_paginate .paginate_button.current,
.pagination .pagination-link.active {
  background-color: #8C0F32 !important;
  border-color: #8C0F32 !important;
  color: #fff !important;
}

.pagination .page-item.disabled .page-link,
.dataTables_paginate .page-item.disabled .page-link,
.pagination .pagination-link:disabled {
  color: #9A8A90 !important;
  background-color: #fff !important;
}

@media (max-width: 991.98px) {
  .home-hero {
    padding: 1.5rem 0 1.5rem;
  }

  .home-hero__title,
  .home-hero .iq-title-box h1 {
    max-width: none;
  }

  .home-hero__carousel {
    max-width: 420px;
    margin-inline: auto;
  }

  .home-hero__portrait {
    height: 340px;
  }
}

@media (max-width: 575.98px) {
  .home-hero__portrait {
    height: 300px;
  }

  .home-hero__steps {
    display: none;
  }
}

/* Footer — Fixly Qatar */
footer.fx-footer {
  background: linear-gradient(180deg, #2A0E18 0%, #1A0810 100%) !important;
  color: #F7EDEE;
}

footer.fx-footer .footer-top .footer-inner-box {
  padding: 3.25rem 0 2.25rem;
}

footer.fx-footer .custom-border-left {
  border-left-color: rgba(203, 163, 70, 0.22) !important;
}

footer.fx-footer .navbar-brand img,
footer.fx-footer .logo-normal img,
.fx-footer__brand img {
  height: 58px !important;
  max-height: 58px !important;
  width: auto !important;
  max-width: 220px;
}

.fx-footer__brand {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.fx-footer__brand .navbar-brand {
  padding: 0;
  margin: 0;
}

.fx-footer__eyebrow {
  display: inline-block;
  margin: 1.15rem 0 0;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(203, 163, 70, 0.55);
  border-radius: 999px;
  color: #CBA346;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fx-footer__blurb {
  max-width: 28rem;
  color: rgba(247, 237, 238, 0.78) !important;
  font-size: 0.98rem;
  line-height: 1.65;
}

footer.fx-footer .readmore-btn {
  color: #CBA346 !important;
  font-weight: 700;
}

.fx-footer__contact .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(140, 15, 50, 0.55);
  color: #CBA346 !important;
}

.fx-footer__contact h5 {
  margin: 0 0 0.15rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fx-footer__contact a {
  color: #CBA346 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.fx-footer__contact a:hover {
  color: #E0C06A !important;
}

footer.fx-footer .vr {
  border-color: rgba(203, 163, 70, 0.28);
  opacity: 1;
}

.fx-footer__social li a {
  color: rgba(247, 237, 238, 0.72) !important;
  font-weight: 600;
}

.fx-footer__social li a:hover {
  color: #CBA346 !important;
}

.fx-footer__social li::after {
  background-color: rgba(203, 163, 70, 0.35) !important;
}

.fx-footer__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.fx-footer__heading h5 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fx-footer__view-all {
  color: #CBA346 !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.fx-footer__view-all:hover {
  color: #E0C06A !important;
}

.fx-footer__cats {
  gap: 0.55rem 0.45rem;
}

.fx-footer__cats li {
  margin: 0 !important;
  padding: 0 !important;
}

.fx-footer__cats li::after {
  content: none !important;
}

.fx-footer__cats a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #F7EDEE !important;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
}

.fx-footer__cats a:hover {
  border-color: #CBA346;
  background: rgba(203, 163, 70, 0.12);
  color: #CBA346 !important;
}

.fx-footer__services {
  gap: 0.85rem !important;
}

.fx-footer__services li {
  flex: 0 0 104px;
  max-width: 104px;
}

.fx-footer__service {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none !important;
  color: inherit;
}

.fx-footer__service img,
.fx-footer__service-fallback {
  display: block;
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #3A1520;
}

.fx-footer__service-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBA346;
  font-size: 1.25rem;
  font-weight: 800;
}

.fx-footer__service:hover img,
.fx-footer__service:hover .fx-footer__service-fallback {
  border-color: #CBA346;
}

.fx-footer__service .popular-service-text {
  color: rgba(247, 237, 238, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.fx-footer__service:hover .popular-service-text {
  color: #CBA346;
}

footer.fx-footer .footer-bottom {
  border-top: 1px solid rgba(203, 163, 70, 0.18) !important;
  background: rgba(0, 0, 0, 0.22);
}

.fx-footer__copy {
  color: rgba(247, 237, 238, 0.7) !important;
  font-size: 0.88rem;
}

.fx-footer__copy a {
  color: #CBA346 !important;
  font-weight: 700;
  text-decoration: none !important;
}

.fx-footer__legal a {
  color: rgba(247, 237, 238, 0.78) !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
}

.fx-footer__legal a:hover {
  color: #CBA346 !important;
}

[dir="rtl"] .fx-footer__service .popular-service-text {
  text-align: right;
}

@media (max-width: 991.98px) {
  footer.fx-footer .footer-top .footer-inner-box {
    padding: 0;
  }

  footer.fx-footer .footer-top {
    padding: 2.25rem 0 1.5rem;
  }
}

/* ---------- Dark mode — homepage & landing ---------- */
html[data-bs-theme="dark"] body,
body.dark,
html[data-bs-theme="dark"] .body-bg,
body.dark.body-bg {
  background-color: #14080C !important;
  color: #E8DDE0 !important;
}

html[data-bs-theme="dark"] header .navbar,
html[data-bs-theme="dark"] .iq-navbar.navbar,
body.dark header .navbar,
body.dark .iq-navbar.navbar {
  background-color: #14080C !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] header .navbar-nav .nav-link,
html[data-bs-theme="dark"] #header-menu .nav-link,
body.dark header .navbar-nav .nav-link,
body.dark #header-menu .nav-link {
  color: #F4E8EB !important;
}

html[data-bs-theme="dark"] header .navbar-nav .nav-link.active,
html[data-bs-theme="dark"] #header-menu .nav-link.active,
body.dark header .navbar-nav .nav-link.active,
body.dark #header-menu .nav-link.active {
  color: #CBA346 !important;
  background: rgba(203, 163, 70, 0.14) !important;
}

html[data-bs-theme="dark"] header .navbar-brand,
html[data-bs-theme="dark"] .fx-header-logo,
body.dark header .navbar-brand,
body.dark .fx-header-logo {
  background: #fff;
  border-radius: 14px;
  padding: 0.2rem 0.45rem !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .mobile-offcanvas,
body.dark .mobile-offcanvas {
  background-color: #1E1014 !important;
}

html[data-bs-theme="dark"] .home-stats,
body.dark .home-stats {
  background: #1E1014 !important;
  border-bottom-color: #3D252C !important;
  box-shadow: none;
}

html[data-bs-theme="dark"] .home-stats__list strong,
body.dark .home-stats__list strong {
  color: #CBA346 !important;
}

html[data-bs-theme="dark"] .home-stats__list span,
body.dark .home-stats__list span {
  color: #C4B0B6 !important;
}

html[data-bs-theme="dark"] .home-wow .home-head h3,
html[data-bs-theme="dark"] .home-wow .home-reviews h3,
html[data-bs-theme="dark"] .home-wow .home-how h3,
html[data-bs-theme="dark"] .home-wow .home-section .iq-title-box h3,
body.dark .home-wow .home-head h3,
body.dark .home-wow .home-reviews h3,
body.dark .home-wow .home-how h3,
body.dark .home-wow .home-section .iq-title-box h3 {
  color: #F7EDEE !important;
}

html[data-bs-theme="dark"] .home-head__eyebrow,
body.dark .home-head__eyebrow {
  color: #CBA346 !important;
}

html[data-bs-theme="dark"] .home-head__all,
html[data-bs-theme="dark"] .home-wow .btn-link,
body.dark .home-head__all,
body.dark .home-wow .btn-link {
  color: #CBA346 !important;
}

html[data-bs-theme="dark"] .home-wow .our-service,
html[data-bs-theme="dark"] .home-reviews,
body.dark .home-wow .our-service,
body.dark .home-reviews {
  background: #1A0C10 !important;
}

html[data-bs-theme="dark"] .home-wow .category-catalog-card,
html[data-bs-theme="dark"] .home-wow .our-service .service-box-card,
body.dark .home-wow .category-catalog-card,
body.dark .home-wow .our-service .service-box-card {
  background: #261318 !important;
  border-color: #3D252C !important;
  box-shadow: none;
}

html[data-bs-theme="dark"] .home-wow .service-title,
html[data-bs-theme="dark"] .home-wow .service-user-name,
html[data-bs-theme="dark"] .home-wow a .service-user-name,
html[data-bs-theme="dark"] .category-catalog-card__title,
body.dark .home-wow .service-title,
body.dark .home-wow .service-user-name,
body.dark .home-wow a .service-user-name,
body.dark .category-catalog-card__title {
  color: #F7EDEE !important;
}

html[data-bs-theme="dark"] .category-catalog-card__desc,
html[data-bs-theme="dark"] .home-how__lead,
html[data-bs-theme="dark"] .home-reviews__note,
body.dark .category-catalog-card__desc,
body.dark .home-how__lead,
body.dark .home-reviews__note {
  color: #C4B0B6 !important;
}

html[data-bs-theme="dark"] .home-wow .home-join,
body.dark .home-wow .home-join {
  background: linear-gradient(135deg, #2A1218, #1A0C10) !important;
}

html[data-bs-theme="dark"] .home-join__mail,
html[data-bs-theme="dark"] .home-join__tel,
body.dark .home-join__mail,
body.dark .home-join__tel {
  color: #E0B4BE !important;
}

html[data-bs-theme="dark"] .home-reviews__score,
body.dark .home-reviews__score {
  background: #261318;
  border-color: #3D252C;
}

html[data-bs-theme="dark"] .home-wow .home-how .border-bottom,
body.dark .home-wow .home-how .border-bottom {
  border-color: #3D252C !important;
}

html[data-bs-theme="dark"] .iq-testimonial,
body.dark .iq-testimonial {
  background: #261318 !important;
  color: #E8DDE0 !important;
}

html[data-bs-theme="dark"] .bg-light,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-white,
body.dark .bg-light,
body.dark .bg-body,
body.dark .bg-white {
  background-color: #1E1014 !important;
  color: #E8DDE0 !important;
}

html[data-bs-theme="dark"] .service-box-card,
body.dark .service-box-card {
  background: #261318 !important;
  color: #E8DDE0 !important;
}

html[data-bs-theme="dark"] .category-catalog-hero,
html[data-bs-theme="dark"] .category-catalog-aside,
body.dark .category-catalog-hero,
body.dark .category-catalog-aside {
  background: #1E1014 !important;
}

html[data-bs-theme="dark"] .category-catalog-card,
html[data-bs-theme="dark"] .blog-catalog-card,
html[data-bs-theme="dark"] .provider-catalog-card,
body.dark .category-catalog-card,
body.dark .blog-catalog-card,
body.dark .provider-catalog-card {
  background: #261318 !important;
  border-color: #3D252C !important;
}

html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .horizontal-nav,
body.dark .offcanvas,
body.dark .horizontal-nav {
  background-color: #1E1014 !important;
}

html[data-bs-theme="dark"] #cookiePopup,
html[data-bs-theme="dark"] .cookiePopup,
body.dark #cookiePopup,
body.dark .cookiePopup {
  background-color: #1E1014 !important;
  color: #F4E8EB !important;
  border-color: #3D252C !important;
}

html[data-bs-theme="dark"] .search-box-wrapper,
body.dark .home-hero .search-box-wrapper {
  background: #fff !important;
}

html[data-bs-theme="dark"] .nt-ai-chat,
html[data-bs-theme="dark"] .ai-booking-panel,
body.dark .nt-ai-chat,
body.dark .ai-booking-panel {
  background: #1E1014 !important;
  color: #F4E8EB !important;
  border-color: #3D252C !important;
}

/* ---------- Legal / CMS content pages ---------- */
.fx-legal-page {
  padding: 2.5rem 0 4rem;
}

.fx-legal-page__title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2A0E18;
}

.fx-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2.15rem;
  background: #fff;
  border: 1px solid #E7C8D1;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(42, 14, 24, 0.06);
  color: #2A0E18;
  line-height: 1.75;
  font-size: 1.02rem;
}

.fx-legal p,
.fx-legal div,
.fx-legal span,
.fx-legal li,
.fx-legal h1,
.fx-legal h2,
.fx-legal h3,
.fx-legal h4,
.fx-legal h5,
.fx-legal h6 {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  font-family: inherit !important;
}

.fx-legal p {
  margin: 0 0 1.05rem;
}

.fx-legal p:last-child {
  margin-bottom: 0;
}

.fx-legal p:empty,
.fx-legal p:has(> br:only-child) {
  display: none;
}

.fx-legal strong,
.fx-legal b {
  color: #8C0F32;
  font-weight: 700;
}

.fx-legal a {
  color: #8C0F32;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fx-legal a:hover {
  color: #CBA346;
}

html[data-bs-theme="dark"] .fx-legal-page__title,
body.dark .fx-legal-page__title {
  color: #F7EDEE !important;
}

html[data-bs-theme="dark"] .fx-legal,
body.dark .fx-legal {
  background: #261318 !important;
  border-color: #3D252C !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  color: #E8DDE0 !important;
}

html[data-bs-theme="dark"] .fx-legal p,
html[data-bs-theme="dark"] .fx-legal div,
html[data-bs-theme="dark"] .fx-legal span,
html[data-bs-theme="dark"] .fx-legal li,
html[data-bs-theme="dark"] .fx-legal h1,
html[data-bs-theme="dark"] .fx-legal h2,
html[data-bs-theme="dark"] .fx-legal h3,
html[data-bs-theme="dark"] .fx-legal h4,
html[data-bs-theme="dark"] .fx-legal h5,
html[data-bs-theme="dark"] .fx-legal h6,
body.dark .fx-legal p,
body.dark .fx-legal div,
body.dark .fx-legal span,
body.dark .fx-legal li,
body.dark .fx-legal h1,
body.dark .fx-legal h2,
body.dark .fx-legal h3,
body.dark .fx-legal h4,
body.dark .fx-legal h5,
body.dark .fx-legal h6 {
  background: transparent !important;
  background-color: transparent !important;
  color: #E8DDE0 !important;
}

html[data-bs-theme="dark"] .fx-legal strong,
html[data-bs-theme="dark"] .fx-legal b,
body.dark .fx-legal strong,
body.dark .fx-legal b {
  color: #CBA346 !important;
}

html[data-bs-theme="dark"] .fx-legal a,
body.dark .fx-legal a {
  color: #CBA346 !important;
}

/* ---------- Public auth (login / register / forgot) ---------- */
.fx-auth-page {
  --fx-auth-ink: #2A0E18;
  --fx-auth-muted: #6B4A54;
  --fx-auth-line: #E7C8D1;
  --fx-auth-surface: #FFF9FA;
  min-height: 100vh;
  background: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--fx-auth-ink);
}

body:has(.fx-auth-login) .main-content,
body:has(.fx-auth-login) #landing-app {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.fx-auth-login .fx-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 100vh;
}

.fx-auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(1200px 700px at -10% -20%, rgba(203, 163, 70, 0.28), transparent 55%),
    radial-gradient(900px 600px at 110% 20%, rgba(140, 15, 50, 0.55), transparent 50%),
    linear-gradient(155deg, #4A081A 0%, #8C0F32 42%, #6E0C28 78%, #2A0E18 100%);
  color: #fff;
}

.fx-auth-visual-glow {
  position: absolute;
  inset: auto -20% -30% auto;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(203, 163, 70, 0.35), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: fx-auth-glow 8s ease-in-out infinite alternate;
}

.fx-auth-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

@keyframes fx-auth-glow {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  to { transform: translate3d(-4%, -3%, 0) scale(1.08); opacity: 1; }
}

.fx-auth-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  width: fit-content;
  animation: fx-auth-rise 0.7s ease both;
}

.fx-auth-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px;
}

.fx-auth-brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fx-auth-visual-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  animation: fx-auth-rise 0.85s ease 0.08s both;
}

.fx-auth-kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(203, 163, 70, 0.45);
  background: rgba(203, 163, 70, 0.12);
  color: #F2E0A8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fx-auth-welcome h1,
.fx-auth-welcome h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff !important;
}

.fx-auth-lead {
  color: rgba(255, 248, 250, 0.86) !important;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 !important;
}

.fx-auth-visual-media {
  position: relative;
  z-index: 1;
  margin-top: auto;
  animation: fx-auth-rise 1s ease 0.14s both;
}

.fx-auth-hero-img {
  display: block;
  width: min(100%, 520px);
  max-height: 38vh;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

.fx-auth-points {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: fx-auth-rise 1.05s ease 0.2s both;
}

.fx-auth-points li {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 600;
}

.fx-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.75rem);
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(140, 15, 50, 0.06), transparent 60%),
    linear-gradient(180deg, #FFFCFD 0%, #F7F1F3 100%);
}

.fx-auth-card {
  width: 100%;
  max-width: 440px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(231, 200, 209, 0.9);
  box-shadow: 0 24px 60px rgba(42, 14, 24, 0.08);
  backdrop-filter: blur(8px);
  animation: fx-auth-rise 0.75s ease 0.12s both;
}

.fx-auth-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fx-auth-card-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fx-auth-ink);
}

.fx-auth-card-sub {
  margin: 0.35rem 0 0;
  color: var(--fx-auth-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fx-auth-card .fx-auth-kicker {
  background: rgba(140, 15, 50, 0.08);
  border-color: rgba(140, 15, 50, 0.18);
  color: #8C0F32;
}

.fx-auth-admin-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8C0F32, #6E0C28);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(140, 15, 50, 0.22);
}

.fx-auth-admin-link:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.fx-auth-page .iq-login-form label,
.fx-auth-page .text-signup label {
  color: var(--fx-auth-ink) !important;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.fx-auth-page .iq-login-form .form-control {
  min-height: 52px;
  background: #fff !important;
  border: 1px solid var(--fx-auth-line) !important;
  border-radius: 14px !important;
  color: var(--fx-auth-ink) !important;
  padding: 0.85rem 1rem;
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fx-auth-page .iq-login-form .form-control:focus {
  border-color: rgba(140, 15, 50, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(140, 15, 50, 0.1) !important;
}

.fx-auth-page .iq-login-form .form-control::placeholder {
  color: #9A7A84 !important;
}

.fx-auth-password .input-group-text {
  border: 1px solid var(--fx-auth-line) !important;
  border-left: 0 !important;
  border-radius: 0 14px 14px 0 !important;
  background: #fff !important;
  cursor: pointer;
  color: #8C0F32;
}

.fx-auth-password .form-control {
  border-right: 0 !important;
  border-radius: 14px 0 0 14px !important;
}

.fx-auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.fx-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--fx-auth-ink);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
}

.fx-auth-remember input {
  width: 1rem;
  height: 1rem;
  accent-color: #8C0F32;
}

.fx-auth-forgot {
  color: #8C0F32 !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.fx-auth-forgot:hover {
  text-decoration: underline;
}

.fx-auth-submit {
  min-height: 52px;
  border-radius: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(140, 15, 50, 0.24);
}

.fx-auth-footer-links {
  margin-top: 1.5rem;
  text-align: center;
}

.fx-auth-footer-links p {
  color: var(--fx-auth-muted) !important;
  font-size: 0.95rem;
}

.fx-auth-footer-links a {
  color: #8C0F32 !important;
  font-weight: 700;
  text-decoration: none;
}

.fx-auth-provider-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: #8C0F32 !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 15, 50, 0.25);
}

.fx-auth-page .btn-link {
  color: #8C0F32 !important;
}

.fx-auth-page .bg-light {
  background-color: #F7F1F3 !important;
  color: var(--fx-auth-ink) !important;
}

.fx-auth-page h4 {
  color: var(--fx-auth-ink) !important;
  font-weight: 700;
}

@keyframes fx-auth-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .fx-auth-login .fx-auth-shell {
    grid-template-columns: 1fr;
  }

  .fx-auth-visual {
    min-height: auto;
    padding-bottom: 1.75rem;
  }

  .fx-auth-hero-img {
    max-height: 220px;
  }

  .fx-auth-points {
    display: none;
  }

  .fx-auth-panel {
    padding-top: 0;
    margin-top: -1.25rem;
  }

  .fx-auth-card {
    border-radius: 20px 20px 0 0;
  }
}

html[data-bs-theme="dark"] .fx-auth-page,
body.dark .fx-auth-page {
  background: #140A0E;
}

html[data-bs-theme="dark"] .fx-auth-panel,
body.dark .fx-auth-panel {
  background: linear-gradient(180deg, #1A1014 0%, #140A0E 100%);
}

html[data-bs-theme="dark"] .fx-auth-card,
body.dark .fx-auth-card {
  background: rgba(30, 16, 20, 0.94);
  border-color: #3D252C;
}

html[data-bs-theme="dark"] .fx-auth-card-head h2,
html[data-bs-theme="dark"] .fx-auth-page .iq-login-form label,
html[data-bs-theme="dark"] .fx-auth-remember,
html[data-bs-theme="dark"] .fx-auth-footer-links p,
body.dark .fx-auth-card-head h2,
body.dark .fx-auth-page .iq-login-form label,
body.dark .fx-auth-remember,
body.dark .fx-auth-footer-links p {
  color: #F4E8EB !important;
}

html[data-bs-theme="dark"] .fx-auth-card-sub,
body.dark .fx-auth-card-sub {
  color: #C9B0B7 !important;
}

html[data-bs-theme="dark"] .fx-auth-page .iq-login-form .form-control,
html[data-bs-theme="dark"] .fx-auth-password .input-group-text,
body.dark .fx-auth-page .iq-login-form .form-control,
body.dark .fx-auth-password .input-group-text {
  background: #140A0E !important;
  border-color: #3D252C !important;
  color: #F4E8EB !important;
}

html[data-bs-theme="dark"] .fx-auth-page .iq-login-form .form-control::placeholder,
body.dark .fx-auth-page .iq-login-form .form-control::placeholder {
  color: #A88A92 !important;
}

html[data-bs-theme="dark"] .fx-auth-forgot,
html[data-bs-theme="dark"] .fx-auth-footer-links a,
html[data-bs-theme="dark"] .fx-auth-provider-link,
html[data-bs-theme="dark"] .fx-auth-page .btn-link,
body.dark .fx-auth-forgot,
body.dark .fx-auth-footer-links a,
body.dark .fx-auth-provider-link,
body.dark .fx-auth-page .btn-link {
  color: #CBA346 !important;
}

/* ---------- Booking list + booking detail ---------- */
.fx-booking-page {
  background: transparent;
}

.fx-booking-hero,
.fx-booking-card,
.fx-booking-summary {
  background: #fff;
  border: 1px solid #E7C8D1;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(42, 14, 24, 0.06);
}

.fx-booking-hero {
  padding: 1.75rem 1.5rem;
}

@media (min-width: 768px) {
  .fx-booking-hero {
    padding: 2.25rem 2.25rem;
  }
}

.fx-booking-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #F8EEF1;
  color: #8C0F32;
}

.fx-booking-status--pending,
.fx-booking-status--pending_approval {
  background: #F8F1DE;
  color: #8A6A12;
}

.fx-booking-status--accept,
.fx-booking-status--on_going,
.fx-booking-status--in_progress {
  background: #F8EEF1;
  color: #8C0F32;
}

.fx-booking-status--completed {
  background: #E8F4EE;
  color: #1F7A4D;
}

.fx-booking-status--cancelled,
.fx-booking-status--rejected {
  background: #F4E8EB;
  color: #6E0C28;
}

.fx-booking-status--hold {
  background: #F8F1DE;
  color: #8A6A12;
}

.fx-booking-history-link {
  color: #8C0F32 !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  border-bottom: 1px solid #CBA346;
  padding-bottom: 0.1rem;
}

.fx-booking-history-link:hover {
  color: #CBA346 !important;
}

.fx-booking-hero__title {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #2A0E18 !important;
  line-height: 1.25;
}

.fx-booking-hero__title a {
  color: #2A0E18 !important;
  text-decoration: none;
}

.fx-booking-hero__title a:hover {
  color: #8C0F32 !important;
}

.fx-booking-hero__date {
  color: #8C0F32;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.fx-booking-hero__address,
.fx-booking-hero__reason {
  color: #5C3D47 !important;
  font-size: 0.95rem;
  line-height: 1.5;
}

.fx-booking-hero__img {
  width: 100%;
  max-width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  margin-left: auto;
  display: block;
  background: #F8EEF1;
  box-shadow: 0 12px 28px rgba(42, 14, 24, 0.12);
}

.fx-booking-page .btn-primary {
  border-radius: 12px !important;
  font-weight: 700 !important;
}

.fx-booking-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #2A0E18 !important;
  margin: 0 0 1.15rem;
}

.fx-booking-section-title__note {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8A6A74;
}

.fx-booking-avatar {
  width: 132px;
  height: 132px;
  border-radius: 18px;
  object-fit: cover;
  border: 3px solid #F8EEF1;
}

.fx-booking-person h5 {
  color: #2A0E18 !important;
  font-weight: 700;
}

.fx-booking-person a h5:hover {
  color: #8C0F32 !important;
}

.fx-booking-person .h6,
.fx-booking-person .text-body,
.fx-booking-person a {
  color: #5C3D47;
}

.fx-booking-person a[href^="mailto:"],
.fx-booking-person a[href^="tel:"] {
  color: #8C0F32 !important;
  font-weight: 600;
}

.fx-booking-vr {
  background-color: #E7C8D1 !important;
  opacity: 1;
}

.fx-booking-summary {
  padding: 1.5rem 1.35rem;
}

.fx-booking-summary .table,
.fx-booking-page .table {
  --bs-table-bg: transparent;
}

.fx-booking-summary .table td,
.fx-booking-page .fx-booking-summary .table td {
  color: #5C3D47;
  border-color: #F4E6EB !important;
  padding: 0.65rem 0.35rem;
  vertical-align: middle;
}

.fx-booking-summary .table tr.bg-light td,
.fx-booking-page .table tr.bg-light td {
  background: #F8EEF1 !important;
  color: #2A0E18 !important;
}

.fx-booking-summary .table tr.bg-light td h6 {
  color: #8C0F32 !important;
  font-weight: 800;
}

.fx-booking-actions .btn {
  border-radius: 12px !important;
  min-height: 48px;
}

.fx-booking-page .comment-box {
  background: #fff;
  border: 1px solid #E7C8D1;
  border-radius: 16px;
  padding: 1.25rem;
}

.fx-booking-page .comment.border-bottom {
  border-bottom: 0 !important;
}

.fx-booking-page .modal-content {
  border: 0;
  border-radius: 18px;
}

.fx-booking-page .modal-header,
.fx-booking-page + .modal .modal-header,
#statusModal .modal-header,
#cancelModal .modal-header,
#reasonModal .modal-header,
#taxModal .modal-header,
#ratingModal .modal-header {
  border-bottom: 1px solid #F4E6EB;
}

#statusModal .status-timeline .title,
#statusModal .timeline-time-block .time {
  color: #8C0F32 !important;
}

.booking .bg-light.padding-50,
.booking .bg-light.rounded-3 {
  background: #fff !important;
  border: 1px solid #E7C8D1 !important;
  box-shadow: 0 12px 32px rgba(42, 14, 24, 0.06);
}

.booking .booking-title a {
  color: #2A0E18 !important;
  font-weight: 800;
}

.booking .booking-title a:hover {
  color: #8C0F32 !important;
}

.booking .booking-date {
  background: #F8EEF1 !important;
  color: #8C0F32 !important;
}

html[data-bs-theme="dark"] .fx-booking-hero,
html[data-bs-theme="dark"] .fx-booking-card,
html[data-bs-theme="dark"] .fx-booking-summary,
html[data-bs-theme="dark"] .fx-booking-page .comment-box,
html[data-bs-theme="dark"] .booking .bg-light.padding-50,
html[data-bs-theme="dark"] .booking .bg-light.rounded-3,
body.dark .fx-booking-hero,
body.dark .fx-booking-card,
body.dark .fx-booking-summary,
body.dark .fx-booking-page .comment-box,
body.dark .booking .bg-light.padding-50 {
  background: #261318 !important;
  border-color: #3D252C !important;
  color: #E8DDE0 !important;
}

html[data-bs-theme="dark"] .fx-booking-hero__title,
html[data-bs-theme="dark"] .fx-booking-hero__title a,
html[data-bs-theme="dark"] .fx-booking-section-title,
html[data-bs-theme="dark"] .fx-booking-person h5,
html[data-bs-theme="dark"] .booking .booking-title a,
body.dark .fx-booking-hero__title,
body.dark .fx-booking-hero__title a,
body.dark .fx-booking-section-title,
body.dark .fx-booking-person h5 {
  color: #F7EDEE !important;
}

html[data-bs-theme="dark"] .fx-booking-hero__address,
html[data-bs-theme="dark"] .fx-booking-hero__reason,
html[data-bs-theme="dark"] .fx-booking-person .h6,
html[data-bs-theme="dark"] .fx-booking-summary .table td,
body.dark .fx-booking-hero__address,
body.dark .fx-booking-summary .table td {
  color: #C4B0B6 !important;
}

html[data-bs-theme="dark"] .fx-booking-hero__date,
html[data-bs-theme="dark"] .fx-booking-history-link,
html[data-bs-theme="dark"] .fx-booking-person a[href^="mailto:"],
html[data-bs-theme="dark"] .fx-booking-person a[href^="tel:"],
body.dark .fx-booking-hero__date,
body.dark .fx-booking-history-link {
  color: #CBA346 !important;
}

html[data-bs-theme="dark"] .fx-booking-summary .table tr.bg-light td,
body.dark .fx-booking-summary .table tr.bg-light td {
  background: #1E1014 !important;
}

html[data-bs-theme="dark"] .fx-booking-summary .table tr.bg-light td h6,
body.dark .fx-booking-summary .table tr.bg-light td h6 {
  color: #CBA346 !important;
}

html[data-bs-theme="dark"] .fx-booking-vr,
body.dark .fx-booking-vr {
  background-color: #3D252C !important;
}

html[data-bs-theme="dark"] .fx-booking-avatar,
body.dark .fx-booking-avatar {
  border-color: #3D252C;
}

/* ---------- Booking list (/booking-list) ---------- */
.booking-catalog-page .section-padding {
  background:
    linear-gradient(180deg, #FBF6F7 0%, #fff 120px);
}

.booking-catalog-hero .category-catalog-title {
  max-width: 16ch;
}

.booking-catalog-toolbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid #EDE0E4;
  border-radius: 14px;
  box-shadow: none;
}

.booking-catalog-field {
  flex: 1 1 0;
  min-width: 0;
}

.booking-catalog-field--search {
  flex: 1.35 1 0;
}

.booking-catalog-field .select2-container {
  width: 100% !important;
}

.booking-catalog-reset {
  flex: 0 0 auto;
  min-height: 46px;
  white-space: nowrap;
}

.booking-catalog-label {
  display: block;
  margin-bottom: 0.3rem;
  color: #6B5E63;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.booking-catalog-toolbar .form-control,
.booking-catalog-toolbar .form-select,
.booking-catalog-toolbar .select2-container--default .select2-selection--single {
  min-height: 46px;
  border-radius: 12px !important;
  border-color: #E7C8D1 !important;
  background: #FBF8F9;
}

.booking-catalog-search {
  position: relative;
  width: 100%;
}

.booking-catalog-search .form-control {
  padding-inline-end: 2.75rem;
}

.booking-catalog-search .search-icon {
  right: 0.65rem;
  border: 0;
  background: transparent;
  z-index: 2;
}

@media (max-width: 767.98px) {
  .booking-catalog-toolbar {
    flex-wrap: wrap;
  }

  .booking-catalog-field,
  .booking-catalog-field--search {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }

  .booking-catalog-reset {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .booking-catalog-field,
  .booking-catalog-field--search {
    flex: 1 1 100%;
  }
}

.booking-catalog-table-wrap,
.booking-catalog-page .dataTables_wrapper .table-responsive.my-3 {
  overflow: visible !important;
}

.booking-catalog-page .custom-card-table.table > :not(caption) > * > *,
.booking-catalog-page .custom-card-table tbody tr,
.booking-catalog-page .custom-card-table tbody tr:hover > *,
.booking-catalog-page .table-hover > tbody > tr:hover > * {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  --bs-table-bg-state: transparent !important;
  --bs-table-hover-bg: transparent !important;
  --bs-table-color-state: inherit !important;
}

.booking-catalog-page .custom-card-table tbody tr:hover,
.booking-catalog-page .custom-card-table tbody tr:hover td,
.booking-catalog-page .dataTables_wrapper tbody tr:hover {
  background: transparent !important;
  box-shadow: none !important;
}

.booking-catalog-page .custom-card-table tbody tr::before,
.booking-catalog-page .custom-card-table tbody tr::after,
.booking-catalog-page .custom-card-table tbody tr:hover::before,
.booking-catalog-page .custom-card-table tbody tr:hover::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
}

.booking-catalog-page .custom-card-table tbody td {
  padding: 0.5rem !important;
  height: 100%;
}

.booking-catalog-page .custom-card-table tbody tr {
  height: 100%;
}

.fx-booking-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E8E0E3;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(42, 14, 24, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.fx-booking-card:hover {
  border-color: #D5C4C9;
  background: #FFFBFC;
  box-shadow: 0 10px 26px rgba(42, 14, 24, 0.07);
  transform: none;
}

.fx-booking-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, rgba(140, 15, 50, 0.08), rgba(203, 163, 70, 0.12));
}

.fx-booking-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fx-booking-card__id {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(42, 14, 24, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.fx-booking-card__status {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.fx-booking-status-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  background: #F8EEF1;
  color: #8C0F32;
  white-space: nowrap;
}

.fx-booking-status-pill--pending,
.fx-booking-status-pill--waiting {
  background: #FFF4E5;
  color: #B86E00;
}

.fx-booking-status-pill--accept,
.fx-booking-status-pill--accepted,
.fx-booking-status-pill--completed {
  background: #E8F7EE;
  color: #1B7A45;
}

.fx-booking-status-pill--on_going,
.fx-booking-status-pill--in_progress,
.fx-booking-status-pill--start {
  background: #EAF2FF;
  color: #1F4EA3;
}

.fx-booking-status-pill--cancelled,
.fx-booking-status-pill--rejected,
.fx-booking-status-pill--failed {
  background: #FDECEC;
  color: #B42318;
}

.fx-booking-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
  padding: 1rem 1.1rem 1.1rem;
}

.fx-booking-card__title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fx-booking-card__title a {
  color: #2A0E18 !important;
  text-decoration: none;
}

.fx-booking-card__title a:hover {
  color: #8C0F32 !important;
}

.fx-booking-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fx-booking-card__meta-item--full {
  grid-column: 1 / -1;
}

.fx-booking-card__meta-label {
  display: block;
  margin-bottom: 0.15rem;
  color: #8A7A80;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fx-booking-card__meta-value {
  color: #2A0E18;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

.fx-booking-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #F1E4E8;
}

.fx-booking-card__price {
  display: block;
  color: #8C0F32;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fx-booking-card__pay {
  display: block;
  margin-top: 0.15rem;
  color: #6B5E63;
  font-size: 0.78rem;
  text-transform: capitalize;
}

.fx-booking-card__refund {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #E8F7EE;
  color: #1B7A45;
  font-size: 0.72rem;
  font-weight: 700;
}

.fx-booking-card__footer .btn {
  border-radius: 999px !important;
  white-space: nowrap;
}

.booking-catalog-page .dataTables_paginate .paginate_button.current,
.booking-catalog-page .page-item.active .page-link {
  background: #8C0F32 !important;
  border-color: #8C0F32 !important;
  color: #fff !important;
}

.booking-catalog-pagination {
  margin-top: 0.5rem;
}

html[data-bs-theme="dark"] .booking-catalog-page .section-padding,
body.dark .booking-catalog-page .section-padding {
  background: transparent;
}

html[data-bs-theme="dark"] .booking-catalog-toolbar,
html[data-bs-theme="dark"] .fx-booking-card,
body.dark .booking-catalog-toolbar,
body.dark .fx-booking-card {
  background: #261318 !important;
  border-color: #3D252C !important;
  color: #E8DDE0;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .fx-booking-card:hover,
body.dark .fx-booking-card:hover {
  background: #2C171C !important;
  border-color: #4A3038 !important;
  box-shadow: none !important;
}

html[data-bs-theme="dark"] .fx-booking-card__title a,
html[data-bs-theme="dark"] .fx-booking-card__meta-value,
body.dark .fx-booking-card__title a,
body.dark .fx-booking-card__meta-value {
  color: #F7EDEE !important;
}

html[data-bs-theme="dark"] .booking-catalog-label,
html[data-bs-theme="dark"] .fx-booking-card__meta-label,
html[data-bs-theme="dark"] .fx-booking-card__pay,
body.dark .booking-catalog-label,
body.dark .fx-booking-card__meta-label,
body.dark .fx-booking-card__pay {
  color: #C4B0B6 !important;
}

html[data-bs-theme="dark"] .fx-booking-card__footer,
body.dark .fx-booking-card__footer {
  border-top-color: #3D252C;
}

html[data-bs-theme="dark"] .booking-catalog-toolbar .form-control,
html[data-bs-theme="dark"] .booking-catalog-toolbar .form-select,
body.dark .booking-catalog-toolbar .form-control,
body.dark .booking-catalog-toolbar .form-select {
  background: #1E1014 !important;
  border-color: #3D252C !important;
  color: #E8DDE0 !important;
}





