/* ==========================================================================
   VyaparMart — Premium B2B Marketplace Homepage
   ========================================================================== */

:root {
  --navy: #0B1B3A;
  --navy-2: #122650;
  --navy-3: #1B3868;
  --orange: #F5711D;
  --orange-dark: #DD5F0F;
  --blue-card: #2450C9;
  --green-card: #0FA968;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --border: #E5E9F0;
  --text: #101828;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11,27,58,0.05);
  --shadow-sm: 0 2px 10px rgba(11,27,58,0.07);
  --shadow-md: 0 10px 28px rgba(11,27,58,0.10);
  --shadow-lg: 0 22px 52px rgba(11,27,58,0.16);

  --grad-navy: linear-gradient(135deg, #0B1B3A 0%, #16295A 60%, #1B3868 100%);
  --grad-orange: linear-gradient(135deg, #F5711D 0%, #FB9040 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* overflow-x: clip, not hidden. `hidden` turns body into a scroll container, and
   a sticky descendant then sticks to the body box instead of the viewport — which
   is why the header used to scroll away on mobile. `clip` crops the same
   horizontal overflow without creating that scroll container. */
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.container-xl-custom { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-fluid-custom { width: 100%; padding: 0 20px; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }

.section-pad { padding: 48px 0; }
@media (max-width: 768px) { .section-pad { padding: 52px 0; } }

.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head { max-width: 640px; }
.section-head.center { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.section-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--orange); display: inline-block; }
.section-title { font-size: 36px; font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 10px; }

/* Admin-authored rich text (Terms, Privacy Policy, About Us, etc — see
   Admin → Homepage Settings → per-page tabs). Quill's default output is
   plain <p>/<ul>/<strong> etc with no classes, so this just gives it the
   site's own type scale instead of the browser default. */
.cms-content { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.cms-content p { margin-bottom: 14px; }
.cms-content h1, .cms-content h2, .cms-content h3 { color: var(--navy); font-weight: 800; margin: 20px 0 10px; }
.cms-content ul, .cms-content ol { margin-bottom: 14px; padding-left: 22px; }
.cms-content a { color: var(--orange); }
.cms-content strong { color: var(--navy); }
.section-sub { font-size: 15.5px; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 768px) { .section-title { font-size: 27px; } }

.view-all-link { font-size: 13.5px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.view-all-link:hover { color: var(--orange); }

.btn-orange { background: var(--grad-orange); color: #fff; border: none; font-weight: 700; font-size: 14.5px; padding: 13px 26px; border-radius: var(--radius-pill); box-shadow: 0 10px 24px rgba(245,113,29,0.28); display: inline-flex; align-items: center; gap: 8px; transition: all 0.22s var(--ease); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245,113,29,0.36); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); font-weight: 700; font-size: 14.5px; padding: 12.5px 26px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 8px; transition: all 0.22s var(--ease); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: none; font-weight: 700; font-size: 13.5px; padding: 11px 20px; border-radius: var(--radius-pill); transition: all 0.22s var(--ease); }
.btn-navy:hover { background: var(--orange); color: #fff; }
.btn-ghost-navy { background: #fff; color: var(--navy); border: 1.5px solid var(--border); font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: var(--radius-pill); transition: all 0.22s var(--ease); }
.btn-ghost-navy:hover { border-color: var(--navy); }

/* ---------------- Utility bar ---------------- */
.utility-bar { background: var(--navy); color: rgba(255,255,255,0.65); font-size: 12px; padding: 7px 0; }
.utility-bar .container-xl-custom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.utility-bar a { color: rgba(255,255,255,0.65); margin-left: 16px; transition: color 0.2s; }
.utility-bar a:hover { color: #fff; }

/* ---------------- Navbar ---------------- */
.navbar-premium { position: sticky; top: 0; z-index: 1040; background: #fff; border-bottom: 1px solid var(--border); }
.nav-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 16px 0; }
.brand-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; color: var(--navy); flex-shrink: 0; }
.brand-logo .mark { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-navy); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.brand-logo .accent { color: var(--orange); }

.nav-middle { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-location, .nav-search { height: 44px; box-sizing: border-box; }
.nav-location { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--border); border-radius: var(--radius-pill); padding: 0 16px; font-size: 13px; font-weight: 600; color: var(--text); background: #fff; flex-shrink: 0; white-space: nowrap; }
.nav-location i { color: var(--orange); font-size: 13px; }
.nav-location select { border: none; background: transparent; font-size: 13px; font-weight: 600; color: var(--text); }

.nav-search { width: 100%; display: flex; align-items: stretch; max-width: 400px; border: 1.5px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.nav-search select { border: none; background: transparent; font-size: 13px; font-weight: 600; color: var(--text); padding: 0 14px; max-width: 150px; border-right: 1px solid var(--border); }
.nav-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 13.5px; padding: 0 16px; min-width: 0; }
.nav-search button { border: none; background: var(--grad-orange); color: #fff; width: 44px; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-signin { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--navy); padding: 9px 14px; border-radius: var(--radius-pill); transition: background 0.2s; border: none; background: none; }
.nav-signin:hover { background: var(--bg); }

.nav-icon-btn { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--navy); border: 1.5px solid var(--border); border-radius: var(--radius-pill); padding: 8px 14px; white-space: nowrap; transition: all 0.2s; }
.nav-icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.nav-icon-btn i { font-size: 15px; }
.nav-icon-btn.free-listing { position: relative; padding-top: 12px; }
.nav-icon-btn .mini-badge { position: absolute; top: -9px; left: 8px; background: var(--orange); color: #fff; font-size: 8.5px; font-weight: 800; letter-spacing: 0.04em; padding: 1px 6px; border-radius: 4px; }
.nav-bell { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
@media (max-width: 1200px) { .nav-icon-btn span.label, .nav-location { display: none; } }

/* Download App — header button, shown only when an admin enables it and there
   is a real destination. Boxed like Justdial's, using this site's own palette. */
.app-download-btn { display: flex; align-items: stretch; gap: 0; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; white-space: nowrap; transition: border-color 0.2s; }
.app-download-btn:hover { border-color: var(--orange); }
.app-download-btn__text { display: flex; flex-direction: column; justify-content: center; padding: 5px 11px; }
.app-download-btn__label { font-size: 12.5px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.app-download-btn__sub { font-size: 9.5px; font-weight: 600; color: var(--text-muted); line-height: 1.2; }
.app-download-btn__mark { display: flex; align-items: center; justify-content: center; width: 34px; background: var(--grad-orange); color: #fff; font-size: 15px; }
.app-download-btn:hover .app-download-btn__label { color: var(--orange); }
/* Below the nav breakpoint the label is dropped with everything else, leaving
   the orange mark as a recognisable icon button rather than hiding the app. */
@media (max-width: 1200px) { .app-download-btn__text { display: none; } .app-download-btn__mark { width: 38px; height: 36px; } }

/* Footer "get the app" panel — now sits under the Grow Your Business CTA in
   the footer's CTA column on every screen size, not mobile-only: it used to
   duplicate the header's Download App button on desktop, but that button
   lives outside the footer entirely, so hiding it here left desktop with no
   APK link below the CTA at all. */
.footer-app {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-wrap: wrap;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md); padding: 14px; margin: 4px 0 18px;
}
.footer-app__mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-orange); color: #fff; font-size: 19px; flex-shrink: 0; }
.footer-app__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 140px; }
.footer-app__text strong { color: #fff; font-size: 14px; font-weight: 700; }
.footer-app__text span { color: rgba(255,255,255,0.65); font-size: 12px; }
.footer-app__btn { flex-shrink: 0; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: var(--radius-pill); white-space: nowrap; }
.footer-app__btn:hover { background: var(--orange-dark); color: #fff; }

.footer-store-badges { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.footer-store-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
  padding: 7px 12px; color: #fff; flex: 1; min-width: 140px;
}
.footer-store-badge:hover { background: rgba(0,0,0,0.5); color: #fff; }
.footer-store-badge i { font-size: 22px; }
.footer-store-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.footer-store-badge small { font-size: 9.5px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.03em; }
.footer-store-badge span:not(small) { font-size: 13px; font-weight: 700; }



/* Category strip */
.category-strip { background: var(--bg); border-bottom: 1px solid var(--border); }
.category-strip-inner { display: flex; align-items: center; gap: 4px; padding: 11px 0; overflow-x: auto; scrollbar-width: none; }
.category-strip-inner::-webkit-scrollbar { display: none; }
.category-strip a { font-size: 13.5px; font-weight: 600; color: var(--text-muted); padding: 7px 14px; border-radius: var(--radius-pill); white-space: nowrap; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.category-strip a:hover, .category-strip a.active { background: var(--navy); color: #fff; }
.category-strip a.all-cats { color: var(--navy); font-weight: 700; }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: var(--grad-navy); color: #fff; padding: 64px 0 0; overflow: hidden; }
.hero::before { content:""; position:absolute; top:-20%; right:-10%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(245,113,29,0.16), transparent 65%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 0.85fr; gap: 52px; align-items: center; padding-bottom: 56px; }
@media (max-width: 992px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #FDBA74; background: rgba(245,113,29,0.14); border: 1px solid rgba(245,113,29,0.3); padding: 7px 15px; border-radius: var(--radius-pill); margin-bottom: 22px; }
.hero h1 { font-size: 50px; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 .accent { color: var(--orange); }
@media (max-width: 992px) { .hero h1 { font-size: 38px; } }
@media (max-width: 576px) { .hero h1 { font-size: 30px; } }
.hero p.lead-text { font-size: 16.5px; color: rgba(255,255,255,0.68); max-width: 500px; margin-bottom: 30px; line-height: 1.65; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-mini-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mini-badges .mb { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); }
.hero-mini-badges .mb i { color: var(--orange); font-size: 15px; }

.hero-visual { position: relative; }
.hero-visual-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.1; }
.hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-badge { position: absolute; background: #fff; color: var(--text); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.hero-float-badge .ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; flex-shrink: 0; }
.hero-float-badge .t1 { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.hero-float-badge .t2 { font-size: 10.5px; color: var(--text-muted); }
.hfb-1 { top: 8%; left: -8%; }
.hfb-2 { bottom: 12%; right: -8%; }
.hfb-3 { bottom: -6%; left: 18%; }
@media (max-width: 992px) { .hero-float-badge { position: static; margin-top: 12px; display: inline-flex; } }

/* ---------------- Promo row (banner + 4 tiles) ---------------- */
.promo-row { display: grid; grid-template-columns: 4fr repeat(4, 0.8fr); gap: 14px; padding: 20px 0; }
@media (max-width: 1200px) { .promo-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .promo-row { grid-template-columns: repeat(2, 1fr); } }

.promo-banner { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 220px; }
.promo-banner-slide { position: absolute; inset: 0; display: none; align-items: flex-end; background-size: cover; background-position: center; }
.promo-banner-slide.active { display: flex; }
.promo-banner-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,58,0.82) 0%, rgba(11,27,58,0.35) 60%, rgba(11,27,58,0) 100%); }
.promo-banner-slide .promo-banner-body { position: relative; z-index: 1; padding: 22px; color: #fff; }
.promo-banner-slide .promo-banner-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; font-style: italic; }
.promo-banner-slide .promo-banner-body p { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.promo-banner-slide .promo-banner-body .btn-white-pill { background: #fff; color: var(--navy); }

.promo-banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; display: flex; align-items: center; justify-content: center; color: var(--navy); box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease); }
.promo-banner:hover .promo-banner-arrow { opacity: 1; pointer-events: auto; }
.promo-banner-arrow:hover { background: #fff; }
.promo-banner-arrow.prev { left: 10px; }
.promo-banner-arrow.next { right: 10px; }
.promo-banner-dots { position: absolute; left: 16px; bottom: 12px; z-index: 2; display: flex; gap: 6px; }
.promo-banner-dots button { width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); padding: 0; }
.promo-banner-dots button.active { background: #fff; width: 18px; border-radius: 4px; }

.promo-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 220px; padding: 14px; color: #fff; display: flex; flex-direction: column; }
.promo-tile h4 { font-size: 13.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 4px; }
.promo-tile p { font-size: 11.5px; color: rgba(255,255,255,0.85); margin-bottom: 0; }
.promo-tile .promo-tile-explore { margin-top: auto; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; color: #fff; }
.promo-tile .promo-tile-ic { position: absolute; right: -14px; bottom: -14px; font-size: 76px; opacity: 0.18; }

.hero-stat-strip { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.1); padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 768px) { .hero-stat-strip { grid-template-columns: repeat(2, 1fr); } }
.hero-stat-strip .hs-num { font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat-strip .hs-num span { color: var(--orange); }
.hero-stat-strip .hs-lbl { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; }

/* ---------------- Generic inner page banner (results, RFQ, dashboard) ---------------- */
.results-banner { background: var(--grad-navy); color: #fff; padding: 40px 0 34px; }
.results-banner h1 { font-size: 30px; font-weight: 800; margin: 8px 0 6px; }
.results-banner > .container-xl-custom > p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 24px; }

/* ---------------- Trust strip ---------------- */
.trust-strip { background: #fff; padding: 22px 0; border-bottom: 1px solid var(--border); }
.trust-strip-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
@media (max-width: 576px) {
  .trust-strip { padding: 10px 0; }
  .trust-strip-inner { flex-wrap: nowrap; }
  .trust-item { display: none; white-space: nowrap; }
  .trust-item.active { display: flex; }
}
.trust-item i { color: var(--orange); font-size: 18px; }

/* ---------------- Category grid (image cards, bottom label) ---------------- */
.cat-grid-2r { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 992px) { .cat-grid-2r { grid-template-columns: repeat(2, 1fr); } }

.cat-card2 { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3.3; box-shadow: var(--shadow-xs); transition: all 0.3s var(--ease); display: block; }
.cat-card2:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.cat-card2:hover img { transform: scale(1.08); }
.cat-card2 .label-bar { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(11,27,58,0.94), rgba(11,27,58,0)); padding: 34px 16px 14px; color: #fff; }
.cat-card2 .label-bar h4 { font-size: 14.5px; font-weight: 700; margin: 0 0 2px; }
.cat-card2 .label-bar span { font-size: 11.5px; color: rgba(255,255,255,0.7); }

/* ---------------- Category icon grid (flat cards, icon + label) ---------------- */
.cat-icon-grid {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 18px 8px;
}
@media (max-width: 900px) { .cat-icon-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 576px) { .cat-icon-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-icon-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  background: none; border: none; padding: 0; box-shadow: none; transition: transform 0.2s var(--ease);
}
.cat-icon-card:hover { transform: translateY(-2px); }
.cat-icon-card .cat-icon-box {
  width: 64px; height: 64px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0; background: #fff; border: 1px solid var(--border);
}
.cat-icon-card .cat-icon-box img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.cat-icon-card .cat-icon-label { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.cat-icon-card.cat-icon-more .cat-icon-box { background: var(--navy); color: #fff; }

/* ---------------- Search autosuggest ---------------- */
.search-wrap { position: relative; width: 100%; min-width: 0; }
.suggest-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); max-height: 60vh; overflow-y: auto; padding: 6px 0;
}
.suggest-panel.open { display: block; }
.suggest-group + .suggest-group { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 4px; }
.suggest-group-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-faint); padding: 8px 14px 4px;
}
.suggest-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: var(--text); transition: background 0.15s; }
.suggest-item:hover { background: var(--bg); color: var(--orange); }
.suggest-item i { color: var(--orange); font-size: 15px; flex-shrink: 0; }
.suggest-item-text { font-size: 13.5px; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item-sub { font-size: 11px; color: var(--text-faint); flex-shrink: 0; }
.suggest-empty { padding: 14px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ---------------- Industry showcase (poster + large-image category grid) ---------------- */
.industry-showcase { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
@media (max-width: 900px) { .industry-showcase { grid-template-columns: 1fr; } }

.industry-poster { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.industry-poster::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,27,58,0.75) 0%, rgba(11,27,58,0.15) 100%); }
.industry-poster-body { position: relative; z-index: 1; padding: 24px; color: #fff; }

.industry-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1100px) { .industry-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .industry-cat-grid { grid-template-columns: 1fr; } }

.industry-cat-card { display: block; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: #fff; transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.industry-cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.industry-cat-img { display: flex; align-items: center; justify-content: center; height: 140px; background: var(--bg); font-size: 40px; color: var(--muted); }
.industry-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.industry-cat-name { display: block; padding: 12px 14px 4px; font-size: 15px; font-weight: 700; color: var(--text); }
.industry-cat-subs { display: flex; flex-direction: column; padding: 0 14px 14px; }
.industry-cat-sub-link { font-size: 12.5px; color: var(--muted); line-height: 1.9; }

/* ---------------- Colored 3-card CTA row ---------------- */
.cta3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cta3-grid { grid-template-columns: 1fr; } }
.cta3-card { border-radius: var(--radius-md); padding: 28px; color: #fff; position: relative; overflow: hidden; }
.cta3-card::before { content:""; position:absolute; top:-30%; right:-15%; width:180px; height:180px; border-radius:50%; background: rgba(255,255,255,0.08); }
.cta3-card.blue { background: linear-gradient(135deg, #2450C9, #3B6BF0); }
.cta3-card.orange { background: linear-gradient(135deg, #DD5F0F, #F5711D); }
.cta3-card.green { background: linear-gradient(135deg, #0B8C57, #0FA968); }
.cta3-card h5 { font-size: 17px; font-weight: 800; margin-bottom: 8px; position: relative; z-index: 1; }
.cta3-card p { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 18px; position: relative; z-index: 1; }
.cta3-card .btn-white-pill { background: #fff; color: var(--navy); font-weight: 700; font-size: 13px; padding: 10px 20px; border-radius: var(--radius-pill); border: none; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; transition: transform 0.2s; }
.cta3-card .btn-white-pill:hover { transform: translateY(-2px); }

/* ---------------- Product filter chips ---------------- */
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chips button { background: #fff; border: 1.5px solid var(--border); color: var(--text-muted); font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 7px; transition: all 0.2s; }
.filter-chips button.active, .filter-chips button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------------- Product cards (marketplace style) ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 992px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------------- Product card (reusable, components/cards/product-card) ---------------- */
.pcard-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1200px) { .pcard-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .pcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pcard-grid { grid-template-columns: 1fr; } }

.pcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow 0.2s var(--ease); }
.pcard:hover { box-shadow: var(--shadow-sm); }
.pcard-media { display: block; aspect-ratio: 4/3; background: var(--bg); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 14px; }
.pcard-title { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 8px; min-height: 36px; }
.pcard-title:hover { color: var(--orange); }
.pcard-company { font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.pcard-loc { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.pcard-price { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.pcard-price .pcard-unit { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.pcard-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-view-number, .btn-get-price { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 700; }
.btn-view-number { background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); }
.btn-view-number:hover { border-color: var(--navy); color: var(--navy); }
.btn-get-price { background: var(--navy); color: #fff; border: none; }
.btn-get-price:hover { background: var(--orange); color: #fff; }

/* ---------------- Homepage Experience Builder: dynamic section layouts ---------------- */
.hb-section-banner { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 240px; display: flex; align-items: center; background-size: cover; background-position: center; }
.hb-section-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,58,0.82) 0%, rgba(11,27,58,0.25) 70%); }
.hb-section-banner .hb-banner-body { position: relative; z-index: 1; padding: 32px; color: #fff; max-width: 480px; }
.hb-section-banner .hb-banner-body h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.hb-section-banner .hb-banner-body p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 18px; }

.ad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ad-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/7; display: block; background: var(--bg); }
.ad-tile img { width: 100%; height: 100%; object-fit: cover; }
.ad-tile .ad-tile-label { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(11,27,58,0.85), rgba(11,27,58,0)); color: #fff; font-size: 13px; font-weight: 700; padding: 20px 14px 10px; }

.product-card { background: var(--card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: all 0.3s var(--ease); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #F1F5F9; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); }
.product-badge.navy { background: var(--navy); }
.product-badge.green { background: var(--green-card); }
.product-wishlist { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: none; display: flex; align-items: center; justify-content: center; color: var(--navy); box-shadow: var(--shadow-sm); }
.product-wishlist:hover { color: var(--orange); }

.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-supplier { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.product-supplier .verified { color: var(--green-card); }
.product-title { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.35; min-height: 40px; }
.product-price-row { display: flex; align-items: baseline; gap: 9px; }
.product-price { font-size: 19px; font-weight: 800; color: var(--navy); }
.product-price-old { font-size: 13px; color: var(--text-faint); text-decoration: line-through; }
.product-meta-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); border-top: 1px dashed var(--border); padding-top: 10px; margin-top: 2px; }
.product-btn-row { display: flex; gap: 8px; margin-top: 8px; }
.product-btn-row .btn-orange { flex: 1; justify-content: center; padding: 11px; font-size: 13px; box-shadow: none; }
.product-btn-row .chat-btn { width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; transition: all 0.2s; }
.product-btn-row .chat-btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ---------------- Dark stats banner ---------------- */
.stats-dark { background: var(--grad-navy); color: #fff; padding: 68px 0; text-align: center; }
.stats-dark .section-eyebrow { color: #FDBA74; justify-content: center; }
.stats-dark .section-title { color: #fff; }
.stats-dark .section-sub { color: rgba(255,255,255,0.6); }
.stats-dark-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 992px) { .stats-dark-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .stats-dark-grid { grid-template-columns: repeat(2, 1fr); } }
.sd-block .num { font-size: 30px; font-weight: 800; color: var(--orange); }
.sd-block .lbl { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 500; margin-top: 4px; }

/* ---------------- Process steps ---------------- */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
@media (max-width: 992px) { .process-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .process-track { grid-template-columns: 1fr; } }
.process-step { text-align: center; padding: 8px; }
.process-step .p-num { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: var(--navy); margin: 0 auto 16px; transition: all 0.25s; }
.process-step:hover .p-num { background: var(--grad-orange); border-color: transparent; color: #fff; }
.process-step h5 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.process-step p { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---------------- Why choose us (split) ---------------- */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center; }
@media (max-width: 992px) { .why-grid { grid-template-columns: 1fr; } }
.why-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 576px) { .why-benefits { grid-template-columns: 1fr; } }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; transition: all 0.25s var(--ease); }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.why-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--orange); margin-bottom: 14px; }
.why-card h6 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.why-card p { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ---------------- Featured suppliers ---------------- */
.supplier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 992px) { .supplier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .supplier-grid { grid-template-columns: 1fr; } }
.supplier-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; transition: all 0.25s var(--ease); }
.supplier-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.supplier-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.supplier-avatar { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; flex-shrink: 0; position: relative; }
.supplier-avatar .badge-check { position: absolute; bottom: -3px; right: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-card); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; }
.supplier-name { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.supplier-loc { font-size: 11.5px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
/* The pin sits slightly heavier than the text so the line reads as a place. */
.supplier-loc i { font-size: 11px; color: var(--orange, #F5711D); }
.supplier-stats-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); margin-bottom: 14px; }
.supplier-stats-row div { text-align: center; }
.supplier-stats-row .s-num { font-weight: 800; font-size: 14px; color: var(--navy); }
.supplier-stats-row .s-lbl { font-size: 10px; color: var(--text-muted); }
.supplier-rating { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 5px; }
.supplier-rating i { color: #F59E0B; font-size: 11px; }
.supplier-btn-row { display: flex; gap: 8px; }
.supplier-btn-row .btn-navy, .supplier-btn-row .btn-ghost-navy { flex: 1; justify-content: center; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; }
.testi-stars i { color: #F59E0B; font-size: 13px; }
.testi-quote { font-size: 14.5px; color: var(--text); line-height: 1.7; margin: 14px 0 20px; }
.testi-person { display: flex; align-items: center; gap: 11px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testi-name { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.testi-role { font-size: 11.5px; color: var(--text-muted); }

.testi-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; text-align: center; }
@media (max-width: 576px) { .testi-stats-row { grid-template-columns: repeat(2, 1fr); } }
.testi-stats-row .num { font-size: 24px; font-weight: 800; color: var(--navy); }
.testi-stats-row .lbl { font-size: 12px; color: var(--text-muted); }

/* ---------------- Final CTA banner ---------------- */
.cta-final { background: var(--grad-navy); border-radius: var(--radius-lg); padding: 56px 48px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; color: #fff; }
.cta-final::before { content:""; position:absolute; top:-30%; left:-8%; width: 380px; height: 380px; border-radius: 50%; background: rgba(245,113,29,0.14); }
.cta-final > * { position: relative; z-index: 1; }
.cta-final h3 { font-size: 27px; font-weight: 800; margin-bottom: 8px; max-width: 420px; }
.cta-final p { color: rgba(255,255,255,0.65); font-size: 14px; margin: 0; }
.cta-final-form { display: flex; flex-direction: column; gap: 10px; min-width: 320px; }
.cta-final-form .row-inline { display: flex; gap: 8px; }
.cta-final-form input { border: none; border-radius: var(--radius-sm); padding: 13px 16px; font-size: 13.5px; flex: 1; outline: none; }
.cta-final-trust { font-size: 11.5px; color: rgba(255,255,255,0.55); display: flex; gap: 14px; flex-wrap: wrap; }
.cta-final-trust span { display: inline-flex; align-items: center; gap: 5px; }
.cta-final-trust i { color: var(--orange); }

/* ---------------- Footer ---------------- */
.footer-premium { background: var(--navy); color: rgba(255,255,255,0.6); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 992px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .footer-top { grid-template-columns: 1fr; } }
.footer-premium .brand-logo { color: #fff; }
.footer-about p { font-size: 13px; line-height: 1.7; margin: 15px 0 18px; }
.footer-social { display: flex; gap: 9px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.2s; }
.footer-social a:hover { background: var(--orange); }
.footer-premium h6 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-premium ul { list-style: none; padding: 0; margin: 0; }
.footer-premium li { margin-bottom: 10px; }
.footer-premium a.flink { font-size: 13px; transition: color 0.2s; }
.footer-premium a.flink:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-credit { text-align: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-credit a { color: rgba(255,255,255,0.6); font-weight: 600; }
.footer-credit a:hover { color: var(--orange); }

.footer-brand-col p { font-size: 13px; line-height: 1.7; margin: 14px 0 16px; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.footer-badge i { color: #0FA968; }

.footer-contact-block { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.footer-contact-block a { display: flex; flex-direction: column; color: #fff; font-size: 14px; font-weight: 700; }
.footer-contact-block a:hover { color: var(--orange); }
.footer-contact-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.45); margin-bottom: 2px; }

.footer-cta-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 18px; margin-bottom: 18px; }
.footer-cta-card p { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.btn-sm-block { display: inline-flex; width: 100%; justify-content: center; padding: 9px 14px; font-size: 13px; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1050;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
/* The mobile tab bar is 58px tall and fixed to the bottom, so a 14px offset
   put the WhatsApp button on top of it — covering a nav item and looking
   like a mistake. Sit it clear of the bar instead. */
@media (max-width: 576px) { .whatsapp-float { right: 14px; bottom: 72px; width: 50px; height: 50px; font-size: 24px; } }

/* ---------------- Sign-in modal ---------------- */
.im-modal .modal-content { border-radius: var(--radius-lg); border: none; box-shadow: var(--shadow-lg); }
.im-modal .modal-header { border-bottom: 1px solid var(--border); padding: 20px 24px; }
.im-modal .modal-body { padding: 26px 24px; }
.im-modal .modal-title { font-weight: 800; color: var(--navy); }
.im-modal .form-control { border-radius: var(--radius-md); padding: 12px 16px; border: 1.5px solid var(--border); font-size: 14.5px; }
.im-modal .form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245,113,29,0.12); }

/* ---------------- User dropdown ---------------- */
.user-menu { position: relative; }
.user-dropdown { position: absolute; right: 0; top: calc(100% + 12px); width: 240px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 10px; z-index: 1060; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s var(--ease); }
.user-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown a, .user-dropdown button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; color: var(--text); width: 100%; text-align: left; border: none; background: none; }
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--bg); color: var(--orange); }
.user-dropdown hr { margin: 8px 0; border-color: var(--border); }

/* ---------------- Mobile off-canvas ---------------- */
.mobile-account-btn {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  border: none; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.mobile-account-panel { width: 300px; }
.mobile-account-panel .offcanvas-header { padding: 10px 14px 0; }
.mobile-account-panel .offcanvas-body { padding: 0 20px 20px; }
.map-identity { display: flex; align-items: center; gap: 12px; padding: 6px 0 20px; }
.map-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.map-identity strong { display: block; font-size: 15px; color: var(--navy); font-weight: 800; }
.map-identity div span { display: block; font-size: 12px; color: var(--text-muted); }
.map-identity div a { font-size: 13px; font-weight: 700; color: var(--orange); }
.map-tabs { display: flex; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 12px; flex-wrap: wrap; }
.map-tabs a { font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--bg); border: 1px solid var(--border); padding: 7px 12px; border-radius: var(--radius-pill); }
.map-links { display: flex; flex-direction: column; }
.map-links a, .map-links button {
  display: flex; align-items: center; gap: 12px; padding: 13px 2px; font-size: 14px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border); border-top: none; border-left: none; border-right: none; background: none; width: 100%; text-align: left;
}
.map-links i { color: var(--text-muted); font-size: 15px; width: 18px; }
.map-lang { display: flex; align-items: center; gap: 12px; padding: 13px 2px; font-size: 14px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.map-lang em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--orange); }
.map-links .map-free { margin-left: auto; font-size: 10px; font-weight: 800; color: #16A34A; background: #ECFDF5; padding: 2px 8px; border-radius: var(--radius-pill); }
.map-logout-form { padding: 0; border: none; }
.map-logout-form button { color: #DC2626; }
.map-logout-form button i { color: #DC2626; }

.mobile-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--navy); }
.mobile-panel { display: none; }
.mobile-search-row { display: none; }
.mobile-location-row { display: none; }
.mobile-tabbar { display: none; }
@media (max-width: 992px) {
  .nav-inner { grid-template-columns: auto auto; }
  .nav-middle { display: none; }
  .nav-actions { gap: 4px; }
  .nav-actions .nav-icon-btn { display: none; }
  .nav-actions .nav-signin-label { display: none; }
  .nav-actions .nav-signin { padding: 8px; }
  .mobile-toggle { display: block; }
  .mobile-location-row { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: none; padding: 10px 2px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
  .mobile-location-row i.bi-geo-alt-fill { color: var(--orange); }
  .mobile-search-row { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; background: #fff; margin: 0 0 12px; }
  .mobile-search-row input { flex: 1; border: none; padding: 10px 16px; font-size: 14px; outline: none; }
  .mobile-search-row button { border: none; background: var(--orange); color: #fff; padding: 0 18px; }
  .mobile-panel { display: none; flex-direction: column; padding: 0 0 16px; border-top: 1px solid var(--border); }
  .mobile-panel.open { display: flex; }
  .mobile-panel-link { display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-size: 14px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--border); }

  .mobile-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -2px 10px rgba(11,27,58,0.06);
  }
  .mobile-tabbar a, .mobile-tabbar button, .mobile-tabbar span {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 8px 4px 10px; font-size: 10.5px; font-weight: 600; color: var(--text-muted);
    background: none; border: none;
  }
  .mobile-tabbar i { font-size: 19px; }
  .mobile-tabbar a.active { color: var(--orange); }
  body { padding-bottom: 58px; }
}
@media (max-width: 576px) {
  .nav-actions .nav-signin span { display: none; }
  .nav-actions > a.btn-orange { display: none; }
  .nav-inner { gap: 10px; }
  .section-pad { padding: 28px 0; }
  .cat-icon-grid { grid-template-columns: repeat(4, 1fr); gap: 18px 4px; }
  .cat-icon-card .cat-icon-box { width: 48px; height: 48px; font-size: 19px; }
  .cat-icon-card .cat-icon-label { font-size: 10.5px; }
  .section-title { font-size: 20px; }
  .section-sub { font-size: 12.5px; }
  .promo-row { grid-template-columns: 1fr; padding-top: 0; }
  .promo-tile { display: none; }
  .section-head-row { flex-wrap: nowrap; align-items: flex-start; margin-bottom: 20px; gap: 10px; }
  .section-head { min-width: 0; }
  .view-all-link { font-size: 11.5px; flex-shrink: 0; margin-top: 2px; }

  /* Section listings scroll sideways instead of stacking down the page */
  .pcard-grid, .product-grid, .supplier-grid, .industry-cat-grid, .testi-grid {
    display: flex; overflow-x: auto; gap: 12px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; margin-right: -16px; padding-right: 16px;
  }
  .pcard-grid::-webkit-scrollbar, .product-grid::-webkit-scrollbar,
  .supplier-grid::-webkit-scrollbar, .industry-cat-grid::-webkit-scrollbar,
  .testi-grid::-webkit-scrollbar { display: none; }
  .pcard-grid > *, .product-grid > *, .supplier-grid > *, .industry-cat-grid > *, .testi-grid > * {
    flex: 0 0 62%; scroll-snap-align: start;
  }
  .industry-showcase { grid-template-columns: 1fr; }
  .industry-poster { min-height: 150px; }
}

/* "or" rule between the mobile-number form and the Google button in the
   sign-in popup. */
.auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--text-muted); font-size: 12px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
#googleSignInButton { display: flex; justify-content: center; }

/* --- notification bell (header dropdown) ----------------------------------- */

.nav-bell-wrap { position: relative; }

button.nav-bell { position: relative; background: none; cursor: pointer; }

.nav-bell-badge {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

.nav-bell-panel { width: 320px; max-width: 90vw; padding: 0; overflow: hidden; }

.nav-bell-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.nav-bell-clear { background: none; border: none; color: var(--orange); font-size: 12px; font-weight: 600; padding: 0; }

.nav-bell-item {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.nav-bell-item:last-child { border-bottom: 0; }
.nav-bell-item:hover { background: #F6F8FB; }
.nav-bell-item.is-unread { background: #FFF8F1; }
.nav-bell-item strong { display: block; font-size: 13px; color: var(--navy); }
.nav-bell-item span { display: block; font-size: 12px; color: var(--text-muted); margin: 2px 0; }
.nav-bell-item small { font-size: 11px; color: var(--text-faint); }

.nav-bell-empty { padding: 20px 14px; text-align: center; font-size: 13px; color: var(--text-muted); }
