.elementor-647 .elementor-element.elementor-element-613949a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-647 .elementor-element.elementor-element-613949a:not(.elementor-motion-effects-element-type-background), .elementor-647 .elementor-element.elementor-element-613949a > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(max-width:767px){.elementor-647 .elementor-element.elementor-element-613949a{--content-width:682px;}}/* Start custom CSS for html, class: .elementor-element-4309581 *//* =====================================================
   MEGA MENU PRODUCTS – FINAL STABLE VERSION
   Desktop + Mobile Safe (UIcore Friendly)
===================================================== */

/* =========================
   WRAPPER
========================= */
.mega-products {
  background: #ffffff;
  padding: 40px 48px 24px;
  width: 100%;
  box-sizing: border-box;
}

/* =========================
   GRID DESKTOP
========================= */
.mega-products-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

/* =========================
   COLUMN
========================= */
.mega-col {
  background: #f9f9f9;
  padding: 28px;
  border-radius: 6px;
  box-sizing: border-box;
}

/* =========================
   PARENT TITLE
========================= */
.mega-parent {
  font-size: 18px;
  font-weight: 700;
  color: #9aa1ab;
  margin-bottom: 18px;
  text-transform: uppercase;
}

/* =========================
   CHILD CATEGORY LINK
========================= */
.mega-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #c84237;
  margin-bottom: 18px;
  text-decoration: none;
}

.mega-child span {
  transition: transform .2s ease;
}

.mega-child:hover span {
  transform: translateX(4px);
}

/* =========================
   PRODUCT LIST
========================= */
.mega-products-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-products-list li {
  margin-bottom: 12px;
}

.mega-products-list a {
  font-size: 16px;
  color: #111;
  text-decoration: none;
  transition: color .15s ease;
}

.mega-products-list a:hover {
  color: #c84237;
}

/* =========================
   ALL PRODUCTS LINK
========================= */
.mega-all {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.mega-all a {
  font-size: 18px;
  font-weight: 600;
  color: #c84237;
  text-decoration: none;
}

.mega-all span {
  margin-left: 6px;
}

/* =====================================================
   MOBILE FIX – CRITICAL (UICORE OVERRIDE)
===================================================== */
@media (max-width: 1024px) {

  /* pastikan megamenu tidak disembunyikan */
  .uicore-megamenu .mega-products {
    display: block !important;
    padding: 24px 20px;
  }

  .uicore-megamenu .mega-products-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .uicore-megamenu .mega-col {
    display: block !important;
    padding: 20px;
  }

  .uicore-megamenu .mega-parent {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .uicore-megamenu .mega-child {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .uicore-megamenu .mega-products-list a {
    font-size: 15px;
    padding: 6px 0;
    display: block;
  }

  .uicore-megamenu .mega-all {
    margin-top: 32px;
  }
}

@media (max-width: 1024px) {

  .mega-products {
    display: none !important; /* desktop only */
  }

  .mega-mobile-content {
    padding: 20px;
  }

  .mega-mobile-content .mega-col {
    background: #f9f9f9;
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 6px;
  }

  .mega-mobile-content .mega-parent {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .mega-mobile-content .mega-child {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .mega-mobile-content .mega-products-list a {
    font-size: 15px;
    padding: 6px 0;
    display: block;
  }
}/* End custom CSS */