/*
 * Number Helper Tech Theme
 * Override layer for the preserved Ubuy product-page structure.
 */

:root {
  --nh-bg: #050812;
  --nh-bg-soft: #09111e;
  --nh-panel: #0c1624;
  --nh-panel-2: #101e30;
  --nh-cyan: #00e7ff;
  --nh-cyan-soft: #64f4ff;
  --nh-lime: #a8ff3e;
  --nh-blue: #2878ff;
  --nh-text: #ecfbff;
  --nh-muted: #91a9b8;
  --nh-line: rgba(0, 231, 255, 0.24);
  --nh-line-strong: rgba(0, 231, 255, 0.52);
  --nh-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --nh-radius: 14px;
}

html {
  background: var(--nh-bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.body-desktop.numberhelper-tech {
  min-width: 0;
  overflow-x: hidden;
  color: var(--nh-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 231, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 90% 28%, rgba(40, 120, 255, 0.13), transparent 34rem),
    linear-gradient(180deg, #07101c 0%, var(--nh-bg) 44%, #05070d 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body.body-desktop.numberhelper-tech::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(0, 231, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 231, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

body.numberhelper-tech a {
  color: var(--nh-cyan-soft);
  text-decoration-color: rgba(100, 244, 255, 0.4);
}

body.numberhelper-tech a:hover {
  color: var(--nh-lime);
}

body.numberhelper-tech .container,
body.numberhelper-tech .container-fluid {
  position: relative;
}

/* Header: same Ubuy DOM, new tech surface. */
body.numberhelper-tech .main-header {
  position: sticky;
  z-index: 1035;
  top: 0;
  border-bottom: 1px solid var(--nh-line-strong);
  background: rgba(5, 8, 18, 0.93) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(15px);
}

body.numberhelper-tech .main-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--nh-cyan), var(--nh-lime), transparent);
  box-shadow: 0 0 18px rgba(0, 231, 255, 0.65);
}

body.numberhelper-tech .main-header .navbar {
  min-height: 78px;
  gap: 22px;
}

body.numberhelper-tech .navbar-brand {
  position: relative;
  flex: 0 0 auto;
  margin-right: 22px !important;
  padding: 7px 10px;
  border: 1px solid rgba(0, 231, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 24px rgba(0, 231, 255, 0.05);
}

body.numberhelper-tech .navbar-brand::after {
  position: absolute;
  right: 8px;
  bottom: -8px;
  padding: 2px 7px;
  border: 1px solid rgba(168, 255, 62, 0.45);
  border-radius: 999px;
  content: "SYSTEM ONLINE";
  color: var(--nh-lime);
  background: #07101b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

body.numberhelper-tech .navbar-brand img {
  width: auto;
  max-width: 118px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 231, 255, 0.36));
}

body.numberhelper-tech .explore-btn,
body.numberhelper-tech .mobile-menu-toggle {
  border: 1px solid var(--nh-line-strong);
  border-radius: 10px;
  color: var(--nh-text);
  background: linear-gradient(135deg, rgba(0, 231, 255, 0.13), rgba(40, 120, 255, 0.12));
  box-shadow: inset 0 0 18px rgba(0, 231, 255, 0.08);
}

body.numberhelper-tech .header-center {
  flex: 1 1 auto;
  min-width: 210px;
}

body.numberhelper-tech .header-search-bar {
  overflow: hidden;
  border: 1px solid var(--nh-line-strong) !important;
  border-radius: 12px !important;
  background: rgba(10, 22, 36, 0.86) !important;
  box-shadow:
    inset 0 0 28px rgba(0, 231, 255, 0.04),
    0 0 22px rgba(0, 231, 255, 0.06);
}

body.numberhelper-tech .header-search-bar .form-control,
body.numberhelper-tech .header-search-bar button,
body.numberhelper-tech .header-search-bar .select-store {
  border-color: rgba(0, 231, 255, 0.18) !important;
  color: var(--nh-text) !important;
  background: transparent !important;
}

body.numberhelper-tech .header-search-bar .form-control::placeholder {
  color: #7392a4;
}

body.numberhelper-tech .dropdown-menu,
body.numberhelper-tech .mobile-menu-wrapper,
body.numberhelper-tech .mega-menu {
  border: 1px solid var(--nh-line) !important;
  color: var(--nh-text);
  background: #0a1422 !important;
  box-shadow: var(--nh-shadow);
}

body.numberhelper-tech .dropdown-item,
body.numberhelper-tech .dropdown-item a,
body.numberhelper-tech .country-title,
body.numberhelper-tech .store-title {
  color: #cce6ee !important;
}

body.numberhelper-tech .dropdown-item:hover,
body.numberhelper-tech .dropdown-item:hover a {
  color: var(--nh-cyan) !important;
  background: rgba(0, 231, 255, 0.09) !important;
}

body.numberhelper-tech .n-columns-2 {
  flex: 0 0 auto;
  gap: 8px;
}

body.numberhelper-tech .n-columns-2 a {
  min-width: 88px;
  padding: 11px 16px;
  border: 1px solid var(--nh-line-strong);
  border-radius: 9px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 231, 255, 0.08);
}

body.numberhelper-tech .n-columns-2 .login {
  color: var(--nh-cyan) !important;
  background: rgba(0, 231, 255, 0.08) !important;
}

body.numberhelper-tech .n-columns-2 .register {
  border-color: var(--nh-lime);
  color: #07110d !important;
  background: var(--nh-lime) !important;
  box-shadow: 0 0 22px rgba(168, 255, 62, 0.22);
}

@media (min-width: 1200px) {
  body.numberhelper-tech .header-center {
    margin-right: 220px;
  }

  body.numberhelper-tech .n-columns-2 {
    position: fixed;
    z-index: 1040;
    top: 18px;
    right: 18px;
    width: 200px;
  }
}

/* Product layout: preserve the Ubuy grid and component hierarchy. */
body.numberhelper-tech .detailpage-revamp {
  position: relative;
  margin-top: 38px !important;
  margin-bottom: 38px !important;
}

body.numberhelper-tech .detailpage-revamp::before {
  display: block;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto 18px;
  content: "NUMBER HELPER // TECH ACCESS CONSOLE";
  color: var(--nh-cyan);
  font: 700 11px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.18em;
}

body.numberhelper-tech .detail-section,
body.numberhelper-tech .detail-section > .row {
  color: var(--nh-text);
  background: transparent !important;
}

body.numberhelper-tech .product-banner,
body.numberhelper-tech .single-product-content,
body.numberhelper-tech .sidebar > .card,
body.numberhelper-tech .product-article,
body.numberhelper-tech .info-box-olx,
body.numberhelper-tech .border-box {
  border: 1px solid var(--nh-line) !important;
  border-radius: var(--nh-radius) !important;
  color: var(--nh-text) !important;
  background:
    linear-gradient(145deg, rgba(16, 30, 48, 0.96), rgba(7, 14, 25, 0.96)) !important;
  box-shadow: var(--nh-shadow) !important;
}

body.numberhelper-tech .product-banner {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

body.numberhelper-tech .product-banner::before {
  position: absolute;
  z-index: 2;
  top: -45%;
  bottom: -45%;
  left: -16%;
  width: 14%;
  content: "";
  pointer-events: none;
  transform: rotate(14deg);
  animation: nh-scan 7s linear infinite;
  opacity: 0.32;
  background: linear-gradient(90deg, transparent, var(--nh-cyan), transparent);
  filter: blur(12px);
}

@keyframes nh-scan {
  to {
    left: 118%;
  }
}

body.numberhelper-tech .main-product-slider {
  overflow: hidden;
  border: 1px solid rgba(0, 231, 255, 0.17);
  border-radius: 12px;
  background:
    linear-gradient(rgba(0, 231, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 231, 255, 0.045) 1px, transparent 1px),
    #070d17;
  background-size: 24px 24px;
}

body.numberhelper-tech .main-product-slider img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.03);
}

body.numberhelper-tech .wishlist-icon {
  border: 1px solid var(--nh-line);
  border-radius: 50%;
  color: var(--nh-cyan) !important;
  background: rgba(0, 231, 255, 0.08) !important;
}

body.numberhelper-tech .thumbnail-container {
  margin-top: 12px;
}

body.numberhelper-tech .thumbnail-container .item {
  overflow: hidden;
  margin: 0 3px;
  border: 1px solid rgba(0, 231, 255, 0.22) !important;
  border-radius: 9px;
  background: #09121f !important;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

body.numberhelper-tech .thumbnail-container .item:hover,
body.numberhelper-tech .thumbnail-container .item.is-active {
  border-color: var(--nh-lime) !important;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(168, 255, 62, 0.2);
}

body.numberhelper-tech .product-article {
  margin-top: 22px;
}

body.numberhelper-tech .product-article h2 {
  color: var(--nh-cyan);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

body.numberhelper-tech .product-article p,
body.numberhelper-tech .product-article strong {
  color: #c8dce5 !important;
}

body.numberhelper-tech .single-product-content {
  padding: 24px;
}

body.numberhelper-tech .single-product-content .brand-name,
body.numberhelper-tech .single-product-content .brand-name a {
  color: var(--nh-cyan) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.numberhelper-tech .single-product-content .title {
  margin: 12px 0;
  color: var(--nh-text) !important;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem) !important;
  line-height: 1.12;
  text-shadow: 0 0 25px rgba(0, 231, 255, 0.15);
}

body.numberhelper-tech .item-id,
body.numberhelper-tech .availability,
body.numberhelper-tech .product-store,
body.numberhelper-tech .seller-info,
body.numberhelper-tech .prime-text,
body.numberhelper-tech .description,
body.numberhelper-tech .text-dark {
  color: var(--nh-muted) !important;
}

body.numberhelper-tech .price-box h2,
body.numberhelper-tech .sidebar .heading {
  color: var(--nh-lime) !important;
  font-family: "SFMono-Regular", Consolas, monospace;
}

body.numberhelper-tech .rating-stars {
  color: #ffd166 !important;
}

body.numberhelper-tech .availability .in-stock {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid rgba(168, 255, 62, 0.36);
  border-radius: 999px;
  color: var(--nh-lime) !important;
  background: rgba(168, 255, 62, 0.07);
}

body.numberhelper-tech .variations-button {
  border: 1px solid var(--nh-line) !important;
  border-radius: 9px !important;
  color: var(--nh-text) !important;
  background: rgba(0, 231, 255, 0.05) !important;
}

body.numberhelper-tech .free-express-shipping,
body.numberhelper-tech .middle-content,
body.numberhelper-tech .bottom-content,
body.numberhelper-tech .product-details,
body.numberhelper-tech .product-shop,
body.numberhelper-tech .product-features {
  color: var(--nh-text) !important;
  background: transparent !important;
}

body.numberhelper-tech .text-before,
body.numberhelper-tech .features-points li {
  color: #bed3dd !important;
}

body.numberhelper-tech .progress-bar-container {
  overflow: hidden;
  height: 8px;
  border: 1px solid rgba(0, 231, 255, 0.18);
  border-radius: 999px;
  background: #050b13 !important;
}

body.numberhelper-tech .progress-bar {
  background: linear-gradient(90deg, var(--nh-cyan), var(--nh-lime)) !important;
  box-shadow: 0 0 16px rgba(0, 231, 255, 0.5);
}

body.numberhelper-tech .border-box {
  padding: 14px;
}

body.numberhelper-tech .border-box > .card {
  border: 1px solid rgba(0, 231, 255, 0.22) !important;
  background: #08111d !important;
}

body.numberhelper-tech .payment-method-options .card {
  position: relative;
  display: grid !important;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 231, 255, 0.18) !important;
  color: var(--nh-cyan);
  background: #07101b !important;
  font-size: 9px;
  font-weight: 800;
}

body.numberhelper-tech .payment-method-options .card img[src^="https:/http"] {
  display: none;
}

body.numberhelper-tech .payment-method-options .card:nth-child(2)::after {
  content: "QRIS";
}

body.numberhelper-tech .payment-method-options .card:nth-child(3)::after {
  content: "BCA";
}

body.numberhelper-tech .payment-method-options .card:nth-child(4)::after {
  content: "OVO";
}

body.numberhelper-tech .payment-method-options .card:nth-child(5)::after {
  content: "MANDIRI";
}

body.numberhelper-tech .info-box-olx {
  overflow: hidden;
  margin-top: 22px;
}

body.numberhelper-tech .info-header-olx {
  color: #041014 !important;
  background: linear-gradient(90deg, var(--nh-cyan), var(--nh-lime)) !important;
  letter-spacing: 0.04em;
}

body.numberhelper-tech .info-row-olx {
  border-color: rgba(0, 231, 255, 0.14) !important;
}

body.numberhelper-tech .info-label-olx {
  color: var(--nh-muted) !important;
}

body.numberhelper-tech .info-value-olx {
  color: var(--nh-text) !important;
}

body.numberhelper-tech .sidebar {
  position: sticky;
  top: 104px;
}

body.numberhelper-tech .sidebar > .card {
  overflow: hidden;
}

body.numberhelper-tech .sidebar .card-body {
  padding: 18px !important;
}

body.numberhelper-tech .quantity-input {
  border: 1px solid var(--nh-line) !important;
  border-radius: 9px;
  background: #070f19 !important;
}

body.numberhelper-tech .quantity-input input,
body.numberhelper-tech .quantity-input .btn {
  color: var(--nh-text) !important;
  background: transparent !important;
}

body.numberhelper-tech .add-to-cart-btn,
body.numberhelper-tech .buy-now-btn {
  padding: 13px 16px !important;
  border-radius: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em;
}

body.numberhelper-tech .add-to-cart-btn {
  border: 1px solid var(--nh-cyan) !important;
  color: #031014 !important;
  background: var(--nh-cyan) !important;
  box-shadow: 0 0 24px rgba(0, 231, 255, 0.22);
}

body.numberhelper-tech .buy-now-btn {
  border: 1px solid var(--nh-lime) !important;
  color: #07110d !important;
  background: var(--nh-lime) !important;
  box-shadow: 0 0 24px rgba(168, 255, 62, 0.2);
}

body.numberhelper-tech .features-points {
  padding-left: 19px;
}

body.numberhelper-tech .features-points li::marker {
  color: var(--nh-cyan);
}

/* Footer is retained from Ubuy, but recolored and tightened. */
body.numberhelper-tech .footer-top {
  margin-top: 44px;
  padding: 38px max(20px, calc((100vw - 1320px) / 2));
  border-top: 1px solid var(--nh-line);
  color: var(--nh-muted);
  background:
    linear-gradient(180deg, rgba(9, 20, 34, 0.98), rgba(4, 8, 15, 0.99)) !important;
}

body.numberhelper-tech .footer-top .footer-heading,
body.numberhelper-tech .footer-top .footer-heading span,
body.numberhelper-tech .footer-top li,
body.numberhelper-tech .footer-top p,
body.numberhelper-tech .pci-dss-trust {
  color: #bcd3dd !important;
}

body.numberhelper-tech .footer-top a {
  color: #86aab9 !important;
}

body.numberhelper-tech .footer-top a:hover {
  color: var(--nh-cyan) !important;
}

body.numberhelper-tech .footer-top hr,
body.numberhelper-tech .footer-bottom hr,
body.numberhelper-tech hr {
  border-color: rgba(0, 231, 255, 0.18) !important;
}

body.numberhelper-tech .footer-bottom {
  overflow: hidden;
  padding-top: 22px;
  color: #7793a2;
  background: #04080f !important;
}

body.numberhelper-tech .footer-bottom .row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.numberhelper-tech .footer-bottom p,
body.numberhelper-tech .footer-bottom a,
body.numberhelper-tech .followus {
  color: #7793a2 !important;
}

body.numberhelper-tech .social-footer a {
  border-color: rgba(0, 231, 255, 0.2) !important;
  color: var(--nh-cyan) !important;
  background: rgba(0, 231, 255, 0.05) !important;
}

/* Existing floating Ubuy-derived CTA structure. */
body.numberhelper-tech .footer-floating-j77 {
  border: 1px solid rgba(0, 231, 255, 0.42);
  border-radius: 14px;
  background: rgba(5, 11, 19, 0.92);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.54),
    0 0 24px rgba(0, 231, 255, 0.11);
  backdrop-filter: blur(16px);
}

body.numberhelper-tech .footer-floating-j77 .footer-btn-j77 {
  border-color: rgba(0, 231, 255, 0.16) !important;
  color: #bcd4dd !important;
  background: transparent !important;
}

body.numberhelper-tech .footer-floating-j77 .footer-btn-j77:hover,
body.numberhelper-tech .footer-floating-j77 .footer-btn-j77.login,
body.numberhelper-tech .footer-floating-j77 .footer-btn-j77.daftar {
  color: var(--nh-cyan) !important;
  background: rgba(0, 231, 255, 0.08) !important;
}

body.numberhelper-tech .footer-floating-j77 img {
  filter: drop-shadow(0 0 7px rgba(0, 231, 255, 0.45));
}

body.numberhelper-tech.nh-tech-ready .product-banner {
  outline: 1px solid rgba(168, 255, 62, 0.08);
}

@media (max-width: 1199.98px) {
  body.numberhelper-tech .main-header .navbar {
    min-height: 70px;
    gap: 12px;
  }

  body.numberhelper-tech .header-center {
    order: 3;
    flex: 0 0 100%;
    padding-bottom: 12px;
  }

  body.numberhelper-tech .main-header .navbar {
    flex-wrap: wrap;
  }

  body.numberhelper-tech .sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  body.body-desktop.numberhelper-tech {
    padding-bottom: 88px;
  }

  body.numberhelper-tech .main-header {
    position: relative;
  }

  body.numberhelper-tech .main-header .navbar {
    padding: 8px 0 !important;
  }

  body.numberhelper-tech .header-left {
    width: 100%;
    flex-direction: row !important;
    justify-content: space-between;
  }

  body.numberhelper-tech .menu-wraper.d-none {
    display: none !important;
  }

  body.numberhelper-tech .mobilemenu-wraper {
    display: block !important;
    order: 2;
  }

  body.numberhelper-tech .mobile-menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
  }

  body.numberhelper-tech .mobile-menu-toggle i {
    display: none;
  }

  body.numberhelper-tech .mobile-menu-toggle::before {
    content: "☰";
    color: var(--nh-cyan);
    font-size: 22px;
    line-height: 1;
  }

  body.numberhelper-tech .navbar-brand {
    order: 1;
    margin-right: 0 !important;
  }

  body.numberhelper-tech .navbar-brand::after {
    display: none;
  }

  body.numberhelper-tech .n-columns-2 a {
    min-width: 72px;
    padding: 10px 11px;
    font-size: 11px;
  }

  body.numberhelper-tech .detailpage-revamp {
    margin-top: 24px !important;
  }

  body.numberhelper-tech .detailpage-revamp::before {
    width: calc(100% - 24px);
    letter-spacing: 0.11em;
  }

  body.numberhelper-tech .product-banner,
  body.numberhelper-tech .single-product-content {
    padding: 16px;
  }

  body.numberhelper-tech .main-slider-container,
  body.numberhelper-tech .main-product-slider,
  body.numberhelper-tech .main-product-slider .slide-item,
  body.numberhelper-tech .main-product-slider .slide-item > a,
  body.numberhelper-tech .main-product-slider img {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.numberhelper-tech .main-product-slider img {
    height: auto !important;
  }

  body.numberhelper-tech .single-product-content {
    margin-top: 16px;
  }

  body.numberhelper-tech .sidebar {
    margin-top: 18px;
  }

  body.numberhelper-tech .product-article {
    padding: 16px !important;
  }

  body.numberhelper-tech .info-row-olx {
    gap: 6px;
  }

  body.numberhelper-tech .footer-top {
    padding: 32px 20px 90px;
  }

  body.numberhelper-tech .footer-floating-j77 {
    right: 10px;
    bottom: 9px;
    left: 10px;
    display: flex !important;
    width: auto;
    flex-flow: row nowrap !important;
    align-items: stretch;
    transform: none;
  }

  body.numberhelper-tech .footer-floating-j77 .footer-btn-j77 {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 20% !important;
    flex-direction: column !important;
    justify-content: center;
    padding: 8px 4px !important;
    white-space: normal !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.numberhelper-tech .product-banner::before {
    animation: none;
  }
}
