/* ============================================================
   HOME MAINTENANCES — Modern UI Design System
   Version 2.0  |  April 2026
   ============================================================ */

/* ─── 1. DESIGN TOKENS ─── */
:root {
  /* Brand */
  --hm-primary:         #fdc900;
  --hm-primary-dark:    #e6b000;
  --hm-primary-light:   #fff8d6;
  --hm-primary-rgb:     253, 201, 0;
  --hm-dark:            #051829;
  --hm-dark-mid:        #0a2540;
  --hm-dark-light:      #132f4c;
  --hm-accent:          #ecad26;
  --hm-accent-dark:     #c8ae1a;
  --hm-success:         #22c55e;
  --hm-warning:         #f59e0b;
  --hm-danger:          #ef4444;

  /* Neutrals */
  --hm-white:           #ffffff;
  --hm-gray-50:         #f8fafc;
  --hm-gray-100:        #f1f5f9;
  --hm-gray-200:        #e2e8f0;
  --hm-gray-300:        #cbd5e1;
  --hm-gray-400:        #94a3b8;
  --hm-gray-500:        #64748b;
  --hm-gray-600:        #475569;
  --hm-gray-700:        #334155;
  --hm-gray-800:        #1e293b;
  --hm-gray-900:        #0f172a;

  /* Typography */
  --hm-font:            'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --hm-font-mono:       'JetBrains Mono', 'Fira Code', monospace;

  /* Border radius */
  --hm-radius-xs:       4px;
  --hm-radius-sm:       8px;
  --hm-radius:          12px;
  --hm-radius-lg:       16px;
  --hm-radius-xl:       24px;
  --hm-radius-2xl:      32px;
  --hm-radius-full:     9999px;

  /* Shadows */
  --hm-shadow-xs:       0 1px 2px rgba(0,0,0,.05);
  --hm-shadow-sm:       0 2px 8px rgba(0,0,0,.07);
  --hm-shadow:          0 4px 20px rgba(0,0,0,.09);
  --hm-shadow-md:       0 8px 32px rgba(0,0,0,.11);
  --hm-shadow-lg:       0 16px 48px rgba(0,0,0,.13);
  --hm-shadow-xl:       0 24px 64px rgba(0,0,0,.16);
  --hm-shadow-glow:     0 0 0 3px rgba(253,201,0,.30);
  --hm-shadow-accent:   0 0 0 3px rgba(38,114,236,.25);

  /* Transitions */
  --hm-ease:            cubic-bezier(.4,0,.2,1);
  --hm-ease-spring:     cubic-bezier(.34,1.56,.64,1);
  --hm-transition:      all .2s var(--hm-ease);
  --hm-transition-md:   all .3s var(--hm-ease);
  --hm-transition-slow: all .5s var(--hm-ease);

  /* Layout */
  --hm-topbar-h:        38px;
  --hm-navbar-h:        72px;
  --hm-bottom-nav-h:    64px;
}

/* ─── 2. GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── 3. GLOBAL RESETS & BASE ─── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--hm-font) !important;
  color: var(--hm-gray-800);
  background: var(--hm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hm-font) !important;
  font-weight: 700;
  line-height: 1.25;
  color: var(--hm-gray-900);
}

a { transition: var(--hm-transition); }
a:hover { text-decoration: none; }

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

/* ─── 4. SCROLLBAR ─── */
::-webkit-scrollbar               { width: 6px; height: 6px; }
::-webkit-scrollbar-track         { background: var(--hm-gray-100); border-radius: 3px; }
::-webkit-scrollbar-thumb         { background: var(--hm-primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover   { background: var(--hm-primary-dark); }

/* ─── 5. BOOTSTRAP 3/4 COMPAT SHIMS ─── */
/* Hidden/visible breakpoint helpers removed in BS5 */
@media (max-width: 575.98px) {
  .hidden-xs  { display: none !important; }
  .visible-xs { display: block !important; }
}
@media (min-width: 576px) {
  .visible-xs { display: none !important; }
}
@media (max-width: 767.98px) {
  .hidden-sm  { display: none !important; }
  .visible-sm { display: block !important; }
}
@media (min-width: 768px) {
  .visible-sm { display: none !important; }
}
@media (max-width: 991.98px) {
  .hidden-md  { display: none !important; }
  .visible-md { display: block !important; }
}
@media (min-width: 992px) {
  .visible-md { display: none !important; }
  .hidden-lg  { display: none !important; }
  .visible-lg { display: block !important; }
  .hidden-sm  { display: none !important; }
}
@media (min-width: 1200px) {
  .visible-lg { display: none !important; }
}
.pull-left  { float: left !important; }
.pull-right { float: right !important; }
.center-block { display: block; margin-left: auto; margin-right: auto; }
.text-danger { color: #ef4444 !important; }

/* Fix: override old theme page-wrapper overflow:hidden which breaks position:sticky */
.page-wrapper { overflow: visible !important; }
body { overflow-x: hidden; }

/* BS4 form-group compat */
.form-group { margin-bottom: 1rem; }

/* ─── 6. PRELOADER ─── */
.preloader {
  position: fixed; inset: 0;
  background: var(--hm-white);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity .4s, visibility .4s;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner img { width: 80px; animation: hm-pulse 1.2s ease-in-out infinite; }
@keyframes hm-pulse { 0%,100% { transform: scale(1); opacity:1; } 50% { transform: scale(.9); opacity:.7; } }

/* ─── 7. TOPBAR ─── */
.hm-topbar {
  background: var(--hm-dark);
  height: var(--hm-topbar-h);
  display: flex;
  align-items: center;
  font-size: .8rem;
  position: relative;
  z-index: 1025;
}
.hm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.hm-topbar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--hm-gray-400);
}
.hm-topbar-contact a,
.hm-topbar-contact span { color: var(--hm-gray-400); font-size: .8rem; }
.hm-topbar-contact a:hover { color: var(--hm-primary); }
.hm-topbar-contact i { color: var(--hm-primary); margin-right: 5px; }
.hm-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Social icons in topbar */
.hm-social-links {
  display: flex; align-items: center; gap: 10px;
  list-style: none; margin: 0; padding: 0;
}
.hm-social-links li a {
  color: var(--hm-gray-400);
  font-size: .85rem;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: var(--hm-transition);
}
.hm-social-links li a:hover {
  color: var(--hm-primary);
  background: rgba(255,255,255,.08);
}

/* Google Translate in topbar */
#google_translate_element .goog-te-combo,
.goog-te-combo {
  background: rgba(0, 0, 0, .6) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  color: var(--hm-gray-300) !important;
  border-radius: var(--hm-radius-xs) !important;
  padding: 2px 6px !important;
  font-size: .75rem !important;
  font-family: var(--hm-font) !important;
}
.goog-te-gadget { color: transparent !important; font-size: 0 !important; }
.goog-te-gadget img { display: none !important; }

/* ─── 8. MAIN NAVBAR ─── */
.hm-navbar {
  background: var(--hm-white);
  height: var(--hm-navbar-h);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: background .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid var(--hm-gray-100);
  will-change: transform;
}
.hm-navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 28px rgba(0,0,0,.12);
  border-bottom-color: transparent;
}
.hm-navbar .navbar-brand img { height: 44px; width: auto; transition: var(--hm-transition); }
.hm-navbar .navbar-brand:hover img { opacity: .85; }

/* Nav links */
.hm-navbar .navbar-nav .nav-link {
  color: var(--hm-gray-700) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem .75rem !important;
  border-radius: var(--hm-radius-sm);
  transition: var(--hm-transition);
  position: relative;
}
.hm-navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--hm-primary);
  border-radius: 1px;
  transition: var(--hm-transition);
}
.hm-navbar .navbar-nav .nav-link:hover,
.hm-navbar .navbar-nav .nav-link.active {
  color: var(--hm-dark) !important;
  background: var(--hm-primary-light);
}
.hm-navbar .navbar-nav .nav-link:hover::after,
.hm-navbar .navbar-nav .nav-link.active::after { left: 12px; right: 12px; }

/* Dropdown */
.hm-navbar .dropdown-menu {
  border: none;
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow-md);
  padding: .5rem;
  margin-top: 8px;
  min-width: 200px;
  background: var(--hm-white);
  animation: hm-dropdown-in .15s var(--hm-ease);
}
@keyframes hm-dropdown-in {
  from { opacity:0; transform: translateY(-6px); }
  to   { opacity:1; transform: translateY(0); }
}
.hm-navbar .dropdown-item {
  border-radius: var(--hm-radius-sm);
  padding: .5rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--hm-gray-700);
  transition: var(--hm-transition);
}
.hm-navbar .dropdown-item:hover {
  background: var(--hm-primary-light);
  color: var(--hm-dark);
}
.hm-navbar .dropdown-item i { width: 18px; margin-right: 6px; color: var(--hm-primary); }

/* Navbar toggler */
.hm-navbar .navbar-toggler {
  border: none;
  padding: 6px 10px;
  border-radius: var(--hm-radius-sm);
  background: var(--hm-gray-100);
}
.hm-navbar .navbar-toggler:focus { box-shadow: none; }
.hm-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23051829' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* CTA buttons in navbar */
.hm-btn-login {
  font-weight: 600;
  font-size: .85rem;
  padding: .45rem 1.1rem;
  border-radius: var(--hm-radius-sm);
  border: 2px solid var(--hm-dark);
  color: var(--hm-dark);
  background: transparent;
  transition: var(--hm-transition);
  white-space: nowrap;
}
.hm-btn-login:hover {
  background: var(--hm-dark);
  color: var(--hm-primary);
}
.hm-btn-listing {
  font-weight: 600;
  font-size: .85rem;
  padding: .45rem 1.2rem;
  border-radius: var(--hm-radius-sm);
  background: var(--hm-primary);
  border: 2px solid var(--hm-primary);
  color: var(--hm-dark);
  transition: var(--hm-transition);
  white-space: nowrap;
}
.hm-btn-listing:hover {
  background: var(--hm-primary-dark);
  border-color: var(--hm-primary-dark);
  color: var(--hm-dark);
  box-shadow: var(--hm-shadow-glow);
}
.hm-btn-dashboard {
  font-weight: 600;
  font-size: .85rem;
  padding: .45rem 1.2rem;
  border-radius: var(--hm-radius-sm);
  background: var(--hm-dark);
  color: var(--hm-primary);
  border: 2px solid var(--hm-dark);
  transition: var(--hm-transition);
}
.hm-btn-dashboard:hover {
  background: var(--hm-dark-mid);
  color: var(--hm-primary);
}

/* Account dialog trigger */
.hm-account-trigger {
  box-shadow: 0 6px 18px rgba(5,24,41,.14);
}

/* Account modal */
.hm-account-modal .modal-dialog {
  max-width: 460px;
}
.hm-account-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(5,24,41,.22);
}
.hm-account-modal .modal-header {
  border: 0;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--hm-primary) 0%, #dc9935 100%);
}
.hm-account-modal .modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-account-modal .modal-title i {
  color: white ;
}
.hm-account-modal .modal-header .btn-close {
  filter: invert(1);
  opacity: .85;
}
.hm-account-modal .modal-body {
  padding: 18px;
  background: #fff;
}
.hm-account-subtitle {
  color: #64748b;
  font-size: .86rem;
  margin: 0 0 14px;
}
.hm-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hm-account-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #1e293b;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
  transition: all .2s ease;
}
.hm-account-action i {
  color: var(--hm-primary);
  width: 16px;
}
.hm-account-action:hover {
  border-color: var(--hm-accent);
  box-shadow: 0 8px 20px rgba(5,24,41,.08);
  text-decoration: none;
  color: #0f172a;
  transform: translateY(-1px);
}
.hm-account-action--danger i,
.hm-account-action--danger {
  color: #b91c1c;
}
.hm-account-login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hm-account-login-card {
  border-radius: 12px;
  padding: 14px 10px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-weight: 700;
  font-size: .82rem;
  transition: all .2s ease;
}
.hm-account-login-card i {
  font-size: 1.05rem;
}
.hm-account-login-card:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(5,24,41,.1);
}
.hm-account-login-card--customer i { color: #0f766e; }
.hm-account-login-card--vendor i { color: #b45309; }
.hm-account-login-card--supplier i { color: #1d4ed8; }
.hm-account-login-card--scrap i { color: #047857; }

/* Offcanvas (mobile) */
.hm-offcanvas {
  width: 300px !important;
  border-right: none !important;
}
.hm-offcanvas .offcanvas-header {
  background: var(--hm-dark);
  padding: 1rem 1.25rem;
}
.hm-offcanvas .offcanvas-body { padding: .75rem .5rem; }
.hm-offcanvas-nav { list-style: none; margin: 0; padding: 0; }
.hm-offcanvas-nav .nav-link {
  color: var(--hm-gray-700) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .7rem 1rem !important;
  border-radius: var(--hm-radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--hm-transition);
}
.hm-offcanvas-nav .nav-link i { width: 20px; color: var(--hm-primary); font-size: 1rem; }
.hm-offcanvas-nav .nav-link:hover { background: var(--hm-primary-light); color: var(--hm-dark) !important; }
.hm-offcanvas-divider { height: 1px; background: var(--hm-gray-200); margin: .5rem 1rem; }

/* ─── 9. MOBILE BOTTOM NAV ─── */
/* ─── 9. MOBILE BOTTOM NAV (Pinned) ─── */
.hm-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--hm-bottom-nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  z-index: 1040;
  box-shadow: 0 -2px 24px rgba(0,0,0,.09);
  padding: 0;
  safe-area-inset-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 992px) { .hm-bottom-nav { display: none !important; } }
body { padding-bottom: var(--hm-bottom-nav-h); }
@media (min-width: 992px) { body { padding-bottom: 0; } }

.hm-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--hm-gray-400);
  padding: .5rem .25rem;
  transition: color .18s ease, transform .18s ease;
  position: relative;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.hm-bottom-nav-item[hidden],
.hm-bottom-nav-item.hidden { display: none !important; }
.hm-bottom-nav-item i {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), color .18s;
}
.hm-bottom-nav-item span { font-size: .62rem; font-weight: 500; letter-spacing: .2px; }
.hm-bottom-nav-item:hover,
.hm-bottom-nav-item.active { color: var(--hm-dark); text-decoration: none; }
.hm-bottom-nav-item.active i { color: var(--hm-primary); transform: translateY(-2px) scale(1.1); }
.hm-bottom-nav-item.active span { color: var(--hm-dark); font-weight: 700; }
.hm-bottom-nav-item::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 28px; height: 3px;
  background: var(--hm-primary);
  border-radius: 0 0 4px 4px;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.hm-bottom-nav-item.active::before { transform: translateX(-50%) scaleX(1); }
.hm-bottom-nav-item.hm-bottom-install {
  color: var(--hm-dark);
  background: var(--hm-primary-light);
}
.hm-bottom-nav-item.hm-bottom-install i { color: var(--hm-dark); }
.hm-bottom-nav-item.hm-bottom-install:hover {
  color: var(--hm-dark);
  background: var(--hm-primary);
}
.hm-bottom-nav-item.hm-bottom-install::before {
  transform: translateX(-50%) scaleX(1);
  background: var(--hm-primary-dark);
}
/* Center search button elevated */
.hm-bottom-nav-item.hm-bottom-center {
  background: var(--hm-primary);
  color: var(--hm-dark);
  border-radius: 50%;
  width: 52px; height: 52px;
  flex: 0 0 52px;
  margin: auto;
  margin-top: -14px;
  box-shadow: 0 4px 16px rgba(253,201,0,.45);
  padding: 0;
  align-self: center;
}
.hm-bottom-nav-item.hm-bottom-center i { font-size: 1.3rem; color: var(--hm-dark); }
.hm-bottom-nav-item.hm-bottom-center span { display: none; }
.hm-bottom-nav-item.hm-bottom-center:hover { background: #e6b000; color: var(--hm-dark); }
.hm-bottom-nav-item.hm-bottom-center::before { display: none; }

/* ─── 10. HERO / SEARCH SECTION — styles moved to function/homepagesearch.css ─── */

/* ─── 11. SECTION HEADINGS ─── */
.hm-section { padding: 5rem 0; }
.hm-section-sm { padding: 3rem 0; }
.hm-section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.hm-section-tag {
  display: inline-block;
  background: var(--hm-primary-light);
  color: var(--hm-dark);
  border-radius: var(--hm-radius-full);
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.hm-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--hm-gray-900);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.hm-section-title span { color: var(--hm-primary); }
.hm-section-subtitle {
  color: var(--hm-gray-500);
  font-size: 1rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
/* Decorative underline */
.hm-section-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2.5rem;
}
.hm-section-title-line::before,
.hm-section-title-line::after {
  content: '';
  height: 2px;
  width: 48px;
  background: var(--hm-gray-200);
  border-radius: 1px;
}
.hm-section-title-line span {
  width: 10px; height: 10px;
  background: var(--hm-primary);
  border-radius: 50%;
}

/* ─── 12. CARDS ─── */
/* Base card */
.hm-card {
  background: var(--hm-white);
  border-radius: var(--hm-radius-lg);
  border: 1px solid var(--hm-gray-200);
  box-shadow: var(--hm-shadow-sm);
  transition: var(--hm-transition-md);
  overflow: hidden;
  position: relative;
}
.hm-card:hover {
  box-shadow: var(--hm-shadow-lg);
  border-color: var(--hm-primary);
  transform: translateY(-4px);
}

/* Vendor card */
.hm-vendor-card {
  display: flex;
  flex-direction: column;
}
.hm-vendor-card-img {
  position: relative;
  overflow: hidden;
}
.hm-vendor-card-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: var(--hm-transition-slow);
}
.hm-vendor-card:hover .hm-vendor-card-img img { transform: scale(1.05); }
.hm-vendor-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--hm-primary);
  color: var(--hm-dark);
  border-radius: var(--hm-radius-full);
  padding: 3px 10px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.hm-vendor-card-body { padding: 1.25rem; flex: 1; }
.hm-vendor-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hm-gray-900);
  margin-bottom: .35rem;
}
.hm-vendor-card-cat {
  font-size: .78rem;
  color: var(--hm-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: .5rem;
}
.hm-vendor-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: var(--hm-gray-500);
}
.hm-vendor-card-meta i { color: var(--hm-primary); }
.hm-vendor-card-footer {
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--hm-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Service category card */
.hm-service-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--hm-radius-lg);
  border: 1px solid var(--hm-gray-200);
  background: var(--hm-white);
  transition: var(--hm-transition-md);
  cursor: pointer;
}
.hm-service-card:hover {
  background: var(--hm-dark);
  border-color: var(--hm-dark);
  transform: translateY(-5px);
  box-shadow: var(--hm-shadow-lg);
}
.hm-service-icon {
  width: 68px; height: 68px;
  background: var(--hm-primary-light);
  border-radius: var(--hm-radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: var(--hm-dark);
  transition: var(--hm-transition-md);
}
.hm-service-card:hover .hm-service-icon {
  background: var(--hm-primary);
}
.hm-service-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--hm-gray-800);
  margin-bottom: .25rem;
  transition: var(--hm-transition);
}
.hm-service-card:hover .hm-service-card-title { color: var(--hm-white); }
.hm-service-card-count {
  font-size: .75rem;
  color: var(--hm-gray-500);
  transition: var(--hm-transition);
}
.hm-service-card:hover .hm-service-card-count { color: var(--hm-gray-400); }

/* Product card */
.hm-product-card { display: flex; flex-direction: column; }
.hm-product-card-img { position: relative; overflow: hidden; }
.hm-product-card-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: var(--hm-transition-slow);
}
.hm-product-card:hover .hm-product-card-img img { transform: scale(1.06); }
.hm-product-card-body { padding: 1rem; flex: 1; }
.hm-product-card-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--hm-gray-800);
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hm-product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hm-dark);
}
.hm-product-price-old {
  font-size: .8rem;
  color: var(--hm-gray-400);
  text-decoration: line-through;
  margin-left: 6px;
}

/* ─── 13. BUTTONS ─── */
/* Primary CTA */
.hm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .65rem 1.5rem;
  border-radius: var(--hm-radius-sm);
  font-family: var(--hm-font);
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--hm-transition);
  text-decoration: none;
  white-space: nowrap;
}
.hm-btn-primary {
  background: var(--hm-primary);
  color: var(--hm-dark);
  border-color: var(--hm-primary);
}
.hm-btn-primary:hover {
  background: var(--hm-primary-dark);
  border-color: var(--hm-primary-dark);
  color: var(--hm-dark);
  box-shadow: var(--hm-shadow-glow);
  transform: translateY(-1px);
}
.hm-btn-dark {
  background: var(--hm-dark);
  color: var(--hm-primary);
  border-color: var(--hm-dark);
}
.hm-btn-dark:hover {
  background: var(--hm-dark-mid);
  color: var(--hm-primary);
  border-color: var(--hm-dark-mid);
  transform: translateY(-1px);
}
.hm-btn-outline {
  background: transparent;
  color: var(--hm-dark);
  border-color: var(--hm-gray-300);
}
.hm-btn-outline:hover {
  border-color: var(--hm-dark);
  background: var(--hm-dark);
  color: var(--hm-white);
}
.hm-btn-outline-primary {
  background: transparent;
  color: var(--hm-primary-dark);
  border-color: var(--hm-primary);
}
.hm-btn-outline-primary:hover {
  background: var(--hm-primary);
  color: var(--hm-dark);
}
.hm-btn-sm { padding: .4rem 1rem; font-size: .8rem; }
.hm-btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.hm-btn-xl { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--hm-radius); }
.hm-btn-icon { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: var(--hm-radius-sm); }
.hm-btn-icon-lg { width: 48px; height: 48px; }

/* Legacy Bootstrap class override */
.btn-warning, .theme-btn { background: var(--hm-primary) !important; border-color: var(--hm-primary) !important; color: var(--hm-dark) !important; font-weight: 600 !important; font-family: var(--hm-font) !important; border-radius: var(--hm-radius-sm) !important; transition: var(--hm-transition) !important; }
.btn-warning:hover, .theme-btn:hover { background: var(--hm-primary-dark) !important; border-color: var(--hm-primary-dark) !important; box-shadow: var(--hm-shadow-glow) !important; }
.theme-btn-s2 { background: var(--hm-dark) !important; color: var(--hm-primary) !important; border-radius: var(--hm-radius-sm) !important; padding: .5rem 1.25rem !important; font-weight: 600 !important; }
.theme-btn-s3 { color: var(--hm-gray-700) !important; font-weight: 500 !important; padding: .5rem 1rem !important; }
.theme-btn-s3:hover { color: var(--hm-dark) !important; background: var(--hm-primary-light) !important; }

/* extracss buttons from mainnav */
.extracss, .extracss_a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: .45rem 1.1rem !important;
  border-radius: var(--hm-radius-sm) !important;
  font-weight: 600 !important;
  font-size: .85rem !important;
  font-family: var(--hm-font) !important;
  transition: var(--hm-transition) !important;
}

/* ─── 14. FORMS ─── */
input[type=text],
input[type=number],
input[type=email],
input[type=password],
input[type=tel],
textarea,
select,
.form-control,
.form-select {
  font-family: var(--hm-font) !important;
  font-size: .9rem !important;
  border: 1.5px solid var(--hm-gray-200) !important;
  border-radius: var(--hm-radius-sm) !important;
  color: var(--hm-gray-800) !important;
  background: var(--hm-white) !important;
  transition: var(--hm-transition) !important;
  box-shadow: none !important;
}
input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=tel]:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(--hm-primary) !important;
  box-shadow: var(--hm-shadow-glow) !important;
  outline: none !important;
}
input::placeholder, textarea::placeholder { color: var(--hm-gray-400) !important; }

/* Select2 overrides */
.select2-container--bootstrap-5 .select2-selection {
  border: 1.5px solid var(--hm-gray-200) !important;
  border-radius: var(--hm-radius-sm) !important;
  font-family: var(--hm-font) !important;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
  border-color: var(--hm-primary) !important;
  box-shadow: var(--hm-shadow-glow) !important;
}
.select2-container--bootstrap-5 .select2-results__option--highlighted {
  background: var(--hm-primary-light) !important;
  color: var(--hm-dark) !important;
}

/* Form label */
label, .form-label {
  font-family: var(--hm-font) !important;
  font-weight: 600 !important;
  font-size: .83rem !important;
  color: var(--hm-gray-700) !important;
  margin-bottom: .35rem !important;
}

/* Input with icon prefix */
.hm-input-group {
  position: relative;
}
.hm-input-group .hm-input-icon {
  position: absolute;
  left: .9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--hm-gray-400);
  pointer-events: none;
  font-size: .9rem;
}
.hm-input-group input { padding-left: 2.5rem !important; }

/* Password show/hide */
.hm-pass-toggle {
  position: absolute;
  right: .9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--hm-gray-400);
  cursor: pointer;
  font-size: .9rem;
  transition: var(--hm-transition);
}
.hm-pass-toggle:hover { color: var(--hm-gray-700); }

/* ─── 15. FOOTER ─── */
.hm-footer {
  background: linear-gradient(160deg, var(--hm-dark) 0%, var(--hm-dark-mid) 60%, #0d3460 100%);
  color: var(--hm-gray-400);
  font-size: .875rem;
  position: relative;
  overflow: hidden;
}
.hm-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hm-primary), var(--hm-accent), var(--hm-primary));
}
.hm-footer-top {
  padding: 4rem 0 2.5rem;
}
.hm-footer-brand-col {}
.hm-footer-logo { margin-bottom: 1rem; }
.hm-footer-logo img { height: 48px; width: auto; }
.hm-footer-tagline {
  color: var(--hm-gray-400);
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 240px;
}
.hm-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .83rem;
  color: var(--hm-gray-400);
}
.hm-footer-contact-list li i {
  color: var(--hm-primary);
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}
.hm-footer-contact-list a { color: var(--hm-gray-400); }
.hm-footer-contact-list a:hover { color: var(--hm-primary); }

/* Footer headings */
.hm-footer-heading {
  color: var(--hm-white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid rgba(253,201,0,.25);
  position: relative;
}
.hm-footer-heading::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 28px; height: 2px;
  background: var(--hm-primary);
  border-radius: 1px;
}

/* Footer links */
.hm-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hm-footer-links a {
  color: var(--hm-gray-400);
  font-size: .83rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--hm-transition);
}
.hm-footer-links a::before {
  content: '›';
  color: var(--hm-primary);
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}
.hm-footer-links a:hover { color: var(--hm-primary); padding-left: 4px; }

/* Footer social */
.hm-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.hm-footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--hm-radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--hm-gray-400);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--hm-transition);
}
.hm-footer-social a:hover {
  background: var(--hm-primary);
  border-color: var(--hm-primary);
  color: var(--hm-dark);
  transform: translateY(-2px);
}

/* Footer bottom */
.hm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 0;
}
.hm-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.hm-footer-copyright {
  font-size: .8rem;
  color: var(--hm-gray-500);
}
.hm-footer-copyright a { color: var(--hm-primary); font-weight: 600; }
.hm-footer-legal {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0; padding: 0;
}
.hm-footer-legal a { font-size: .78rem; color: var(--hm-gray-500); }
.hm-footer-legal a:hover { color: var(--hm-primary); }

/* ─── 16. WHATSAPP + PWA BUTTONS ─── */
.whats-app {
  position: fixed !important;
  bottom: calc(var(--hm-bottom-nav-h) + 16px) !important;
  right: 16px !important;
  width: 52px !important;
  height: 52px !important;
  background: #25d366 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 1.4rem !important;
  box-shadow: 0 4px 16px rgba(37,211,102,.4) !important;
  z-index: 1025 !important;
  transition: var(--hm-transition) !important;
}
.whats-app:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 6px 24px rgba(37,211,102,.55) !important;
}
.my-float { margin: 0 !important; }
.whats-app .fa-whatsapp { color: #fff; }

@media (min-width: 992px) {
  .whats-app {
    bottom: 24px !important;
  }
}

#btn_install {
  appearance: none;
  -webkit-appearance: none;
}
@media (min-width: 992px) {
  #btn_install {
    position: fixed !important;
    left: 16px !important;
    bottom: 24px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: var(--hm-dark) !important;
    color: var(--hm-primary) !important;
    box-shadow: var(--hm-shadow-md) !important;
    z-index: 1025 !important;
  }
  #btn_install span { display: none; }
}

/* ─── 17. PAGE TITLE / HERO BANNER ─── */
.page-title {
  padding: 60px 0 !important;
  position: relative;
}
.page-title h2, .page-title h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: var(--hm-white) !important;
}
.page-title .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-title .breadcrumb-item,
.page-title .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: .85rem; }
.page-title .breadcrumb-item.active { color: var(--hm-primary); }
.page-title .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ─── Global Breadcrumb (non page-title) ─── */
nav[aria-label="breadcrumb"] .breadcrumb,
.hm-breadcrumb {
  background: transparent !important;
  padding: .6rem 0 !important;
  margin: 0 !important;
  font-size: .82rem;
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--hm-gray-400); }
.breadcrumb-item a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.breadcrumb-item a:hover { color: var(--hm-primary); }
.breadcrumb-item.active { color: var(--hm-gray-600); font-weight: 500; }

/* ─── Inline Breadcrumb Bar (for section pages without page-title) ─── */
.hm-breadcrumb-bar {
  background: #f8f9fb;
  border-bottom: 1px solid var(--hm-gray-100);
  padding: .55rem 0;
}
.hm-breadcrumb-bar .breadcrumb { margin: 0 !important; padding: 0 !important; font-size: .82rem; }

/* ─── 18. DASHBOARD STYLES ─── */
.hm-dash-layout { display: flex; min-height: 100vh; }
.hm-dash-sidebar {
  width: 260px;
  background: var(--hm-dark);
  flex-shrink: 0;
  padding: 2rem 0;
  position: sticky;
  top: var(--hm-navbar-h);
  height: calc(100vh - var(--hm-navbar-h));
  overflow-y: auto;
}
.hm-dash-main { flex: 1; padding: 2rem; background: var(--hm-gray-50); }
.hm-dash-nav {
  list-style: none;
  margin: 0; padding: 0 .75rem;
}
.hm-dash-nav .nav-link {
  color: var(--hm-gray-400) !important;
  font-weight: 500;
  font-size: .875rem;
  padding: .65rem 1rem !important;
  border-radius: var(--hm-radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--hm-transition);
  margin-bottom: 2px;
}
.hm-dash-nav .nav-link i { width: 20px; font-size: 1rem; color: var(--hm-gray-500); }
.hm-dash-nav .nav-link:hover,
.hm-dash-nav .nav-link.active {
  color: var(--hm-primary) !important;
  background: rgba(253,201,0,.1);
}
.hm-dash-nav .nav-link.active i,
.hm-dash-nav .nav-link:hover i { color: var(--hm-primary); }

/* Dashboard stat cards */
.hm-stat-card {
  background: var(--hm-white);
  border-radius: var(--hm-radius-lg);
  border: 1px solid var(--hm-gray-200);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--hm-transition-md);
  box-shadow: var(--hm-shadow-sm);
}
.hm-stat-card:hover { box-shadow: var(--hm-shadow-md); transform: translateY(-2px); }
.hm-stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--hm-radius);
  background: var(--hm-primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--hm-dark);
  flex-shrink: 0;
}
.hm-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hm-gray-900);
  line-height: 1;
}
.hm-stat-label {
  font-size: .8rem;
  color: var(--hm-gray-500);
  font-weight: 500;
  margin-top: 2px;
}

/* Dashboard table */
.hm-dash-table {
  background: var(--hm-white);
  border-radius: var(--hm-radius-lg);
  border: 1px solid var(--hm-gray-200);
  overflow: hidden;
  box-shadow: var(--hm-shadow-sm);
}
.hm-dash-table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--hm-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hm-dash-table-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hm-gray-900);
}
.hm-dash-table table { margin: 0; font-size: .875rem; }
.hm-dash-table th {
  background: var(--hm-gray-50) !important;
  color: var(--hm-gray-600) !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  padding: .75rem 1rem !important;
  border-color: var(--hm-gray-100) !important;
}
.hm-dash-table td {
  padding: .85rem 1rem !important;
  vertical-align: middle !important;
  border-color: var(--hm-gray-100) !important;
  color: var(--hm-gray-800) !important;
}
.hm-dash-table tbody tr:hover { background: var(--hm-gray-50) !important; }

/* Status badges */
.hm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--hm-radius-full);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.hm-badge-success { background: #dcfce7; color: #16a34a; }
.hm-badge-warning { background: #fef9c3; color: #b45309; }
.hm-badge-danger  { background: #fee2e2; color: #dc2626; }
.hm-badge-info    { background: #dbeafe; color: #2563eb; }
.hm-badge-gray    { background: var(--hm-gray-100); color: var(--hm-gray-600); }

/* ─── 19. ANNOUNCEMENTS BANNER ─── */

/* Outer bar */
.hm-ann {
  display: flex;
  align-items: stretch;
  height: 42px;
  background: var(--hm-dark);
  border-bottom: 1px solid rgba(253,201,0,.18);
  overflow: hidden;
  position: relative;
  z-index: 1040;
}

/* ── LIVE badge (left arrow shape) ── */
.hm-ann-badge {
  flex-shrink: 0;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 0 20px 0 16px;
  background: var(--hm-primary);
  color: var(--hm-dark);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

/* Pulsing dot inside badge */
.hm-ann-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hm-dark);
  flex-shrink: 0;
  animation: hm-ann-pulse 1.5s ease-in-out infinite;
}
@keyframes hm-ann-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .35; transform: scale(.65); }
}

/* ── Scrolling viewport ── */
.hm-ann-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  /* Soft fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}

/* Scrolling track — duplicated content for seamless loop */
.hm-ann-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: hm-ann-scroll var(--hm-ann-dur, 35s) linear infinite;
}
.hm-ann-viewport:hover .hm-ann-track,
.hm-ann-viewport:focus-within .hm-ann-track {
  animation-play-state: paused;
}
@keyframes hm-ann-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% because content is doubled */
}

/* Individual announcement chip */
.hm-ann-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .01em;
}
.hm-ann-item:hover { color: #fff; }
.hm-ann-item a { color: var(--hm-primary); text-decoration: underline; }

/* Bullet diamond icon */
.hm-ann-bullet {
  color: var(--hm-primary);
  font-size: .45rem;
  flex-shrink: 0;
  opacity: .8;
}

/* ── Dismiss × button ── */
.hm-ann-close {
  flex-shrink: 0;
  width: 40px;
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  transition: color .2s ease, background .2s ease;
}
.hm-ann-close:hover { color: #fff; background: rgba(255,255,255,.07); }
.hm-ann-close:focus-visible { outline: 2px solid var(--hm-primary); outline-offset: -2px; }

/* ── Responsive ── */
@media (max-width: 575px) {
  .hm-ann { height: 38px; }
  .hm-ann-badge { padding: 0 14px 0 10px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
  .hm-ann-badge-text { display: none; } /* show only the dot on mobile */
  .hm-ann-item { font-size: .76rem; padding: 0 18px; }
}

/* ─── 20. UTILITY CLASSES ─── */
.hm-shadow    { box-shadow: var(--hm-shadow) !important; }
.hm-shadow-md { box-shadow: var(--hm-shadow-md) !important; }
.hm-shadow-lg { box-shadow: var(--hm-shadow-lg) !important; }
.hm-rounded   { border-radius: var(--hm-radius) !important; }
.hm-rounded-lg { border-radius: var(--hm-radius-lg) !important; }
.hm-text-primary { color: var(--hm-primary) !important; }
.hm-text-dark    { color: var(--hm-dark) !important; }
.hm-text-accent  { color: var(--hm-accent) !important; }
.hm-text-muted   { color: var(--hm-gray-500) !important; }
.hm-bg-primary   { background: var(--hm-primary) !important; }
.hm-bg-dark      { background: var(--hm-dark) !important; }
.hm-bg-surface   { background: var(--hm-gray-50) !important; }
.hm-fw-500       { font-weight: 500 !important; }
.hm-fw-600       { font-weight: 600 !important; }
.hm-fw-700       { font-weight: 700 !important; }
.hm-fw-800       { font-weight: 800 !important; }
.hm-divider {
  height: 1px;
  background: var(--hm-gray-200);
  margin: 1.5rem 0;
}

/* Gap utilities (BS4 compat) */
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }

/* ─── 21. ANIMATIONS / AOS ENHANCEMENT ─── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Shimmer effect (loading skeleton) */
.hm-skeleton {
  background: linear-gradient(90deg,
    var(--hm-gray-100) 25%,
    var(--hm-gray-200) 50%,
    var(--hm-gray-100) 75%);
  background-size: 200% 100%;
  animation: hm-shimmer 1.6s infinite;
  border-radius: var(--hm-radius-sm);
}
@keyframes hm-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* Fade up */
@keyframes hm-fade-up {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
.hm-fade-up { animation: hm-fade-up .5s var(--hm-ease) forwards; }

/* ─── 22. FLOATING CTA SECTION ─── */
.hm-cta-section {
  background: var(--hm-primary);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.hm-cta-section::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.hm-cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--hm-dark);
}
.hm-cta-subtitle { color: rgba(5,24,41,.65); font-size: .95rem; }

/* ─── 23. TESTIMONIAL CARDS ─── */
.hm-testimonial-card {
  background: var(--hm-white);
  border-radius: var(--hm-radius-lg);
  padding: 2rem;
  border: 1px solid var(--hm-gray-200);
  box-shadow: var(--hm-shadow-sm);
  position: relative;
  transition: var(--hm-transition-md);
}
.hm-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem; left: 1.5rem;
  font-size: 3.5rem;
  color: var(--hm-primary);
  font-family: Georgia, serif;
  line-height: .8;
  opacity: .4;
}
.hm-testimonial-card:hover { box-shadow: var(--hm-shadow-md); transform: translateY(-3px); }
.hm-testimonial-text {
  color: var(--hm-gray-700);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-top: 1rem;
}
.hm-testimonial-author { display: flex; align-items: center; gap: 10px; }
.hm-testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hm-primary-light);
}
.hm-testimonial-author-name { font-weight: 700; font-size: .875rem; color: var(--hm-gray-900); }
.hm-testimonial-author-role { font-size: .75rem; color: var(--hm-gray-500); }
.hm-stars { color: var(--hm-primary); font-size: .8rem; letter-spacing: 1px; }

/* ─── 24. BLOG CARDS ─── */
.hm-blog-card { display: flex; flex-direction: column; }
.hm-blog-card-img { position: relative; overflow: hidden; }
.hm-blog-card-img img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover;
  transition: var(--hm-transition-slow);
}
.hm-blog-card:hover .hm-blog-card-img img { transform: scale(1.06); }
.hm-blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.hm-blog-cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--hm-accent);
  margin-bottom: .5rem;
}
.hm-blog-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--hm-gray-900);
  margin-bottom: .5rem;
  line-height: 1.4;
  flex: 1;
}
.hm-blog-meta { font-size: .75rem; color: var(--hm-gray-500); display: flex; gap: 12px; align-items: center; }
.hm-blog-meta i { color: var(--hm-primary); }

/* ─── 25. STAT COUNTER SECTION ─── */
.hm-funfact {
  background: var(--hm-dark);
  padding: 4rem 0;
}
.hm-funfact-item { text-align: center; }
.hm-funfact-num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--hm-primary);
  line-height: 1;
  display: block;
}
.hm-funfact-label {
  font-size: .85rem;
  color: var(--hm-gray-400);
  margin-top: .5rem;
  font-weight: 500;
}
.hm-funfact-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  align-self: stretch;
  margin: .5rem 0;
}

/* ─── 26. BACK TO TOP ─── */
#backToTop {
  position: fixed;
  bottom: calc(var(--hm-bottom-nav-h) + 140px);
  right: 16px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--hm-dark);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 1030;
  opacity: 0; pointer-events: none;
  transform: translateY(16px) scale(0.85);
  transition: opacity .35s ease, transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  box-shadow: 0 4px 20px rgba(5,24,41,.4);
}
#backToTop:focus-visible {
  outline: 2px solid var(--hm-primary);
  outline-offset: 3px;
}
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
#backToTop:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(253,201,0,.35);
}
/* SVG scroll-progress ring */
.btt-ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.btt-track {
  fill: none;
  stroke: rgba(255,255,255,.14);
  stroke-width: 3;
}
.btt-progress {
  fill: none;
  stroke: var(--hm-primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 138.23;   /* 2π × 22 */
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset .1s linear;
}
/* Chevron icon */
.btt-icon {
  position: relative;
  color: var(--hm-primary);
  font-size: 1rem;
  line-height: 1;
  transition: transform .25s ease;
}
#backToTop:hover .btt-icon { transform: translateY(-2px); }
/* Tooltip */
.btt-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--hm-dark);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: .3rem .7rem;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1;
}
.btt-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--hm-dark);
}
#backToTop:hover .btt-tooltip,
#backToTop:focus-visible .btt-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (min-width: 992px) {
  #backToTop { bottom: 170px; }
}
@media (max-width: 767px) {
  #backToTop { width: 44px; height: 44px; }
  .btt-tooltip { display: none; }
}

/* ─── 27. OWL CAROUSEL CUSTOMIZATION ─── */
.owl-dots { margin-top: 1.5rem !important; text-align: center; }
.owl-dot span {
  width: 8px !important; height: 8px !important;
  background: var(--hm-gray-300) !important;
  border-radius: 4px !important;
  margin: 0 4px !important;
  transition: var(--hm-transition) !important;
}
.owl-dot.active span { width: 24px !important; background: var(--hm-primary) !important; }
.owl-nav button {
  width: 40px !important; height: 40px !important;
  border-radius: var(--hm-radius-sm) !important;
  background: var(--hm-white) !important;
  box-shadow: var(--hm-shadow) !important;
  border: 1px solid var(--hm-gray-200) !important;
  transition: var(--hm-transition) !important;
  display: flex; align-items: center; justify-content: center;
}
.owl-nav button:hover {
  background: var(--hm-primary) !important;
  border-color: var(--hm-primary) !important;
}
.owl-nav .owl-prev { margin-right: 8px !important; }

/* ─── 28. PRICING CARDS ─── */
.hm-pricing-card {
  background: var(--hm-white);
  border-radius: var(--hm-radius-xl);
  border: 2px solid var(--hm-gray-200);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--hm-transition-md);
  overflow: hidden;
}
.hm-pricing-card.featured {
  border-color: var(--hm-primary);
  box-shadow: 0 0 0 4px rgba(253,201,0,.15), var(--hm-shadow-lg);
}
.hm-pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 16px; right: -28px;
  background: var(--hm-primary);
  color: var(--hm-dark);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: .5px;
}
.hm-pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--hm-gray-900);
  line-height: 1;
}
.hm-pricing-price span { font-size: 1rem; font-weight: 500; color: var(--hm-gray-500); }

/* ─── 29. MEDIA QUERIES ─── */
@media (max-width: 767.98px) {
  .hm-hero { padding: 40px 0 60px; }
  .hm-hero-stats { gap: 20px; }
  .hm-section { padding: 3.5rem 0; }
  .hm-search-bar { flex-direction: column; border-radius: var(--hm-radius-lg); gap: 0; padding: 0; }
  .hm-search-loc { flex: none; width: 100%; border-right: none; border-bottom: 1px solid var(--hm-gray-200); border-radius: var(--hm-radius-lg) var(--hm-radius-lg) 0 0; }
  .hm-search-loc input, .hm-search-loc .input_location { border-radius: var(--hm-radius-lg) var(--hm-radius-lg) 0 0; }
  .hm-search-input-wrap { width: 100%; }
  .hm-search-btn { width: 100%; justify-content: center; border-radius: 0 0 var(--hm-radius-lg) var(--hm-radius-lg); height: 48px; }
  .hm-footer-top { padding: 2.5rem 0 1.5rem; }
}

@media (max-width: 575.98px) {
  .hm-navbar .navbar-brand img { height: 36px; }
  :root { --hm-navbar-h: 60px; }
}

/* ─── 30. DARK SECTION VARIANT ─── */
.hm-section-dark {
  background: var(--hm-dark);
  color: var(--hm-gray-300);
}
.hm-section-dark .hm-section-title { color: var(--hm-white); }
.hm-section-dark .hm-section-subtitle { color: var(--hm-gray-400); }
.hm-section-dark .hm-section-tag { background: rgba(253,201,0,.15); color: var(--hm-primary); }

/* ── Auth Card ── */
.card.shadow-lg { border-radius: 16px !important; overflow: hidden; }
.card .nav-tabs .nav-link { border: none; border-bottom: 3px solid transparent; border-radius: 0; color: #64748b; padding: 10px 20px; font-family: "Inter", sans-serif; font-weight: 600; transition: all .2s; }
.card .nav-tabs .nav-link.active, .card .nav-tabs .nav-link:hover { color: #fdc900; border-bottom-color: #fdc900; background: transparent; }
.card .tab-content { padding-top: 4px; }
.card .form-control-lg { border-radius: 10px; font-family: "Inter", sans-serif; font-size: .92rem; }
.card .form-label { font-family: "Inter", sans-serif; font-size: .82rem; color: #374151; margin-bottom: 5px; }
.card .form-control:focus { border-color: #fdc900; box-shadow: 0 0 0 3px rgba(253,201,0,.18); }
.card .btn[style*="background:#fdc900"] { font-family: "Inter", sans-serif; letter-spacing: .3px; transition: all .2s; }
.card .btn[style*="background:#fdc900"]:hover { background: #e6b000 !important; box-shadow: 0 4px 20px rgba(253,201,0,.3); }

/* ═══════════════════════════════════════════
   CATEGORY ICON STRIP — .hm-category-strip
═══════════════════════════════════════════ */
.hm-category-strip {
    background: #f8f9fb;
    border-top: 1px solid #eaecf0;
    border-bottom: 1px solid #eaecf0;
}

/* Strip header row */
.hm-cat-strip-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.hm-cat-strip-hdr__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--hm-dark, #051829);
    letter-spacing: -.2px;
}
.hm-cat-strip-hdr__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--hm-accent, #2672ec);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s;
}
.hm-cat-strip-hdr__link:hover {
    gap: 9px;
    color: var(--hm-accent, #2672ec);
    text-decoration: none;
}

.hm-cat-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
}

.hm-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 6px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid #edf0f5;
    text-decoration: none;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}

.hm-cat-card:hover,
.hm-cat-card:focus-visible {
    border-color: var(--hm-primary, #fdc900);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(253,201,0,.18);
    text-decoration: none;
}

.hm-cat-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #f4f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e8eaf0;
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
}

.hm-cat-icon-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.hm-cat-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #344;
    text-align: center;
    line-height: 1.3;
}

/* Category colour tints on icon wrap */
.hm-cat-card[data-cat="electrician"] .hm-cat-icon-wrap { background: #fff8e1; border-color: #ffd54f; }
.hm-cat-card[data-cat="carpenter"]   .hm-cat-icon-wrap { background: #fdf0e0; border-color: #ffcc80; }
.hm-cat-card[data-cat="plumber"]     .hm-cat-icon-wrap { background: #e8f4fd; border-color: #90caf9; }
.hm-cat-card[data-cat="painter"]     .hm-cat-icon-wrap { background: #f3e8ff; border-color: #ce93d8; }

.hm-cat-card--more .hm-cat-icon-wrap {
    background: var(--hm-primary, #fdc900);
    border-color: var(--hm-primary, #fdc900);
}
.hm-cat-card--more .hm-cat-label {
    color: #111;
    font-weight: 700;
}

@media (max-width: 991px) {
    .hm-cat-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 575px) {
    .hm-cat-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 6px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .hm-cat-grid::-webkit-scrollbar { display: none; }
    .hm-cat-card {
        min-width: 90px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .hm-cat-icon-wrap { width: 56px; height: 56px; }
    .hm-cat-icon-wrap img { width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════
   VENDOR AUTO-SCROLL CAROUSEL
═══════════════════════════════════════════ */
.hm-vendor-scroll-section {
    padding: 52px 0 56px;
    background: linear-gradient(180deg, #fff 0%, #f4f6f9 100%);
    overflow: hidden;
}
.hm-vendor-scroll-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Viewport: full bleed with fade edges — dual row */
.hm-vscroll-viewport {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    cursor: grab;
}
.hm-vscroll-viewport--dual {
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: default;
}
.hm-vscroll-viewport:active { cursor: grabbing; }
.hm-vscroll-viewport--dual:active { cursor: default; }

.hm-vscroll-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}

/* Scrolling track (content duplicated for seamless loop) */
.hm-vscroll-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 4px 0 8px;
    will-change: transform;
}
.hm-vscroll-track--rtl {
    animation: hm-vscroll-rtl linear infinite;
    animation-duration: 40s;
}
.hm-vscroll-track--ltr {
    animation: hm-vscroll-ltr linear infinite;
    animation-duration: 45s;
}
.hm-vscroll-viewport:hover .hm-vscroll-track,
.hm-vscroll-viewport:focus-within .hm-vscroll-track {
    animation-play-state: paused;
}

/* Row 1: right → left */
@keyframes hm-vscroll-rtl {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Row 2: left → right */
@keyframes hm-vscroll-ltr {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Individual card in scroll */
.hm-vscroll-card {
    width: 220px;
    flex-shrink: 0;
    min-height: 0;
}

/* Category chip inside vendor card */
.hm-vscroll-cat-chip {
    display: inline-block;
    background: rgba(253,201,0,.12);
    color: #6b5a00;
    border: 1px solid rgba(253,201,0,.3);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 2px 9px;
    border-radius: var(--hm-radius-full, 999px);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   VENDOR CARDS — .hm-vendor-card
═══════════════════════════════════════════ */

.hm-vendor-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #eef0f4;
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    height: 100%;
}

.hm-vendor-card:hover {
    box-shadow: 0 8px 28px rgba(5,24,41,.10);
    border-color: var(--hm-primary, #fdc900);
    transform: translateY(-3px);
}

.hm-vendor-card__avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hm-primary,#fdc900) 0%, #f8a800 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hm-dark,#051829);
    flex-shrink: 0;
}

.hm-vendor-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hm-dark,#051829);
    text-decoration: none;
    line-height: 1.3;
}
.hm-vendor-card__name:hover { color: var(--hm-accent,#2672ec); }

.hm-vendor-card__location {
    font-size: .82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hm-vendor-card__address {
    font-size: .8rem;
    color: #94a3b8;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hm-vendor-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}

.hm-vendor-card__actions .hm-btn-call,
.hm-vendor-card__actions .hm-btn-wa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: filter .15s, transform .15s;
}
.hm-btn-call { background: var(--hm-primary,#fdc900); color: var(--hm-dark,#051829); }
.hm-btn-wa   { background: #000000; color: #fff; }
.hm-vendor-card__actions a:hover { filter: brightness(1.08); transform: scale(1.03); text-decoration: none; }

.hm-vendor-card__actions .hm-btn-login-prompt {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: background .15s;
}
.hm-vendor-card__actions .hm-btn-login-prompt:hover { background: #e2e8f0; text-decoration: none; }

/* ═══════════════════════════════════════════
   FREE LISTING DROPDOWN IMPROVEMENTS
═══════════════════════════════════════════ */
.hm-listing-dropdown {
    min-width: 230px;
    padding: 8px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(5,24,41,.14);
}

.hm-listing-dropdown .hm-listing-item {
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    text-decoration: none;
    transition: background .15s;
    margin-bottom: 2px;
}
.hm-listing-dropdown .hm-listing-item:hover { background: #f8f9fa; text-decoration: none; }
.hm-listing-dropdown .hm-listing-item:last-child { margin-bottom: 0; }

.hm-listing-item__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hm-listing-item__icon--vendor   { background: #fef3c7; color: #d97706; }
.hm-listing-item__icon--supplier { background: #dbeafe; color: #2563eb; }
.hm-listing-item__icon--scrap    { background: #d1fae5; color: #059669; }

.hm-listing-item__title {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
}
.hm-listing-item__desc {
    font-size: .75rem;
    color: #94a3b8;
    line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════
   GLOBAL SECTION RHYTHM & LAYOUT FIXES
   Applied after all legacy CSS to enforce consistent spacing
═══════════════════════════════════════════════════════ */

/* Kill fixed pixel margins that break on mobile */
.state-listing-section,
.vendor-shopkeeper-section,
.supplier-listing-section,
.experience-section {
    margin: 0 !important;
}

/* Consistent section padding across all legacy sections */
.section-padding,
.fun-fact,
.cta {
    padding: 64px 0 !important;
}

/* Override .box conflicts between offer/our_shop */
.hm-offer-section .box,
.hm-shop-section .box {
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: none !important;
}

/* Ensure containers don't overflow */ 
/* .page-wrapper > section, */
.page-wrapper > div > section {
    overflow-x: hidden;
}

/* ─── SECTION HEADER standard component ─── */
.hm-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.hm-section-header__eyebrow {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--hm-primary);
    margin-bottom: .35rem;
}
.hm-section-header__title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--hm-dark);
    margin: 0;
    line-height: 1.25;
}
.hm-section-header__link {
    font-size: .82rem;
    font-weight: 600;
    color: #212529;
    white-space: nowrap;
    text-decoration: none;
}
.hm-section-header__link:hover { text-decoration: underline; }

/* ─── OFFER / QUICK SERVICES SECTION ─── */
.hm-offer-section {
    background: linear-gradient(180deg, #f4f6f9 0%, #fff 55%);
    padding: 56px 0 64px;
    position: relative;
}

/* ── Trust strip ── */
.hm-offer-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hm-dark);
    border-radius: var(--hm-radius-lg);
    padding: 14px 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 4px;
}
.hm-offer-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.82);
    font-size: .81rem;
    padding: 6px 20px;
    flex: 1;
    justify-content: center;
    min-width: 160px;
}
.hm-offer-trust-item i {
    color: var(--hm-primary);
    font-size: .95rem;
    flex-shrink: 0;
}
.hm-offer-trust-item strong { color: #fff; font-weight: 700; }
.hm-offer-trust-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,.13);
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .hm-offer-trust { padding: 12px 14px; }
    .hm-offer-trust-divider { display: none; }
    .hm-offer-trust-item { min-width: 130px; font-size: .74rem; padding: 4px 10px; }
}

/* ── Banner card ── */
.hm-offer-banner {
    background: linear-gradient(148deg, #051829 0%, #0a2540 55%, #0d2e4f 100%);
    border-radius: var(--hm-radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 28px;
    color: #fff;
    height: 100%;
    box-shadow: 0 12px 40px rgba(5,24,41,.22);
}
/* Radial glow */
.hm-offer-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 12%, rgba(253,201,0,.22) 0%, transparent 52%);
    pointer-events: none;
}
/* Dot-grid decoration */
.hm-offer-banner::after {
    content: '';
    position: absolute;
    bottom: -10px; right: -10px;
    width: 140px; height: 140px;
    background-image: radial-gradient(circle, rgba(253,201,0,.28) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: .55;
    pointer-events: none;
}
.hm-offer-banner__tag {
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--hm-primary);
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
}
.hm-offer-banner__tag::before {
    content: '';
    display: inline-block;
    width: 18px; height: 2px;
    background: var(--hm-primary);
    border-radius: 1px;
    flex-shrink: 0;
}
.hm-offer-banner__title {
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    position: relative;
}
.hm-offer-banner__title span { color: var(--hm-primary); }
.hm-offer-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-weight: 700;
    font-size: .83rem;
    padding: 9px 20px;
    border-radius: var(--hm-radius-full);
    text-decoration: none;
    transition: var(--hm-transition);
    width: fit-content;
    margin-bottom: 1.4rem;
    position: relative;
}
.hm-offer-banner__cta:hover {
    background: var(--hm-primary-dark);
    transform: translateY(-2px);
    color: var(--hm-dark);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(253,201,0,.32);
}

/* Feature bullets */
.hm-offer-banner__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative;
}
.hm-offer-banner__bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: rgba(255,255,255,.78);
    font-weight: 500;
}
.hm-offer-banner__bullets li i {
    color: var(--hm-primary);
    font-size: .75rem;
    flex-shrink: 0;
}

/* Stat chips row */
.hm-offer-banner__stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}
.hm-offer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--hm-radius);
    padding: 8px 14px;
    min-width: 62px;
    transition: background .2s, border-color .2s;
    cursor: default;
}
.hm-offer-stat:hover {
    background: rgba(253,201,0,.12);
    border-color: rgba(253,201,0,.3);
}
.hm-offer-stat__num {
    font-size: .98rem;
    font-weight: 800;
    color: var(--hm-primary);
    line-height: 1;
}
.hm-offer-stat__label {
    font-size: .6rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 3px;
}

/* ── Service card grid ── */
.hm-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.hm-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 10px 14px;
    background: #fff;
    border: 1.5px solid var(--hm-gray-200);
    border-radius: var(--hm-radius-lg);
    text-decoration: none;
    transition: border-color .22s, transform .22s, box-shadow .22s, background .22s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.hm-service-card:focus-visible { outline: 2px solid var(--hm-primary); outline-offset: 2px; }
.hm-service-card:hover {
    border-color: var(--hm-primary);
    background: #fffdf0;
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(253,201,0,.2);
    text-decoration: none;
}

/* Icon circle wrapper */
.hm-service-card__icon-wrap {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--hm-gray-50);
    border: 1.5px solid var(--hm-gray-200);
    display: flex; align-items: center; justify-content: center;
    transition: background .22s, border-color .22s, transform .22s;
    flex-shrink: 0;
}
.hm-service-card:hover .hm-service-card__icon-wrap {
    background: rgba(253,201,0,.12);
    border-color: var(--hm-primary);
    transform: scale(1.07);
}
.hm-service-card__img {
    width: 44px; height: 44px;
    object-fit: contain;
}
.hm-service-card__more-icon {
    font-size: 1.45rem;
    color: var(--hm-primary);
}
.hm-service-card__label {
    font-size: .77rem;
    font-weight: 700;
    color: var(--hm-dark);
    text-align: center;
    line-height: 1.3;
    transition: color .2s;
}
.hm-service-card:hover .hm-service-card__label { color: #6b5a00; }

/* Hover arrow chip */
.hm-service-card__arrow {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--hm-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .52rem;
    color: var(--hm-dark);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s, transform .2s;
    flex-shrink: 0;
}
.hm-service-card:hover .hm-service-card__arrow {
    opacity: 1;
    transform: translateY(0);
}

/* Popular badge */
.hm-service-card__badge {
    position: absolute;
    top: 7px; right: 7px;
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-size: .52rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: 2px 7px;
    border-radius: var(--hm-radius-full);
    line-height: 1.6;
    pointer-events: none;
}

/* “View All” dashed card */
.hm-service-card--more {
    border-style: dashed;
    border-color: var(--hm-gray-300);
    background: var(--hm-gray-50);
}
.hm-service-card--more:hover {
    background: rgba(253,201,0,.07);
    border-color: var(--hm-primary);
    border-style: dashed;
}

@media (max-width: 991px) { .hm-service-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 575px)  { .hm-service-grid { grid-template-columns: repeat(2,1fr); gap: 10px; } }

/* ─── STEPS SECTION ─── */
.hm-steps-section { background: var(--hm-gray-50); padding: 64px 0; }
.hm-step-card {
    background: #fff;
    border-radius: var(--hm-radius-lg);
    padding: 28px 20px;
    text-align: center;
    border: 1.5px solid var(--hm-gray-200);
    height: 100%;
    transition: var(--hm-transition);
}
.hm-step-card:hover {
    border-color: var(--hm-primary);
    box-shadow: var(--hm-shadow-md);
    transform: translateY(-4px);
}
.hm-step-card__num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.hm-step-card__img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}
.hm-step-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hm-dark);
    margin-bottom: .5rem;
}
.hm-step-card__desc {
    font-size: .84rem;
    color: var(--hm-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ─── STATS / FUN-FACT ─── */
.hm-stats-section {
    background: linear-gradient(135deg, var(--hm-dark) 0%, #0d2a45 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.hm-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 50%, rgba(253,201,0,.08) 0%, transparent 50%),
                radial-gradient(circle at 85% 50%, rgba(38,114,236,.06) 0%, transparent 50%);
    pointer-events: none;
}
.hm-stat-item { text-align: center; color: #fff; padding: 16px; position: relative; }
.hm-stat-item__icon {
    width: 56px; height: 56px;
    background: rgba(253,201,0,.12);
    border: 1px solid rgba(253,201,0,.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .75rem;
    font-size: 1.35rem;
    color: var(--hm-primary);
    transition: var(--hm-transition);
}
.hm-stat-item:hover .hm-stat-item__icon {
    background: var(--hm-primary);
    color: var(--hm-dark);
    border-color: var(--hm-primary);
    transform: translateY(-2px);
}
.hm-stat-item__number {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 900;
    color: var(--hm-primary);
    line-height: 1;
    margin-bottom: .25rem;
}
.hm-stat-item__label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.85);
    margin-bottom: .4rem;
}
.hm-stat-item__desc {
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}
.hm-stats-divider {
    width: 1px;
    background: rgba(255,255,255,.1);
    align-self: stretch;
}
@media (max-width:767px) { .hm-stats-divider { display: none; } }

/* ─── CTA SECTION ─── */
.hm-cta-section {
    background: linear-gradient(135deg, var(--hm-dark) 0%, #0d2a45 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.hm-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 50%, rgba(253,201,0,.1) 0%, transparent 55%),
                radial-gradient(circle at 10% 80%, rgba(38,114,236,.08) 0%, transparent 45%);
    pointer-events: none;
}
.hm-cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.hm-cta-section h2 span { color: var(--hm-primary); }
.hm-cta-section p { color: rgba(255,255,255,.7); margin-bottom: 0; font-size: .95rem; }

/* CTA buttons */
.hm-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .7rem 1.75rem;
    border-radius: var(--hm-radius-sm);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: var(--hm-transition);
    white-space: nowrap;
    border: 2px solid transparent;
}
.hm-cta-btn--primary {
    background: var(--hm-primary);
    color: var(--hm-dark);
    border-color: var(--hm-primary);
}
.hm-cta-btn--primary:hover {
    background: var(--hm-primary-dark);
    border-color: var(--hm-primary-dark);
    color: var(--hm-dark);
    transform: translateY(-1px);
    text-decoration: none;
}
.hm-cta-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.3);
}
.hm-cta-btn--outline:hover {
    border-color: var(--hm-primary);
    color: var(--hm-primary);
    text-decoration: none;
}

/* CTA badge pills */
.hm-cta-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--hm-radius);
    padding: 14px 20px;
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    transition: var(--hm-transition);
}
.hm-cta-badge:hover {
    background: rgba(253,201,0,.1);
    border-color: rgba(253,201,0,.25);
}
.hm-cta-badge__icon {
    width: 40px; height: 40px;
    background: rgba(253,201,0,.15);
    border-radius: var(--hm-radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--hm-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ─── BLOG CARDS ─── */
.hm-blog-section { background: var(--hm-gray-50); padding: 64px 0; }
.hm-blog-card {
    background: #fff;
    border-radius: var(--hm-radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--hm-gray-200);
    height: 100%;
    transition: var(--hm-transition-md);
    display: flex;
    flex-direction: column;
}
.hm-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hm-shadow-lg);
    border-color: var(--hm-primary);
}
.hm-blog-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.hm-blog-card__img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--hm-gray-100) 0%, var(--hm-gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hm-gray-400);
    font-size: 2.5rem;
}
.hm-blog-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hm-blog-card__title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--hm-dark);
    line-height: 1.4;
    margin-bottom: .5rem;
    text-decoration: none;
    display: block;
}
.hm-blog-card__title:hover { color: var(--hm-accent); text-decoration: none; }
.hm-blog-card__excerpt {
    font-size: .8rem;
    color: var(--hm-gray-500);
    line-height: 1.6;
    margin-bottom: .75rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.hm-blog-card__link {
    font-size: .8rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}
.hm-blog-card__link:hover { text-decoration: underline; }

/* ─── VENDOR/SHOPKEEPER DUAL CTA ─── */
.hm-dual-cta { padding: 48px 0; background: #fff; }
.hm-dual-card {
    border-radius: var(--hm-radius-xl);
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.hm-dual-card--dark {
    background: var(--hm-dark);
    color: #fff;
}
.hm-dual-card--gold {
    background: var(--hm-primary);
    color: var(--hm-dark);
}
.hm-dual-card__title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}
.hm-dual-card--dark .hm-dual-card__title { color: #fff; }
.hm-dual-card--gold .hm-dual-card__title { color: var(--hm-dark); }
.hm-dual-card__text {
    font-size: .88rem;
    line-height: 1.6;
    margin: 0;
    opacity: .8;
}
.hm-dual-card--dark .hm-dual-card__text { color: rgba(255,255,255,.75); }

/* ─── SUPPLIER LISTING ─── */
.hm-supplier-section { padding: 56px 0; }

/* ─── STATE CAROUSEL ─── */
.hm-states-section { background: var(--hm-gray-50); padding: 48px 0; overflow: hidden; border-top: 3px solid var(--hm-primary); }
.hm-states-section__subtitle {
    font-size: .85rem;
    color: var(--hm-gray-500);
    margin: .45rem 0 0;
    max-width: 440px;
    line-height: 1.6;
}
.hm-states-coverage-badge {
    display: inline-flex;
    align-items: center;
    background: var(--hm-dark);
    color: var(--hm-primary);
    border-radius: var(--hm-radius-full);
    padding: 9px 20px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}
.hm-states-track {
    display: flex;
    gap: 20px;
    animation: hm-states-scroll 22s linear infinite;
    width: max-content;
}
.hm-states-section:hover .hm-states-track { animation-play-state: paused; }
@keyframes hm-states-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.hm-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    background: var(--hm-gray-50);
    border-radius: var(--hm-radius-lg);
    border: 1.5px solid var(--hm-gray-200);
    min-width: 110px;
    flex-shrink: 0;
    transition: border-color .2s, transform .2s;
    cursor: default;
}
.hm-state-card:hover {
    border-color: var(--hm-primary);
    transform: translateY(-3px);
}
.hm-state-card__icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--hm-radius);
}
.hm-state-card__name {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--hm-gray-700);
    text-align: center;
}

/* ─── OUR SHOP SECTION ─── */
.hm-shop-section { background: var(--hm-gray-50); padding: 48px 0; }

/* 4-column cat grid variant (used inside narrower col-lg-8) */
.hm-cat-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 575px) {
    .hm-cat-grid--4col { grid-template-columns: repeat(2, 1fr); }
}

/* Bootstrap 5 doesn't have d-md-grid — polyfill */
@media (min-width: 768px) {
    .d-md-grid { display: grid !important; }
}

/* Fix remaining fixed-px margin pages loaded from all_category_offer & all_category_shop */
.category-section-all,
section[class*="category-section"] {
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ══════════════════════════════════════════════
   CATEGORY / SERVICE LISTING PAGE
   general_service_category.php
══════════════════════════════════════════════ */

/* ── Hero ── */
.hm-cat-hero {
    background: linear-gradient(135deg, var(--hm-dark) 0%, #0d2b47 60%, #163856 100%);
    padding: 60px 0 48px;
    position: relative;
    overflow: hidden;
}
.hm-cat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(253,201,0,.08) 0%, transparent 60%);
    pointer-events: none;
}
.hm-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    list-style: none;
    padding: 0;
    font-size: .8rem;
}
.hm-breadcrumb li + li::before { content: '/'; margin-right: .25rem; color: rgba(255,255,255,.4); }
.hm-breadcrumb a { color: #6c757d; text-decoration: none; }
.hm-breadcrumb a:hover { color: var(--hm-primary); }
.hm-breadcrumb .active { color: var(--hm-primary); }
.hm-cat-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: .5rem;
}
.hm-cat-hero__near { color: var(--hm-primary); }
.hm-cat-hero__desc {
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    max-width: 560px;
    line-height: 1.6;
}
.hm-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}
.hm-cat-badge--outline {
    background: transparent;
    border-color: rgba(253,201,0,.35);
    color: rgba(255,255,255,.8);
}
.hm-cat-hero__img-wrap {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hm-cat-hero__img {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
}

/* ── Tag Bar ── */
.hm-tag-bar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    position: sticky;
    top: 70px;
    z-index: 100;
}
.hm-tag-bar__inner {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .75rem 0;
    scrollbar-width: none;
}
.hm-tag-bar__inner::-webkit-scrollbar { display: none; }
.hm-tag-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: .3rem .9rem;
    border-radius: 50px;
    border: 1.5px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-size: .8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .18s;
    white-space: nowrap;
}
.hm-tag-pill:hover {
    border-color: var(--hm-primary);
    background: #fffbea;
    color: var(--hm-dark);
}
.hm-tag-pill.active {
    background: var(--hm-primary);
    border-color: var(--hm-primary);
    color: var(--hm-dark);
    font-weight: 700;
}

/* ── Listing Section ── */
.hm-cat-listing {
    padding: 2.5rem 0 4rem;
    background: #f8f9fa;
    min-height: 60vh;
}

/* ── Filter Card ── */
.hm-filter-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    margin-bottom: 1.5rem;
}
.hm-filter-card .form-label {
    font-size: .75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .3rem;
}
.hm-filter-card .form-select {
    font-size: .85rem;
    border-radius: 8px;
    border-color: #dee2e6;
}
.hm-filter-btn {
    background: var(--hm-primary);
    color: var(--hm-dark);
    border: none;
    border-radius: 8px;
    padding: .42rem .75rem;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    transition: background .18s, transform .12s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
}
.hm-filter-btn:hover { background: #e6b800; transform: translateY(-1px); }

/* ── Results Meta ── */
.hm-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    color: #495057;
}
.hm-clear-filters {
    font-size: .8rem;
    color: #dc3545;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-weight: 600;
}
.hm-clear-filters:hover { color: #a71d2a; }

/* ── Empty State ── */
.hm-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: #adb5bd;
}
.hm-empty-state i { display: block; margin-bottom: 1rem; }
.hm-empty-state h5 { color: #6c757d; font-weight: 700; }
.hm-empty-state a { color: var(--hm-accent); }

/* ── Filter Group: icon-prefixed selects ── */
.hm-fgroup { position: relative; }
.hm-fgroup__icon {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .68rem;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}
.hm-fgroup .form-select { padding-left: 1.75rem; }

/* ── Filter autocomplete inputs ── */
.hm-fac-input {
    border: 1px solid var(--hm-gray-200);
    border-radius: var(--hm-radius-sm);
    padding: 4px 10px 4px 1.75rem;
    font-size: .8rem;
    color: var(--hm-gray-700);
    background: #fff;
    min-width: 130px;
    width: 100%;
    height: 31px;
    outline: none;
    line-height: 1.4;
    transition: border-color .15s, box-shadow .15s;
}
.hm-fac-input::placeholder { color: var(--hm-gray-400); }
.hm-fac-input:focus {
    border-color: var(--hm-primary);
    box-shadow: 0 0 0 2px rgba(253,201,0,.18);
}
.hm-fac-dd {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1500;
    background: #fff;
    border: 1px solid var(--hm-gray-200);
    border-radius: var(--hm-radius-sm);
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
    min-width: 200px;
    max-height: 230px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--hm-primary) #f0f0f0;
}
.hm-fac-dd::-webkit-scrollbar { width: 4px; }
.hm-fac-dd::-webkit-scrollbar-thumb { background: var(--hm-primary); border-radius: 4px; }
.hm-fac-item {
    padding: 8px 14px;
    font-size: .8rem;
    color: var(--hm-gray-700);
    cursor: pointer;
    transition: background .12s;
    outline: none;
}
.hm-fac-item:hover,
.hm-fac-item:focus { background: var(--hm-gray-100); color: var(--hm-dark); }
.hm-fac-empty {
    padding: 10px 14px;
    font-size: .78rem;
    color: var(--hm-gray-400);
    font-style: italic;
}
.hm-filter-card--v2 {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    margin-bottom: 1.5rem;
    border: 1px solid #eef0f4;
}
.hm-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: .6rem;
    margin-bottom: .75rem;
    border-bottom: 1px solid #f0f0f0;
}
.hm-filter-head h6 {
    font-size: .8rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.hm-active-count {
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-size: .62rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ── SEO Tag Cloud ── */
.hm-seo-tags {
    background: #f1f3f5;
    padding: 2.25rem 0;
    border-top: 1px solid #e4e6ea;
}
.hm-seo-tags__group { margin-bottom: 1.1rem; }
.hm-seo-tags__group:last-child { margin-bottom: 0; }
.hm-seo-tags__label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6c757d;
    margin-bottom: .5rem;
}
.hm-seo-tags__pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.hm-seo-link {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .77rem;
    color: #374151;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: .2rem .65rem;
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
    white-space: nowrap;
}
.hm-seo-link:hover {
    border-color: var(--hm-primary);
    background: #fffbe8;
    color: var(--hm-dark);
    text-decoration: none;
}

/* ── Shop Products Strip (homepage category_shop.php) ── */
.hm-shop-strip {
    background: #fff;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid #eef0f4;
}
.hm-shop-strip .hm-cat-grid { grid-template-columns: repeat(9, 1fr); }
@media (max-width: 991px)  { .hm-shop-strip .hm-cat-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 575px)  { .hm-shop-strip .hm-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; } }

/* ═══════════════════════════════════════════════════════
   SEARCH PAGE  —  .sr-* prefix
═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.sr-hero {
    background: linear-gradient(135deg, #051829 0%, #0a2540 60%, #0d2e4f 100%);
    padding: 28px 0 0;
    position: relative;
    overflow: hidden;
}
.sr-hero::before {
    content: '';
    position: absolute;
    inset: -30% auto auto -8%;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(253,201,0,.22) 0%, transparent 65%);
    pointer-events: none;
}
.sr-hero::after {
    content: '';
    position: absolute;
    right: -80px; top: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(38,114,236,.22) 0%, transparent 70%);
    pointer-events: none;
}
.sr-hero-inner { position: relative; z-index: 1; }
.sr-hero-title {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}
.sr-hero-title .sr-in { color: rgba(255,255,255,.55); font-weight: 400; font-size: .8em; }
.sr-hero-title .sr-city { color: var(--hm-primary); }
.sr-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 11px;
    border-radius: var(--hm-radius-full);
    vertical-align: middle;
    margin-left: 8px;
}
.sr-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 14px;
}
.sr-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.sr-breadcrumb a:hover { color: var(--hm-primary); }
.sr-breadcrumb .sep { opacity: .4; }
.sr-hero-stats {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.sr-hero-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: rgba(255,255,255,.65);
}
.sr-hero-stat i { color: var(--hm-primary); font-size: .8rem; }
.sr-hero-stat strong { color: #fff; }

/* Type toggle tabs inside hero bottom bar */
.sr-type-tabs {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,.07);
    border-radius: 10px 10px 0 0;
    margin-top: 20px;
    align-self: flex-end;
    overflow: hidden;
}
.sr-type-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 24px;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: background .2s, color .2s;
    border-bottom: 3px solid transparent;
}
.sr-type-tab:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.07); }
.sr-type-tab.active {
    color: var(--hm-primary);
    border-bottom-color: var(--hm-primary);
    background: rgba(253,201,0,.07);
}
.sr-type-tab i { font-size: .85rem; }

/* ── Filter Bar ── */
.sr-filter-wrap {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 0 14px 14px 14px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(5,24,41,.08);
    margin-bottom: 24px;
}
.sr-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.sr-filter-group {
    flex: 1 1 140px;
    min-width: 110px;
}
.sr-filter-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .68rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
}
.sr-filter-group label i { color: var(--hm-primary); font-size: .7rem; }
.sr-filter-group select {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: .82rem;
    color: #1f2937;
    background: #f9fafb;
    transition: border-color .2s, background .2s;
    -webkit-appearance: none;
    appearance: none;
}
.sr-filter-group select:focus { border-color: var(--hm-accent); outline: none; background: #fff; }

.sr-filter-actions { display: flex; gap: 8px; align-items: flex-end; flex-shrink: 0; }
.sr-btn-search {
    height: 38px;
    padding: 0 20px;
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-weight: 700;
    font-size: .82rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.sr-btn-search:hover { background: var(--hm-primary-dark); transform: translateY(-1px); }
.sr-voice-btn {
    height: 38px;
    padding: 0 13px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    color: var(--hm-dark);
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
    white-space: nowrap;
}
.sr-voice-btn:hover { border-color: var(--hm-dark); }
.sr-voice-btn.is-listening {
    background: var(--hm-dark);
    color: var(--hm-primary);
    border-color: var(--hm-dark);
    animation: sr-mic-pulse 1s ease-in-out infinite;
}
@keyframes sr-mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5,24,41,.35); }
    50%       { box-shadow: 0 0 0 6px rgba(5,24,41,0); }
}
.sr-voice-hint {
    margin-top: 10px;
    font-size: .73rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Active filter chips */
.sr-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}
.sr-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.sr-filter-chip i { font-size: .65rem; }

/* ── Results Meta Bar ── */
.sr-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}
.sr-results-count {
    font-size: .85rem;
    color: #374151;
    font-weight: 500;
}
.sr-results-count strong { color: var(--hm-dark); }
.sr-results-right { display: flex; align-items: center; gap: 10px; }
.sr-reset-link {
    font-size: .78rem;
    color: var(--hm-accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sr-reset-link:hover { text-decoration: underline; }
.sr-sort-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: #6b7280;
}
.sr-sort-inline select {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: .78rem;
    color: #374151;
    background: #fff;
}

/* ── Result Cards ── */
.sr-card {
    background: #fff;
    border: 1.5px solid #eef0f4;
    border-radius: 14px;
    padding: 0;
    margin-bottom: 14px;
    display: flex;
    overflow: hidden;
    transition: box-shadow .22s, border-color .22s, transform .18s;
    position: relative;
}
.sr-card:hover {
    box-shadow: 0 8px 32px rgba(5,24,41,.11);
    border-color: var(--hm-primary);
    transform: translateY(-2px);
}

/* Avatar panel */
.sr-card-avatar {
    flex: 0 0 100px;
    width: 100px;
    background: linear-gradient(148deg, #051829 0%, #0a2540 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.sr-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    display: block;
}
.sr-card-avatar-initial {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--hm-primary);
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.sr-card-avatar-icon {
    font-size: 2rem;
    color: var(--hm-primary);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.sr-card-avatar-cat {
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.5);
    margin-top: 5px;
    text-align: center;
    padding: 0 4px;
    position: relative;
    z-index: 1;
}

/* Card body */
.sr-card-body {
    flex: 1;
    min-width: 0;
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sr-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.sr-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hm-dark);
    text-decoration: none;
    line-height: 1.25;
    display: block;
}
.sr-card-name:hover { color: var(--hm-accent); text-decoration: none; }
.sr-card-badges { display: flex; gap: 5px; flex-wrap: wrap; flex-shrink: 0; }
.sr-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.sr-badge-supplier { background: #dbeafe; color: #1d4ed8; }
.sr-badge-verified { background: #dcfce7; color: #166534; }
.sr-badge-exp      { background: #fef3c7; color: #92400e; }
.sr-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .76rem;
    color: #6b7280;
    align-items: center;
}
.sr-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.sr-card-meta i { color: var(--hm-primary); font-size: .72rem; }
.sr-card-stars { display: inline-flex; gap: 1px; }
.sr-card-stars i { color: #f59e0b; font-size: .7rem; }
.sr-card-about {
    font-size: .78rem;
    color: #4b5563;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    margin: 0;
}
.sr-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}
.sr-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 7px;
    font-size: .77rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform .12s, box-shadow .15s, opacity .15s;
    line-height: 1;
    white-space: nowrap;
}
.sr-btn:hover { transform: translateY(-1px); text-decoration: none; opacity: .92; }
.sr-btn-call { background: var(--hm-primary); color: var(--hm-dark); box-shadow: 0 2px 8px rgba(253,201,0,.3); }
.sr-btn-wa   { background: #25d366; color: #fff; box-shadow: 0 2px 8px rgba(37,211,102,.25); }
.sr-btn-enq  { background: var(--hm-dark); color: #fff; }
.sr-btn-view { background: #f1f5f9; color: var(--hm-dark); border: 1px solid #e2e8f0; box-shadow: none; }
.sr-btn-view:hover { background: #e2e8f0; }

/* ── Sidebar ── */
.sr-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 14px; }
.sr-sidebar-card {
    background: #fff;
    border: 1.5px solid #eef0f4;
    border-radius: 14px;
    padding: 18px;
    overflow: hidden;
}
.sr-sidebar-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hm-primary);
}
.sr-sidebar-card__head h5 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--hm-dark);
    margin: 0;
}
.sr-sidebar-card__head i { color: var(--hm-primary); font-size: .9rem; }
.sr-city-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sr-city-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: .72rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
}
.sr-city-tag:hover { background: var(--hm-primary); border-color: var(--hm-primary); color: var(--hm-dark); text-decoration: none; }

/* Tips list */
.sr-tips-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sr-tips-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .77rem; color: #4b5563; line-height: 1.45; }
.sr-tips-list li i { color: var(--hm-primary); margin-top: 1px; font-size: .75rem; flex-shrink: 0; }

/* CTA card in sidebar */
.sr-sidebar-cta {
    background: linear-gradient(148deg, #051829 0%, #0a2540 100%);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sr-sidebar-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(253,201,0,.18) 0%, transparent 55%);
    pointer-events: none;
}
.sr-sidebar-cta h6 { font-size: .9rem; font-weight: 700; color: #fff; margin: 0 0 6px; position: relative; }
.sr-sidebar-cta p  { font-size: .74rem; color: rgba(255,255,255,.6); margin: 0 0 14px; position: relative; }
.sr-sidebar-cta .sr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-size: .78rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--hm-radius-full);
    text-decoration: none;
    transition: background .2s, transform .15s;
    position: relative;
}
.sr-sidebar-cta .sr-cta-btn:hover { background: var(--hm-primary-dark); transform: translateY(-1px); text-decoration: none; color: var(--hm-dark); }

/* ── Empty State ── */
.sr-empty {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border: 1.5px solid #eef0f4;
    border-radius: 16px;
    margin: 0;
}
.sr-empty-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--hm-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #d1d5db;
    margin: 0 auto 20px;
}
.sr-empty h3 { font-size: 1.2rem; font-weight: 700; color: #374151; margin-bottom: 8px; }
.sr-empty p  { font-size: .85rem; color: #6b7280; margin-bottom: 20px; }
.sr-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sr-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-weight: 700;
    font-size: .82rem;
    border-radius: 8px;
    text-decoration: none;
}
.sr-empty-btn:hover { background: var(--hm-primary-dark); color: var(--hm-dark); text-decoration: none; }
.sr-empty-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #f1f5f9;
    color: var(--hm-dark);
    font-weight: 600;
    font-size: .82rem;
    border-radius: 8px;
    text-decoration: none;
}
.sr-empty-btn-ghost:hover { background: #e2e8f0; color: var(--hm-dark); text-decoration: none; }

/* ── Custom select dropdown widget ── */
.custom-select-wrapper { position: relative; width: 100%; }
.custom-select-input {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: .82rem;
    background: #f9fafb;
    cursor: pointer;
    color: #374151;
}
.custom-select-input:focus { outline: none; border-color: var(--hm-accent); background: #fff; }
.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1050;
    width: 100%;
    max-height: 210px;
    overflow-y: auto;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(5,24,41,.12);
    display: none;
}
.custom-select-dropdown.open { display: block; }
.custom-option {
    padding: 9px 13px;
    cursor: pointer;
    font-size: .8rem;
    color: #374151;
    transition: background .12s;
}
.custom-option:hover, .custom-option.selected { background: #f8f9fa; color: var(--hm-dark); }

/* ── Responsive ── */
@media (max-width: 991px) {
    .sr-sidebar { position: static; }
}
@media (max-width: 767px) {
    .sr-card { flex-direction: row; }
    .sr-card-avatar { flex: 0 0 80px; width: 80px; min-height: 110px; }
    .sr-hero-title { font-size: 1.25rem; }
    .sr-type-tabs { margin-top: 14px; }
    .sr-type-tab { padding: 9px 16px; font-size: .76rem; }
    .sr-filter-group { flex: 1 1 calc(50% - 6px); }
}
@media (max-width: 480px) {
    .sr-filter-group { flex: 1 1 100%; }
    .sr-card-avatar { flex: 0 0 70px; width: 70px; }
}


/* ── Video Section ── */
.hm-video-section {
    padding: 48px 0;
    background: #fff;
}
.hm-video-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.09);
    border: 1px solid #e8eaf0;
    max-width: 900px;
    margin: 0 auto;
}
.hm-video-wrap__inner {
    position: relative;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}
.hm-video-wrap__inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Vendor Listing Steps ── */
.hm-vendor-listing-section {
    padding: 60px 0;
    background: linear-gradient(272deg, #fdc900 0%, rgb(255, 255, 255) 100%);
}
.hm-step-badge {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--hm-primary);
    color: var(--hm-dark);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══ SHOP / ECOM PAGES ═══ */

/* ── Shop Hero ── */
.hm-shop-hero {
    background: linear-gradient(135deg, var(--hm-dark) 0%, #0d2a45 100%);
    padding: 52px 0 44px;
    position: relative;
    overflow: hidden;
}
.hm-shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 40%, rgba(253,201,0,.1) 0%, transparent 55%);
    pointer-events: none;
}
.hm-shop-hero .breadcrumb-item,
.hm-shop-hero .breadcrumb-item a { color: rgba(255,255,255,.6); }
.hm-shop-hero .breadcrumb-item.active { color: var(--hm-primary); }
.hm-shop-hero .hm-section-header__eyebrow { color: var(--hm-primary); }
.hm-shop-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 1rem;
}
.hm-shop-hero__title span { color: var(--hm-primary); }
.hm-shop-hero__subtitle { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.6; max-width: 520px; }
.hm-shop-hero__stat {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--hm-radius);
    padding: 16px 24px;
    text-align: center;
    min-width: 100px;
}
.hm-shop-hero__stat-num { font-size: 1.5rem; font-weight: 900; color: var(--hm-primary); line-height: 1; }
.hm-shop-hero__stat-label { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ── Shop Category Block (all_category_shop) ── */
.hm-shop-cat-block { padding: 40px 0 24px; background: #fff; }
.hm-shop-cat-block + .hm-shop-cat-block { border-top: 1px solid var(--hm-gray-100); }
.hm-shop-cat-block .hm-section-header { margin-bottom: 1.25rem; }

/* ── Product Card ── */
.hm-prod-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 991px) { .hm-prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px)  { .hm-prod-grid { grid-template-columns: repeat(2, 1fr); } }

.hm-prod-card {
    background: #fff;
    border-radius: var(--hm-radius-lg);
    border: 1.5px solid var(--hm-gray-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--hm-transition-md);
    text-decoration: none;
}
.hm-prod-card:hover {
    border-color: var(--hm-primary);
    transform: translateY(-4px);
    box-shadow: var(--hm-shadow-md);
    text-decoration: none;
}
.hm-prod-card__img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--hm-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.hm-prod-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}
.hm-prod-card:hover .hm-prod-card__img-wrap img { transform: scale(1.06); }
.hm-prod-card__body {
    padding: 14px;
    flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.hm-prod-card__name  { font-size: .88rem; font-weight: 700; color: var(--hm-dark); line-height: 1.35; }
.hm-prod-card__cat   { font-size: .68rem; font-weight: 700; color: var(--hm-accent); text-transform: uppercase; letter-spacing: .5px; }
.hm-prod-card__stars { color: var(--hm-primary); font-size: .78rem; letter-spacing: 1px; }
.hm-prod-card__cta   {
    font-size: .75rem; font-weight: 700; color: var(--hm-dark);
    background: var(--hm-primary); border-radius: var(--hm-radius-sm);
    padding: 6px 10px; text-align: center; margin-top: auto;
    transition: var(--hm-transition);
}
.hm-prod-card:hover .hm-prod-card__cta { background: var(--hm-primary-dark); }

/* ── Single Product Page ── */
.hm-product-detail { padding: 48px 0; background: #fff; }
.hm-product-img-block {
    background: var(--hm-gray-50);
    border-radius: var(--hm-radius-lg);
    border: 1.5px solid var(--hm-gray-200);
    padding: 32px;
    display: flex; align-items: center; justify-content: center;
    min-height: 320px;
}
.hm-product-img-block img { max-width: 100%; max-height: 360px; object-fit: contain; }
.hm-product-info__tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--hm-accent); margin-bottom: .5rem; }
.hm-product-info__name { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 800; color: var(--hm-dark); line-height: 1.25; margin-bottom: .75rem; }
.hm-product-info__stars { color: var(--hm-primary); font-size: .95rem; letter-spacing: 2px; margin-bottom: 1rem; }
.hm-product-info__desc { font-size: .9rem; color: var(--hm-gray-600); line-height: 1.7; margin-bottom: 1.5rem; }
.hm-product-info__desc p { margin-bottom: .75rem; }
.hm-product-info__desc ul, .hm-product-info__desc ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.hm-product-info__desc strong { color: var(--hm-dark); }

/* Rich HTML from admin editors (category/blog/product content) */
.hm-rich-content { line-height: 1.7; color: var(--hm-gray-700, #374151); word-wrap: break-word; }
.hm-rich-content p { margin-bottom: .75rem; }
.hm-rich-content p:last-child { margin-bottom: 0; }
.hm-rich-content ul, .hm-rich-content ol { padding-left: 1.25rem; margin-bottom: .75rem; }
.hm-rich-content h2, .hm-rich-content h3 { margin: 1rem 0 .5rem; color: var(--hm-dark, #051829); }
.hm-rich-content a { color: var(--hm-accent, #fdc900); }
.hm-rich-content table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.hm-rich-content td, .hm-rich-content th { border: 1px solid var(--hm-gray-200, #e5e7eb); padding: .5rem .75rem; }
.hm-product-info__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Supplier Category Page Hero ── */
.hm-supplier-hero {
    background: linear-gradient(135deg, var(--hm-dark) 0%, #0d2a45 100%);
    padding: 44px 0 36px;
    position: relative; overflow: hidden;
}
.hm-supplier-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(253,201,0,.1) 0%, transparent 55%);
    pointer-events: none;
}
.hm-supplier-hero .breadcrumb-item,
.hm-supplier-hero .breadcrumb-item a { color: rgba(255,255,255,.6); }
.hm-supplier-hero .breadcrumb-item.active { color: var(--hm-primary); }
.hm-supplier-hero__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: .5rem; }
.hm-supplier-hero__desc { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ── Supplier Listing Section ── */
.hm-suppliers-section { padding: 40px 0 56px; background: var(--hm-gray-50); }
.hm-supplier-card {
    background: #fff;
    border-radius: var(--hm-radius-lg);
    border: 1.5px solid var(--hm-gray-200);
    padding: 20px; height: 100%;
    transition: var(--hm-transition-md);
    display: flex; flex-direction: column; gap: 12px;
}
.hm-supplier-card:hover { border-color: var(--hm-primary); box-shadow: var(--hm-shadow-md); transform: translateY(-3px); }
.hm-supplier-card__header { display: flex; align-items: flex-start; gap: 12px; }
.hm-supplier-card__avatar {
    width: 48px; height: 48px; border-radius: var(--hm-radius);
    background: var(--hm-primary); color: var(--hm-dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.25rem; flex-shrink: 0;
}
.hm-supplier-card__name { font-size: .95rem; font-weight: 700; color: var(--hm-dark); text-decoration: none; line-height: 1.3; display: block; }
.hm-supplier-card__name:hover { color: var(--hm-accent); text-decoration: none; }
.hm-supplier-card__badge { display: inline-flex; align-items: center; gap: 4px; background: #dcfce7; color: #16a34a; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: var(--hm-radius-full); margin-top: 3px; }
.hm-supplier-card__location { font-size: .78rem; color: var(--hm-gray-500); display: flex; align-items: center; gap: 5px; }
.hm-supplier-card__address { font-size: .78rem; color: var(--hm-gray-600); line-height: 1.5; }
.hm-supplier-card__actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }

/* ── Supplier Profile Page ── */
.hm-sup-profile { padding: 48px 0; background: var(--hm-gray-50); }
.hm-sup-profile-card {
    background: #fff;
    border-radius: var(--hm-radius-xl);
    border: 1.5px solid var(--hm-gray-200);
    overflow: hidden;
    box-shadow: var(--hm-shadow-sm);
}
.hm-sup-profile-head {
    background: linear-gradient(135deg, var(--hm-dark) 0%, #0d2a45 100%);
    padding: 32px 28px; position: relative; overflow: hidden;
}
.hm-sup-profile-head::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(253,201,0,.12) 0%, transparent 55%);
    pointer-events: none;
}
.hm-sup-avatar {
    width: 72px; height: 72px; border-radius: var(--hm-radius-lg);
    background: var(--hm-primary); color: var(--hm-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 900; flex-shrink: 0;
    border: 3px solid rgba(255,255,255,.2);
}
.hm-sup-profile-head__name { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: .25rem; line-height: 1.2; }
.hm-sup-verified { display: inline-flex; align-items: center; gap: 5px; background: var(--hm-primary); color: var(--hm-dark); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: var(--hm-radius-full); }
.hm-sup-profile-head__meta { color: rgba(255,255,255,.7); font-size: .85rem; }
.hm-sup-profile-body { padding: 28px; }
.hm-sup-info-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--hm-gray-100); font-size: .875rem; color: var(--hm-gray-700); }
.hm-sup-info-row:last-child { border-bottom: none; }
.hm-sup-info-row i { width: 20px; color: var(--hm-primary); font-size: .9rem; flex-shrink: 0; }
.hm-sup-info-row strong { color: var(--hm-dark); font-weight: 600; min-width: 90px; }
.hm-sup-contact-card { background: var(--hm-gray-50); border-radius: var(--hm-radius-lg); border: 1px solid var(--hm-gray-200); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.hm-sup-section-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--hm-gray-500); margin-bottom: .75rem; }
.hm-sup-about { font-size: .875rem; line-height: 1.7; color: var(--hm-gray-700); }
.hm-sup-services-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hm-sup-services-list li { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--hm-gray-700); background: var(--hm-gray-50); border: 1px solid var(--hm-gray-200); border-radius: var(--hm-radius-sm); padding: 8px 12px; font-weight: 500; }
.hm-sup-services-list li i { color: var(--hm-primary); font-size: .78rem; }
.hm-sup-tab-nav { display: flex; border-bottom: 2px solid var(--hm-gray-200); margin-bottom: 1.25rem; }
.hm-sup-tab-btn { padding: .65rem 1.25rem; font-size: .85rem; font-weight: 600; color: var(--hm-gray-500); border: none; border-bottom: 2px solid transparent; background: none; cursor: pointer; margin-bottom: -2px; transition: color .2s; }
.hm-sup-tab-btn.active { color: var(--hm-dark); border-bottom-color: var(--hm-primary); }
.hm-sup-tab-pane { display: none; }
.hm-sup-tab-pane.active { display: block; }

/* Tab count badge */
.hm-sup-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--hm-dark, #051829);
    background: var(--hm-primary, #fdc900);
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
    line-height: 1;
}

/* ── Supplier Products Grid ── */
.hm-sup-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.hm-sup-prod-card {
    border: 1.5px solid #edf0f5;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    display: flex;
    flex-direction: column;
}
.hm-sup-prod-card:hover {
    box-shadow: 0 10px 28px rgba(5,24,41,.13);
    transform: translateY(-4px);
    border-color: var(--hm-primary, #fdc900);
}
.hm-sup-prod-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f6fb;
}
.hm-sup-prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.hm-sup-prod-card:hover .hm-sup-prod-img-wrap img { transform: scale(1.06); }
.hm-sup-prod-body {
    padding: 13px 13px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hm-sup-prod-name {
    font-size: .85rem;
    font-weight: 700;
    color: var(--hm-dark, #051829);
    margin-bottom: 5px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hm-sup-prod-desc {
    font-size: .75rem;
    color: #777;
    flex: 1;
    margin-bottom: 9px;
    line-height: 1.5;
}
.hm-sup-prod-price {
    font-size: .92rem;
    font-weight: 800;
    color: var(--hm-dark, #051829);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}
.hm-sup-prod-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}
.hm-sup-prod-actions .hm-sup-prod-btn {
    flex: 1;
    justify-content: center;
    padding: .33rem .4rem !important;
    font-size: .74rem !important;
    white-space: nowrap;
    text-align: center;
}
/* Empty state */
.hm-sup-prod-empty {
    text-align: center;
    padding: 48px 20px;
}
.hm-sup-prod-empty-icon {
    font-size: 2.8rem;
    color: #d0d4dd;
    margin-bottom: 14px;
}
.hm-sup-prod-empty-text {
    font-size: .875rem;
    color: #999;
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.6;
}
@media (max-width: 1199px) {
    .hm-sup-prod-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 767px) {
    .hm-sup-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
    .hm-sup-prod-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) { .hm-sup-services-list { grid-template-columns: 1fr; } }

/* ── Supplier profile head location ── */
.hm-sup-profile-head__location { color: rgba(255,255,255,.65); font-size: .82rem; }

/* ════════════════════════════════════════════
   CART & CHECKOUT
   ════════════════════════════════════════════ */
/* Navbar cart badge */
.hm-cart-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--hm-primary); color: var(--hm-dark);
    font-size: .65rem; font-weight: 700; border-radius: 50px;
    line-height: 1; vertical-align: top; margin-left: 3px;
}

/* Cart item row */
.hm-cart-row {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid #f0f0f0;
}
.hm-cart-row:last-child { border-bottom: none; }

.hm-cart-img {
    width: 72px; height: 72px; border-radius: 8px;
    object-fit: cover; flex-shrink: 0;
    border: 1px solid #eee; background: #f8f8f8;
}

.hm-cart-info { flex: 1 1 0; min-width: 0; }
.hm-cart-name {
    font-weight: 600; color: var(--hm-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-size: .92rem; margin-bottom: 3px;
}
.hm-cart-price { font-size: .82rem; color: #888; }

/* Qty stepper */
.hm-cart-qty { display: flex; align-items: center; gap: 4px; }
.hm-qty-btn {
    width: 30px; height: 30px; border-radius: 50%;
    border: 1.5px solid #ddd; background: #fff;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, border-color .15s;
}
.hm-qty-btn:hover { background: var(--hm-primary); border-color: var(--hm-primary); }
.hm-qty-input {
    width: 40px; height: 30px; text-align: center;
    border: 1.5px solid #ddd; border-radius: 6px;
    font-size: .88rem; font-weight: 600; background: #fff;
}
.hm-qty-input::-webkit-inner-spin-button,
.hm-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.hm-cart-subtotal {
    min-width: 80px; text-align: right;
    font-weight: 700; color: var(--hm-dark); font-size: .95rem;
}

.hm-cart-remove {
    background: none; border: none; cursor: pointer; padding: 6px;
    color: #ccc; font-size: 1.05rem; transition: color .15s;
    flex-shrink: 0;
}
.hm-cart-remove:hover { color: #e53e3e; }

/* Cart summary sidebar card */
.hm-cart-summary {
    background: #fff; border-radius: 12px; padding: 22px 20px;
    border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,.04);
    position: sticky; top: 80px;
}
.hm-cart-summary__title { font-weight: 700; font-size: 1rem; margin-bottom: 14px; color: var(--hm-dark); }
.hm-cart-summary__row { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 8px; }
.hm-cart-summary__row--total { font-weight: 700; font-size: 1rem; border-top: 1px solid #eee; padding-top: 10px; margin-top: 4px; }

@media (max-width: 767px) {
    .hm-cart-row { gap: 10px; }
    .hm-cart-img { width: 56px; height: 56px; }
    .hm-cart-subtotal { min-width: 60px; font-size: .85rem; }
}

/* ── Product info wrapper ── */
.hm-product-info { padding-left: 8px; }
@media (max-width: 767px) { .hm-product-info { padding-left: 0; margin-top: 16px; } }

/* ════════════════════════════════════════════
   AUTH SPLIT-PANEL LAYOUT
   ════════════════════════════════════════════ */
.hm-auth { min-height:100vh; display:flex; }
.hm-auth__brand {
    flex: 0 0 42%; width:42%;
    background: linear-gradient(145deg,var(--hm-dark) 0%,#0a2e5e 100%);
    padding:52px 44px; display:flex; flex-direction:column; justify-content:center;
    position:relative; overflow:hidden;
}
.hm-auth__brand::before {
    content:''; position:absolute; top:-120px; right:-120px;
    width:400px; height:400px; border-radius:50%;
    background:rgba(253,201,0,.05); pointer-events:none;
}
.hm-auth__brand::after {
    content:''; position:absolute; bottom:-80px; left:-80px;
    width:280px; height:280px; border-radius:50%;
    background:rgba(38,114,236,.07); pointer-events:none;
}
.hm-auth__brand-logo {
    width:52px; height:52px; border-radius:var(--hm-radius-md);
    background:var(--hm-primary); display:flex; align-items:center;
    justify-content:center; margin-bottom:24px; font-size:1.3rem; color:var(--hm-dark);
}
.hm-auth__brand-title { color:#fff; font-size:1.7rem; font-weight:800; margin-bottom:6px; }
.hm-auth__brand-sub   { color:rgba(255,255,255,.5); font-size:.88rem; margin-bottom:44px; }
.hm-auth__feature { display:flex; align-items:flex-start; gap:14px; margin-bottom:22px; position:relative; z-index:1; }
.hm-auth__feature-icon {
    width:40px; height:40px; border-radius:50%; flex-shrink:0;
    background:rgba(253,201,0,.12); display:flex; align-items:center;
    justify-content:center; color:var(--hm-primary); font-size:.85rem;
}
.hm-auth__feature-text strong { color:#fff; font-size:.87rem; display:block; margin-bottom:2px; }
.hm-auth__feature-text span { color:rgba(255,255,255,.5); font-size:.78rem; }
.hm-auth__panel {
    flex:1; background:#fff; padding:48px 40px;
    display:flex; flex-direction:column; justify-content:center;
}
.hm-auth__panel-inner { max-width:420px; width:100%; margin:0 auto; }
.hm-auth__panel-title { font-size:1.45rem; font-weight:800; color:var(--hm-dark); margin-bottom:4px; }
.hm-auth__panel-sub   { color:var(--hm-gray-500); font-size:.83rem; margin-bottom:28px; }
.hm-auth__seg {
    display:flex; gap:4px; background:var(--hm-gray-50);
    border-radius:var(--hm-radius-md); padding:4px; margin-bottom:28px;
}
.hm-auth__seg-btn {
    flex:1; text-align:center; padding:.52rem 1rem; border:none; background:transparent;
    border-radius:calc(var(--hm-radius-md) - 2px); font-weight:600; font-size:.86rem;
    color:var(--hm-gray-500); cursor:pointer; transition:all .2s;
}
.hm-auth__seg-btn.active { background:#fff; color:var(--hm-dark); box-shadow:0 1px 4px rgba(0,0,0,.1); }
.hm-auth__pane { display:none; }
.hm-auth__pane.show { display:block; }
.hm-form-field { margin-bottom:16px; }
.hm-form-field label { font-size:.81rem; font-weight:600; color:var(--hm-dark); margin-bottom:5px; display:block; }
.hm-form-field label span { color:#e11d48; }
.hm-pass-wrap { position:relative; }
.hm-pass-toggle {
    position:absolute; right:12px; top:50%; transform:translateY(-50%);
    border:none; background:none; color:var(--hm-gray-400); cursor:pointer; padding:0; line-height:1; font-size:.9rem;
}
@media (max-width:991px) {
    .hm-auth__brand { display:none; }
    .hm-auth__panel { padding:32px 20px; }
}

/* ════════════════════════════════════════════
   CUSTOMER DASHBOARD
   ════════════════════════════════════════════ */
.hm-dash-wrap { background:var(--hm-gray-50); min-height:70vh; padding:32px 0 56px; }
.hm-dash-header-card {
    background:linear-gradient(135deg,var(--hm-dark) 0%,#0a3060 100%);
    border-radius:var(--hm-radius-xl); padding:28px 32px; margin-bottom:24px; color:#fff;
}
.hm-dash-avatar {
    width:62px; height:62px; border-radius:50%; background:var(--hm-primary);
    display:flex; align-items:center; justify-content:center; font-size:1.5rem;
    font-weight:800; color:var(--hm-dark); flex-shrink:0;
}
.hm-dash-name { font-size:1.2rem; font-weight:800; color:#fff; margin-bottom:2px; }
.hm-dash-meta { color:rgba(255,255,255,.6); font-size:.82rem; }
.hm-dash-tabs {
    display:flex; gap:4px; background:#fff; border-radius:var(--hm-radius-lg);
    padding:6px; margin-bottom:20px; border:1px solid var(--hm-gray-100); overflow-x:auto;
}
.hm-dash-tab {
    flex:1; min-width:max-content; text-align:center; padding:.52rem 1.1rem;
    border:none; background:transparent; border-radius:var(--hm-radius-md);
    font-weight:600; font-size:.83rem; color:var(--hm-gray-500); cursor:pointer; transition:all .2s; white-space:nowrap;
}
.hm-dash-tab.active { background:var(--hm-dark); color:#fff; }
.hm-dash-pane { display:none; }
.hm-dash-pane.show { display:block; }
.hm-info-card {
    background:#fff; border-radius:var(--hm-radius-lg); border:1px solid var(--hm-gray-100);
    padding:24px; margin-bottom:20px;
}
.hm-info-card__title { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--hm-gray-400); margin-bottom:16px; }
.hm-info-row { display:flex; align-items:flex-start; gap:12px; padding:10px 0; border-bottom:1px solid var(--hm-gray-50); }
.hm-info-row:last-child { border-bottom:none; }
.hm-info-row i { color:var(--hm-primary); font-size:.85rem; margin-top:2px; }
.hm-info-label { font-size:.78rem; font-weight:700; color:var(--hm-gray-400); min-width:100px; flex-shrink:0; }
.hm-info-value { font-size:.88rem; color:var(--hm-dark); font-weight:500; }
.hm-notif-item {
    padding:14px 18px; border-radius:var(--hm-radius-md); background:#fff;
    border:1px solid var(--hm-gray-100); border-left:3px solid var(--hm-primary);
    margin-bottom:10px;
}
.hm-notif-item__date { font-size:.73rem; color:var(--hm-gray-400); margin-bottom:4px; }
.hm-notif-item__title { font-size:.88rem; font-weight:700; color:var(--hm-dark); margin-bottom:3px; }
.hm-notif-item__body { font-size:.8rem; color:var(--hm-gray-600); }
.hm-booking-card {
    background:#fff; border-radius:var(--hm-radius-md); border:1px solid var(--hm-gray-100);
    padding:16px 20px; margin-bottom:10px; display:flex; align-items:flex-start; gap:14px;
}
.hm-booking-card__icon { width:38px; height:38px; border-radius:50%; background:var(--hm-gray-50); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--hm-accent); font-size:.85rem; }
.hm-booking-card__msg { font-size:.88rem; font-weight:600; color:var(--hm-dark); margin-bottom:4px; }
.hm-booking-card__date { font-size:.75rem; color:var(--hm-gray-400); }

/* ════════════════════════════════════════════════════════════
   GLOBAL FUNNEL DIALOG — hm-funnel-*
   Sliding right-panel modal with hero column + 2-step form
════════════════════════════════════════════════════════════ */

/* ── Overlay ── */
.hm-funnel-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  pointer-events: none;
}
.hm-funnel-overlay--open {
  pointer-events: auto;
}

/* ── Backdrop ── */
.hm-funnel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,24,41,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s ease;
}
.hm-funnel-overlay--open .hm-funnel-backdrop {
  opacity: 1;
}

/* ── Panel (the sliding drawer) ── */
.hm-funnel-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 860px;
  background: #fff;
  border-radius: 24px 0 0 24px;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.32,.72,0,1);
  box-shadow: -12px 0 64px rgba(0,0,0,.25);
  max-height: 100vh;
  overflow-y: auto;
}
.hm-funnel-overlay--open .hm-funnel-panel {
  transform: translateX(0);
}

/* ── Close button ── */
.hm-funnel-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 20;
  transition: background .18s, transform .18s;
}
.hm-funnel-close:hover {
  background: rgba(255,255,255,.22);
  transform: rotate(90deg);
}

/* ── body scroll-lock ── */
body.hm-funnel-open { overflow: hidden; }

/* ══════════════════════════
   LEFT  — Hero Column
══════════════════════════ */
.hm-funnel-hero {
  flex: 0 0 280px;
  background: linear-gradient(160deg, var(--hm-dark) 0%, #0d2a45 55%, #163856 100%);
  padding: 48px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hm-funnel-hero__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  letter-spacing: .3px;
}
.hm-funnel-hero__icon {
  width: 36px; height: 36px;
  background: var(--hm-primary);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--hm-dark);
  font-size: .95rem;
  flex-shrink: 0;
}

.hm-funnel-hero__title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.hm-funnel-hero__title span { color: var(--hm-primary); }

.hm-funnel-hero__sub {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0;
}

/* Trust list */
.hm-funnel-trust {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}
.hm-funnel-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.hm-funnel-trust li i {
  width: 28px; height: 28px;
  background: rgba(253,201,0,.15);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--hm-primary);
  font-size: .8rem;
  flex-shrink: 0;
}

/* Decorative rings */
.hm-funnel-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(253,201,0,.12);
  pointer-events: none;
}
.hm-funnel-hero__ring--1 {
  width: 280px; height: 280px;
  bottom: -120px; right: -120px;
}
.hm-funnel-hero__ring--2 {
  width: 160px; height: 160px;
  top: -60px; left: -60px;
  border-color: rgba(255,255,255,.06);
}

/* ══════════════════════════
   RIGHT — Form Column
══════════════════════════ */
.hm-funnel-form-col {
  flex: 1;
  padding: 48px 40px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Contact card header (.hm-sup-contact-card overridden for funnel context) ── */
.hm-funnel-contact-card {
  background: linear-gradient(135deg, var(--hm-gray-50) 0%, #fff 100%);
  border: 1.5px solid var(--hm-gray-200);
  border-radius: var(--hm-radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.hm-funnel-card-entity {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hm-funnel-entity-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hm-primary) 0%, #f8a800 100%);
  color: var(--hm-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hm-funnel-entity-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hm-dark);
  margin: 0;
  line-height: 1.3;
}
.hm-funnel-entity-tag {
  display: inline-flex;
  align-items: center;
  background: var(--hm-primary-light);
  color: var(--hm-dark);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 3px;
}

/* Progress bar */
.hm-funnel-progress {
  height: 4px;
  background: var(--hm-gray-200);
  border-radius: 2px;
  overflow: hidden;
}
.hm-funnel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--hm-primary) 0%, #f8a800 100%);
  border-radius: 2px;
  width: 50%;
  transition: width .4s ease;
}

.hm-funnel-card-note {
  font-size: .8rem;
  color: var(--hm-gray-500);
  margin: 0;
  line-height: 1.5;
}

/* ── Steps ── */
.hm-funnel-step { display: flex; flex-direction: column; gap: 16px; }
.hm-funnel-step--hidden { display: none !important; }

.hm-funnel-step-label {
  font-size: .78rem;
  color: var(--hm-gray-500);
  margin: 0;
}
.hm-funnel-step-num {
  font-weight: 700;
  color: var(--hm-dark);
}

/* ── Fields ── */
.hm-funnel-field { display: flex; flex-direction: column; gap: 5px; }
.hm-funnel-field label {
  font-size: .82rem !important;
  font-weight: 600 !important;
  color: var(--hm-gray-700) !important;
  margin: 0 !important;
}
.hm-funnel-req { color: #ef4444; }

.hm-funnel-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.hm-funnel-input-wrap > i {
  position: absolute;
  left: 12px;
  color: var(--hm-gray-400);
  font-size: .85rem;
  pointer-events: none;
  z-index: 1;
}
.hm-funnel-input-wrap input,
.hm-funnel-input-wrap select,
.hm-funnel-input-wrap textarea {
  width: 100%;
  padding: .6rem .85rem .6rem 2.5rem !important;
  border: 1.5px solid var(--hm-gray-200) !important;
  border-radius: var(--hm-radius-sm) !important;
  font-size: .88rem !important;
  font-family: var(--hm-font) !important;
  color: var(--hm-gray-800) !important;
  background: var(--hm-white) !important;
  transition: border-color .18s, box-shadow .18s !important;
  box-shadow: none !important;
}
.hm-funnel-input-wrap input:focus,
.hm-funnel-input-wrap select:focus,
.hm-funnel-input-wrap textarea:focus {
  border-color: var(--hm-primary) !important;
  box-shadow: 0 0 0 3px rgba(253,201,0,.18) !important;
  outline: none !important;
}
.hm-funnel-input-wrap--textarea { align-items: flex-start; }
.hm-funnel-input-wrap--textarea > i { top: 12px; }
.hm-funnel-input-wrap--textarea textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: .6rem !important;
  padding-bottom: .6rem !important;
}

.hm-funnel-invalid input,
.hm-funnel-invalid select,
.hm-funnel-invalid textarea {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}

.hm-funnel-err {
  font-size: .75rem;
  color: #ef4444;
  min-height: 1em;
  display: block;
}

/* ── Buttons row ── */
.hm-funnel-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.hm-funnel-actions .hm-btn { flex: 1; justify-content: center; }
.hm-funnel-next,
.hm-funnel-submit { justify-content: center; }

/* ── Success state ── */
.hm-funnel-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1rem;
  animation: hm-fade-up .4s ease forwards;
}
.hm-funnel-success__icon {
  font-size: 3.5rem;
  color: #22c55e;
  margin-bottom: 1rem;
  animation: hm-funnel-pop .4s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes hm-funnel-pop {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
.hm-funnel-success__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hm-dark);
  margin-bottom: .5rem;
}
.hm-funnel-success__msg {
  font-size: .9rem;
  color: var(--hm-gray-500);
  max-width: 320px;
  line-height: 1.6;
  margin: 0 auto;
}

/* ── Mobile: full-screen panel ── */
@media (max-width: 767.98px) {
  .hm-funnel-panel {
    flex-direction: column;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    align-self: flex-end;
    transform: translateY(100%);
    max-height: 92vh;
  }
  .hm-funnel-overlay--open .hm-funnel-panel {
    transform: translateY(0);
  }
  .hm-funnel-hero {
    flex: none;
    padding: 28px 24px 20px;
    gap: 12px;
  }
  .hm-funnel-hero__title { font-size: 1.2rem; }
  .hm-funnel-trust { display: none; }
  .hm-funnel-hero__ring { display: none; }
  .hm-funnel-form-col { padding: 24px 20px 32px; }
  .hm-funnel-close { background: rgba(255,255,255,.18); }
}

@media (max-width: 991.98px) and (min-width: 768px) {
  .hm-funnel-hero { flex: 0 0 220px; padding: 36px 24px 32px; }
  .hm-funnel-form-col { padding: 36px 28px 32px; }
}

/* ═══════════════════════════════════════════════════════════
   NO-DATA / EMPTY CATEGORY PAGE  ·  .hm-no-data-page
   ═══════════════════════════════════════════════════════════ */
.hm-no-data-page { padding: 0 0 64px; }

/* ── Hero banner ── */
.hm-no-data-hero {
    background: linear-gradient(135deg, var(--hm-primary, #000000) 0%, #000000 60%, #000000 100%);
    padding: 72px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hm-no-data-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(253,201,0,.08) 0%, transparent 70%);
    pointer-events: none;
}
.hm-no-data-hero__icon-ring {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    border: 2px solid rgba(253,201,0,.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 20px rgba(253,201,0,.04), 0 0 0 40px rgba(253,201,0,.02);
}
.hm-no-data-hero__icon-ring i {
    font-size: 2.6rem;
    color: var(--hm-accent, #fdc900);
}
.hm-no-data-hero__cat-img {
    width: 90px; height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(253,201,0,.4);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.hm-no-data-hero__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: .75rem;
    position: relative;
    z-index: 1;
}
.hm-no-data-hero__title span { color: #fdc900; }
.hm-no-data-hero__subtitle {
    color: rgba(255,255,255,.72);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}
.hm-no-data-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ── Steps / How it works ── */
.hm-no-data-steps {
    background: #f8fafc;
    padding: 56px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}
.hm-no-data-steps__title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: black;
    margin-bottom: 36px;
}
.hm-no-data-step {
    text-align: center;
    padding: 24px 20px;
}
.hm-no-data-step__num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--hm-primary, #051829);
    color: black;
    font-size: 1.1rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.hm-no-data-step h6 {
    font-size: .92rem;
    font-weight: 700;
    color: #051829;
    margin-bottom: .35rem;
}
.hm-no-data-step p {
    font-size: .83rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ── Other categories ── */
.hm-no-data-categories { padding: 56px 0; }
.hm-no-data-section-hd {
    font-size: 1.25rem;
    font-weight: 800;
    color: #051829;
    margin-bottom: 24px;
}
.hm-no-data-section-hd::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #fdc900;
    border-radius: 2px;
    margin-top: 8px;
}
.hm-cat-pill-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 1.5px solid #e9ecef;
    border-radius: 14px;
    text-decoration: none !important;
    transition: all .22s ease;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hm-cat-pill-card:hover {
    border-color: #fdc900;
    box-shadow: 0 6px 24px rgba(5,24,41,.1);
    transform: translateY(-3px);
}
.hm-cat-pill-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #212529 0%, #0d3b5e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hm-cat-pill-card__icon i { font-size: 1.2rem; color: #fdc900; }
.hm-cat-pill-card__img {
    width: 48px; height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.hm-cat-pill-card__name {
    font-size: .9rem;
    font-weight: 700;
    color: #051829;
    line-height: 1.3;
}
.hm-cat-pill-card__arrow {
    margin-left: auto;
    color: #adb5bd;
    font-size: .8rem;
    flex-shrink: 0;
    transition: color .2s, transform .2s;
}
.hm-cat-pill-card:hover .hm-cat-pill-card__arrow {
    color: var(--hm-accent, #fdc900);
    transform: translateX(3px);
}

/* ── Register CTA strip ── */
.hm-register-strip {
    background: #051829;
    border-radius: 20px;
    padding: 40px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 48px;
    box-shadow: 0 8px 32px rgba(253,201,0,.25);
}
.hm-register-strip__text h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--hm-primary, #051829);
    margin-bottom: .3rem;
}
.hm-register-strip__text p {
    color: rgba(255, 255, 255, 0.72);
    font-size: .92rem;
    margin: 0;
}
.hm-register-strip .hm-cta-btn--dark {
    background: var(--hm-primary, #051829);
    color: black;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 800;
    font-size: .92rem;
    white-space: nowrap;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    text-decoration: none !important;
    transition: transform .2s, box-shadow .2s;
}
.hm-register-strip .hm-cta-btn--dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5,24,41,.25);
    color: #000000;
}

@media (max-width: 575.98px) {
    .hm-no-data-hero { padding: 48px 0 56px; }
    .hm-register-strip { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
    .hm-no-data-steps { padding: 36px 0; }
    .hm-no-data-categories { padding: 36px 0; }
}
