/* ═══════════════════════════════════════════════════════════
   AN PHARMACEUTICALS — Bootstrap 5.3 brand theme
   Colors   : Maroon #7d0a2a · Deep #5e0820 · Cream #faf7f4
   Type     : Plus Jakarta Sans (display) + Inter (body)
   ═══════════════════════════════════════════════════════════ */
:root {
  --an-maroon: #7d0a2a;
  --an-maroon-deep: #5e0820;
  --an-maroon-bright: #96173b;
  --an-rose: #f0b7c4;
  --an-cream: #faf7f4;
  --an-ink: #231a1d;
  --an-muted: #6f6468;
  --an-line: #ece2de;
  --bs-primary: #7d0a2a;
  --bs-primary-rgb: 125, 10, 42;
  --bs-link-color: #7d0a2a;
  --bs-link-color-rgb: 125, 10, 42;
  --bs-link-hover-color: #5e0820;
  --bs-link-hover-color-rgb: 94, 8, 32;
  --bs-body-font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  --bs-body-color: #231a1d;
}
body { font-family: var(--bs-body-font-family); }
h1, h2, h3, h4, h5, .display-5, .display-6, .navbar-brand {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.02em; font-weight: 700;
}
.ic { width: 22px; height: 22px; fill: currentColor; }

/* ── Buttons (brand) ── */
.btn-maroon {
  --bs-btn-bg: var(--an-maroon); --bs-btn-border-color: var(--an-maroon);
  --bs-btn-hover-bg: var(--an-maroon-deep); --bs-btn-hover-border-color: var(--an-maroon-deep);
  --bs-btn-active-bg: var(--an-maroon-deep); --bs-btn-active-border-color: var(--an-maroon-deep);
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
  --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .62rem;
}
.btn-outline-maroon {
  --bs-btn-color: var(--an-maroon); --bs-btn-border-color: var(--an-maroon);
  --bs-btn-hover-bg: var(--an-maroon); --bs-btn-hover-border-color: var(--an-maroon);
  --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--an-maroon);
  --bs-btn-active-color: #fff; --bs-btn-active-border-color: var(--an-maroon);
  --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .62rem;
}
.btn-outline-light-hero {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.7);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--an-maroon);
  --bs-btn-hover-border-color: #fff; --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .62rem;
  --bs-btn-active-bg:#fff; --bs-btn-active-color: var(--an-maroon); --bs-btn-active-border-color:#fff;
}

/* ── Topbar ── */
.topbar { background: var(--an-maroon-deep); color: #f4dde3; font-size: .82rem; }
.topbar a { color: #f4dde3; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; }

/* ── Navbar (base; enhanced block appended below) ── */
.navbar-an .dropdown-item.active, .navbar-an .dropdown-item:active { background: var(--an-maroon); }
.navbar-an .navbar-toggler { border-color: var(--an-line); }
.brand-img { max-height: 52px; width: auto; }

/* ── HERO — full background image, text on top ── */
.hero-carousel .carousel-item {
  aspect-ratio: 1920 / 520;          /* same ratio as the banner => ZERO crop */
  background-image: var(--hero-desktop);
  background-size: cover; background-position: center center;
  position: relative; display: flex; align-items: center;
}
.hero-carousel .carousel-item::before {           /* readability overlay */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg,
    rgba(46, 5, 17, .82) 0%, rgba(64, 8, 24, .62) 38%,
    rgba(64, 8, 24, .28) 64%, rgba(64, 8, 24, .08) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding-block: 3rem; }
.hero-eyebrow {
  letter-spacing: .22em; text-transform: uppercase; font-size: .8rem;
  font-weight: 600; color: var(--an-rose); margin-bottom: .9rem;
}
.hero-title {
  font-size: clamp(1.6rem, 4.6vw, 3.3rem); line-height: 1.12;
  margin-bottom: .9rem; color: #fff;
}
.hero-title .accent { color: var(--an-rose); }
.hero-desc { font-size: clamp(1rem, 1.8vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 540px; margin-bottom: 1.6rem; }
.hero-carousel .carousel-indicators { margin-bottom: 1.1rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 26px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.55); border: 0;
}
.hero-carousel .carousel-indicators .active { background: #fff; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 6%; }
@media (max-width: 575.98px) {
  .hero-carousel .carousel-item { aspect-ratio: auto; min-height: 0; height: auto; background-image: var(--hero-mobile); background-position: 72% center; background-size: cover; }
  .hero-carousel .carousel-item { padding-block: 0; }
  .hero-content { min-height: 480px; display: flex; flex-direction: column; justify-content: flex-start; }
  .hero-carousel .carousel-item::before {
    background: linear-gradient(180deg, rgba(46,5,17,.74) 0%, rgba(64,8,24,.45) 48%, rgba(64,8,24,.12) 100%);
  }
  .hero-content { padding-block: 2.2rem 3.6rem; }
  .hero-desc { font-size: .95rem; margin-bottom: 1.1rem; }
  .hero-content .btn-lg { font-size: .95rem; padding: .55rem 1.1rem; }
}

/* ── Section heads ── */
.section-pad { padding-block: 4.2rem; }
.eyebrow {
  letter-spacing: .2em; text-transform: uppercase; font-size: .78rem;
  font-weight: 700; color: var(--an-maroon); margin-bottom: .5rem;
}
.eyebrow-light { color: var(--an-rose); }
.section-title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: .4rem; }

/* ── Cards: stress / pillar / category ── */
.bg-cream { background: var(--an-cream); }
.bg-maroon-grad { background: linear-gradient(135deg, var(--an-maroon), var(--an-maroon-deep)); }
.card-an {
  border: 1px solid var(--an-line); border-radius: 1rem; height: 100%;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-an:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(125,10,42,.1); border-color: #ddbec7; }
.icon-circle {
  width: 58px; height: 58px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center;
  background: #fdeef1; color: var(--an-maroon); flex: none;
}
.icon-circle .ic { width: 27px; height: 27px; }
.pillar-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; height: 100%; transition: transform .22s, background .22s; }
.pillar-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.13); }
.pillar-card .icon-circle { background: #fff; }
.wcat-card { text-decoration: none; color: inherit; }
.wcat-card .arrow { opacity: 0; transform: translateX(-6px); transition: all .2s; color: var(--an-maroon); }
.wcat-card:hover .arrow { opacity: 1; transform: none; }

/* ── Product cards ── */
.product-card .card-img-wrap {
  background: var(--an-cream); border-radius: .8rem; height: 175px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-card .card-img-wrap img { max-height: 155px; width: auto; object-fit: contain; }
.product-card .cat-label {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--an-maroon); font-weight: 700;
}
.product-card .card-title a { color: var(--an-maroon); text-decoration: none; }
.product-card .card-title a:hover { text-decoration: underline; }
.product-card .composition {
  font-size: .85rem; color: var(--an-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.price-tag { font-weight: 700; color: var(--an-maroon-deep); font-size: 1.05rem; }

/* product rail (homepage) */
.product-rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .3rem .1rem 1rem; scrollbar-width: none; }
.product-rail::-webkit-scrollbar { display: none; }
.product-rail > * { flex: 0 0 250px; scroll-snap-align: start; }
.rail-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--an-line);
  background: #fff; color: var(--an-maroon); display: inline-flex; align-items: center; justify-content: center;
  position: absolute; top: 40%; z-index: 5; box-shadow: 0 4px 14px rgba(35,26,29,.12);
}
.rail-btn:hover { background: var(--an-maroon); color: #fff; }
.rail-btn-prev { left: -10px; } .rail-btn-prev .ic { transform: rotate(90deg); }
.rail-btn-next { right: -10px; } .rail-btn-next .ic { transform: rotate(-90deg); }
@media (max-width: 767.98px) { .rail-btn { display: none; } }

/* ── Counters ── */
.counter-value { font-size: 1.6rem; font-weight: 800; color: var(--an-ink); line-height: 1.05; }
.counter-label { font-size: .85rem; color: var(--an-muted); }

/* ── Why + About ── */
.usp-panel {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 400'%3E%3Cpath d='M35 0c0 70 70 70 70 140s-70 70-70 140 70 70 70 140M105 0c0 70-70 70-70 140s70 70 70 140-70 70-70 140' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='8'/%3E%3C/svg%3E") right -10px center / 150px auto no-repeat,
    linear-gradient(160deg, var(--an-maroon), var(--an-maroon-deep));
  color: #fff;
}
.usp-item {
  display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem; font-weight: 600;
  border-radius: .7rem; transition: background .2s;
}
.usp-item:hover { background: rgba(255,255,255,.08); }
.usp-item .icon-circle { width: 48px; height: 48px; background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.usp-item .icon-circle .ic { width: 23px; height: 23px; }
.about-media { min-height: 340px; background-size: cover; background-position: center 65%; }

/* ── Vision ── */
.vision-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(160deg, var(--an-maroon-deep), var(--an-maroon) 60%, var(--an-maroon-bright));
  color: #fff;
}
.vision-band::before {
  content: "\201C"; position: absolute; top: -.15em; left: 50%; transform: translateX(-50%);
  font-family: Georgia, serif; font-size: 16rem; line-height: 1; color: rgba(255,255,255,.07); pointer-events: none;
}
.vision-band .vision-quote {
  position: relative; max-width: 800px; font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.94); font-style: italic; line-height: 1.75; font-weight: 500;
}
.vision-band .vision-quote::after {
  content: ""; display: block; width: 64px; height: 3px; border-radius: 2px;
  background: var(--an-rose); margin: 1.6rem auto 0;
}

/* ── Presence / hospitals ── */
.hospital-card { border: 1px solid var(--an-line); border-radius: .8rem; background: #fff; min-height: 86px; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.hospital-card img { max-height: 52px; width: auto; object-fit: contain; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--an-maroon); line-height: 1.1; }
.stat-label { font-size: .85rem; color: var(--an-muted); }

/* ── Page hero / breadcrumb ── */
.page-hero { background: linear-gradient(135deg, #fdf2ee, var(--an-cream)); border-bottom: 1px solid #f0e6e2; padding-block: 2.6rem 2.2rem; }
.page-hero h1 { color: var(--an-maroon-deep); font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.breadcrumb-item a { text-decoration: none; }

/* ── Forms ── */
.form-control:focus, .form-select:focus {
  border-color: var(--an-maroon); box-shadow: 0 0 0 .2rem rgba(125,10,42,.12);
}
.form-check-input:checked { background-color: var(--an-maroon); border-color: var(--an-maroon); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* ── PDP ── */
.pdp-media { background: var(--an-cream); border: 1px solid var(--an-line); border-radius: 1.1rem; }
.pdp-meta { background: var(--an-cream); border-radius: .8rem; }

/* ── Chips (category filter) ── */
.chip {
  display: inline-block; padding: .48rem 1.05rem; border-radius: 2rem;
  border: 1px solid #e7dbd6; background: #fff; color: var(--an-ink);
  font-size: .88rem; font-weight: 500; text-decoration: none; transition: all .18s;
}
.chip:hover { border-color: var(--an-maroon); color: var(--an-maroon); }
.chip.active { background: var(--an-maroon); border-color: var(--an-maroon); color: #fff; }

/* ── Footer ── */
.footer-an { background: linear-gradient(180deg, var(--an-maroon), var(--an-maroon-deep)); color: rgba(255,255,255,.85); }
.footer-an a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-an a:hover { color: #fff; }
.footer-an h6 { color: #fff; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.footer-an .ic { width: 17px; height: 17px; flex: none; margin-top: .15rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: #fff; color: var(--an-maroon); }
.footer-bottom { background: rgba(0,0,0,.22); font-size: .83rem; }
.cert-badge { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }

/* ── amCharts India map ── */
.india-map { width: 100%; height: 380px; }
@media (min-width: 992px) { .india-map { height: 440px; } }
.presence-panel { background:#fff; border:1px solid var(--an-line); border-radius:1.2rem; padding:1.8rem; height:100%; }
.presence-stat-box { background:var(--an-cream); border-radius:.8rem; padding:1rem 1.1rem; }
.presence-stat-box .stat-value { font-size:1.7rem; }
.hospital-card { transition: transform .2s, box-shadow .2s; }
.hospital-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(125,10,42,.1); }

/* ── Sticky contact rail (right side, desktop) ── */
.contact-rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 1030; display: flex; flex-direction: column; gap: 2px;
}
.contact-rail a {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  color: #fff; position: relative; transition: width .25s ease; overflow: hidden;
  text-decoration: none; white-space: nowrap;
}
.contact-rail a .ic { width: 22px; height: 22px; flex: none; }
.contact-rail a .crail-label {
  position: absolute; right: 46px; background: inherit; height: 46px;
  display: flex; align-items: center; padding: 0 14px; font-size: .88rem; font-weight: 600;
  opacity: 0; transform: translateX(10px); transition: all .25s ease; pointer-events: none;
}
.contact-rail a:hover .crail-label { opacity: 1; transform: none; }
.crail-call  { background: #1a7f4b; }
.crail-wa    { background: #25d366; }
.crail-mail  { background: var(--an-maroon); }
.crail-top   { background: var(--an-maroon-deep); border-radius: 0 0 0 8px; }
.contact-rail a:first-child { border-radius: 8px 0 0 0; }
@media (max-width: 575.98px) {
  .contact-rail { top: auto; bottom: 0; right: 0; left: 0; flex-direction: row; transform: none; }
  .contact-rail a { flex: 1; height: 52px; border-radius: 0 !important; }
  .contact-rail a .crail-label { display: none; }
  .contact-rail .crail-top { display: none; }
  body { padding-bottom: 52px; }   /* room for bottom bar */
}

/* ── Mobile offcanvas menu — branded (below lg only) ── */
@media (max-width: 991.98px) {
  #mainNav {
    width: min(330px, 90vw);
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 400'%3E%3Cpath d='M30 0c0 60 60 60 60 120s-60 60-60 120 60 60 60 120M90 0c0 60-60 60-60 120s60 60 60 120-60 60-60 120' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='7'/%3E%3C/svg%3E") right -20px bottom -30px / 170px auto no-repeat,
      linear-gradient(175deg, var(--an-maroon) 0%, var(--an-maroon-deep) 100%);
    color: #fff;
  }
  #mainNav .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,.18); padding-block: 1rem; }
  #mainNav .offcanvas-body { padding-top: .5rem; }

  /* top-level links: one clean divider each, consistent for plain + dropdown */
  #mainNav .navbar-nav > .nav-item > .nav-link,
  #mainNav .nav-mega-row > .nav-link {
    color: rgba(255,255,255,.94); font-weight: 600; font-size: 1.05rem;
    padding: .9rem .25rem; border-bottom: 1px solid rgba(255,255,255,.12);
  }
  #mainNav .nav-mega-row > .nav-link { border-bottom: 0; }   /* row carries the divider */
  #mainNav .navbar-nav > .nav-item > .nav-link:hover,
  #mainNav .navbar-nav > .nav-item > .nav-link.active,
  #mainNav .nav-mega-row > .nav-link:hover,
  #mainNav .nav-mega-row > .nav-link.active { color: #fff; }
  #mainNav .navbar-nav > .nav-item:last-child > .nav-link { border-bottom: 0; }
  /* the Enquiry CTA item carries a button, not a link — no divider needed */
  #mainNav .navbar-nav > .nav-item:has(.btn-maroon) { border: 0; }
  #mainNav .nav-link--anim::after { display: none; }   /* no underline anim in drawer */
  #mainNav .dropdown-toggle::after { display: none; }   /* no caret; menu auto-open */

  .offcanvas-contact { border-top: 1px solid rgba(255,255,255,.18); margin-top: 1rem; padding-top: 1.1rem; }
  .offcanvas-contact a { color: rgba(255,255,255,.88); text-decoration: none; }
  .offcanvas-contact .ic { width: 16px; height: 16px; }
  .offcanvas-contact .footer-social a {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
    display: inline-flex; align-items: center; justify-content: center;
  }
}

/* ── Swiper: room for hover lift so cards don't clip at top ── */
.product-swiper { padding-top: 12px; }

/* ── Products page: fixed sidebar + list view ── */
.products-sidebar {
  position: sticky; top: 90px;
  background: #fff; border: 1px solid var(--an-line);
  border-radius: 1rem; padding: 1.4rem;
}
.cat-list__link {
  display: block; padding: .55rem .8rem; border-radius: .55rem;
  color: var(--an-ink); text-decoration: none; font-size: .92rem; font-weight: 500;
  border-left: 3px solid transparent; transition: background .15s, color .15s;
}
.cat-list__link:hover { background: var(--an-cream); color: var(--an-maroon); }
.cat-list__link.is-active {
  background: #fdeef1; color: var(--an-maroon);
  border-left-color: var(--an-maroon); font-weight: 700;
}
@media (max-width: 991.98px) {
  .products-sidebar { position: static; }
}
/* list view rows */
.product-row { overflow: hidden; }
.product-row__img {
  display: flex; align-items: center; justify-content: center;
  background: var(--an-cream); height: 100%; min-height: 130px; padding: 1rem;
}
.product-row__img img { max-height: 120px; width: auto; object-fit: contain; }
.view-toggle .btn { display: inline-flex; align-items: center; }

/* ════════════════════════════════════════════════════════════
   NAVBAR — enhanced (animated links, mega-menu, scroll-shrink)
   Replaces the old simple .navbar-an rules.
   ════════════════════════════════════════════════════════════ */
.navbar-an {
  background: #fff; border-bottom: 1px solid var(--an-line);
  box-shadow: 0 2px 10px rgba(35,26,29,.05);
  transition: padding .25s ease, box-shadow .25s ease;
}
.navbar-an.is-scrolled {
  padding-top: .35rem !important; padding-bottom: .35rem !important;
  box-shadow: 0 6px 22px rgba(35,26,29,.12);
}
.navbar-an .brand-img { transition: max-height .25s ease; }
.navbar-an.is-scrolled .brand-img { max-height: 42px; }

/* animated underline links */
.navbar-an .nav-link--anim {
  position: relative; font-weight: 600; color: var(--an-ink);
  padding-inline: .9rem;
}
.navbar-an .nav-link--anim::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem;
  height: 2px; background: var(--an-maroon); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.navbar-an .nav-link--anim:hover::after,
.navbar-an .nav-link--anim.active::after { transform: scaleX(1); }
.navbar-an .nav-link--anim:hover,
.navbar-an .nav-link--anim.active { color: var(--an-maroon); }
.navbar-an .dropdown-toggle::after { vertical-align: middle; margin-left: .35rem; }

/* ── Mega-menu (Products) ── */
@media (min-width: 992px) {
  /* desktop: neutralise Bootstrap collapse so hover-dropdown works */
  .mega-menu.collapse { display: block !important; height: auto !important; visibility: visible !important; }
  .nav-mega-toggle { display: none !important; }   /* no chevron on desktop */
  .mega-menu {
    border: 0; border-radius: 0 0 1rem 1rem; margin-top: 0;
    box-shadow: 0 18px 44px rgba(35,26,29,.16);
    width: min(720px, 92vw); left: 50%; transform: translateX(-50%) translateY(8px);
    opacity: 0; transition: opacity .2s ease, transform .2s ease; display: block; pointer-events: none;
  }
  .nav-item.dropdown:hover .mega-menu,
  .mega-menu.show {
    opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto;
  }
}
.mega-menu__inner { padding: 1.25rem; }
.mega-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: .75rem; margin-bottom: .75rem; border-bottom: 1px solid var(--an-line);
}
.mega-menu__head span { font-weight: 700; color: var(--an-maroon-deep); letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.mega-menu__all { font-size: .82rem; font-weight: 600; color: var(--an-maroon); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.mega-menu__all:hover { color: var(--an-maroon-deep); }
.mega-menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
.mega-card {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem;
  border-radius: .7rem; text-decoration: none; color: var(--an-ink); transition: background .15s;
}
.mega-card:hover { background: var(--an-cream); }
.mega-card__icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #fdeef1; color: var(--an-maroon);
}
.mega-card__icon .ic { width: 20px; height: 20px; }
.mega-card__name { display: block; font-weight: 600; font-size: .92rem; }
.mega-card__tag { display: block; font-size: .76rem; color: var(--an-muted); line-height: 1.3; }

/* on mobile the mega-menu collapses to a simple stacked list */
@media (max-width: 991.98px) {
  .mega-menu { box-shadow: none; width: 100%; }
  .mega-menu__grid { grid-template-columns: 1fr; }
  .mega-menu__inner { padding: .5rem 0; }
  .mega-card { padding: .7rem .25rem; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE NAV — Products is a plain link (no submenu on phones)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  /* hide the accordion chevron + the whole mega-menu in the drawer;
     tapping "Products" just opens the products page */
  #mainNav .nav-mega-toggle { display: none !important; }
  #mainNav .mega-menu { display: none !important; }
  #mainNav .nav-mega-row { border-bottom: 1px solid rgba(255,255,255,.12); }
  #mainNav .nav-mega-row > .nav-link { border-bottom: 0 !important; }

  /* Enquiry CTA full-width */
  #mainNav .nav-item .btn-maroon {
    display: flex !important; justify-content: center; align-items: center;
    width: 100%; margin: .7rem 0 .2rem !important; padding: .75rem 1rem !important;
    font-size: 1rem;
  }
  #mainNav .offcanvas-header img { max-height: 40px; width: auto; }
}
#mainNav .offcanvas-header img { filter: brightness(0) invert(1); }