/* Medi Waves - Sitewide Utility Bar
   Positioned above the navbar with contact numbers, tagline, and WhatsApp CTA. */

.mw-utility-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  background: #071527;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1002;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  font-size: 12.5px;
  color: #E2E8F0;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  box-sizing: border-box;
}

.mw-utility-bar.scrolled {
  transform: translateY(-100%);
}

.mw-utility-container {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

.mw-utility-left,
.mw-utility-right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mw-utility-label {
  font-weight: 700;
  font-size: 11px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.mw-utility-phone {
  color: #F8FAFC;
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  transition: color .15s ease;
}

.mw-utility-phone:hover {
  color: #22B8CF;
}

.mw-utility-divider {
  color: rgba(255, 255, 255, 0.22);
  margin: 0 2px;
  font-weight: 300;
}

.mw-utility-tagline {
  color: #CBD5E1;
  font-weight: 500;
  font-size: 12.5px;
}

.mw-utility-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #FFFFFF !important;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.28);
  transition: all .15s ease;
}

.mw-utility-wa-btn:hover {
  background: #20BA5C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.38);
}

.mw-utility-wa-btn svg {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
  flex: none;
}

/* Adjust the fixed navbar position below the utility bar */
.nav-wrap {
  top: 48px !important;
}

.nav-wrap.scrolled {
  top: 8px !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .mw-utility-tagline {
    display: none;
  }
}

@media (max-width: 640px) {
  .mw-utility-phone-extra,
  .mw-utility-left .mw-utility-divider {
    display: none;
  }
  .mw-utility-container {
    padding: 0 12px;
    font-size: 11.5px;
  }
  .mw-utility-phone {
    font-size: 11.5px;
  }
}

/* ========================================================
   Subpage Title Banner Centering (Category & Product Pages)
   Ensures titles, breadcrumbs, and content are properly centered
   ======================================================== */
#page-title,
#page-title.page-title-block,
.page-title-block,
.page-title-block.page-title-alignment-center {
  text-align: center !important;
  position: relative !important;
}

#page-title .container,
.page-title-block .container,
.page-title-alignment-center .container {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

#page-title .page-title-inner,
.page-title-block .page-title-inner,
.page-title-alignment-center .page-title-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

#page-title .page-title-title,
.page-title-block .page-title-title {
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#page-title h1,
#page-title .page-title-title h1,
.page-title-block h1,
.page-title-alignment-center h1 {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  width: 100% !important;
}

#page-title .page-title-excerpt,
.page-title-block .page-title-excerpt {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#page-title .breadcrumbs-container,
.page-title-block .breadcrumbs-container {
  text-align: center !important;
  margin-top: 10px !important;
  width: 100% !important;
}

#page-title .breadcrumbs,
.page-title-block .breadcrumbs {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#page-title .page-title-inner > div {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
