/**
 * Janosci homepage — clinical / Bootstrap-aligned (Thorlabs-style)
 * Loads last on body.home-catalog.home-clinical
 */
body.home-catalog.home-clinical {
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-900: #0f172a;
  --bg: #ffffff;
  --surface: #ffffff;
  --tile: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --radius-card: 20px;
  --radius-btn: 12px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 18px 40px -12px rgba(15, 23, 42, 0.18);
  --jp-accent: var(--brand-600);
  --jp-accent-soft: #eff6ff;
  --jp-accent-hover: var(--brand-700);
  --js-primary: var(--brand-600);
  --js-primary-soft: #eff6ff;
  --hc-royal: var(--brand-600);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  background: var(--bg) !important;
  color: var(--text);
}

body.home-catalog.home-clinical .page-wrapper {
  background: var(--bg) !important;
}

/* ── Slim navy promo bar ── */
body.home-catalog.home-clinical .ann-bar {
  background: var(--brand-900) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border-bottom: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.home-catalog.home-clinical .ann-item,
body.home-catalog.home-clinical .ann-link,
body.home-catalog.home-clinical .ann-bar strong {
  color: rgba(255, 255, 255, 0.92) !important;
}
body.home-catalog.home-clinical .ann-bar .fa-bolt,
body.home-catalog.home-clinical .ann-item i {
  color: #93c5fd !important;
}

/* ── Header + nav (white, hairline) ── */
body.home-catalog.home-clinical .site-header {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
}
body.home-catalog.home-clinical .header-nav {
  background: var(--surface) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}
body.home-catalog.home-clinical .nav-links-pro > li > a:not(.btn-all-categories),
body.home-catalog.home-clinical .nav-links-pro .cat-nav-trigger {
  color: var(--muted) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600 !important;
}
body.home-catalog.home-clinical .nav-links-pro > li > a.active,
body.home-catalog.home-clinical .nav-links-pro > li > a:hover,
body.home-catalog.home-clinical .nav-links-pro .cat-nav-trigger:hover,
body.home-catalog.home-clinical .nav-links-pro .cat-nav-item.is-sync-highlight .cat-nav-trigger {
  color: var(--brand-600) !important;
  border-bottom-color: var(--brand-600) !important;
  background: transparent !important;
}
body.home-catalog.home-clinical .btn-all-categories {
  background: var(--brand-600) !important;
  border-radius: var(--radius-btn) !important;
}
body.home-catalog.home-clinical .search-submit,
body.home-catalog.home-clinical .btn-search {
  background: var(--brand-600) !important;
}

/* ── Hero ── */
body.home-catalog.home-clinical .hero-slider-section--fullscreen {
  background: var(--brand-900) !important;
}
body.home-catalog.home-clinical .hero-slider-section--fullscreen .hero-swiper {
  box-shadow: none !important;
}

/* ── Trust ribbon ── */
body.home-catalog.home-clinical .hc-feature-ribbon--after-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem !important;
}
body.home-catalog.home-clinical .hc-feature-item {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-btn) !important;
  box-shadow: var(--shadow-card) !important;
}
body.home-catalog.home-clinical .hc-feature-ico {
  background: var(--jp-accent-soft) !important;
  border-radius: 10px !important;
}
body.home-catalog.home-clinical .hc-feature-item strong {
  color: var(--text);
  font-size: 0.82rem;
}
body.home-catalog.home-clinical .hc-feature-item > div span {
  color: var(--muted);
  font-size: 0.72rem;
}

/* ── Section headers (Bootstrap container rhythm) ── */
body.home-catalog.home-clinical .container {
  max-width: 1280px;
}
body.home-catalog.home-clinical .jp-purplle-section {
  padding-top: 4rem !important;
  padding-bottom: 2.5rem !important;
  background: var(--bg) !important;
}
body.home-catalog.home-clinical .jp-purplle-section.is-soft {
  background: var(--surface) !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-slider-title {
  font-size: 1.875rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--text) !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-slider-viewall {
  color: var(--brand-600) !important;
  font-weight: 600 !important;
}
body.home-catalog.home-clinical .jp-subject-icon {
  background: var(--brand-600) !important;
  border-radius: 14px !important;
  width: 56px !important;
  height: 56px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

/* ── Product cards (clinical) ── */
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card.janosci-product-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--shadow-card) !important;
  padding: 0 !important;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card.janosci-product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-hover) !important;
}
/* Square image tile — homepage grids only (not full-bleed carousels) */
body.home-catalog.home-clinical .jp-purplle-section:not(.jp-shop-strip--fullbleed) .ml-shop-card .card-img-wrap {
  aspect-ratio: 1 / 1 !important;
  background: var(--tile) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1.5rem !important;
  margin: 0 !important;
}
body.home-catalog.home-clinical .jp-purplle-section:not(.jp-shop-strip--fullbleed) .ml-shop-card .card-img-wrap img {
  object-fit: contain !important;
  transition: transform 0.4s ease;
}
body.home-catalog.home-clinical .jp-purplle-section:not(.jp-shop-strip--fullbleed) .ml-shop-card.janosci-product-card:hover .card-img-wrap img {
  transform: scale(1.06);
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .stock-badge {
  display: none !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-body {
  padding: 1rem 1.1rem 1.15rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-brand {
  display: inline-flex !important;
  align-self: flex-start;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-600) !important;
  background: var(--jp-accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-title {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  line-height: 1.4 !important;
  min-height: 2.8em !important;
  -webkit-line-clamp: 2 !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-sku {
  display: block !important;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.68rem !important;
  color: var(--muted) !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-price {
  margin: 0.15rem 0 0.25rem !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-price-quote {
  display: none !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .btn-view-details {
  display: inline-flex !important;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--brand-600) !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-decoration: none !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .btn-view-details i {
  font-size: 0.65rem;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-price-now:not(.card-price-quote) {
  font-weight: 700 !important;
  color: var(--text) !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-price-off {
  color: #059669 !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .card-actions {
  margin-top: auto;
  padding-top: 0.5rem;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .btn-enquiry,
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .btn-add-cart {
  width: 100% !important;
  background: var(--brand-900) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-btn) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.7rem 0.5rem !important;
  box-shadow: none !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .btn-enquiry:hover,
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .btn-add-cart:hover {
  background: var(--brand-600) !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .btn-add-cart::before {
  display: none !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .wishlist-btn {
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card:hover .wishlist-btn {
  opacity: 1;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-nav {
  color: var(--muted) !important;
}
body.home-catalog.home-clinical .jp-purplle-section .ml-shop-nav:hover {
  color: var(--brand-600) !important;
  background: var(--jp-accent-soft) !important;
}

/* ── Category grid ── */
body.home-catalog.home-clinical .home-category-section {
  background: var(--surface) !important;
  padding: 4rem 0 !important;
  border-top: 1px solid var(--border);
}
body.home-catalog.home-clinical .section-tag--blue {
  background: var(--jp-accent-soft) !important;
  color: var(--brand-600) !important;
}
body.home-catalog.home-clinical .cat-section-head h2 {
  font-size: 1.875rem !important;
  letter-spacing: -0.02em !important;
}
body.home-catalog.home-clinical .ml-cat-card,
body.home-catalog.home-clinical .cat-card.ml-cat-card {
  border-radius: var(--radius-card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-card) !important;
  background: var(--surface) !important;
}
body.home-catalog.home-clinical .ml-cat-icon {
  border-radius: 14px !important;
  background: var(--brand-600) !important;
  color: #fff !important;
}
body.home-catalog.home-clinical .cat-section-link {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--brand-600) !important;
  border-radius: 999px !important;
}

/* ── Trust bar + misc ── */
body.home-catalog.home-clinical .hc-trust-bar {
  background: var(--tile) !important;
  border: none !important;
}
body.home-catalog.home-clinical .hc-trust-ico {
  background: var(--surface) !important;
  color: var(--brand-600) !important;
}
body.home-catalog.home-clinical .scroll-top-btn,
body.home-catalog.home-clinical .back-to-top {
  background: var(--brand-600) !important;
  border: none !important;
  box-shadow: var(--shadow-hover);
}

body.home-catalog.home-clinical .ml-microscope-section {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 991.98px) {
  body.home-catalog.home-clinical .jp-purplle-section .ml-shop-slider-title {
    font-size: 1.35rem !important;
  }
  body.home-catalog.home-clinical .jp-purplle-section .ml-shop-card .wishlist-btn {
    opacity: 1;
  }
}
