/* ==========================================================================
   JLS premium homepage — First Shop inspired IT marketplace density
   Loaded only when jls_premium_home_live=1 or ?jls_preview=1 (admin).
   Keeps JLS blue #2C5697. Does not touch footer address/legal markup.
   ========================================================================== */

:root {
  --jls-fs-ink: #111111;
  --jls-fs-muted: #5b6472;
  --jls-fs-line: #e6e8ec;
  --jls-fs-soft: #f4f5f7;
  --jls-fs-soft2: #f9f9f9;
  --jls-fs-navy: #15203A;
  --jls-fs-navy2: #1a2744;
  --jls-blue: #2C5697;
  --jls-blue-hover: #234578;
}

.jls-premium-preview-flag {
  position: sticky; top: 0; z-index: 100000;
  background: #92400e; color: #fff;
  text-align: center; font: 600 12px/1.4 Inter, sans-serif;
  padding: 6px 12px;
}

/* ---- Page chrome: denser, darker, more "IT marketplace" ---- */
body.jls-premium-home {
  background: var(--jls-fs-soft2) !important;
  color: var(--jls-fs-ink);
}
body.jls-premium-home .site-header,
body.jls-premium-home .inside-header {
  background: #fff !important;
  border-bottom: 1px solid var(--jls-fs-line);
}
/* Full-width navy category bar (Max Mega Menu) */
body.jls-premium-home .main-navigation,
body.jls-premium-home #site-navigation,
body.jls-premium-home .navigation-search,
body.jls-premium-home #mega-menu-wrap-primary,
body.jls-premium-home #mega-menu-wrap-primary .mega-menu-toggle,
body.jls-premium-home #mega-menu-primary {
  background: var(--jls-fs-navy) !important;
  background-color: var(--jls-fs-navy) !important;
}
body.jls-premium-home #site-navigation.main-navigation,
body.jls-premium-home nav#site-navigation {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 42px !important;
  width: 100% !important;
  max-width: none !important;
  position: relative !important;
  z-index: 40 !important;
}
body.jls-premium-home #site-navigation.main-navigation,
body.jls-premium-home .main-navigation.grid-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.jls-premium-home #site-navigation .inside-navigation,
body.jls-premium-home #mega-menu-wrap-primary {
  max-width: 1440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  box-sizing: border-box !important;
}
body.jls-premium-home #mega-menu-wrap-primary,
body.jls-premium-home #mega-menu-primary {
  float: none !important;
  display: block !important;
  width: 100% !important;
}
body.jls-premium-home #mega-menu-primary {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
}
body.jls-premium-home #mega-menu-primary > li.mega-menu-item {
  background: transparent !important;
}
body.jls-premium-home #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
body.jls-premium-home .main-navigation a,
body.jls-premium-home .main-navigation .menu-toggle,
body.jls-premium-home #mega-menu-wrap-primary .mega-menu-toggle {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px !important;
  text-shadow: none !important;
}
body.jls-premium-home #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
body.jls-premium-home #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus,
body.jls-premium-home #mega-menu-primary > li.mega-toggle-on > a.mega-menu-link,
body.jls-premium-home #mega-menu-primary > li.mega-current-menu-item > a.mega-menu-link {
  color: #ffffff !important;
  background: rgba(255,255,255,.10) !important;
  opacity: 1 !important;
}
/* Keep sticky nav behaviour from theme; just ensure navy strip stays full width when sticky */
body.jls-premium-home .main-navigation.is_stuck,
body.jls-premium-home .navigation-stick,
body.jls-premium-home .main-navigation.toggled {
  background: var(--jls-fs-navy) !important;
  width: 100% !important;
  max-width: none !important;
}
@media (max-width: 959px) {
  body.jls-premium-home #mega-menu-wrap-primary .mega-menu-toggle,
  body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary {
    background: var(--jls-fs-navy) !important;
  }
  body.jls-premium-home #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: #fff !important;
    opacity: 1 !important;
  }
}
body.jls-premium-home .jls-header-search__form {
  background: var(--jls-fs-soft) !important;
  border: 1px solid var(--jls-fs-line) !important;
  border-radius: 8px !important;
}
body.jls-premium-home .jls-header-search__form input[type="search"] {
  background: transparent !important;
  font-size: 14px !important;
}
body.jls-premium-home .jls-cart-btn,
body.jls-premium-home .jls-quote-btn,
body.jls-premium-home a.jls-shop-brand-link {
  border-radius: 6px !important;
}

/* Top utility bar — thin dark strip like FS */
body.jls-premium-home .jls-top-bar--premium {
  background: var(--jls-fs-navy) !important;
  padding: 6px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.jls-premium-home .jls-top-bar--premium .inside-container {
  max-width: 100%;
  padding-left: 20px; padding-right: 20px;
  gap: 16px;
}
body.jls-premium-home .jls-top-bar__msg {
  font-size: 12px; letter-spacing: .01em; color: #d7dee9;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.jls-premium-home .jls-top-bar__msg strong { color: #fff; font-weight: 700; }
body.jls-premium-home .jls-top-bar__sep { opacity: .4; margin: 0 8px; }
body.jls-premium-home .jls-top-bar__links a {
  color: #fff !important; font-weight: 700; font-size: 12px;
}

/* ---- Hero: fixed-height First Shop banner (no jump between slides) ---- */
body.jls-premium-home section.jls-hero.jls-hero--premium {
  position: relative;
  height: 560px !important;
  min-height: 560px !important;
  max-height: 560px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
  align-items: stretch !important;
  background-color: #15203A !important;
  background-image: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
body.jls-premium-home .jls-hero--premium .jls-hero__media,
body.jls-premium-home .jls-hero--premium .jls-hero__overlay,
body.jls-premium-home .jls-hero--premium .jls-hero__content {
  grid-area: 1 / 1;
}
body.jls-premium-home .jls-hero--premium .jls-hero__media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center right;
  z-index: 0;
  display: block !important;
  pointer-events: none;
}
body.jls-premium-home .jls-hero--premium .jls-hero__overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  background: linear-gradient(95deg, rgba(21,32,58,.92) 0%, rgba(21,32,58,.72) 38%, rgba(21,32,58,.18) 68%, rgba(21,32,58,.05) 100%) !important;
}
body.jls-premium-home .jls-hero--premium .jls-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}
body.jls-premium-home .jls-hero--premium .jls-hero__description.is-empty,
body.jls-premium-home .jls-hero--premium .jls-hero__stats.is-empty {
  visibility: hidden;
}
body.jls-premium-home .jls-hero--premium .jls-hero__inner {
  max-width: 580px;
  padding: 36px 48px 44px;
  box-sizing: border-box;
}
body.jls-premium-home .jls-hero--premium .jls-hero__badge {
  display: inline-block !important;
  border-radius: 4px !important;
  background: rgba(44,86,151,.95) !important;
  border: 0 !important;
  font-size: 11px !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: none !important;
  margin-bottom: 12px !important;
}
body.jls-premium-home .jls-hero--premium .jls-hero__title {
  text-transform: none !important;
  font-size: clamp(28px, 2.8vw, 40px) !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  color: #fff !important;
  line-height: 1.15 !important;
  margin: 0 0 12px !important;
}
body.jls-premium-home .jls-hero--premium .jls-hero__title span {
  display: inline !important;
  color: #93c5fd !important;
}
body.jls-premium-home .jls-hero--premium .jls-hero__description {
  color: #d5deeb !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  max-width: 480px !important;
  margin: 0 0 16px !important;
}
body.jls-premium-home .jls-hero--premium .jls-hero__actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}
body.jls-premium-home .jls-hero--premium .jls-btn-primary,
body.jls-premium-home .jls-hero--premium .jls-btn-outline {
  border-radius: 4px !important;
  min-height: 46px;
  padding: 0 22px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
body.jls-premium-home .jls-hero--premium .jls-btn-primary {
  background: #fff !important;
  color: #15203A !important;
}
body.jls-premium-home .jls-hero--premium .jls-btn-primary:hover {
  background: #e8eef7 !important;
}
body.jls-premium-home .jls-hero--premium .jls-btn-outline {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,.6) !important;
  color: #fff !important;
}
body.jls-premium-home .jls-hero--premium .jls-btn-outline:hover {
  background: rgba(255,255,255,.12) !important;
}
body.jls-premium-home .jls-hero__stats {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.84);
}
body.jls-premium-home .jls-hero__stats b { color: #fff; }
body.jls-premium-home .jls-hero__biz { display: none !important; }
body.jls-premium-home .jls-hero__dots {
  position: absolute; left: 48px; bottom: 20px; z-index: 3;
  display: flex; gap: 7px;
}
body.jls-premium-home .jls-hero__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.4); cursor: pointer; padding: 0;
}
body.jls-premium-home .jls-hero__dots button.is-active { background: #fff; }

/* ---- Trust bar: compact full-width strip ---- */
body.jls-premium-home .jls-trust-bar--premium {
  max-width: none !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  border-radius: 0 !important;
  border: 1px solid var(--jls-fs-line) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: 0 4px 14px rgba(17,17,17,.06) !important;
  background: #fff !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 7px;
  padding: 14px 4px !important;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  border-right: 1px solid var(--jls-fs-line) !important;
  background: #fff !important;
  overflow: visible !important;
}
body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__item:last-child { border-right: 0 !important; }
body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__item:hover { background: var(--jls-fs-soft2) !important; }
body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__icon {
  width: 36px !important; height: 36px !important; flex: 0 0 36px;
  border-radius: 6px !important;
  background: #e8eef7 !important;
  color: var(--jls-blue) !important;
}
body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text {
  min-width: 0;
  width: 100%;
  overflow: visible;
}
body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text h4 {
  white-space: nowrap;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: var(--jls-fs-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  overflow: visible;
  line-height: 1.2 !important;
}
body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text p {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-size: 12.5px !important;
  margin: 3px 0 0 !important;
  color: var(--jls-fs-muted) !important;
  line-height: 1.2 !important;
}
body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__item.is-unverified h4::after {
  content: " (to confirm)";
  color: #b45309;
  font-weight: 600;
  font-size: 10.5px;
}
body.jls-premium-home .jls-trust-num {
  font: 800 14px/1 Poppins, Inter, sans-serif;
  color: var(--jls-blue);
}

/* ---- Brand wall: even spacing, no overlap ---- */
body.jls-premium-home .jls-brand-logos-section--premium {
  max-width: none;
  width: 100%;
  margin: 4px 0 18px;
  padding: 18px 20px 16px;
  background: #f4f5f7;
  border-top: 1px solid #e6e8ec;
  border-bottom: 1px solid #e6e8ec;
  box-sizing: border-box;
}
body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logos__title {
  text-align: center;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5b6472 !important;
  margin: 0 0 14px !important;
}
body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logos-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto;
}
body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logo-card {
  flex: 0 0 calc((100% - 84px) / 8);
  max-width: calc((100% - 84px) / 8);
  min-width: 0;
  height: 70px;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 6px;
  box-shadow: none !important;
  overflow: hidden;
}
body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logo-card img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 28px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  /* Full colour at rest so light brand marks stay clearly legible */
  filter: none;
  opacity: 1;
}
body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logo-card:hover {
  border-color: #2C5697;
}
body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logo-card:hover img {
  filter: none;
  opacity: 1;
}
body.jls-premium-home .jls-brand-logos__note {
  max-width: 1440px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 12px;
  color: #5b6472;
}

/* ---- Category tiles: cut-out on light grey squares ---- */
body.jls-premium-home .jls-home-categories__header h2,
body.jls-premium-home .jls-section-head h2,
body.jls-premium-home h2.jls-section-title {
  color: var(--jls-fs-ink) !important;
  font-weight: 750 !important;
  letter-spacing: -.01em;
}
body.jls-premium-home .jls-cat-grid--premium,
body.jls-premium-home .jls-cat-grid {
  gap: 12px !important;
}
body.jls-premium-home .jls-cat-grid--premium .jls-cat-tile,
body.jls-premium-home .jls-cat-grid .jls-cat-tile {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: center;
}
body.jls-premium-home .jls-cat-grid--premium .jls-cat-tile__media,
body.jls-premium-home .jls-cat-grid .jls-cat-tile__media {
  background: var(--jls-fs-soft) !important;
  border: 1px solid var(--jls-fs-line);
  border-radius: 8px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 140px;
  aspect-ratio: 1 / 1;
  padding: 10%;
  margin-bottom: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
body.jls-premium-home .jls-cat-grid--premium .jls-cat-tile__media img,
body.jls-premium-home .jls-cat-grid .jls-cat-tile__media img {
  width: 80% !important;
  height: 80% !important;
  max-width: 80% !important;
  max-height: 80% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: auto !important;
  display: block !important;
}
body.jls-premium-home .jls-cat-grid--premium .jls-cat-tile:hover .jls-cat-tile__media {
  border-color: var(--jls-blue);
  background: #fff !important;
}
body.jls-premium-home .jls-cat-grid--premium .jls-cat-tile__name,
body.jls-premium-home .jls-cat-grid .jls-cat-tile__name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--jls-fs-ink) !important;
}
body.jls-premium-home .jls-cat-grid--premium .jls-cat-tile__count,
body.jls-premium-home .jls-cat-grid .jls-cat-tile__count {
  font-size: 11.5px !important;
  color: var(--jls-fs-muted) !important;
}

/* Product cards denser / more catalogue-like */
body.jls-premium-home ul.products li.product {
  border: 1px solid var(--jls-fs-line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  background: #fff !important;
}
body.jls-premium-home ul.products li.product:hover {
  border-color: #c9d3e3 !important;
  box-shadow: 0 6px 16px rgba(17,17,17,.06) !important;
}
body.jls-premium-home ul.products li.product .price {
  color: var(--jls-fs-ink) !important;
  font-weight: 800 !important;
}
body.jls-premium-home .jls-stock-badge.in-stock {
  color: #059669 !important;
}

/* Reviews slot — never show public placeholders */
body.jls-premium-home .jls-reviews-slot { display: none !important; }
body.jls-premium-home .jls-reviews-slot--legacy {
  max-width: 1440px; margin: 8px auto 24px; padding: 0 20px;
}
body.jls-premium-home .jls-reviews-slot__card {
  background: #fff; border: 1px dashed #f59e0b; border-radius: 6px;
  padding: 16px 18px; color: #92400e; font-size: 13.5px;
}
body.jls-premium-home .jls-reviews-slot__card a { color: var(--jls-blue); font-weight: 700; }

/* Payment logos keep visible */
body.jls-premium-home .jls-pay-chip img,
body.jls-premium-home .jls-footer-pay img {
  opacity: 1 !important; visibility: visible !important;
  max-height: 28px; width: auto;
}

/* Footer: do not restyle identity/legal away; only slight density */
body.jls-premium-home .jls-footer {
  background: var(--jls-fs-navy) !important;
}
body.jls-premium-home .jls-footer__identity {
  color: #94a3b8 !important;
}


@media (max-width: 1360px) and (min-width: 901px) {
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__item {
    padding: 12px 4px !important;
    gap: 6px;
  }
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__icon {
    width: 34px !important; height: 34px !important; flex: 0 0 34px;
  }
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text h4 {
    font-size: 13.5px !important;
  }
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text p {
    font-size: 12px !important;
  }
}
@media (min-width: 1361px) {
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text h4 {
    font-size: 14.5px !important;
  }
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text p {
    font-size: 12.5px !important;
  }
}
@media (max-width: 1200px) {
  body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logo-card {
    flex: 0 0 calc((100% - 60px) / 6);
    max-width: calc((100% - 60px) / 6);
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  body.jls-premium-home section.jls-hero.jls-hero--premium {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
  }
}
@media (max-width: 900px) {
  body.jls-premium-home .jls-trust-bar--premium {
    width: 100% !important;
    margin: -18px 0 10px !important;
    display: flex !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: none !important;
  }
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__item {
    flex: 0 0 72%;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    padding: 14px 14px !important;
    gap: 10px;
  }
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text h4 {
    font-size: 14px !important;
  }
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__text p {
    font-size: 12.5px !important;
  }
  body.jls-premium-home .jls-trust-bar--premium .jls-value-bar__icon {
    width: 36px !important; height: 36px !important; flex: 0 0 36px;
  }
  body.jls-premium-home .jls-top-bar__msg { white-space: normal; }
  body.jls-premium-home section.jls-hero.jls-hero--premium {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
  }
  body.jls-premium-home .jls-hero--premium .jls-hero__overlay {
    background: linear-gradient(180deg, rgba(21,32,58,.88) 0%, rgba(21,32,58,.55) 100%) !important;
  }
  body.jls-premium-home .jls-hero--premium .jls-hero__inner {
    max-width: 100%;
    padding: 28px 20px 48px;
  }
  body.jls-premium-home .jls-hero--premium .jls-hero__title {
    font-size: 26px !important;
  }
  body.jls-premium-home .jls-hero--premium .jls-hero__description {
    font-size: 14px !important;
    margin: 0 0 14px !important;
  }
  body.jls-premium-home .jls-hero--premium .jls-hero__actions a {
    flex: 1 1 100%;
  }
  body.jls-premium-home .jls-hero__dots {
    left: 20px; bottom: 16px;
  }
  body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logo-card {
    flex: 0 0 calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
    height: 64px;
    padding: 10px;
  }
  body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logo-card img {
    max-height: 24px !important;
  }
}
@media (max-width: 560px) {
  body.jls-premium-home .jls-brand-logos-section--premium .jls-brand-logo-card {
    flex: 0 0 calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }
  body.jls-premium-home .jls-hero--premium .jls-hero__stats {
    font-size: 12px;
  }
}

/* Removed from homepage content; keep hidden if cached HTML remains */
body.jls-premium-home .jls-home-about { display: none !important; }
body.jls-premium-home .jls-home-brands--top { display: none !important; }

body.jls-premium-home .jls-brand-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
body.jls-premium-home .jls-brand-grid__item {
  display: flex !important;
  align-items: center; justify-content: center;
  min-height: 78px;
  padding: 14px 16px;
  background: #fff !important;
  border: 1px solid var(--jls-fs-line) !important;
  border-radius: 6px;
  text-decoration: none;
  color: var(--jls-fs-ink);
  font-weight: 700;
  overflow: hidden;
}
body.jls-premium-home .jls-brand-grid__logo {
  max-height: 36px !important;
  width: auto !important;
  max-width: 90% !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
@media (max-width: 1100px) and (min-width: 901px) {
  body.jls-premium-home section.jls-hero.jls-hero--premium {
    height: 520px !important;
    min-height: 520px !important;
    max-height: 520px !important;
  }
}
@media (max-width: 900px) {
  body.jls-premium-home .jls-brand-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  body.jls-premium-home .jls-brand-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}


html body.jls-premium-home #site-navigation .inside-navigation {
  max-width: none !important;
  width: 100% !important;
  background: var(--jls-fs-navy) !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
html body.jls-premium-home #mega-menu-wrap-primary {
  max-width: none !important;
  width: 100% !important;
}

/* Max Mega Menu: beat plugin colour rules (was leaving #374151 grey on navy) */
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:visited,
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link span.mega-indicator,
html body.jls-premium-home #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-animated-box,
html body.jls-premium-home #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-animated-box:before,
html body.jls-premium-home #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-animated-box:after {
  color: #ffffff !important;
  opacity: 1 !important;
  fill: #ffffff !important;
}
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus,
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary > li.mega-current-menu-item > a.mega-menu-link,
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary > li.mega-current-menu-ancestor > a.mega-menu-link {
  color: #ffffff !important;
  background-color: rgba(255,255,255,.12) !important;
  opacity: 1 !important;
}
html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary {
  justify-content: center !important;
}

/* Center desktop mega-menu links; keep bar full-width */
@media (min-width: 960px) {
  html body.jls-premium-home #mega-menu-wrap-primary #mega-menu-primary {
    justify-content: center !important;
  }
}
