/* ============================================================================
   Microscope Manufacturers India — style1.css
   Drop-in replacement for /css/style1.css (already loaded by head.php).
   Restyles every existing legacy class from the original PHP files.
   Bootstrap 5 friendly. No PHP changes required.
   ============================================================================ */

/* ----- 1. Design tokens --------------------------------------------------- */
:root {
  /* Brand palette — refined scientific blue + warm accent */
  --mm-ink:        #0F1B2D;
  --mm-ink-soft:   #2A3848;
  --mm-muted:      #5B6B7E;
  --mm-line:       #E5EBF2;
  --mm-line-soft:  #F1F4F9;
  --mm-paper:      #FFFFFF;
  --mm-cream:      #F7F4ED;
  --mm-haze:       #EEF4FB;
  --mm-blue:       #2C6EE5;
  --mm-blue-dark:  #1B4FB6;
  --mm-amber:      #E8A33D;
  --mm-coral:      #E58A66;

  /* Industry tints — drawn from the Microlex reference */
  --mm-clinical:   #D6DDE6;
  --mm-vet:        #E9D8C0;
  --mm-food:       #BFCAD0;
  --mm-water:      #2E8E96;

  /* Typography */
  --mm-display: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --mm-body:    "Inter", "Montserrat", -apple-system, "Segoe UI", sans-serif;

  /* Radii & shadow */
  --mm-r-sm: 8px;
  --mm-r:    14px;
  --mm-r-lg: 22px;
  --mm-r-pill: 999px;
  --mm-shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.05);
  --mm-shadow:    0 6px 18px rgba(15, 27, 45, 0.06);
  --mm-shadow-lg: 0 20px 48px rgba(15, 27, 45, 0.10);
}

/* Editorial display font */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,400&family=Inter:wght@300;400;500;600;700&display=swap");

/* ----- 2. Reset & base ---------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--mm-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--mm-ink-soft);
  background: var(--mm-paper);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: var(--mm-blue);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--mm-blue-dark); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--mm-display);
  font-weight: 500;
  color: var(--mm-ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p  { margin: 0 0 1rem; }

.fullwidth { width: 100%; }
.clearfix::after { content: ""; display: block; clear: both; }
.color { color: var(--mm-blue); font-style: italic; }

/* The legacy ".subtext" is used as the section heading — restyle it */
.subtext {
  font-family: var(--mm-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--mm-ink);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.heading2 {
  font-family: var(--mm-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--mm-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.7;
}
.heading2 h3 { text-align: left; }

/* Container alignment */
.container { padding-left: 24px; padding-right: 24px; }
.container-fluid { padding-left: 24px; padding-right: 24px; }
@media (min-width: 768px) {
  .container-fluid { padding-left: 40px; padding-right: 40px; }
}

/* ----- 3. Buttons --------------------------------------------------------- */
.theme-btn,
.site-btn,
.site-btn2,
.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--mm-blue);
  color: #fff !important;
  border: 1px solid var(--mm-blue);
  border-radius: var(--mm-r-pill);
  font-family: var(--mm-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 6px 14px rgba(44, 110, 229, 0.22);
}
.theme-btn:hover,
.site-btn:hover,
.site-btn2:hover {
  background: var(--mm-blue-dark);
  border-color: var(--mm-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(44, 110, 229, 0.32);
}

.theme-btn1 { display: inline-block; }
.theme-btn1 input.theme-btn,
input.theme-btn {
  padding: 11px 24px;
  background: var(--mm-blue);
  color: #fff;
  border: 0;
  border-radius: var(--mm-r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Outline variant used in some places */
.btn-outline-secondary {
  border-color: var(--mm-line);
  color: var(--mm-ink);
}
.btn-outline-secondary:hover {
  background: var(--mm-blue);
  color: #fff;
  border-color: var(--mm-blue);
}

/* ----- 4. Top header bar -------------------------------------------------- */
.heighthead { height: 90px; }

.topheader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mm-line-soft);
  z-index: 1020;
  transition: all .3s ease;
}
.topheader.small-header {
  box-shadow: var(--mm-shadow);
}
.topheader .header { padding: 18px 0; transition: padding .3s ease; }
.topheader.small-header .header { padding: 12px 0; }

.topheader .logo a { display: inline-block; }
.topheader .logo img {
  max-height: 50px;
  width: auto;
  transition: max-height .3s ease;
}
.topheader.small-header .logo img { max-height: 42px; }

/* Top menu */
.topmenu { display: flex; align-items: center; justify-content: center; }
.topmenu ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.topmenu li { position: relative; }
.topmenu li > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: var(--mm-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--mm-ink);
  text-decoration: none;
  border-radius: var(--mm-r-pill);
  transition: all .2s ease;
}
.topmenu li > a:hover,
.topmenu li.active > a {
  background: var(--mm-haze);
  color: var(--mm-blue);
}

/* Sub-menu */
.topmenu .sub-menu1 { position: relative; }
.topmenu .sub-menu1 ul,
.topmenu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r);
  box-shadow: var(--mm-shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 12px 0 0;
  display: none;
  z-index: 1030;
}
.topmenu .sub-menu1:hover > ul,
.topmenu .sub-menu1:hover > .sub-menu,
.topmenu li:hover > .sub-menu { display: block; }
.topmenu .sub-menu li > a,
.topmenu .sub-menu1 ul li > a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 8px;
}

/* Search box */
.searchbox { display: flex; justify-content: flex-end; }
.searchbox form { width: 100%; max-width: 280px; }
.searchbox .input-group {
  background: var(--mm-line-soft);
  border-radius: var(--mm-r-pill);
  padding: 4px;
  display: flex;
  align-items: center;
}
.searchbox .custom-file,
.searchbox .input-group-append { display: flex; align-items: center; }
.searchbox .custom-file { flex: 1; }
.searchbox input.text,
.searchbox input[type="text"] {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--mm-ink);
  font-family: var(--mm-body);
}
.searchbox input.text::placeholder { color: var(--mm-muted); }
.searchbox button,
.searchbox .btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--mm-blue);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.searchbox button:hover { background: var(--mm-blue-dark); }

/* Mobile hamburger */
.navicon {
  display: none;
  width: 34px;
  height: 24px;
  position: relative;
  cursor: pointer;
}
.navicon span,
.navicon::before,
.navicon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mm-ink);
  border-radius: 2px;
  transition: all .25s ease;
}
.navicon::before { top: 0; }
.navicon span     { top: 11px; }
.navicon::after   { bottom: 0; }
.navicon.active::before { top: 11px; transform: rotate(45deg); }
.navicon.active::after  { bottom: 11px; transform: rotate(-45deg); }
.navicon.active span    { opacity: 0; }

/* ----- 5. Home banner (owl-carousel hero) --------------------------------- */
.homebanner { position: relative; background: var(--mm-haze); }
.homebanner .bitem {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--mm-haze) 0%, #DCE7F6 100%);
  overflow: hidden;
}
.homebanner .bitem > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 1;
}
.homebanner .bcontent {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0;
}
.homebanner .banner_content {
  max-width: 560px;
  color: var(--mm-ink);
}
.homebanner .banner_content h1,
.homebanner .banner_content h2 {
  font-family: var(--mm-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--mm-ink);
}
.homebanner .banner_content h2 em,
.homebanner .banner_content h1 em { color: var(--mm-blue); font-style: italic; }
.homebanner .banner_content p {
  font-size: 16px;
  color: var(--mm-ink-soft);
  margin-bottom: 28px;
  max-width: 480px;
}
.homebanner .banner_content a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 14px 28px;
  background: var(--mm-blue);
  color: #fff !important;
  border-radius: var(--mm-r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(44, 110, 229, 0.25);
}

/* Fallback hero when no DB banners */
.homebanner:empty::before,
body:not(:has(.homebanner)) .productsec::before {
  content: "";
}

/* SEO-friendly hero placeholder if banner DB is empty — replaces no-banner state */
.no-banner-hero {
  background: linear-gradient(135deg, var(--mm-haze) 0%, #DCE7F6 100%);
  padding: 90px 0 70px;
}

/* ----- 6. Products section (category cards) ------------------------------- */
.productsec {
  padding: 80px 0 70px;
  background: #fff;
}
.productsec .homeprolist .subtext,
.productsec .homeprolist > h1 {
  text-align: center;
  font-family: var(--mm-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 16px;
}
.productsec .heading2 {
  text-align: center;
  font-size: 16px;
  color: var(--mm-muted);
  max-width: 760px;
  margin: 0 auto 50px;
}

/* Category card grid — uses Bootstrap col-md-3 from the original PHP */
.productsec .row {
  margin: 0 -12px;
  row-gap: 24px;
}
.productsec .row > [class*="col-"] {
  padding: 0 12px;
  display: flex;
}

.product_card { height: 100%; }
.productbox {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--mm-paper);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.productbox:hover {
  transform: translateY(-6px);
  box-shadow: var(--mm-shadow-lg);
  border-color: rgba(44, 110, 229, 0.4);
}
.productimg {
  aspect-ratio: 5 / 4;
  background: var(--mm-line-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.productimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.productbox:hover .productimg img { transform: scale(1.05); }
.producttitle { padding: 18px 20px 22px; }
.producttitle h4 {
  font-family: var(--mm-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--mm-ink);
  margin: 0 0 6px;
  line-height: 1.3;
}
.producttitle::after {
  content: "Explore →";
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mm-blue);
}

.vm { text-align: center; margin-top: 50px; }

/* ----- 7. Marquee divider ------------------------------------------------- */
.marquee-sect {
  background: var(--mm-ink);
  color: #fff;
  padding: 24px 0;
  overflow: hidden;
}
.marquee-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent);
}
.marquee-text {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: mm-scroll 22s linear infinite;
  width: max-content;
}
.marquee-text span {
  font-family: var(--mm-display);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-text span:not(:last-child)::after {
  content: "●";
  margin-left: 48px;
  color: var(--mm-amber);
  font-size: .45em;
  position: relative;
  top: -4px;
}
@keyframes mm-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 24px)); }
}
/* Duplicate content via repeating animation that resets cleanly */

/* ----- 8. About section --------------------------------------------------- */
.aboutsec {
  padding: 90px 0;
  background: var(--mm-paper);
  position: relative;
}
.aboutsec .about_inner { margin-bottom: 70px; }
.aboutimg1 {
  position: relative;
  border-radius: var(--mm-r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mm-line-soft);
  min-height: 380px;
}
.aboutimg1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aboutimg1::after {
  content: "Made in India · Since 1998";
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  color: var(--mm-ink);
  padding: 8px 16px;
  border-radius: var(--mm-r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.aboutcontents { padding: 20px 0 20px 30px; }
.aboutcontents h5 {
  font-family: var(--mm-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mm-blue);
  margin-bottom: 12px;
}
.aboutcontents h3.subtext { text-align: left; margin-bottom: 24px; }
.aboutcontents p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mm-muted);
  margin-bottom: 28px;
}

/* "Why choose us" intro strip */
.wsec { margin: 50px 0; }
.stripbg {
  background: var(--mm-cream);
  border-radius: var(--mm-r-lg);
  padding: 50px 40px;
  text-align: center;
}
.stripbg .subtext { margin-bottom: 12px; }
.stripbg p {
  font-size: 16px;
  color: var(--mm-muted);
  max-width: 780px;
  margin: 0 auto;
}

/* Features grid (4 boxes) */
.features-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.feature-box {
  background: var(--mm-paper);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  padding: 36px 28px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--mm-shadow);
  border-color: rgba(44, 110, 229, 0.35);
}
.feature-box img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 18px;
}
.feature-box h3 {
  font-family: var(--mm-display);
  font-size: 18px;
  margin-bottom: 10px;
}
.feature-box p {
  font-size: 14px;
  color: var(--mm-muted);
  line-height: 1.65;
  margin: 0;
}

.vector-icon1, .vector-icon2, .vector-icon3 {
  position: absolute;
  opacity: 0.6;
  width: 22px;
  pointer-events: none;
}
.vector-icon1 { top: 80px;  right: 6%; }
.vector-icon2 { top: 220px; left: 4%; }
.vector-icon3 { bottom: 80px; right: 12%; }

/* ----- 9. Featured products carousel -------------------------------------- */
.featuresec {
  padding: 90px 0;
  background: var(--mm-line-soft);
}
.featuresec .text-center .subtext {
  text-align: center;
  margin-bottom: 50px;
}
.featurelist {
  margin: 0 -10px;
}
/* Before owl initialises (no .owl-loaded class), show as a grid fallback */
.featurelist:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
}
@media (max-width: 991px) {
  .featurelist:not(.owl-loaded) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .featurelist:not(.owl-loaded) { grid-template-columns: 1fr; }
}
.featurelist.owl-loaded { display: block; }
.featurelist .owl-stage { display: flex; }
.featurelist .owl-item { display: flex; }
.pritem { padding: 0 10px; width: 100%; }
.prbox {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--mm-paper);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.prbox:hover {
  transform: translateY(-4px);
  box-shadow: var(--mm-shadow);
}
.primg {
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}
.primg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prtitle {
  padding: 18px 20px 22px;
  font-family: var(--mm-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--mm-ink);
  margin: 0;
  line-height: 1.35;
}

/* Owl dots & nav (owl is already loaded) */
.owl-carousel .owl-nav { display: none !important; }
.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 26px;
}
.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 4px;
}
.owl-carousel .owl-dots .owl-dot span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mm-line);
  transition: background .2s ease, width .2s ease;
}
.owl-carousel .owl-dots .owl-dot.active span {
  background: var(--mm-blue);
  width: 22px;
  border-radius: 4px;
}

/* ----- 10. Blog / Articles section --------------------------------------- */
.newssec {
  padding: 90px 0;
  background: #fff;
}
.newssec .head { margin-bottom: 50px; }
.newssec .head h5 {
  font-family: var(--mm-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mm-blue);
}
.newssec .head .subtext { display: block; }

.blogslide:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .blogslide:not(.owl-loaded) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .blogslide:not(.owl-loaded) { grid-template-columns: 1fr; }
}
.blogslide .blogitem { padding: 0 10px; }
.newsbox {
  display: block;
  background: var(--mm-paper);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.newsbox:hover {
  transform: translateY(-4px);
  box-shadow: var(--mm-shadow);
}
.newsimg {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.newsimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.newsbox:hover .newsimg img { transform: scale(1.04); }
.newscontent { padding: 24px; }
.date_cats {
  font-size: 12px;
  color: var(--mm-muted);
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.date_cats .date i { color: var(--mm-blue); margin-right: 4px; }
.blogtitle {
  font-family: var(--mm-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--mm-ink);
  line-height: 1.3;
  margin-bottom: 14px;
}
.blogbrief {
  font-size: 14px;
  color: var(--mm-muted);
  margin-bottom: 14px;
}
.read_more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mm-blue);
}
.read_more svg { fill: var(--mm-blue); }
.read_more svg path { fill: var(--mm-blue); }

/* ----- 11. FAQ section --------------------------------------------------- */
.faq_sec {
  padding: 90px 0;
  background: var(--mm-cream);
  position: relative;
}
.faq_sec .text-center .subtext {
  text-align: center;
  margin-bottom: 50px;
}
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item:has(.faq-question.active),
.faq-question.active + .faq-answer {
  border-color: rgba(44, 110, 229, 0.45);
}
.faq-question {
  position: relative;
  padding: 22px 60px 22px 28px;
  font-family: var(--mm-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--mm-ink);
  cursor: pointer;
  user-select: none;
  transition: color .2s ease;
}
.faq-question:hover { color: var(--mm-blue); }
.faq-question::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--mm-haze);
  color: var(--mm-blue);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 400;
  font-family: var(--mm-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .2s ease;
}
.faq-question.active { color: var(--mm-blue); }
.faq-question.active::after {
  content: "−";
  background: var(--mm-blue);
  color: #fff;
}
.faq-answer {
  padding: 0 28px 22px;
}
.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mm-muted);
  margin: 0;
}

/* ----- 12. Footer -------------------------------------------------------- */
.footersec {
  background: var(--mm-ink);
  color: rgba(255,255,255,0.72);
  padding: 80px 0 26px;
  font-size: 14px;
  position: relative;
}
.footersec a { color: rgba(255,255,255,0.85); }
.footersec a:hover { color: var(--mm-amber); }

.fadd {}
.flogo {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.flogo img {
  max-height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}
.fadd > p {
  margin-bottom: 10px;
  line-height: 1.6;
}
.fadd > p svg { filter: brightness(0) invert(1); }
.copyright {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footertitle {
  font-family: var(--mm-display);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footertitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--mm-amber);
  border-radius: 2px;
}

.footersec ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footersec ul li {
  padding: 5px 0;
}
.footersec ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: all .2s ease;
}
.footersec ul li a:hover { color: #fff; transform: translateX(3px); }
.footersec ul li.active a { color: var(--mm-amber); }

.cat-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.cat-list ul li a::before {
  content: "›";
  color: var(--mm-amber);
  font-weight: 700;
  margin-right: 2px;
}

/* Support FAB */
.support {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  background: var(--mm-blue);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1050;
  box-shadow: 0 10px 24px rgba(44, 110, 229, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}
.support:hover { transform: translateY(-3px); }
.support img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.inner-fabs {
  position: fixed;
  right: 22px;
  bottom: 86px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1049;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all .25s ease;
}
.inner-fabs.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.inner-fabs a {
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--mm-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(15, 27, 45, 0.18);
  transition: all .2s ease;
}
.inner-fabs a:hover {
  background: var(--mm-blue);
  color: #fff;
}

/* ----- 13. Inner pages (about / contact / etc.) -------------------------- */
.innerbanner {
  background: linear-gradient(135deg, var(--mm-haze) 0%, #DCE7F6 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.innerbanner::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.6) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.innerbanner .container { position: relative; z-index: 2; }
.innerbanner h1,
.innerbanner .h1 {
  font-family: var(--mm-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--mm-ink);
  margin: 0 0 .3em;
  letter-spacing: -0.02em;
}
.innerbanner .breadcrumbs {
  font-size: 13px;
  color: var(--mm-muted);
  letter-spacing: .04em;
}
.innerbanner .breadcrumbs a {
  color: var(--mm-muted);
  text-decoration: none;
}
.innerbanner .breadcrumbs a:hover { color: var(--mm-blue); }

.innerpages {
  padding: 70px 0;
  background: #fff;
}

/* About page content */
.aboutinner .abt-para {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  align-items: flex-start;
}
.aboutinner .aboutimg {
  position: sticky;
  top: 110px;
  border-radius: var(--mm-r-lg);
  overflow: hidden;
}
.aboutinner .aboutimg img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.aboutinner .heading2 {
  text-align: left;
  max-width: 100%;
  margin: 0;
}
.aboutinner .heading2 h3 {
  font-family: var(--mm-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--mm-ink);
  margin: 26px 0 14px;
}
.aboutinner .heading2 h3:first-of-type { margin-top: 0; }
.aboutinner .heading2 p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mm-muted);
  margin-bottom: 14px;
}
.aboutinner ul.bullet {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px;
}
.aboutinner ul.bullet li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mm-muted);
}
.aboutinner ul.bullet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mm-haze);
  border: 2px solid var(--mm-blue);
}
.aboutinner hr {
  border: 0;
  border-top: 1px solid var(--mm-line);
  margin: 30px 0;
}

/* Contact section additions */
.innerpages h3 {
  font-family: var(--mm-display);
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 16px;
  color: var(--mm-ink);
}
.innerpages p strong { color: var(--mm-ink); }

/* ----- 14. Products listing page ----------------------------------------- */
.productpage {
  padding: 50px 0 80px;
  background: #fff;
}

/* Left sidebar (left_pannel.php) */
.left_section {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  padding: 18px;
  position: sticky;
  top: 110px;
}
#cssmenu > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#cssmenu > ul > li {
  position: relative;
  border-bottom: 1px solid var(--mm-line-soft);
}
#cssmenu > ul > li:last-child { border-bottom: 0; }
#cssmenu > ul > li > a {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mm-ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
#cssmenu > ul > li > a:hover {
  background: var(--mm-haze);
  color: var(--mm-blue);
}
#cssmenu .submenu {
  list-style: none;
  padding: 4px 0 8px 18px;
  margin: 0 0 4px 14px;
  display: none;
  border-left: 2px solid var(--mm-line-soft);
}
#cssmenu .submenu li a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--mm-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: all .2s ease;
}
#cssmenu .submenu li a:hover {
  color: var(--mm-blue);
  background: var(--mm-line-soft);
}
#cssmenu .has-child > a { padding-right: 42px; }
#cssmenu .submenu-toogle {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: var(--mm-line-soft);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
#cssmenu .submenu-toogle::after {
  content: "+";
  font-family: var(--mm-body);
  font-size: 16px;
  color: var(--mm-ink);
  line-height: 1;
}
#cssmenu .has-child:hover .submenu-toogle { background: var(--mm-blue); }
#cssmenu .has-child:hover .submenu-toogle::after { color: #fff; }

/* Product rows (products.php detail layout) */
.right_section h1 {
  font-family: var(--mm-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 16px;
}
.right_section h2 {
  font-family: var(--mm-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin: 30px 0 14px;
}
.right_section .mb-10 { margin-bottom: 26px; line-height: 1.75; color: var(--mm-muted); }
.right_section .mb-10 a { color: var(--mm-blue); }

.right_section .productsb {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r);
  overflow: hidden;
  margin-bottom: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.right_section .productsb:hover {
  transform: translateY(-4px);
  box-shadow: var(--mm-shadow);
}
.right_section .productsb .productimage img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.right_section .productsb .product_name {
  padding: 14px 16px 18px;
}
.right_section .productsb .product_name h3 {
  font-family: var(--mm-display);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: var(--mm-ink);
}
.right_section .productsb .product_name a { color: var(--mm-ink); text-decoration: none; }

.details {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  padding: 22px;
  margin-bottom: 22px;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.details:hover {
  border-color: rgba(44, 110, 229, 0.4);
  box-shadow: var(--mm-shadow);
}
.details .col-md-4 {
  flex: 0 0 220px;
  max-width: 220px;
}
.details .col-md-8 {
  flex: 1;
  min-width: 0;
}
.details img.img-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--mm-r);
  border: 1px solid var(--mm-line-soft);
  padding: 0;
}
.details_name h3 {
  font-family: var(--mm-display);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px;
}
.details_name h3 a { color: var(--mm-ink); text-decoration: none; }
.details_name h3 a:hover { color: var(--mm-blue); }
.details_name span {
  font-size: 13px;
  color: var(--mm-muted);
  display: inline-block;
  margin-bottom: 10px;
}
.details_name span strong { color: var(--mm-blue); }
.details_name .disc1 {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mm-muted);
  margin-bottom: 14px;
}
.btngroup {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btngroup input[type="button"],
.btngroup .site-btn2,
input.site-btn2 {
  padding: 10px 22px;
  background: var(--mm-blue);
  color: #fff;
  border: 0;
  border-radius: var(--mm-r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.btngroup input[type="button"] {
  background: transparent;
  color: var(--mm-blue);
  border: 1px solid var(--mm-blue);
}
.btngroup input[type="button"]:hover {
  background: var(--mm-blue);
  color: #fff;
}
input.site-btn2:hover { background: var(--mm-blue-dark); }

.details_heading {
  font-family: var(--mm-display);
  font-size: 24px;
  margin: 20px 0 14px;
}

/* Pagination */
.pagination_wrapper {
  text-align: center;
  margin-top: 36px;
}
.pagination_wrapper .pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 3px;
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  color: var(--mm-ink);
  text-decoration: none;
  transition: all .2s ease;
}
.pagination_wrapper .pagination:hover {
  border-color: var(--mm-blue);
  color: var(--mm-blue);
}

/* ----- 15. Product detail page (product-detail.php) ---------------------- */
.product-detail-slider {
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  padding: 28px;
  overflow: hidden;
}
.product-detail-slider img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--mm-line-soft);
  border-radius: var(--mm-r);
}
.product-detail-description {
  padding: 10px 10px 10px 30px;
}
.product-detail-description h1 {
  font-family: var(--mm-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 22px;
}
.product-info-table {
  width: 100%;
  margin-bottom: 26px;
  border-collapse: collapse;
}
.product-info-table td {
  padding: 12px 16px;
  border: 1px solid var(--mm-line);
  font-size: 14px;
  vertical-align: top;
}
.product-info-table tr td:first-child {
  background: var(--mm-line-soft);
  font-weight: 600;
  color: var(--mm-ink);
  width: 38%;
}
.product-info-table td a {
  color: var(--mm-blue);
  margin-right: 4px;
}

.downloadbtn,
.enwdown,
.btn.btn-dark,
.btn.btn-medium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--mm-ink);
  color: #fff !important;
  border: 0;
  border-radius: var(--mm-r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0 6px 8px 0;
  transition: all .2s ease;
}
.downloadbtn:hover,
.enwdown:hover {
  background: var(--mm-blue);
  transform: translateY(-2px);
}
.enwdown {
  background: var(--mm-blue);
}

/* Vertical tabs (Description / Specs) */
.verticalTab {
  margin-top: 50px;
  background: #fff;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-lg);
  overflow: hidden;
}
.resp-tabs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  border-bottom: 1px solid var(--mm-line);
  background: var(--mm-line-soft);
}
.resp-tabs-list li {
  padding: 16px 28px;
  font-family: var(--mm-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mm-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}
.resp-tabs-list li:hover { color: var(--mm-blue); }
.resp-tabs-list li.resp-tab-active {
  color: var(--mm-blue);
  background: #fff;
  border-bottom-color: var(--mm-blue);
}
.resp-tabs-container { padding: 30px; }
.resp-tab-content { display: none; }
.resp-tab-content-active { display: block; }
.resp-tab-content p,
.resp-tab-content { font-size: 15px; line-height: 1.75; color: var(--mm-muted); }
.resp-tab-content h3,
.resp-tab-content .heading2 {
  font-family: var(--mm-display);
  font-size: 20px;
  color: var(--mm-ink);
  margin: 24px 0 12px;
}

/* Related products list (product-detail.php) */
.section_header {
  text-align: center;
  margin: 60px 0 30px;
}
.section_header h2 {
  font-family: var(--mm-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.section_header p {
  color: var(--mm-muted);
  font-size: 14px;
}
.shop.list-unstyled {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.shop.list-unstyled li { list-style: none; }

/* ----- 16. Animations --------------------------------------------------- */
.wow { opacity: 0; }
.wow.animated { opacity: 1; }

@keyframes mm-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fadeInUp.animated { animation: mm-fade-up .8s ease both; }

/* ----- 17. Bootstrap-aware adjustments ------------------------------- */
/* head.php loads Bootstrap 5.3 from CDN — we just augment its behaviour. */
.fleft, .fright { float: none; }
.left-menu { padding-right: 0; }
.btngroup { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ----- 18. Responsive --------------------------------------------------- */
@media (max-width: 1199px) {
  .features-section { grid-template-columns: repeat(2, 1fr); }
  .shop.list-unstyled { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .heighthead { height: 78px; }
  .topheader .header { padding: 14px 0; }
  .topheader .logo img { max-height: 42px; }
  .navicon { display: block; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
  .topmenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--mm-line);
    box-shadow: var(--mm-shadow-lg);
    display: none;
    padding: 16px;
  }
  .topmenu.showmenu { display: block; }
  .topmenu ul { flex-direction: column; gap: 0; }
  .topmenu li > a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
  }
  .topmenu .sub-menu1 ul,
  .topmenu .sub-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    margin: 0;
    background: transparent;
  }
  .searchbox { margin-top: 12px; }
  .searchbox form { max-width: 100%; }

  .homebanner .bitem { min-height: 420px; }
  .homebanner .bcontent { padding: 50px 0; }

  .aboutsec { padding: 60px 0; }
  .aboutcontents { padding: 30px 0 0; }
  .aboutimg1::after { font-size: 11px; padding: 6px 12px; }

  .features-section { grid-template-columns: repeat(2, 1fr); }

  .aboutinner .abt-para { grid-template-columns: 1fr; }
  .aboutinner .aboutimg { position: relative; top: auto; max-width: 460px; margin: 0 auto 30px; }

  .details { flex-direction: column; }
  .details .col-md-4,
  .details .col-md-8 { flex: 1; max-width: 100%; }
  .details .col-md-4 { max-width: 100%; }

  .product-detail-description { padding: 30px 0 0; }
  .shop.list-unstyled { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .features-section { grid-template-columns: 1fr; }
  .shop.list-unstyled { grid-template-columns: 1fr; }
  .cat-list ul { grid-template-columns: 1fr; }
  .marquee-text span { font-size: 1.4rem; }
  .resp-tabs-list { overflow-x: auto; }
  .resp-tabs-list li { padding: 14px 18px; font-size: 12px; white-space: nowrap; }
  .stripbg { padding: 32px 22px; }

  .topheader .header { padding: 12px 0; }
  .heighthead { height: 70px; }
  .innerbanner { padding: 50px 0 40px; }
  .innerpages { padding: 50px 0; }
}

/* ----- 19. Misc legacy classes (loading bar, etc.) ---------------------- */
.loading_bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mm-blue), var(--mm-amber));
  z-index: 9999;
  animation: mm-loadbar 1.2s ease-out forwards;
  pointer-events: none;
}
@keyframes mm-loadbar {
  0%   { width: 0;    opacity: 1; }
  85%  { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* ----- 20. Hide unwanted legacy noise ----------------------------------- */
.contactbtn { display: none; }

/* ----- 21. Minor legacy class cleanup ---------------------------------- */
.clear { clear: both; }
.first_col {}
.full-width { width: 100%; }
.product_listing_box { padding-top: 8px; }
.searchbtn {
  border: 0;
  background: transparent;
  color: #fff;
}

/* Product detail page utility classes */
.content-text { color: var(--mm-muted); line-height: 1.75; }
.boxed-social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.boxed-social li { list-style: none; }
.button {
  display: inline-block;
  padding: 10px 22px;
  background: var(--mm-line-soft);
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-ink);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
}
.button:hover {
  background: var(--mm-blue);
  border-color: var(--mm-blue);
  color: #fff;
}
.button-default { background: var(--mm-blue); color: #fff; border-color: var(--mm-blue); }
.tellfriend { background: transparent; }

/* Related product mini-card (product-detail.php "shop" list) */
.product-description {
  padding: 12px 14px 16px;
}
.product-description h3 {
  font-family: var(--mm-display);
  font-size: 15px;
  margin: 0 0 8px;
}
.product-cart-btn,
.product-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mm-blue);
  text-decoration: none;
}
.product-cart-btn:hover,
.product-detail-btn:hover { color: var(--mm-blue-dark); }
.pull-left { float: left; }
.pull-right { float: right; }

/* h_search legacy (alternate search input variant) */
.h_search input.text {
  background: var(--mm-line-soft);
  border: 0;
  border-radius: var(--mm-r-pill);
  padding: 10px 18px;
  font-size: 13px;
}
.h_search input[type="submit"] {
  background: var(--mm-blue);
  color: #fff;
  border: 0;
  border-radius: var(--mm-r-pill);
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* AJAX-loader animations */
.loading_page {
  text-align: center;
  padding: 20px;
  color: var(--mm-muted);
  font-size: 13px;
}
.lastLoadId { height: 1px; }
