/** Shopify CDN: Minification failed

Line 38:2 Unexpected "{"
Line 38:3 Expected identifier but found "%"
Line 38:44 Unexpected "{"
Line 38:45 Expected identifier but found "%"

**/
/* =====================================
   GLOBAL MEGA MENU
===================================== */

.has-mega,.nav-container__item {
  position: relative;
  padding : 0 1rem;
}

/* Hover bridge to prevent menu closing in the gap */
.has-mega::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom:-30%;
  height: 22px; /* adjust if your gap is larger */
}

.mega-menu {
  position: fixed;
  top: var(--header-group-height);
  left: 0;
  width: 100vw;
  background: #ffffff;
  padding: 60px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  {% comment %} transform: translateY(8px); {% endcomment %}
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 999;
  overflow-x: hidden;
}

.header[data-sticky-state="active"] .mega-menu {
  top: calc(var(--header-height) - 5px);
}

/* Hover */
.has-mega:hover > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Click */
.has-mega.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-inner {
  margin: 0 auto;
  max-width: var(--narrow-page-width);
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.mega-menu .spacing-style {
  width: 100%;
}

.header__column {
  align-items: flex-end;
}

/* =====================================
   SHOP MEGA MENU
===================================== */

.mega-shop .mega-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.mega-shop .mega-links {
  flex: 0 0 42%;
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.mega-shop .mega-col h5,
.mega-learn .mega-col h5,
.mega-research .mega-col h5,
.mega-about .mega-col h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.mega-shop .mega-col ul,
.mega-learn .mega-col ul,
.mega-research .mega-col ul,
.mega-about .mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-shop .mega-col li,
.mega-learn .mega-col li,
.mega-research .mega-col li,
.mega-about .mega-col li {
  margin-bottom: 8px;
}

.mega-shop .mega-col a,
.mega-learn .mega-col a,
.mega-research .mega-col a,
.mega-about .mega-col a {
  text-decoration: none;
  color: #1A242C;
  font-size: 14px;
  transition: 0.2s;
}

.mega-shop .mega-col a:hover,
.mega-learn .mega-col a:hover,
.mega-research .mega-col a:hover,
.mega-about .mega-col a:hover {
  font-weight: 600;
}

.mega-quiz-btn {
  display: inline-block;
  background: #0b1a2a;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 13px !important;
  text-decoration: none;
  grid-column: span 2;
  justify-self: start;
}

.mega-quiz-btn:hover {
  opacity: 0.9;
}

.mega-learn-btn {
  display: inline-block;
  background: #0b1a2a;
  color: #fff;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 13px;
  text-decoration: none;
  justify-self: start;
}

.mega-learn-btn:hover {
  opacity: 0.9;
}

.mega-shop .mega-products {
  flex: 0 0 58%;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.mega-shop .mega-card {
  position: relative;
  width: 100%;
  max-width: 230px;
  height: 290px;
  overflow: hidden;
  background: #0E1822;
  border-radius: 20px;
  transition: 0.3s ease;
}

.mega-shop .mega-card:hover {
  transform: translateY(-6px);
}

.mega-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-card-content {
  position: relative;
  z-index: 2;
  padding: 26px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mega-card-content img {
  width: 180px;
  margin-bottom: 18px;
}

.mega-card-content h4 {
  display: none;
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.mega-card-content p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
  line-height: 22px;
}

.mega-btn {
  font-size: 10px;
  line-height:12px;
  padding: 7px 18px;
  border-radius: 30px;
  font-weight: 600;
  align-self: flex-start;
  text-align:center;
}

.btn-green { background: #D9FF3F; color: #000; }
.btn-orange { background: #FF5C2C; color: #fff; }
.btn-blue { background: #19C2E0; color: #fff; }

/* =====================================
   LEARN MEGA MENU
===================================== */

.mega-learn .mega-inner {
  display: flex;
  justify-content: space-between;
    flex-direction: column;
  align-items: start;
  gap: 40px;
}

.mega-learn .mega-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  flex: 1;
}

.mega-image {
  width: 240px;
  height: auto;
}

.mega-image-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.mega-image-card img {
  width: 100%;
  display: block;
}

.mega-image-content {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  z-index: 2;
  color: #fff;
}

.mega-image-content h4 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 600;
}

.mega-image-content .mega-btn {
  padding: 8px 20px;
  font-size: 12px;
  border-radius: 30px;
}

.mega-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  z-index: 1;
}

/* =====================================
   RE:SEARCH MEGA MENU
===================================== */

.mega-research .mega-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  gap: 80px;
}

.mega-research .mega-links {
  flex: 0 0 40%;
  max-width: 520px;
}

.mega-research-grid {
  display: flex;
  align-items: flex-start;
  flex-direction:column;
  gap: 40px;
}

.mega-research-block h5 {
  margin: 0 0 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1A242C;
}

.mega-research .mega-col {
  margin: 0;
}

.mega-research-cta .mega-quiz-btn {
  white-space: nowrap;
}

.mega-research .mega-media {
  display: flex;
  gap: 24px;
  flex: 0 0 58%;
  justify-content: flex-end;
}

.mega-research-card {
  position: relative;
  display: block;
  width: 240px;
  height: 240px;
  overflow: hidden;
  background: #fff;
}

.mega-research-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================
   ABOUT MEGA MENU
===================================== */

.mega-about .mega-inner {
  display: flex;
  justify-content: flex-start;
  align-items: start;
  gap: 80px;
}

.mega-about .mega-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  flex: 1;
}

.mega-about-right {
  width: 240px;
}

.mega-about-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.mega-about-card img {
  width: 100%;
  display: block;
}

.mega-about-btn {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 22px;
  background: #c7f000;
  color: #000;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  width: 80%;
}

.mega-about-btn:hover {
  opacity: 0.9;
}

/* =====================================
   NORMAL DROPDOWN
===================================== */

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 10;
}

.nav-container__item:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel__menu {
  list-style: none;
  padding: 12px 0;
  margin: 0;
}

.dropdown-panel__menu li {
  padding: 6px 18px;
}

.dropdown-link {
  text-decoration: none;
  color: #1A242C;
  font-size: 14px;
}

.dropdown-link:hover {
  font-weight: 600;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (min-width: 1400px) {
  .mega-shop .mega-card {
    max-width: 220px;
    height: 280px;
  }
}

@media (max-width: 1399px) {
  .mega-shop .mega-links {
    flex: 0 0 45%;
  }

  .mega-shop .mega-products {
    flex: 0 0 50%;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .mega-shop .mega-card {
    flex: 0 0 190px;
    max-width: 190px;
    height: 250px;
  }
}

@media (max-width: 1199px) {
  .mega-shop .mega-inner {
    gap: 40px;
  }

  .mega-shop .mega-links {
    flex: 0 0 45%;
  }

  .mega-shop .mega-products {
    flex: 0 0 50%;
    gap: 18px;
  }

  .mega-shop .mega-card {
    max-width: 190px;
    height: 250px;
  }

  .mega-card-content img {
    width: 150px;
  }

  .mega-card-content p {
    font-size: 16px;
    line-height: 20px;
  }
}

@media (max-width: 1024px) {
  .mega-inner {
    padding: 0;
  }

  .mega-shop .mega-inner {
    gap: 30px;
  }

  .mega-shop .mega-links {
    flex: 0 0 45%;
    gap: 25px;
  }

  .mega-shop .mega-products {
    flex: 0 0 50%;
    gap: 14px;
  }

  .mega-shop .mega-card {
    max-width: 165px;
    height: 200px;
  }

  .mega-card-content {
    padding: 18px 14px;
  }

  .mega-card-content img {
    width: 130px;
  }

  .mega-card-content p {
    font-size: 15px;
    line-height: 18px;
  }

  .mega-btn {
    font-size: 12px;
    line-height: 16px;
    padding: 8px 15px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* Disable hover completely */
  .has-mega:hover .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* Only open when JS adds class */
  .has-mega.is-open > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw;
  }

  .mega-learn .mega-links,
  .mega-about .mega-links,
  .mega-research .mega-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-about-right,
  .mega-image {
    width: 200px;
  }

  .mega-research .mega-media {
    flex: 0 0 50%;
  }

  .mega-research-card {
    width: 200px;
    height: 200px;
  }

  .mega-research-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* iPad mini + iPad Air only */
@media (min-width: 768px) and (max-width: 1023px) {
  .mega-inner {
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .mega-shop .mega-inner {
    max-height: none;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .mega-shop .mega-links {
    max-width: none;
    flex: 0 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-shop .mega-products {
    flex: 0 0 auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .mega-shop .mega-card {
    max-width: 200px;
    height: 220px;
  }
}
