/* ==========================================================================
   NIMA GPS — Dark Tech Glossy Brand Theme
   Loaded after styles.css — overrides the Ecomus base theme site-wide.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --bg-deep: #05070d;
  --bg-elevated: #0b1122;
  --bg-elevated-2: #0e1730;
  --surface-glass: rgba(255, 255, 255, 0.045);
  --surface-glass-strong: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(148, 163, 184, 0.16);
  --border-glass-strong: rgba(34, 211, 238, 0.35);

  --accent: #22d3ee;
  --accent-2: #3b82f6;
  --accent-3: #7c5cff;
  --live: #34d399;
  --danger: #ff5470;

  --ink: #eef4ff;
  --ink-muted: #93a2c2;
  --ink-faint: #5c6a8a;

  --heading-font: 'Space Grotesk', 'Jost', sans-serif;
  --tech-font: 'Rajdhani', 'Jost', sans-serif;

  --glow-cyan: 0 0 24px rgba(34, 211, 238, 0.35);
  --glow-blue: 0 0 30px rgba(59, 130, 246, 0.28);
  --radius-card: 18px;

  /* Ecomus theme variables re-pointed at the dark palette.
     NOTE: --main and --white are intentionally NOT remapped here — the base
     theme uses both as both text color AND background color inconsistently
     across 500+ rules, so redirecting them globally caused unpredictable
     dark-on-dark text and stray hover boxes. Every dark surface in this
     file uses its own explicit override instead; leave these two alone. */
  --primary: var(--accent);
  --text: var(--ink-muted);
  --text-2: var(--ink-faint);
  --text-3: var(--ink-muted);
  --line: var(--border-glass);
  --line-2: var(--border-glass);
  --bg-1: var(--bg-deep);
  --bg-2: var(--bg-elevated);
  --bg-7: var(--bg-elevated);
  --bg-8: var(--bg-elevated);
  --bg-9: var(--bg-elevated-2);
  --bg-10: var(--bg-deep);
  --bg-11: var(--bg-elevated);
  --success: var(--live);
  --backdrop: rgba(3, 5, 12, 0.72);
}

/* ---------- base ---------- */
html, body {
  background: radial-gradient(120% 60% at 15% 0%, #0c1530 0%, var(--bg-deep) 55%) fixed;
  color: var(--ink);
}

body, p, span, li, a, div {
  font-family: 'Jost', 'Rajdhani', sans-serif;
}

h1, h2, h3, h4, h5, h6, .title, .heading {
  font-family: var(--heading-font);
  color: var(--ink) !important;
  letter-spacing: 0.01em;
}

a { color: var(--ink); }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #04121a; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent-3)); border-radius: 10px; }

.container, .container-full, section, main, .flat-spacing-9, .flat-spacing-checkout,
.flat-spacing, .flat-spacing-4, .wrapper-shop, .tf-shop-control {
  background: transparent;
}

/* ---------- page preloader (GPS radar ping) ---------- */
.preload-container {
  background: radial-gradient(120% 60% at 15% 0%, #0c1530 0%, var(--bg-deep) 55%) !important;
}
.preload-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.spinner {
  position: relative !important;
  width: 64px;
  height: 64px;
  background-image: none !important;
  background: none !important;
}
.spinner::before,
.spinner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: nima-radar-ping 1.8s ease-out infinite;
}
.spinner::after { animation-delay: 0.9s; }
.preload-logo::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--accent));
  box-shadow: 0 0 18px 4px rgba(34, 211, 238, 0.65);
  z-index: 1;
}
@keyframes nima-radar-ping {
  0%   { transform: scale(0.25); opacity: .9; border-color: var(--accent); }
  70%  { opacity: .15; }
  100% { transform: scale(1.6); opacity: 0; border-color: var(--accent-3); }
}

/* ---------- glossy buttons ---------- */
.tf-btn, .lv-ecs-btn, .ef-cta, button[type="submit"], .wg-quantity {
  font-family: var(--tech-font);
}

.tf-btn.btn-fill, .tf-btn.btn-fill span, a.tf-btn.btn-fill {
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 65%, var(--accent-3)) !important;
  border: none !important;
  color: #041018 !important;
  box-shadow: var(--glow-cyan);
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tf-btn.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.55);
  color: #041018 !important;
}

.tf-btn.btn-outline, .tf-btn.btn-outline-2, .tf-btn.btn-line,
.tf-btn.btn-outline-light {
  border: 1px solid var(--border-glass-strong) !important;
  color: var(--ink) !important;
  background: rgba(34, 211, 238, 0.06) !important;
  backdrop-filter: blur(6px);
}
.tf-btn.btn-outline:hover, .tf-btn.btn-outline-2:hover, .tf-btn.btn-line:hover,
.tf-btn.btn-outline-light:hover {
  background: rgba(34, 211, 238, 0.16) !important;
  box-shadow: var(--glow-cyan);
  color: var(--accent) !important;
}

.box-icon, .box-icon.bg_white, .add-to-cart.box-icon, .wishlist.box-icon {
  background: var(--surface-glass-strong) !important;
  border: 1px solid var(--border-glass) !important;
  color: var(--ink) !important;
  backdrop-filter: blur(8px);
}
.box-icon:hover { border-color: var(--accent) !important; color: var(--accent) !important; box-shadow: var(--glow-cyan); }

/* ---------- header ---------- */
#header.header-default, #header.header-white, #header {
  background: rgba(6, 10, 22, 0.72) !important;
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-glass);
}
#header .item-link, #header .menu-link-text, #header .nav-icon-item, #header a {
  color: var(--ink) !important;
}
#header .item-link:hover, #header .nav-icon-item:hover { color: var(--accent) !important; }
#header .logo-header img { filter: drop-shadow(0 0 10px rgba(34,211,238,.35)); }

.sub-menu.mega-menu, .sub-menu.submenu-default, .tf-search-box-wrap, .tf-search-content,
#header-search-results, .tf-search-results-wrap {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border-glass) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.sub-menu .menu-link-text, .sub-menu .menu-heading, .sub-menu a { color: var(--ink) !important; }
.sub-menu .menu-link-text:hover { color: var(--accent) !important; }

.fav-header-badge { background: linear-gradient(135deg, var(--accent-2), var(--accent)) !important; color: #04121a !important; }

/* ---------- flat nav (Qubo-style: flat links + underline) ---------- */
.nima-flatnav-wrap { position: relative; }
.nima-flatnav,
.nima-flatnav-item,
.nima-flatnav .item-link {
  background: transparent !important;
  box-shadow: none !important;
}
#header .nima-flatnav .item-link::before,
#header .nima-flatnav-item:hover .item-link::before {
  content: none !important;
  display: none !important;
}
.nima-flatnav .item-link {
  position: relative;
  padding-bottom: 8px !important;
  font-family: var(--tech-font);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nima-flatnav .item-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nima-flatnav-item:hover .item-link::after,
.nima-flatnav-item.current .item-link::after {
  transform: scaleX(1);
}
.nima-flatnav-item:hover .item-link,
.nima-flatnav-item.current .item-link {
  color: var(--accent) !important;
  background: transparent !important;
}

/* ---------- subnav strip (second row, shown under the active category) ---------- */
.nima-subnav-strip {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  z-index: 950 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: rgba(6, 10, 22, 0.96) !important;
  background-image: none !important;
  backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid transparent !important;
  box-shadow: none !important;
  transition: max-height .25s ease, opacity .2s ease, border-color .2s ease;
}
.nima-subnav-strip.open {
  max-height: 460px !important;
  overflow: visible !important;
  opacity: 1 !important;
  pointer-events: all !important;
  border-top-color: var(--border-glass-strong) !important;
}

/* Kill the base theme's own hover artifacts inside the flat nav so nothing
   else renders behind/instead of the subnav strip above. */
#header .nima-flatnav .menu-item > a::after,
#header .nima-flatnav .menu-item:hover > a::after {
  content: none !important;
  display: none !important;
}
#header .nima-flatnav .menu-item > .sub-menu,
#header .nima-flatnav .menu-item:hover > .sub-menu {
  display: none !important;
}
.nima-subnav-row {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}
.nima-subnav-row.active { display: flex; }
.nima-subnav-pill {
  font-family: var(--tech-font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted) !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color .2s ease;
}
.nima-subnav-pill:hover { color: var(--accent) !important; }
.nima-subnav-pill-all {
  color: var(--accent) !important;
  font-weight: 600;
  border-left: 1px solid var(--border-glass);
  padding-left: 28px;
}

/* ---------- Qubo-style full-width category rows (L1 tabs, L2 + L3 stacked below) ---------- */
.nima-cat-fullrow { padding: 0 !important; flex-direction: column !important; align-items: stretch !important; }

.nima-cat-row1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
  padding: 18px 0;
}
.nima-cat-r1-item > a {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-family: var(--tech-font);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink) !important;
  white-space: nowrap;
}
.nima-cat-r1-item > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nima-cat-r1-item:hover > a,
.nima-cat-r1-item.active > a { color: var(--accent) !important; }
.nima-cat-r1-item:hover > a::after,
.nima-cat-r1-item.active > a::after { transform: scaleX(1); }
.nima-cat-r1-all > a { color: var(--accent) !important; }

.nima-cat-row2,
.nima-cat-row3 {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 16px 0;
  border-top: 1px solid var(--border-glass);
}
.nima-cat-row2.active,
.nima-cat-row3.active { display: flex; }

.nima-cat-r2-item > a {
  font-family: var(--tech-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted) !important;
  white-space: nowrap;
  transition: color .15s ease;
}
.nima-cat-r2-item:hover > a { color: var(--accent) !important; }

.nima-cat-r3-item > a {
  font-size: 13px;
  color: var(--ink-faint) !important;
  white-space: nowrap;
  transition: color .15s ease;
}
.nima-cat-r3-item > a:hover { color: var(--accent) !important; }

@media (max-width: 991px) {
  .nima-cat-row1, .nima-cat-row2, .nima-cat-row3 { gap: 20px; }
}

/* offcanvas: mobile menu / search / login */
.offcanvas, .mobile-menu-inner, #canvasLogin, #canvasSearch, #mobileMenu {
  background: var(--bg-elevated) !important;
  color: var(--ink) !important;
  border-left: 1px solid var(--border-glass);
}

/* ---------- hero slider ---------- */
.tf-slideshow .wrap-slider { position: relative; }
.tf-slideshow .wrap-slider::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,13,.15) 0%, rgba(5,7,13,.75) 100%);
  pointer-events: none;
}
.tf-slideshow .box-content { z-index: 2; }
.tf-slideshow .fade-item-1 {
  color: var(--accent) !important;
  font-family: var(--tech-font);
  letter-spacing: 0.25em;
  text-shadow: 0 0 18px rgba(34,211,238,.6);
}
.tf-slideshow .heading { text-shadow: 0 4px 30px rgba(0,0,0,.6); }

/* ---------- section titles ---------- */
.flat-title .title, section .title { color: var(--ink) !important; }
.flat-title .title::after {
  content: "";
  display: block;
  width: 64px; height: 3px; margin-top: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: 3px;
}

/* ---------- category / collection cards ---------- */
.collection-item-v2 .collection-inner, .collection-item .collection-inner {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-glass);
  background: var(--bg-elevated-2);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.collection-item-v2:hover .collection-inner, .collection-item:hover .collection-inner {
  border-color: var(--border-glass-strong);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}
/* Product photos are shot on white/light backdrops by admins, so overlay a
   dark gradient behind the card text to guarantee contrast regardless of
   the underlying photo's own background color. */
.collection-item-v2 .collection-inner::before, .collection-item .collection-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,5,12,.55) 0%, rgba(3,5,12,.05) 35%, rgba(3,5,12,.05) 55%, rgba(3,5,12,.75) 100%);
  pointer-events: none;
  z-index: 1;
}
.collection-item-v2 .collection-content, .collection-item .collection-content { z-index: 2; }
.collection-item-v2 .collection-content .heading, .collection-item .collection-content .heading { color: #fff !important; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.collection-item-v2 .subheading { color: rgba(255,255,255,.85) !important; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.collection-title.btn-light { background: var(--surface-glass-strong) !important; color: var(--ink) !important; }

/* ---------- product cards ---------- */
.card-product { position: relative; }
.card-product-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  transition: border-color .3s ease, box-shadow .35s ease, transform .35s ease;
}
.card-product:hover .card-product-wrapper {
  border-color: var(--border-glass-strong);
  box-shadow: var(--glow-cyan);
  transform: translateY(-5px);
}
.card-product-wrapper .product-img { background: var(--bg-elevated-2); }
.card-product-info .title.link, .card-product-home .title.link { color: var(--ink) !important; font-weight: 500; }
.card-product-info .title.link:hover { color: var(--accent) !important; }
.card-product-info .current-price, #price.current-price {
  color: var(--accent) !important;
  font-family: var(--tech-font);
  font-weight: 700;
}
.card-product-info .old-price, #product-striped-price-div { color: var(--ink-faint) !important; }

/* ---------- swiper nav / dots ---------- */
.nav-sw.box-icon {
  background: var(--surface-glass-strong) !important;
  border: 1px solid var(--border-glass) !important;
  color: var(--ink) !important;
}
.nav-sw.box-icon:hover { border-color: var(--accent) !important; color: var(--accent) !important; }
.sw-dots .swiper-pagination-bullet { background: var(--ink-faint) !important; opacity: .6; }
.sw-dots .swiper-pagination-bullet-active { background: var(--accent) !important; opacity: 1; box-shadow: var(--glow-cyan); }

/* ---------- page-number pagination (product listing, blog, etc.) ---------- */
.tf-pagination-list .pagination-link,
.wg-pagination .pagination-item {
  color: var(--ink-muted) !important;
  background: var(--surface-glass) !important;
  border-color: var(--border-glass) !important;
}
.tf-pagination-list .pagination-link:hover,
.wg-pagination .pagination-item:hover {
  color: var(--accent) !important;
  border-color: var(--border-glass-strong) !important;
}
.tf-pagination-list .active .pagination-link,
.wg-pagination .active .pagination-item {
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 65%, var(--accent-3)) !important;
  color: #04121a !important;
  border-color: transparent !important;
  box-shadow: var(--glow-cyan);
}

/* ---------- footer ---------- */
#footer.footer, .footer {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, #030509 100%) !important;
  border-top: 1px solid var(--border-glass);
  color: var(--ink-muted);
}
.footer-heading, .footer .heading { color: var(--ink) !important; }
.footer-menu_item, .footer a { color: var(--ink-muted) !important; }
.footer-menu_item:hover { color: var(--accent) !important; }
.footer-newsletter input, .footer input[type="email"], .footer input[type="text"] {
  background: var(--surface-glass) !important;
  border: 1px solid var(--border-glass) !important;
  color: var(--ink) !important;
}
.footer-bottom { border-top: 1px solid var(--border-glass); }

/* ---------- forms / inputs (site-wide) ---------- */
input, select, textarea, .form-control, .nice-select, .bootstrap-select .dropdown-toggle {
  background: var(--surface-glass) !important;
  border: 1px solid var(--border-glass) !important;
  color: var(--ink) !important;
}
input::placeholder, textarea::placeholder { color: var(--ink-faint) !important; }
input:focus, select:focus, textarea:focus, .form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(34,211,238,.15) !important;
}

/* ---------- modals / iziModal / quick view ---------- */
.iziModal, .modal-content, .modal-body, #quick-view, .izimodal-content {
  background: var(--bg-elevated) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border-glass);
}

/* ---------- badges ---------- */
.tf-product-info-badges .badge, .tf-badge, .card-product .on-sale-wrap span {
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2)) !important;
  color: #fff !important;
  border: none !important;
}

/* ---------- cart/bag icon (a dark PNG, not a font icon, so it can't inherit
   theme text color -- force it white via filter instead) ---------- */
img[src*="woman-bag.png"] { filter: brightness(0) invert(1); }

/* ---------- subscription plans / renewal page ---------- */
.nima-plan-card { display: flex; flex-direction: column; text-align: left; }
.nima-plan-price {
  font-family: var(--heading-font); font-weight: 700; font-size: 30px;
  color: var(--accent); margin: 6px 0 18px;
}
.nima-plan-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.nima-plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink-muted); font-size: 14px; line-height: 1.6; margin-bottom: 10px;
}
.nima-plan-features li .icon { color: var(--live); margin-top: 3px; flex-shrink: 0; }
.nima-choose-plan-btn { margin-top: auto; }

#subscriptionCheckoutModal .modal-content {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border-glass);
  color: var(--ink);
}
#subscriptionCheckoutModal .modal-header,
#subscriptionCheckoutModal .modal-footer { border-color: var(--border-glass); }
#subscriptionCheckoutModal .form-label { color: var(--ink-muted); }

.nima-subscription-table { color: var(--ink); }
.nima-subscription-table thead th {
  color: var(--ink-muted); font-family: var(--tech-font); font-weight: 600;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--border-glass-strong);
}
.nima-subscription-table td { border-color: var(--border-glass); vertical-align: middle; }
.nima-sub-status {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.nima-sub-status-success { background: rgba(52,211,153,.14); color: var(--live); }
.nima-sub-status-pending { background: rgba(255,179,33,.14); color: #ffb321; }
.nima-sub-status-failed { background: rgba(255,84,112,.14); color: var(--danger); }

/* ---------- checkout "Amazon-style steps" (left column: Account / Shipping /
   Payment) -- like the sidebar below, this whole component's base styling is
   defined directly in styles.css with hardcoded light colors, separate from
   (and in addition to) checkout.php's own style block, so it needs its own
   override pass here too. ---------- */
.az-step { background: var(--surface-glass) !important; border-color: var(--border-glass) !important; }
.az-step.done .az-step-head { background: rgba(255,255,255,0.03) !important; }
.az-step.az-open .az-step-head { border-bottom-color: var(--border-glass) !important; }
.az-step-body { border-top-color: var(--border-glass) !important; }
.az-step-num { border-color: var(--border-glass-strong) !important; color: var(--ink-muted) !important; }
.az-step-num.done, .az-open .az-step-num.active { background: var(--accent) !important; border-color: var(--accent) !important; color: #04121a !important; }
.az-step-title { color: var(--ink) !important; }
.az-step-peek { color: var(--ink-faint) !important; }

.az-id-desc { color: var(--ink-muted) !important; }
.az-id-check-label { color: var(--ink-muted) !important; }
.az-id-mandatory { color: var(--ink-faint) !important; }
.az-id-label { color: var(--ink-muted) !important; }
.az-id-input {
  background: rgba(255,255,255,0.04) !important;
  border-color: var(--border-glass) !important;
  color: var(--ink) !important;
}
.az-id-input:focus { border-color: var(--accent) !important; }
.az-id-input::placeholder { color: var(--ink-faint) !important; }
.az-id-check-row { color: var(--accent) !important; }
.az-id-checkbox { accent-color: var(--accent) !important; }
.az-id-check-label a { color: var(--accent) !important; }
.az-id-or { color: var(--ink-faint) !important; }
.az-id-hr { border-top-color: var(--border-glass) !important; }
.az-social-btn {
  border-color: var(--border-glass) !important;
  background: rgba(255,255,255,0.04) !important;
  color: var(--ink) !important;
}
.az-social-btn:hover { border-color: var(--accent) !important; background: rgba(34,211,238,0.08) !important; color: var(--ink) !important; }
.az-id-logged { color: var(--ink-muted) !important; }
.az-id-label, .co-addr-label { color: var(--ink-muted) !important; }

/* ---------- checkout "LV luxury" order-summary sidebar (defined in the base
   styles.css itself with hardcoded light colors, not in checkout.php's own
   style block -- override here so it doesn't fall through to the light theme) ---------- */
.lv-checkout {
  background: var(--surface-glass) !important;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
}
.lv-title, .lv-cart-review__head .lv-title { color: var(--ink) !important; }
.lv-link, .lv-checkout__cart-review-modify { color: var(--accent) !important; }
.lv-product { border-bottom-color: var(--border-glass) !important; }
.lv-product__name { color: var(--ink) !important; }
.lv-product__meta { color: var(--ink-faint) !important; }
.lv-product__price { color: var(--ink-muted) !important; }
.lv-row { color: var(--ink-muted) !important; }
.lv-row span { color: inherit; }
.lv-total { color: var(--ink) !important; font-weight: 700; }
.lv-total .heading-s { color: var(--ink) !important; }
.lv-summary { color: var(--ink-muted); }
.lv-reinsurance { border-top-color: var(--border-glass) !important; }
.lv-re-item .icon, .lv-re-item svg { color: var(--accent) !important; fill: var(--accent) !important; }
.lv-text-label { color: var(--ink) !important; }
.lv-re-item .text, .lv-re-item p { color: var(--ink-muted) !important; }
.addressmodal, .lv-checkout__cart-review-modify { box-shadow: 0 2px 0 -1px var(--border-glass-strong) !important; }
#guest-cart-notice { color: var(--ink-muted) !important; }

/* "Continue" / "Place Order" buttons on checkout -- hardcoded solid-black
   in the base theme */
.pp-btn, #place_order_btn, .az-continue .button {
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 65%, var(--accent-3)) !important;
  color: #04121a !important;
  border: none !important;
  box-shadow: var(--glow-cyan);
}

/* ---------- generic Bootstrap dark-text utilities (invisible on our dark theme) ---------- */
.text-dark, .text-black { color: var(--ink) !important; }

/* ---------- generic Bootstrap components used on checkout (payment method
   table, bank-transfer instructions) -- unstyled by the theme, so still
   render with Bootstrap's light defaults ---------- */
.table, .table-step-shipping {
  color: var(--ink) !important;
  background: transparent !important;
}
.table td, .table th, .table-step-shipping td, .table-step-shipping th {
  border-color: var(--border-glass) !important;
  color: var(--ink-muted);
}
.table-step-shipping label { color: var(--ink) !important; }
.payment-gateway-images {
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}
.alert {
  border: 1px solid var(--border-glass) !important;
  color: var(--ink) !important;
}
.alert-warning { background: rgba(255, 179, 33, 0.1) !important; color: #ffb321 !important; }
.alert-info { background: rgba(34, 211, 238, 0.08) !important; color: var(--ink) !important; }
.alert-danger { background: rgba(255, 84, 112, 0.1) !important; color: var(--danger) !important; }
.alert-success { background: rgba(52, 211, 153, 0.1) !important; color: var(--live) !important; }

/* ---------- breadcrumb ---------- */
.tf-breadcrumb, .tf-breadcrumb-list .text, .tf-breadcrumb-list a { color: var(--ink-muted) !important; }
.tf-breadcrumb-list a:hover { color: var(--accent) !important; }

/* ==========================================================================
   Landing-page components (home.php marketing sections)
   ========================================================================== */

.nima-live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--live);
  font-family: var(--tech-font);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.nima-live-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 10px var(--live);
  animation: nima-pulse 1.6s ease-in-out infinite;
}
@keyframes nima-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .5; }
}

.nima-section { padding: 90px 0; }
.nima-section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.nima-eyebrow {
  display: inline-block; font-family: var(--tech-font); font-size: 13px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.nima-section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.nima-section-head p { color: var(--ink-muted); font-size: 17px; line-height: 1.6; }

.nima-grid { display: grid; gap: 24px; }
.nima-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.nima-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .nima-grid.cols-4, .nima-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nima-grid.cols-4, .nima-grid.cols-3 { grid-template-columns: 1fr; } }

.nima-card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 32px 26px;
  background: linear-gradient(180deg, var(--surface-glass-strong), var(--surface-glass));
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nima-card:hover { transform: translateY(-6px); border-color: var(--border-glass-strong); box-shadow: var(--glow-cyan); }
.nima-card .nima-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(124,92,255,.18));
  border: 1px solid var(--border-glass-strong);
  color: var(--accent); font-size: 22px; margin-bottom: 18px;
}
.nima-card h3 { font-size: 19px; margin-bottom: 10px; }
.nima-card p { color: var(--ink-muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* how it works */
.nima-steps { counter-reset: nima-step; }
.nima-step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--radius-card);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
}
.nima-step::before {
  counter-increment: nima-step;
  content: counter(nima-step);
  position: absolute; top: -18px; left: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tech-font); font-weight: 700;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #04121a;
  box-shadow: var(--glow-cyan);
}
.nima-step h3 { font-size: 18px; margin: 10px 0 8px; }
.nima-step p { color: var(--ink-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* stats bar */
.nima-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-glass);
  background: linear-gradient(135deg, rgba(34,211,238,.06), rgba(124,92,255,.06));
  padding: 36px 20px;
}
@media (max-width: 767px) { .nima-stats { grid-template-columns: repeat(2, 1fr); } }
.nima-stat { text-align: center; }
.nima-stat .num {
  font-family: var(--heading-font); font-weight: 700; font-size: clamp(26px, 3vw, 38px);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nima-stat .label { color: var(--ink-muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }

/* testimonials */
.nima-testimonial {
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
}
.nima-testimonial .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.nima-testimonial p.quote { color: var(--ink); font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.nima-testimonial .who { display: flex; align-items: center; gap: 12px; }
.nima-testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tech-font); font-weight: 700; color: #04121a;
}
.nima-testimonial .who strong { display: block; color: var(--ink); font-size: 14px; }
.nima-testimonial .who span { color: var(--ink-faint); font-size: 12.5px; }

/* final CTA banner */
.nima-cta {
  position: relative; overflow: hidden;
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  border: 1px solid var(--border-glass-strong);
  background:
    radial-gradient(60% 120% at 20% 0%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(60% 120% at 80% 100%, rgba(124,92,255,.18), transparent 60%),
    linear-gradient(180deg, var(--bg-elevated-2), var(--bg-deep));
}
.nima-cta h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.nima-cta p { color: var(--ink-muted); font-size: 16px; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.nima-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- ecosystem / product-line showcase ---------- */
.nima-eco-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 991px) { .nima-eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nima-eco-grid { grid-template-columns: 1fr; } }

.nima-eco-card {
  border-radius: var(--radius-card);
  padding: 26px;
  background: linear-gradient(180deg, var(--surface-glass-strong), var(--surface-glass));
  border: 1px solid var(--border-glass);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nima-eco-card:hover { transform: translateY(-6px); border-color: var(--border-glass-strong); box-shadow: var(--glow-cyan); }
.nima-eco-tag {
  display: inline-block; font-family: var(--tech-font); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.nima-eco-card h3 { font-size: 18px; margin-bottom: 8px; }
.nima-eco-card p { color: var(--ink-muted); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }

/* device mock-ups (placeholder visuals, no image assets required) */
.nima-mockup-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-glass-strong);
  background: linear-gradient(160deg, #0e1730, #060a14);
  margin-bottom: 18px;
}
.nima-mockup-phone {
  width: 92px; height: 160px; margin: 6px auto 18px;
  border-radius: 20px;
  border: 3px solid rgba(148,163,184,.35);
  background: linear-gradient(160deg, #0e1730, #060a14);
  position: relative;
  box-shadow: var(--glow-cyan);
}
.nima-mockup-phone::before {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 4px; border-radius: 3px; background: rgba(148,163,184,.45);
}
.nima-mockup-phone .row { position: absolute; left: 10px; right: 10px; height: 6px; border-radius: 3px; background: rgba(34,211,238,.35); }
.nima-mockup-phone .row.r1 { top: 30px; width: 60%; }
.nima-mockup-phone .row.r2 { top: 44px; background: rgba(124,92,255,.35); width: 80%; }
.nima-mockup-phone .pin { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--accent), var(--accent-3)); box-shadow: 0 0 16px rgba(34,211,238,.7); }
.nima-mockup-phone .dots { position: absolute; bottom: 14px; left: 10px; right: 10px; display: flex; gap: 4px; }
.nima-mockup-phone .dots span { flex: 1; height: 3px; border-radius: 2px; background: rgba(148,163,184,.3); }

.nima-mockup-monitor {
  width: 100%; height: 120px; margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid var(--border-glass-strong);
  background:
    repeating-linear-gradient(90deg, rgba(34,211,238,.06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(34,211,238,.06) 0 1px, transparent 1px 30px),
    linear-gradient(160deg, #0e1730, #060a14);
  position: relative;
  box-shadow: var(--glow-blue);
}
.nima-mockup-monitor::before {
  content: "";
  position: absolute; top: 16px; left: 16px; width: 46%; height: 8px; border-radius: 4px;
  background: rgba(52,211,153,.55);
}
.nima-mockup-monitor::after {
  content: "";
  position: absolute; bottom: 14px; right: 16px; width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--accent-3));
  box-shadow: 0 0 14px rgba(124,92,255,.8);
}
.nima-mockup-badge {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--tech-font); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--live);
  display: flex; align-items: center; gap: 5px;
}
.nima-mockup-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }

/* ---------- cart / listing / product-detail dark reskin ---------- */
.lv-cart-page, .lv-shopping-item-card-new, .lv-summary-panel, .lv-summary,
.tf-shop-control, .tf-product-info-wrap, .tf-product-media-wrap {
  color: var(--ink);
}
.ef-showcase { background: var(--bg-elevated) !important; }
