:root {
  --medical-blue: #0878C9;
  --medical-blue-hover: #0667AD;
  --medical-navy: #0B2D46;
  --medical-yellow: #FFC928;
  --medical-yellow-hover: #F5BB00;
  --medical-white: #FFFFFF;
  --medical-background: #F4F8FB;
  --medical-light-blue: #EAF5FC;
  --medical-border: #DCE8F0;
  --medical-text: #142B3A;
  --medical-muted: #52616B;
  --medical-green: #22A06B;
  --medical-whatsapp: #16B86A;
  --medical-radius: 8px;
  --medical-shadow: 0 8px 24px rgba(11, 45, 70, 0.06);
  --medical-container: 1440px;
  --medical-font: "Manrope", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--medical-font);
  color: var(--medical-text);
  background: var(--medical-white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--medical-blue); text-decoration: none; }
a:hover { color: var(--medical-blue-hover); }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
h1, h2, h3, h4 { color: var(--medical-navy); line-height: 1.15; margin: 0 0 0.5rem; }

.mo-container {
  width: min(100% - 48px, var(--medical-container));
  margin-inline: auto;
}

.mo-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10000;
}
.mo-skip:focus { left: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Buttons */
.mo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--medical-radius);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.15s ease;
  text-decoration: none;
}
.mo-btn--primary {
  background: var(--medical-yellow);
  color: var(--medical-navy);
  border-color: var(--medical-yellow);
}
.mo-btn--primary:hover {
  background: var(--medical-yellow-hover);
  color: var(--medical-navy);
}
.mo-btn--secondary {
  background: var(--medical-white);
  color: var(--medical-blue);
  border-color: var(--medical-blue);
}
.mo-btn--secondary:hover {
  background: var(--medical-light-blue);
  color: var(--medical-blue);
}
.mo-btn--cart {
  width: 100%;
  background: var(--medical-yellow);
  color: var(--medical-navy);
  border-color: var(--medical-yellow);
}
.mo-btn--cart:hover { background: var(--medical-yellow-hover); color: var(--medical-navy); }
.mo-btn__icon { width: 18px; height: 18px; display: inline-flex; }
.mo-btn__icon svg { width: 18px; height: 18px; }

.mo-link {
  color: var(--medical-blue);
  font-weight: 600;
  white-space: nowrap;
}

/* Logo */
.mo-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  line-height: 1;
}
.mo-logo__word { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.03em; }
.mo-logo__medical { color: var(--medical-navy); }
.mo-logo__one { color: var(--medical-yellow); }
.mo-logo__tagline {
  font-size: 0.78rem;
  color: var(--medical-muted);
  font-weight: 500;
}
.mo-logo--footer .mo-logo__medical { color: #fff; }
.mo-logo--footer .mo-logo__word { font-size: 1.5rem; }

/* Topbar */
.mo-topbar {
  background: var(--medical-blue);
  color: #fff;
  font-size: 0.82rem;
  min-height: 34px;
}
.mo-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: 34px;
  flex-wrap: wrap;
  padding-block: 0.3rem;
}
.mo-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.mo-topbar__item--right {
  gap: 1.25rem;
}
.mo-topbar a { color: #fff; }
.mo-topbar a:hover { opacity: 0.9; color: #fff; }
.mo-topbar__icon {
  width: 16px; height: 16px; display: inline-flex; flex-shrink: 0;
}
.mo-topbar__icon svg { width: 16px; height: 16px; }

/* Header */
.mo-header {
  background: #fff;
  border-bottom: 1px solid var(--medical-border);
  padding: 0.85rem 0;
}
.mo-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.mo-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.35rem;
  color: var(--medical-navy);
  cursor: pointer;
}
.mo-nav-toggle svg { width: 24px; height: 24px; }

.mo-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border: 1.5px solid var(--medical-border);
  border-radius: var(--medical-radius);
  overflow: hidden;
  background: #fff;
}
.mo-search input[type="search"] {
  flex: 1;
  border: 0;
  padding: 0.85rem 1rem;
  outline: none;
  min-width: 0;
  color: var(--medical-text);
}
.mo-search__btn {
  width: 54px;
  background: var(--medical-yellow);
  border: 0;
  color: var(--medical-navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.mo-search__btn:hover { background: var(--medical-yellow-hover); }
.mo-search__btn svg { width: 20px; height: 20px; }

.mo-utils {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.mo-utils__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--medical-navy);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
}
.mo-utils__link:hover { color: var(--medical-blue); }
.mo-utils__icon { width: 22px; height: 22px; display: inline-flex; }
.mo-utils__icon svg { width: 22px; height: 22px; }
.mo-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--medical-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mo-cart-count[data-empty="1"] { opacity: 0.85; }

/* Nav */
.mo-nav {
  background: var(--medical-blue);
}
.mo-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  align-items: center;
  min-height: 46px;
}
.mo-nav__list a {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 0.85rem;
  position: relative;
}
.mo-nav__list a:hover,
.mo-nav__list .current-menu-item > a {
  color: #fff;
}
.mo-nav__list .current-menu-item > a::after,
.mo-nav__list a:hover::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--medical-yellow);
}

.mo-mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(11, 45, 70, 0.45);
  z-index: 9999;
}
.mo-mobile-nav__panel {
  width: min(88vw, 360px);
  height: 100%;
  background: #fff;
  padding: 1.25rem;
  overflow: auto;
}
.mo-mobile-nav__close {
  background: none;
  border: 0;
  margin-bottom: 1rem;
  cursor: pointer;
}
.mo-mobile-nav__close svg { width: 22px; height: 22px; }
.mo-mobile-nav__list a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--medical-border);
  color: var(--medical-navy);
  font-weight: 600;
}

/* Sections common */
.mo-section { padding: 3.25rem 0; }
.mo-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.mo-section__head h2 { font-size: clamp(1.6rem, 2vw, 2rem); margin-bottom: 0.25rem; }
.mo-section__head p { color: var(--medical-muted); margin: 0; }

.mo-main { padding: 2rem 0 3rem; }
.mo-article h1 { font-size: 2rem; margin-bottom: 1rem; }
.mo-content p { margin: 0 0 1rem; }

/* Footer */
.mo-footer {
  background: var(--medical-navy);
  color: rgba(255,255,255,0.86);
  padding-top: 3rem;
}
.mo-footer a { color: rgba(255,255,255,0.86); }
.mo-footer a:hover { color: #fff; }
.mo-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}
.mo-footer__col h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.mo-footer__col li { margin-bottom: 0.55rem; }
.mo-footer__col a { font-size: 0.9rem; }
.mo-footer__tagline { margin: 0.75rem 0; color: rgba(255,255,255,0.7); }
.mo-footer__contact { margin: 0.35rem 0; }
.mo-footer__pay { margin-top: 1.5rem; }
.mo-footer__pay p { margin: 0 0 0.35rem; color: #fff; font-weight: 700; }
.mo-footer__pay-note { font-weight: 400 !important; color: rgba(255,255,255,0.65) !important; font-size: 0.85rem; }
.mo-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0;
  font-size: 0.85rem;
}
.mo-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mo-wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--medical-whatsapp);
  color: #fff !important;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(22, 184, 106, 0.35);
  font-weight: 700;
}
.mo-wa-fab__icon { width: 20px; height: 20px; display: inline-flex; }
.mo-wa-fab__icon svg { width: 20px; height: 20px; }

.mo-page-hero {
  background: var(--medical-background);
  padding: 3rem 0;
}
.mo-page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.mo-pro-benefits ul { list-style: none; margin: 0 0 1.5rem; }
.mo-pro-benefits li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
}
.mo-pro-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--medical-blue);
  font-weight: 700;
}
.mo-student-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* WooCommerce light tweaks */
.mo-wc .woocommerce-products-header__title { font-size: 2rem; }
.woocommerce ul.products li.product .button,
.woocommerce a.button.alt {
  background: var(--medical-yellow) !important;
  color: var(--medical-navy) !important;
}

@media (max-width: 1100px) {
  .mo-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .mo-footer__brand { grid-column: 1 / -1; }
  .mo-nav__list a { padding-inline: 0.55rem; font-size: 0.85rem; }
  .mo-utils__label { display: none; }
}

@media (max-width: 768px) {
  .mo-container { width: min(100% - 32px, var(--medical-container)); }
  .mo-topbar { font-size: 0.75rem; }
  .mo-topbar__inner { justify-content: flex-start; }
  .mo-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "toggle logo utils"
      "search search search";
    gap: 0.75rem;
  }
  .mo-nav-toggle { display: inline-flex; grid-area: toggle; }
  .mo-header__logo { grid-area: logo; justify-self: start; }
  .mo-utils { grid-area: utils; }
  .mo-search { grid-area: search; max-width: none; }
  .mo-nav { display: none; }
  .mo-logo__word { font-size: 1.35rem; }
  .mo-footer__grid { grid-template-columns: 1fr 1fr; }
  .mo-student-cats { grid-template-columns: 1fr; }
  .mo-wa-fab__text { display: none; }
}

@media (max-width: 480px) {
  .mo-footer__grid { grid-template-columns: 1fr; }
}

/* Catalog PDP blocks (server-rendered) */
.mo-essentials,
.mo-specs,
.mo-faq {
  margin: 1.75rem 0;
}
.mo-essentials h2,
.mo-specs h2,
.mo-faq h2 {
  font-family: var(--medical-font-display, Georgia, serif);
  color: var(--medical-navy, #0B2D46);
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
}
.mo-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.mo-table th,
.mo-table td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #E6EEF4;
  vertical-align: top;
}
.mo-table th {
  width: 38%;
  color: var(--medical-navy, #0B2D46);
  font-weight: 600;
}
.mo-faq__item {
  padding: 0.85rem 0;
  border-bottom: 1px solid #E6EEF4;
}
.mo-faq__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--medical-navy, #0B2D46);
}
.mo-faq__item p {
  margin: 0;
  color: #3a5163;
  line-height: 1.55;
}

