/**
 * ENFORCE — Contact mega menu (premium 2-column rebuild).
 * Scoped to .mega-menu--contact only.
 */
:root {
  --contact-mega-green: #558792;
}

/* ===== Nav link active state ===== */
.header-section #menu > ul > li.mega-menu--contact > a {
  position: relative;
}

.header-section #menu > ul > li.mega-menu--contact:hover > a,
.header-section #menu > ul > li.mega-menu--contact.is-open > a,
.header-section #menu > ul > li.mega-menu--contact.active > a {
  color: var(--contact-mega-green) !important;
  box-shadow: none !important;
}

.header-section #menu > ul > li.mega-menu--contact > a::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 14px;
  height: 3px;
  width: 0;
  background: var(--contact-mega-green);
  border-radius: 99px;
  transition: width 0.25s ease;
}

.header-section #menu > ul > li.mega-menu--contact:hover > a::after,
.header-section #menu > ul > li.mega-menu--contact.is-open > a::after,
.header-section #menu > ul > li.mega-menu--contact.active > a::after {
  width: calc(100% - 28px);
}

/* ===== Global type reset inside panel ===== */
.contact-mega,
.contact-mega * {
  box-sizing: border-box;
}

.contact-mega {
  font-family: "Montserrat", Arial, sans-serif;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contact-mega p,
.contact-mega h3.contact-mega__title,
.contact-mega__cat-label {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-style: normal !important;
}

.contact-mega__cat-heading,
.contact-mega__btn {
  text-transform: uppercase !important;
}

/* ===== Outer dropdown shell ===== */
@media (min-width: 901px) {
  .header-section ul li.mega-menu--contact {
    position: static;
  }

  .header-section ul li.mega-menu.mega-menu--contact > ul,
  .header-section ul li.mega-menu--contact > ul.contact-mega-panel {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(8px) !important;
    width: min(86vw, 1360px) !important;
    max-width: 1360px !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 18px !important;
    background: #ffffff !important;
    border-radius: 0 0 24px 24px !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22) !important;
    border: none !important;
    overflow: hidden !important;
    z-index: 9999 !important;
    float: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
    min-width: 0 !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
  }

  .header-section ul li.mega-menu--contact.is-open > ul.contact-mega-panel,
  .header-section ul li.mega-menu.mega-menu--contact.is-open > ul.contact-mega-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
    max-height: 536px !important;
    height: 536px !important;
    padding: 18px !important;
  }

  .header-section ul li.mega-menu--contact > ul.contact-mega-panel > li,
  .header-section ul li.mega-menu--contact > ul.contact-mega-panel > li.contact-mega-panel__single {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
  }

  .header-section ul li.mega-menu--contact > ul.contact-mega-panel > li > a {
    display: none !important;
  }

  .header-section ul li.mega-menu--contact > ul > li .arrow {
    display: none;
  }
}

/* ===== Grid ===== */
.contact-mega__grid {
  display: grid;
  grid-template-columns: 72% 28%;
  gap: 18px;
  align-items: stretch;
  height: 100%;
  width: 100%;
  min-width: 0;
}

.contact-mega__feature,
.contact-mega__categories {
  min-width: 0;
  height: 100%;
}

/* ===== LEFT — Contact feature panel ===== */
.contact-mega__feature {
  position: relative;
  min-height: 500px;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #1a2a2e;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.72) 34%,
      rgba(0, 0, 0, 0.28) 62%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("https://shopenforce.com/images/contact_us_menu_2026.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  display: flex;
  align-items: center;
}

.contact-mega__feature-copy {
  position: relative;
  z-index: 2;
  max-width: 460px;
  padding-left: 42px;
}

.contact-mega__title,
.contact-mega__title strong {
  margin: 0 0 30px 0 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 30px !important;
  line-height: 36px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

.contact-mega__rule--feature {
  display: block !important;
  flex-shrink: 0;
  width: 52px;
  min-height: 3px;
  height: 3px;
  background: #558792;
  border-radius: 99px;
  margin: 0 0 34px 0;
}

.contact-mega__text {
  margin: 0 0 52px 0 !important;
  font-family: inherit !important;
  font-size: 18px !important;
  line-height: 30px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  max-width: 420px;
}

.contact-mega__feature-img {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* ===== Button ===== */
.contact-mega__btn {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 18px 24px !important;
  border-radius: 6px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  width: auto !important;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.header-section ul li.mega-menu--contact .contact-mega a.contact-mega__btn,
.header-section #menu > ul > li.mega-menu--contact .contact-mega a.contact-mega__btn {
  font-weight: 700 !important;
  padding: 18px 24px !important;
}

.header-section ul li.mega-menu--contact .contact-mega a.contact-mega__btn--white,
.contact-mega a.contact-mega__btn--white {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #558792 !important;
  -webkit-text-fill-color: #558792 !important;
}

.header-section ul li.mega-menu--contact .contact-mega a.contact-mega__btn--white:hover,
.header-section ul li.mega-menu--contact .contact-mega a.contact-mega__btn--white:focus,
.contact-mega a.contact-mega__btn--white:hover,
.contact-mega a.contact-mega__btn--white:focus {
  background: #f4f8f9 !important;
  color: #558792 !important;
  -webkit-text-fill-color: #558792 !important;
}

/* ===== RIGHT — Explore column ===== */
.contact-mega__categories {
  width: 100%;
  height: 100%;
  padding: 46px 36px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.contact-mega__cat-heading {
  font-family: inherit;
  font-size: 15px !important;
  line-height: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  border: none !important;
}

.contact-mega__rule--cat {
  display: block;
  width: 46px;
  height: 3px;
  background: #558792;
  border-radius: 99px;
  margin: 0 0 34px 0;
}

.contact-mega__cat-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.contact-mega__cat-list li {
  margin: 0;
  padding: 0;
  border: none !important;
}

.contact-mega__cat-list li:last-child a {
  border-bottom: none !important;
}

.header-section ul li.mega-menu--contact .contact-mega__cat-list a,
.header-section #menu > ul > li.mega-menu--contact .contact-mega__cat-list a,
.contact-mega__cat-list a {
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  column-gap: 18px;
  height: 82px;
  padding: 0 !important;
  margin-left: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-family: inherit;
  font-size: 16px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #111111 !important;
  text-decoration: none !important;
  text-transform: none !important;
  background: none !important;
  transition: color 0.25s ease, transform 0.25s ease !important;
}

.contact-mega__cat-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #558792;
  stroke: #558792;
  fill: none;
}

.contact-mega__cat-icon img,
.contact-mega__cat-icon svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.contact-mega__cat-label {
  min-width: 0;
  font-family: inherit;
  font-size: 16px !important;
  line-height: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #111111 !important;
}

.contact-mega__cat-arrow {
  font-size: 22px !important;
  line-height: 1;
  font-weight: 400 !important;
  color: #111111 !important;
  justify-self: end;
  text-align: right;
}

.header-section ul li.mega-menu--contact .contact-mega__cat-list a:hover,
.header-section ul li.mega-menu--contact .contact-mega__cat-list a:focus,
.header-section #menu > ul > li.mega-menu--contact .contact-mega__cat-list a:hover,
.header-section #menu > ul > li.mega-menu--contact .contact-mega__cat-list a:focus,
.contact-mega__cat-list a:hover,
.contact-mega__cat-list a:focus {
  color: #558792 !important;
  transform: translateX(3px);
  margin-left: 0 !important;
}

.contact-mega__cat-list a:hover .contact-mega__cat-label,
.contact-mega__cat-list a:focus .contact-mega__cat-label {
  color: #558792 !important;
}

.contact-mega__cat-list a:hover .contact-mega__cat-arrow,
.contact-mega__cat-list a:focus .contact-mega__cat-arrow {
  color: #558792 !important;
}

/* ===== Beat theme img rules ===== */
.header-section ul li.mega-menu--contact .contact-mega img.contact-mega__feature-img,
.header-section #menu > ul > li.mega-menu--contact .contact-mega img.contact-mega__feature-img {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}

/* ===== Responsive — max 900px ===== */
@media (max-width: 900px) {
  .header-section ul li.mega-menu.mega-menu--contact > ul,
  .header-section ul li.mega-menu--contact > ul.contact-mega-panel {
    position: relative !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    height: 0 !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
    display: block !important;
    z-index: 9999 !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
  }

  .header-section ul li.mega-menu--contact.is-open > ul.contact-mega-panel {
    height: auto !important;
    max-height: none !important;
    margin: 8px auto 0 !important;
    padding: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .header-section ul li.mega-menu--contact > ul.contact-mega-panel > li,
  .header-section ul li.mega-menu--contact > ul.contact-mega-panel > li.contact-mega-panel__single {
    height: auto !important;
  }

  .contact-mega,
  .contact-mega__grid {
    height: auto !important;
  }

  .contact-mega__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-mega__feature {
    min-height: 420px;
    height: auto;
    padding: 36px 0;
  }

  .contact-mega__feature-copy {
    width: 100%;
    max-width: 100%;
    padding: 0 26px;
  }

  .contact-mega__categories {
    width: 100%;
    height: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 32px 26px;
  }
}

/* ===== Responsive — max 600px ===== */
@media (max-width: 600px) {
  .header-section ul li.mega-menu.mega-menu--contact > ul,
  .header-section ul li.mega-menu--contact > ul.contact-mega-panel {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 10px !important;
  }

  .contact-mega__feature {
    min-height: 420px;
    padding: 34px 0;
  }

  .contact-mega__feature-copy {
    padding: 0 22px;
  }

  .contact-mega__btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ===== Typography final override ===== */
.header-section #menu > ul > li.mega-menu--contact .contact-mega__title,
.header-section #menu > ul > li.mega-menu--contact .contact-mega__title strong,
.header-section.style1 #menu > ul > li.mega-menu--contact .contact-mega__title,
.header-section.style1 #menu > ul > li.mega-menu--contact .contact-mega__title strong {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 30px !important;
  line-height: 36px !important;
  font-weight: 600 !important;
}

.header-section #menu > ul > li.mega-menu--contact .contact-mega__text {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 30px !important;
  font-weight: 400 !important;
}

.header-section #menu > ul > li.mega-menu--contact .contact-mega__cat-heading {
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}
