/* NEX PLUS — desktop header and product rails */
@media (min-width: 1024px) {
  /* Keep category links in the hamburger menu; hide them only from the desktop header. */
  custom-main-menu #mobile-menu > .main-menu > li.root-level:has(> a[href*="/pArgnRj"]),
  custom-main-menu #mobile-menu > .main-menu > li.root-level:has(> a[href*="/GqdognP"]),
  custom-main-menu #mobile-menu > .main-menu > li.root-level:has(> a[href*="/eQnjvno"]),
  custom-main-menu #mobile-menu > .main-menu > li.root-level:has(> a[href*="/ZqrVPrm"]) {
    display: none !important;
  }

  /* Four full product cards in every Terra product shelf on desktop. */
  salla-products-list.vertical-products .s-products-list-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }

  salla-products-list.vertical-products .s-product-card-entry {
    width: auto !important;
    min-width: 0 !important;
  }

  /* Prevent horizontal clipping on wide screens. */
  html, body, #app { overflow-x: hidden !important; }
}
/* Add custom CSS styles below */ 

/* Reliable desktop-only category visibility rule for the current menu. */
@media (min-width: 1024px) {
  #mobile-menu > .main-menu > li[id="944818019"],
  #mobile-menu > .main-menu > li[id="171828844"],
  #mobile-menu > .main-menu > li[id="1679426925"],
  #mobile-menu > .main-menu > li[id="837231726"] {
    display: none !important;
  }
}

/* NEX PLUS — subtle transparent promotional ribbon. */
.Tira__marquee.Tira__marquee_fixed {
  background: rgba(40, 29, 112, 0.72) !important;
  border: 1px solid rgba(134, 105, 255, 0.38) !important;
  box-shadow: 0 10px 30px rgba(15, 10, 60, 0.25) !important;
  backdrop-filter: blur(10px);
}