/* ==========================================================================
   Samsung GNB Dropdown Styles (Phones & Tablets)
   Matches official Samsung Indonesia desktop navigation
   ========================================================================== */

/* Main nav container stacking context */
.nv00-gnb-v5 {
  position: relative !important;
  z-index: 2000 !important;
}

/* Nav header wrapper: must be in front of the dim overlay */
.nv00-gnb-v5__wrap {
  position: relative !important;
  z-index: 20 !important;
}

/* Active Navbar Header state when dropdown is open */
.nv00-gnb-v5.nv00-gnb-v5--show {
  background-color: #ffffff !important;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.08) !important;
}

.nv00-gnb-v5.nv00-gnb-v5--show .nv00-gnb-v5__wrap {
  background-color: #ffffff !important;
}

.nv00-gnb-v5.nv00-gnb-v5--show .nv00-gnb-v5__inner::after {
  opacity: 1 !important;
  background-color: #ffffff !important;
}

.nv00-gnb-v5.nv00-gnb-v5--show .nv00-gnb-v5__l0-menu-link,
.nv00-gnb-v5.nv00-gnb-v5--show .nv00-gnb-v5__l0-menu-text {
  color: #000000 !important;
  text-shadow: none !important;
}

/* Utility icons in nav (cart, user) to black when nav is white */
.nv00-gnb-v5.nv00-gnb-v5--show .nv00-gnb-v5__utility .icon,
.nv00-gnb-v5.nv00-gnb-v5--show .nv00-gnb-v5__utility svg {
  fill: #000000 !important;
  color: #000000 !important;
}

/* Active indicator underline under Phones & Tablets */
.nv00-gnb-v5__l0-menu--show .nv00-gnb-v5__l0-menu-link::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background-color: #000000 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================================
   Dropdown Panel (Full Width, Solid Pure White)
   ========================================================================== */
.nv00-gnb-v5__l1-menu-container {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 100% !important;
  background-color: #ffffff !important;
  overflow: hidden !important;
  max-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: max-height 0.35s cubic-bezier(0.35, 0, 0.36, 1), opacity 0.25s cubic-bezier(0.35, 0, 0.36, 1) !important;
  border-bottom: 1px solid #ebebeb !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
  z-index: 25 !important; /* Stays firmly inside wrap, in front of dim overlay */
}

.nv00-gnb-v5__l0-menu--show .nv00-gnb-v5__l1-menu-container {
  max-height: var(--l1-container-current-height, 540px) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Disable duplicate background overlay from original theme */
.nv00-gnb-v5 .nv00-gnb-v5__l0-menu-list--show::after {
  display: none !important;
}

/* Dropdown Inner Content Wrapper */
.nv00-gnb-v5__l1-menu-inner {
  display: flex !important;
  align-items: flex-start !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 36px 40px 48px 40px !important;
  background-color: #ffffff !important; /* Pure solid white background */
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Left Side: Produk Highlight
   ========================================================================== */
.nv00-gnb-v5__l1-highlights-list {
  flex-shrink: 0 !important;
  width: 320px !important;
  margin-right: 56px !important;
  padding-right: 52px !important;
  position: relative !important;
  border-right: 1px solid #e5e5e5 !important;
  display: block !important;
}

.nv00-gnb-v5__l1-highlights-list::after {
  display: none !important;
}

.nv00-gnb-v5__l1-highlights-title {
  display: block !important;
  font-family: 'SamsungSharpSans', 'SamsungOne', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin: 0 0 20px 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.nv00-gnb-v5__l1-highlights-btn {
  display: none !important;
}

.nv00-gnb-v5__l2-highlights-container {
  display: block !important;
}

.nv00-gnb-v5__l2-highlights-container-inner {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  column-gap: 20px !important;
  row-gap: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.nv00-gnb-v5__l2-highlights-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
}

.nv00-gnb-v5__l2-highlights-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-decoration: none !important;
  color: #000000 !important;
  width: 100% !important;
  transition: opacity 0.2s ease !important;
}

.nv00-gnb-v5__l2-highlights-link:hover {
  opacity: 0.8 !important;
}

.nv00-gnb-v5__l2-highlights-image {
  position: relative !important;
  width: 88px !important;
  height: 88px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 8px !important;
}

.nv00-gnb-v5__l2-highlights-image .image {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.nv00-gnb-v5__l2-highlights-image .image__main {
  display: block !important;
  max-width: 88px !important;
  max-height: 88px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  transition: transform 0.25s ease !important;
}

.nv00-gnb-v5__l2-highlights-link:hover .image__main {
  transform: scale(1.05) !important;
}

.nv00-gnb-v5__l2-highlights-image .image__preview {
  display: none !important;
}

/* Blue "Baru" badge on Galaxy Tab S12 Ultra */
.nv00-gnb-v5__l2-highlights-image .badge-icon--label,
.nv00-gnb-v5__l2-highlights-image .badge-icon--bg-color-blue {
  position: absolute !important;
  top: -4px !important;
  left: 0 !important;
  background-color: transparent !important;
  color: #0077c8 !important; /* Samsung blue */
  font-family: 'SamsungOne', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  border-radius: 0 !important;
  z-index: 2 !important;
}

.nv00-gnb-v5__l2-highlights-text {
  font-family: 'SamsungSharpSans', 'SamsungOne', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  text-align: center !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  margin-top: 4px !important;
}

/* ==========================================================================
   Right Side: Submenu Columns (Galaxy Smartphone, Galaxy Tab, Jelajahi)
   ========================================================================== */
.nv00-gnb-v5__l1-menu-list {
  display: flex !important;
  flex-direction: row !important;
  gap: 52px !important;
  flex-grow: 1 !important;
  padding-top: 0 !important;
  margin: 0 !important;
}

.nv00-gnb-v5__l1-menu-wrap {
  min-width: 175px !important;
}

.nv00-gnb-v5__l1-menu-title {
  font-family: 'SamsungSharpSans', 'SamsungOne', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #000000 !important;
  margin: 0 0 16px 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  display: block !important;
}

.nv00-gnb-v5__l1-menu-btn {
  display: none !important;
}

.nv00-gnb-v5__l2-menu-container {
  display: block !important;
}

.nv00-gnb-v5__l2-menu-container-inner {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.nv00-gnb-v5__l2-menu-item {
  margin: 0 !important;
  padding: 0 !important;
}

.nv00-gnb-v5__l2-menu-link {
  font-family: 'SamsungOne', sans-serif !important;
  font-size: 13px !important;
  color: #000000 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: color 0.15s ease !important;
  line-height: 1.4 !important;
}

.nv00-gnb-v5__l2-menu-link:hover {
  text-decoration: underline !important;
  color: #000000 !important;
}

/* ==========================================================================
   Dim Overlay (Behind Navbar & Dropdown, In Front of Page Content)
   ========================================================================== */
.nv00-gnb-v5__dim {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.35, 0, 0.36, 1) !important;
  z-index: 10 !important; /* In front of page content (z-index 0), behind wrap (z-index 20) */
}

.nv00-gnb-v5.nv00-gnb-v5--show .nv00-gnb-v5__dim {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   Catalog Page Category Cards Centering
   ========================================================================== */
.nv19-pd-category-main__list {
  display: flex !important;
  justify-content: center !important;
  max-width: 100% !important;
}

.nv19-pd-category-main__list-inner {
  display: flex !important;
  justify-content: center !important;
  transform: none !important;
  width: auto !important;
  margin: 0 auto !important;
}

.nv19-pd-category-main .screen-indicator-wrap,
.nv19-pd-category-main .progressbar-indicator {
  display: none !important;
}

/* Clean separator above footer-bottom */
.footer-bottom {
  border-top: 1px solid #e0e0e0 !important;
}

/* ==========================================================================
   Utility icons (search / cart) sizing
   ========================================================================== */
.nv00-gnb-v5__utility-search,
.nv00-gnb-v5__utility-cart {
  display: block !important;
  padding: 8px !important;
  font-size: 0 !important;
}

.nv00-gnb-v5__utility-search::after,
.nv00-gnb-v5__utility-cart::after {
  width: 24px !important;
  height: 24px !important;
}

/* ==========================================================================
   Auth links in the utility bar
   ========================================================================== */
.nv00-gnb-v5 .gnb-auth {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-inline-start: 12px !important;
  padding: 8px 0 !important;
}

.nv00-gnb-v5 .gnb-auth form {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.nv00-gnb-v5 .gnb-auth__link {
  display: inline-flex !important;
  align-items: center !important;
  font-family: 'SamsungOne', sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #000 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  vertical-align: middle;
}

.nv00-gnb-v5 .gnb-auth__link:hover {
  text-decoration: underline !important;
}

.nv00-gnb-v5 .gnb-auth__link--cta {
  padding: 6px 18px !important;
  color: #fff !important;
  background-color: #1428a0 !important;
  border-radius: 20px !important;
}

.nv00-gnb-v5 .gnb-auth__link--cta:hover {
  text-decoration: none !important;
  background-color: #0f1f7a !important;
}

/* Dark (transparent-over-hero) variant */
.nv00-gnb-v5[class*="nv00-gnb-v5--shy-dark"]:not(.nv00-gnb-v5--show) .gnb-auth__link {
  color: #fff !important;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.75) !important;
}

.nv00-gnb-v5[class*="nv00-gnb-v5--shy-dark"]:not(.nv00-gnb-v5--show) .gnb-auth__link--cta {
  text-shadow: none !important;
}
