/*
 * AdeptDEV Dark System v1.0.0
 * Copyright (c) 2026 AdeptDEV
 * by AdeptDEV | Telegram: https://t.me/tcpraw
 */
body.nx-dark {
  --ad-dark-bg: #100e11;
  --ad-dark-bg-2: #151216;
  --ad-dark-surface: #1b171c;
  --ad-dark-surface-2: #221d23;
  --ad-dark-surface-3: #2a2329;
  --ad-dark-text: #f7f3f4;
  --ad-dark-muted: #aaa0a4;
  --ad-dark-line: rgba(255,255,255,.09);
  --ad-dark-accent: #ef3347;
  --ad-dark-shadow: 0 18px 50px rgba(0,0,0,.34);
  color: var(--ad-dark-text);
  background: var(--ad-dark-bg) !important;
  color-scheme: dark;
}
body.nx-dark,
body.nx-dark #common-home,
body.nx-dark #content,
body.nx-dark main,
body.nx-dark .adeptdev-home,
body.nx-dark .container-fluid,
body.nx-dark .content-wrapper {
  background-color: var(--ad-dark-bg) !important;
}
body.nx-dark #common-home.adeptdev-home {
  background:
    radial-gradient(circle at 80% 8%, rgba(112,25,38,.14), transparent 28%),
    linear-gradient(180deg, #100e11 0%, #121014 100%) !important;
}
body.nx-dark h1, body.nx-dark h2, body.nx-dark h3, body.nx-dark h4,
body.nx-dark h5, body.nx-dark h6, body.nx-dark .heading-title,
body.nx-dark .page-title, body.nx-dark label { color: var(--ad-dark-text) !important; }
body.nx-dark p, body.nx-dark .text-muted, body.nx-dark small,
body.nx-dark .help-block { color: var(--ad-dark-muted); }
body.nx-dark a:not(.btn):not(.adev-cart):not(.nx-catalog-button) { color: #eee8ea; }
body.nx-dark a:not(.btn):hover { color: #ff6878; }
body.nx-dark hr { border-color: var(--ad-dark-line); }

/* Generic OpenCart surfaces */
body.nx-dark .panel, body.nx-dark .well, body.nx-dark .card,
body.nx-dark .list-group, body.nx-dark .list-group-item,
body.nx-dark .thumbnail, body.nx-dark .product-thumb,
body.nx-dark .modal-content, body.nx-dark .dropdown-menu,
body.nx-dark .popover, body.nx-dark .table-responsive,
body.nx-dark .breadcrumb, body.nx-dark .pagination > li > a,
body.nx-dark .pagination > li > span {
  color: var(--ad-dark-text);
  background: var(--ad-dark-surface) !important;
  border-color: var(--ad-dark-line) !important;
  box-shadow: none;
}
body.nx-dark .panel-heading, body.nx-dark .panel-footer,
body.nx-dark .modal-header, body.nx-dark .modal-footer,
body.nx-dark .list-group-item:hover, body.nx-dark .dropdown-menu > li > a:hover {
  background: var(--ad-dark-surface-2) !important;
  border-color: var(--ad-dark-line) !important;
  color: var(--ad-dark-text) !important;
}
body.nx-dark .table > thead > tr > th,
body.nx-dark .table > tbody > tr > th,
body.nx-dark .table > tfoot > tr > th,
body.nx-dark .table > thead > tr > td,
body.nx-dark .table > tbody > tr > td,
body.nx-dark .table > tfoot > tr > td { border-color: var(--ad-dark-line); }
body.nx-dark .table-striped > tbody > tr:nth-of-type(odd) { background: rgba(255,255,255,.025); }
body.nx-dark .table-hover > tbody > tr:hover { background: rgba(239,51,71,.07); }
body.nx-dark input, body.nx-dark select, body.nx-dark textarea,
body.nx-dark .form-control, body.nx-dark .input-group-addon {
  color: var(--ad-dark-text) !important;
  background: var(--ad-dark-surface-2) !important;
  border-color: var(--ad-dark-line) !important;
}
body.nx-dark input::placeholder, body.nx-dark textarea::placeholder { color: #82787d !important; }
body.nx-dark .form-control:focus {
  border-color: rgba(239,51,71,.65) !important;
  box-shadow: 0 0 0 3px rgba(239,51,71,.12) !important;
}
body.nx-dark .btn-default {
  color: var(--ad-dark-text) !important;
  background: var(--ad-dark-surface-2) !important;
  border-color: var(--ad-dark-line) !important;
}
body.nx-dark .btn-default:hover { background: var(--ad-dark-surface-3) !important; }
body.nx-dark .alert-info { background:#17272e; border-color:#28434e; color:#c9edf8; }
body.nx-dark .alert-success { background:#16291f; border-color:#26513a; color:#c9f4d8; }
body.nx-dark .alert-warning { background:#302817; border-color:#594827; color:#ffe9ae; }
body.nx-dark .alert-danger { background:#351a20; border-color:#64303b; color:#ffd0d6; }

/* Homepage hero */
body.nx-dark .adev-hero { color: var(--ad-dark-text); }
body.nx-dark .adev-hero__stage,
body.nx-dark .adev-hero__sale,
body.nx-dark .adev-pulse {
  border-color: var(--ad-dark-line) !important;
  box-shadow: var(--ad-dark-shadow) !important;
}
body.nx-dark .adev-hero__stage { background: #181519 !important; }
body.nx-dark .adev-hero__overlay {
  background: linear-gradient(90deg, rgba(8,7,9,.86), rgba(8,7,9,.2) 62%, rgba(8,7,9,.06)) !important;
}
body.nx-dark .adev-hero__slide,
body.nx-dark .adev-hero__copy,
body.nx-dark .adev-hero__description { color: #fff !important; }
body.nx-dark .adev-hero__nav {
  color:#fff !important; background:rgba(18,15,19,.78) !important;
  border-color:rgba(255,255,255,.12) !important;
}
body.nx-dark .adev-hero__sale {
  background: linear-gradient(145deg,#a71f31,#d52c40) !important;
}
body.nx-dark .adev-pulse {
  color: var(--ad-dark-text) !important;
  background: linear-gradient(160deg,#211c22,#181519) !important;
}
body.nx-dark .adev-pulse__top,
body.nx-dark .adev-pulse__content,
body.nx-dark .adev-pulse__content h2,
body.nx-dark .adev-pulse__content h3 { color: var(--ad-dark-text) !important; }
body.nx-dark .adev-pulse__content p { color: var(--ad-dark-muted) !important; }
body.nx-dark .adev-pulse__visual { background:#d93045 !important; box-shadow:0 14px 35px rgba(217,48,69,.26); }
body.nx-dark .adev-pulse__tabs { background:var(--ad-dark-surface-2) !important; }
body.nx-dark .adev-pulse__tabs button { color:var(--ad-dark-muted) !important; background:transparent !important; }
body.nx-dark .adev-pulse__tabs button.is-active,
body.nx-dark .adev-pulse__tabs button.active { color:#fff !important; background:#342a31 !important; }
body.nx-dark .adev-pulse__action { color:#fff !important; background:#2b252c !important; border-color:var(--ad-dark-line)!important; }

/* Recommendations and product cards */
body.nx-dark .adev-rec { --ink:var(--ad-dark-text); --muted:var(--ad-dark-muted); color:var(--ad-dark-text) !important; }
body.nx-dark .adev-rec__title,
body.nx-dark .adev-rec__title span { color:var(--ad-dark-text) !important; }
body.nx-dark .adev-rec__heading p { color:var(--ad-dark-muted) !important; }
body.nx-dark .adev-rec__mark {
  background:linear-gradient(145deg,#281d22,#1a161a) !important;
  border-color:rgba(239,51,71,.30) !important;
  box-shadow:0 12px 34px rgba(0,0,0,.28) !important;
}
body.nx-dark .adev-rec__count,
body.nx-dark .adev-rec__more {
  color:var(--ad-dark-text) !important;
  background:rgba(31,26,31,.92) !important;
  border-color:var(--ad-dark-line) !important;
  box-shadow:0 12px 34px rgba(0,0,0,.25) !important;
}
body.nx-dark .adev-card {
  color:var(--ad-dark-text) !important;
  background:linear-gradient(180deg,#1c181d 0%,#181519 100%) !important;
  border-color:var(--ad-dark-line) !important;
  box-shadow:0 14px 38px rgba(0,0,0,.24) !important;
}
body.nx-dark .adev-card:hover { border-color:rgba(239,51,71,.34) !important; box-shadow:0 24px 54px rgba(0,0,0,.42) !important; }
body.nx-dark .adev-card__image { background:linear-gradient(145deg,#262127,#1d191e) !important; }
body.nx-dark .adev-card__image img { filter:brightness(.94) contrast(1.04); }
body.nx-dark .adev-icon-btn { color:#f4eef0 !important; background:rgba(31,27,32,.94) !important; border-color:var(--ad-dark-line) !important; box-shadow:0 8px 20px rgba(0,0,0,.28) !important; }
body.nx-dark .adev-card__model,
body.nx-dark .adev-card__rating small { color:#999095 !important; }
body.nx-dark .adev-card__name { color:var(--ad-dark-text) !important; }
body.nx-dark .adev-card__price del { color:#8e858a !important; }

/* Catalog/product/account/checkout */
body.nx-dark .product-layout .product-thumb,
body.nx-dark .product-grid .product-thumb,
body.nx-dark .product-list .product-thumb,
body.nx-dark .category-content,
body.nx-dark .product-info,
body.nx-dark .product-page,
body.nx-dark .checkout-cart,
body.nx-dark #checkout-checkout,
body.nx-dark #account-account,
body.nx-dark #information-information,
body.nx-dark #product-category {
  color:var(--ad-dark-text);
}
body.nx-dark .product-thumb .image,
body.nx-dark .product-thumb .caption,
body.nx-dark .product-info .image,
body.nx-dark .product-info .thumbnails a {
  background:var(--ad-dark-surface) !important;
  border-color:var(--ad-dark-line) !important;
}
body.nx-dark .nav-tabs { border-color:var(--ad-dark-line); }
body.nx-dark .nav-tabs > li > a { color:var(--ad-dark-muted); border-color:transparent; }
body.nx-dark .nav-tabs > li.active > a,
body.nx-dark .nav-tabs > li.active > a:hover,
body.nx-dark .nav-tabs > li.active > a:focus {
  color:var(--ad-dark-text); background:var(--ad-dark-surface); border-color:var(--ad-dark-line); border-bottom-color:var(--ad-dark-surface);
}
body.nx-dark .breadcrumb > li + li:before { color:#777075; }
body.nx-dark .breadcrumb > li > a { color:#bdb4b8; }

/* Footer/modal consistency */
body.nx-dark footer, body.nx-dark .zk-footer { border-top-color:var(--ad-dark-line) !important; }
body.nx-dark #rega .login-register,
body.nx-dark #rega .modal-dialog,
body.nx-dark #rega [class*="modal-content"] {
  color:var(--ad-dark-text) !important; background:var(--ad-dark-surface) !important; border-color:var(--ad-dark-line) !important;
}

/* Smooth theme switch without animating layout */
body.nx-dark #common-home,
body.nx-dark #content,
body.nx-dark .adev-card,
body.nx-dark .adev-pulse,
body.nx-dark .adev-rec__count,
body.nx-dark .panel,
body.nx-dark .modal-content,
body.nx-dark input,
body.nx-dark select,
body.nx-dark textarea {
  transition:background-color .28s cubic-bezier(.2,.8,.2,1),color .28s cubic-bezier(.2,.8,.2,1),border-color .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s cubic-bezier(.2,.8,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  body.nx-dark #common-home, body.nx-dark #content, body.nx-dark .adev-card,
  body.nx-dark .adev-pulse, body.nx-dark .panel, body.nx-dark input,
  body.nx-dark select, body.nx-dark textarea { transition:none !important; }
}

/* Header/Pulse polish v1.0.1 */
body.nx-dark .nx-primary-links a {
  color: #c9c0c4 !important;
}
body.nx-dark .nx-primary-links a:hover,
body.nx-dark .nx-primary-links a:focus {
  color: #ffffff !important;
  background: rgba(255,255,255,.055) !important;
}
body.nx-dark .nx-phone__button {
  color: #f7f3f4 !important;
  background: linear-gradient(180deg,#252127 0%,#1d191e 100%) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.22) !important;
}
body.nx-dark .nx-phone__button:hover,
body.nx-dark .nx-phone__button:focus {
  color: #ffffff !important;
  background: linear-gradient(180deg,#302930 0%,#252027 100%) !important;
  border-color: rgba(239,51,71,.34) !important;
}
body.nx-dark .nx-phone__button svg,
body.nx-dark .nx-phone__button i {
  color: #f3ecef !important;
  fill: currentColor;
}
body.nx-dark .adev-pulse__visual {
  background: linear-gradient(145deg,#2b242b,#211c22) !important;
  border: 1px solid rgba(239,51,71,.24) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.nx-dark .adev-pulse__visual b,
body.nx-dark .adev-pulse__visual span,
body.nx-dark .adev-pulse__visual strong {
  color: #ff5367 !important;
}

/* Special products dark-theme integration v1.0.2 */
body.nx-dark .adpx-special-module {
  color: var(--ad-dark-text) !important;
  background:
    radial-gradient(circle at 0 0, rgba(239,51,71,.10), transparent 28%),
    linear-gradient(180deg,#171419 0%,#121014 100%) !important;
  border-color: var(--ad-dark-line) !important;
  box-shadow: var(--ad-dark-shadow) !important;
}
body.nx-dark .adpx-special-heading__title {
  color: var(--ad-dark-text) !important;
}
body.nx-dark .adpx-special-heading__title > span {
  color: var(--ad-dark-accent) !important;
}
body.nx-dark .adpx-special-heading__icon {
  background: linear-gradient(145deg,#2a2329,#1b171c) !important;
  border-color: rgba(239,51,71,.30) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.nx-dark .adpx-special-heading__count {
  color: var(--ad-dark-text) !important;
  background: rgba(31,26,31,.94) !important;
  border-color: var(--ad-dark-line) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.24) !important;
}
body.nx-dark .adpx-special-module .adpx-product-card {
  color: var(--ad-dark-text) !important;
  background: linear-gradient(180deg,#1c181d 0%,#181519 100%) !important;
  border-color: var(--ad-dark-line) !important;
}
body.nx-dark .adpx-special-module .adpx-special-image {
  background: linear-gradient(145deg,#262127,#1d191e) !important;
  border: 1px solid rgba(255,255,255,.055) !important;
}
body.nx-dark .adpx-special-module .adpx-special-image img[src*="placeholder"],
body.nx-dark .adpx-special-module .adpx-special-image img[src*="no_image"],
body.nx-dark .adpx-special-module .adpx-special-image img[src*="no-image"] {
  filter: invert(.88) hue-rotate(180deg) brightness(.78) contrast(.92) !important;
  opacity: .72 !important;
}
body.nx-dark .adpx-special-module .caption .model,
body.nx-dark .adpx-special-module .caption .rating,
body.nx-dark .adpx-special-module .caption .adpx-rating__value,
body.nx-dark .adpx-special-module .caption .adpx-rating__reviews {
  color: var(--ad-dark-muted) !important;
}
body.nx-dark .adpx-special-module .caption > a {
  color: var(--ad-dark-text) !important;
}

/* Company news premium dark-theme integration v1.0.3 */
body.nx-dark .adpx-news-block {
  position: relative;
  overflow: hidden;
  color: var(--ad-dark-text) !important;
  background:
    radial-gradient(circle at 0 0, rgba(239,51,71,.11), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(151,72,93,.08), transparent 34%),
    linear-gradient(180deg,#171419 0%,#121014 100%) !important;
  border-color: var(--ad-dark-line) !important;
  box-shadow: var(--ad-dark-shadow) !important;
}
body.nx-dark .adpx-news-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg,rgba(255,255,255,.025),transparent 32%,transparent 68%,rgba(239,51,71,.025));
}
body.nx-dark .adpx-news-block .module-head,
body.nx-dark .adpx-news-block #latest-news,
body.nx-dark .adpx-news-block .latest-pagination,
body.nx-dark .adpx-news-block .adpx-news-more {
  position: relative;
  z-index: 1;
}
body.nx-dark .adpx-news-block .module-title,
body.nx-dark .adpx-news-block .adpx-home-title-text {
  color: var(--ad-dark-text) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
body.nx-dark .adpx-news-block .module-head > span {
  color: var(--ad-dark-accent) !important;
}
body.nx-dark .adpx-news-block .adpx-home-title-icon--news {
  color: var(--ad-dark-accent) !important;
  background: linear-gradient(145deg,#2a2329,#1b171c) !important;
  border-color: rgba(239,51,71,.30) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.nx-dark .adpx-news-block .adpx-home-title-icon--news svg,
body.nx-dark .adpx-news-block .adpx-home-title-icon--news path {
  stroke: currentColor !important;
}
body.nx-dark .adpx-news-card {
  color: var(--ad-dark-text) !important;
  background: linear-gradient(180deg,#1d191e 0%,#181519 100%) !important;
  border-color: rgba(255,255,255,.075) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.28) !important;
}
body.nx-dark .adpx-news-card:hover {
  border-color: rgba(239,51,71,.34) !important;
  box-shadow: 0 24px 52px rgba(0,0,0,.42) !important;
}
body.nx-dark .adpx-news-card .img-a {
  background: linear-gradient(145deg,#282229,#1d191e) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045);
}
body.nx-dark .adpx-news-card .img-a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,transparent 62%,rgba(10,8,11,.18));
}
body.nx-dark .adpx-news-card .img-a { position: relative; }
body.nx-dark .adpx-news-card > span {
  color: #aaa0a5 !important;
}
body.nx-dark .adpx-news-card > a:not(.img-a) {
  color: #f5f0f2 !important;
}
body.nx-dark .adpx-news-card > a:not(.img-a):hover {
  color: #ff5367 !important;
}
body.nx-dark .adpx-news-card > p {
  color: var(--ad-dark-muted) !important;
}
body.nx-dark .adpx-news-card__more {
  color: #ff5367 !important;
  background: rgba(36,30,36,.92) !important;
  border-color: rgba(239,51,71,.34) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
body.nx-dark .adpx-news-card__more:hover,
body.nx-dark .adpx-news-card__more:focus {
  color: #fff !important;
  background: linear-gradient(135deg,#d92f43,#ef3347) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 26px rgba(239,51,71,.24) !important;
}
body.nx-dark .adpx-news-more {
  color: #eee7ea !important;
  background: rgba(31,26,31,.94) !important;
  border: 1px solid var(--ad-dark-line) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.24) !important;
}
body.nx-dark .adpx-news-more svg path {
  stroke: currentColor !important;
}
body.nx-dark .adpx-news-more:hover,
body.nx-dark .adpx-news-more:focus {
  color: #ff5367 !important;
  border-color: rgba(239,51,71,.32) !important;
  background: rgba(41,33,40,.98) !important;
}
body.nx-dark .adpx-news-block .swiper-pagination-bullet {
  background: #665b61 !important;
  opacity: .55 !important;
}
body.nx-dark .adpx-news-block .swiper-pagination-bullet-active {
  background: var(--ad-dark-accent) !important;
  opacity: 1 !important;
}
@media (max-width: 767px) {
  body.nx-dark .adpx-news-block {
    border-radius: 22px !important;
  }
  body.nx-dark .adpx-news-card {
    box-shadow: 0 12px 28px rgba(0,0,0,.24) !important;
  }
}

/* Partners premium continuous carousel v1.0.4 */
body.nx-dark .adpx-home-heading--partners > .module-title,
body.nx-dark .adpx-home-heading--partners .adpx-home-title-text {
  color: var(--ad-dark-text) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
body.nx-dark .adpx-home-heading--partners .adpx-home-title-icon--partners {
  color: var(--ad-dark-accent) !important;
  background: linear-gradient(145deg,#2a2329,#1b171c) !important;
  border-color: rgba(239,51,71,.30) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.nx-dark .adpx-partners-block {
  position: relative;
  overflow: hidden;
  margin-top: 8px !important;
  padding: 26px 0 30px !important;
  border-top-color: rgba(239,51,71,.18) !important;
  border-bottom-color: rgba(255,255,255,.055) !important;
  background:
    radial-gradient(circle at 12% 50%,rgba(239,51,71,.085),transparent 28%),
    radial-gradient(circle at 88% 50%,rgba(128,66,86,.06),transparent 30%),
    linear-gradient(180deg,#151217 0%,#100e12 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), inset 0 -1px 0 rgba(0,0,0,.34) !important;
}
body.nx-dark .adpx-partners-block::before,
body.nx-dark .adpx-partners-block::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: clamp(42px,7vw,120px);
  pointer-events: none;
}
body.nx-dark .adpx-partners-block::before {
  left: 0;
  background: linear-gradient(90deg,#100e12 12%,rgba(16,14,18,.82) 38%,transparent 100%);
}
body.nx-dark .adpx-partners-block::after {
  right: 0;
  background: linear-gradient(270deg,#100e12 12%,rgba(16,14,18,.82) 38%,transparent 100%);
}
body.nx-dark .adpx-partners-block .swiper-wrapper {
  transition-timing-function: linear !important;
  will-change: transform;
}
body.nx-dark .adpx-partner-card {
  height: 82px !important;
  border-color: rgba(255,255,255,.075) !important;
  background: linear-gradient(145deg,#242026 0%,#1b181d 100%) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
body.nx-dark .adpx-partner-card:hover {
  transform: translate3d(0,-3px,0) !important;
  border-color: rgba(239,51,71,.30) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.34), 0 0 0 1px rgba(239,51,71,.05) !important;
}
body.nx-dark .adpx-partner-card img {
  filter: grayscale(1) brightness(1.48) contrast(.88) !important;
  opacity: .78 !important;
}
body.nx-dark .adpx-partner-card:hover img {
  filter: grayscale(0) brightness(1.08) contrast(1) !important;
  opacity: 1 !important;
}
@media (max-width: 767px) {
  body.nx-dark .adpx-partners-block {
    padding: 20px 0 24px !important;
  }
  body.nx-dark .adpx-partner-card {
    height: 72px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.nx-dark .adpx-partners-block .swiper-wrapper {
    transition-duration: .45s !important;
  }
}

/* Company news heading counter alignment v1.0.5 */
.adpx-news-block .module-head.adpx-home-heading--news {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}
.adpx-news-block .adpx-news-heading__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  margin-left: auto;
  padding: 0 17px;
  border: 1px solid rgba(223,52,61,.18);
  border-radius: 16px;
  color: #30343b;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 28px rgba(20,24,34,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 750;
}
.adpx-news-block .adpx-news-heading__count svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #df343d;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.adpx-news-block .adpx-news-heading__count b {
  color: #171820;
  font-weight: 850;
}
body.nx-dark .adpx-news-block .adpx-news-heading__count {
  color: #e9e2e6 !important;
  background: linear-gradient(145deg,#272128,#1d191e) !important;
  border-color: rgba(239,51,71,.28) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.04) !important;
}
body.nx-dark .adpx-news-block .adpx-news-heading__count svg {
  stroke: var(--ad-dark-accent) !important;
}
body.nx-dark .adpx-news-block .adpx-news-heading__count b {
  color: #fff !important;
}
@media (max-width: 767px) {
  .adpx-news-block .module-head.adpx-home-heading--news {
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .adpx-news-block .adpx-news-heading__count {
    min-height: 42px;
    padding: 0 12px;
    gap: 7px;
    border-radius: 14px;
    font-size: 11px;
  }
  .adpx-news-block .adpx-news-heading__count svg {
    width: 18px;
    height: 18px;
  }
}

/* Company news heading parity with product sections v1.0.7 */
.adpx-news-block .adpx-news-title {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: .22em;
  color: #171820 !important;
}
.adpx-news-block .adpx-news-title__accent {
  color: #ef3347 !important;
}
.adpx-news-block .adpx-news-title__rest {
  color: #171820 !important;
}
body.nx-dark .adpx-news-block .adpx-news-title,
body.nx-dark .adpx-news-block .adpx-news-title__rest {
  color: #f6f2f4 !important;
}
body.nx-dark .adpx-news-block .adpx-news-title__accent {
  color: #ef3347 !important;
}

/* Keep the news total visually identical to the white product counters. */
body.nx-dark .adpx-news-block .adpx-news-heading__count {
  color: #3a3d44 !important;
  background: linear-gradient(180deg,#ffffff 0%,#f3f3f5 100%) !important;
  border-color: rgba(255,255,255,.72) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.96) !important;
}
body.nx-dark .adpx-news-block .adpx-news-heading__count svg {
  stroke: #ef3347 !important;
}
body.nx-dark .adpx-news-block .adpx-news-heading__count b {
  color: #171820 !important;
}

@media (max-width: 767px) {
  .adpx-news-block .adpx-news-title {
    column-gap: .18em;
  }
  .adpx-news-block .module-head.adpx-home-heading--news {
    align-items: center !important;
  }
  .adpx-news-block .adpx-news-heading__count-label {
    display: none;
  }
}

/* AdeptDEV company news premium header v1.0.9 */
.adpx-news-block .module-head.adpx-home-heading--news {
  width: 100% !important;
  margin: 0 0 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  text-align: left !important;
}
.adpx-news-block .module-head.adpx-home-heading--news .module-title {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  text-align: left !important;
}
.adpx-news-block .adpx-home-title-icon--news {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(239,51,71,.25) !important;
  border-radius: 16px !important;
  color: #ef3347 !important;
  background: linear-gradient(145deg,#fff,#f8f6f7) !important;
  box-shadow: 0 12px 28px rgba(20,24,34,.08), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.adpx-news-block .adpx-home-title-icon--news svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.adpx-news-block .adpx-news-title {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 0 .22em !important;
  font-size: clamp(26px,2.3vw,38px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
  text-align: left !important;
}
.adpx-news-block .adpx-news-heading__count {
  flex: 0 0 auto !important;
  min-width: 132px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 16px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
}
.adpx-news-block .adpx-news-heading__count-label {
  display: inline !important;
  color: #4a4d55 !important;
}
.adpx-news-block .adpx-news-heading__count b {
  font-size: 14px !important;
  font-weight: 900 !important;
}
body.nx-dark .adpx-news-block .adpx-home-title-icon--news {
  color: #ef3347 !important;
  background: linear-gradient(145deg,#282229,#1b181d) !important;
  border-color: rgba(239,51,71,.34) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.nx-dark .adpx-news-block .adpx-news-title__accent { color: #ef3347 !important; }
body.nx-dark .adpx-news-block .adpx-news-title__rest { color: #f6f2f4 !important; }
body.nx-dark .adpx-news-block .adpx-news-heading__count-label { color: #4a4d55 !important; }
.adpx-news-block > .adpx-news-more { display: none !important; }

@media (max-width: 767px) {
  .adpx-news-block .module-head.adpx-home-heading--news {
    gap: 12px !important;
    margin-bottom: 20px !important;
  }
  .adpx-news-block .module-head.adpx-home-heading--news .module-title {
    gap: 10px !important;
  }
  .adpx-news-block .adpx-home-title-icon--news {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 14px !important;
  }
  .adpx-news-block .adpx-news-title {
    font-size: clamp(21px,6.4vw,27px) !important;
    letter-spacing: -.035em !important;
  }
  .adpx-news-block .adpx-news-heading__count {
    min-width: auto !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
  }
  .adpx-news-block .adpx-news-heading__count-label {
    display: none !important;
  }
}

/* =========================================================
   AdeptDEV Login / Registration modal — final dark override
   v1.2.7
   ========================================================= */
body.nx-dark #rega.my-popup,
body.nx-dark #individ.my-popup,
body.nx-dark #touch.my-popup {
  color-scheme: dark;
}

body.nx-dark #rega.my-popup > .shadow,
body.nx-dark #individ.my-popup > .shadow,
body.nx-dark #touch.my-popup > .shadow {
  background: rgba(5, 5, 8, .72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

body.nx-dark #rega.my-popup > .modal-body,
body.nx-dark #individ.my-popup > .modal-body,
body.nx-dark #touch.my-popup > .modal-body {
  color: #f7f3f5 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 51, 71, .12), transparent 38%),
    linear-gradient(145deg, #211c22 0%, #171419 58%, #121014 100%) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .58),
    inset 0 1px 0 rgba(255, 255, 255, .055) !important;
}

body.nx-dark #rega .title,
body.nx-dark #individ .title,
body.nx-dark #touch .title {
  color: #fff !important;
}

body.nx-dark #rega .after-title,
body.nx-dark #individ .after-title,
body.nx-dark #touch .after-title,
body.nx-dark #rega .modal-buttons > p,
body.nx-dark #individ .modal-buttons > p,
body.nx-dark #touch .modal-buttons > p {
  color: #aaa1a8 !important;
}

body.nx-dark #rega .input input,
body.nx-dark #individ .input input,
body.nx-dark #touch .input input {
  color: #f8f4f6 !important;
  background: #262128 !important;
  border-color: rgba(255, 255, 255, .09) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

body.nx-dark #rega .input input::placeholder,
body.nx-dark #individ .input input::placeholder,
body.nx-dark #touch .input input::placeholder {
  color: #8f858d !important;
  opacity: 1 !important;
}

body.nx-dark #rega .input input:hover,
body.nx-dark #individ .input input:hover,
body.nx-dark #touch .input input:hover {
  border-color: rgba(239, 51, 71, .34) !important;
  background: #2b252d !important;
}

body.nx-dark #rega .input input:focus,
body.nx-dark #individ .input input:focus,
body.nx-dark #touch .input input:focus {
  border-color: #ef3347 !important;
  background: #2c252d !important;
  box-shadow: 0 0 0 3px rgba(239, 51, 71, .14) !important;
  outline: none !important;
}

body.nx-dark #rega .forgotten,
body.nx-dark #rega .btn-registration,
body.nx-dark #rega .btn-login,
body.nx-dark #individ .forgotten,
body.nx-dark #individ .btn-registration,
body.nx-dark #individ .btn-login,
body.nx-dark #touch .forgotten,
body.nx-dark #touch .btn-registration,
body.nx-dark #touch .btn-login {
  color: #ded6db !important;
}

body.nx-dark #rega .forgotten:hover,
body.nx-dark #rega .btn-registration:hover,
body.nx-dark #rega .btn-login:hover,
body.nx-dark #individ .forgotten:hover,
body.nx-dark #individ .btn-registration:hover,
body.nx-dark #individ .btn-login:hover,
body.nx-dark #touch .forgotten:hover,
body.nx-dark #touch .btn-registration:hover,
body.nx-dark #touch .btn-login:hover {
  color: #ff5365 !important;
}

body.nx-dark #rega .btn-primary,
body.nx-dark #individ .btn-primary,
body.nx-dark #touch .btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #d62f42, #a92131) !important;
  border-color: transparent !important;
  box-shadow: 0 13px 30px rgba(214, 47, 66, .23) !important;
}

body.nx-dark #rega .btn-primary:hover,
body.nx-dark #individ .btn-primary:hover,
body.nx-dark #touch .btn-primary:hover {
  background: linear-gradient(135deg, #ed3b50, #bd293a) !important;
  transform: translate3d(0, -1px, 0);
}

body.nx-dark #rega > .modal-body > button:first-child,
body.nx-dark #individ > .modal-body > button:first-child,
body.nx-dark #touch > .modal-body > button:first-child {
  color: #f4edf1 !important;
}

body.nx-dark #rega > .modal-body > button:first-child svg path,
body.nx-dark #individ > .modal-body > button:first-child svg path,
body.nx-dark #touch > .modal-body > button:first-child svg path {
  stroke: #f4edf1 !important;
}

body.nx-dark #rega .error-info-text,
body.nx-dark #individ .error-info-text,
body.nx-dark #touch .error-info-text {
  color: #ff6b79 !important;
}

body.nx-dark #rega .my-checkbox,
body.nx-dark #individ .my-checkbox,
body.nx-dark #touch .my-checkbox {
  color: #aaa1a8 !important;
}

@media (max-width: 767px) {
  body.nx-dark #rega.my-popup > .modal-body,
  body.nx-dark #individ.my-popup > .modal-body,
  body.nx-dark #touch.my-popup > .modal-body {
    border-color: rgba(255,255,255,.09) !important;
    box-shadow: 0 20px 55px rgba(0,0,0,.52) !important;
  }
}

/* =========================================================
   AdeptDEV consolidated regression guard v1.3.0
   Base: latest full backup supplied 2026-07-30
   Keeps all previously approved dark-mode fixes cumulative.
   Copyright (c) 2026 AdeptDEV | https://t.me/tcpraw
   ========================================================= */

/* AJAX search: dark loading state and both result columns. */
body.nx-dark .nx-ajax-results,
body.nx-dark .nx-search-panel,
body.nx-dark .nx-search-panel__products,
body.nx-dark .nx-search-panel__categories,
body.nx-dark .nx-search-panel__scroll,
body.nx-dark .nx-search-loading {
  background: #202228 !important;
  border-color: #343741 !important;
  color: #f6f3f5 !important;
}

body.nx-dark .nx-search-panel__head,
body.nx-dark .nx-search-panel__footer {
  background: #1b1c22 !important;
  border-color: #343741 !important;
}

body.nx-dark .nx-search-skeleton {
  border: 1px solid rgba(255,255,255,.045) !important;
  background: linear-gradient(
    90deg,
    #292b32 22%,
    #343740 38%,
    #292b32 56%,
    #24262c 72%
  ) !important;
  background-size: 420% 100% !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
  animation: nxSearchSkeletonDark 1.25s linear infinite !important;
}

@keyframes nxSearchSkeletonDark {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

body.nx-dark .nx-search-product,
body.nx-dark .nx-search-category {
  border-color: #343741 !important;
}

body.nx-dark .nx-search-product__media {
  border-color: #3b3e48 !important;
  background: linear-gradient(145deg,#2b2d35,#23252c) !important;
}

body.nx-dark .nx-search-product__media img {
  border-radius: 9px;
}

body.nx-dark .nx-search-empty {
  color: #a9a2a8 !important;
  background: #202228 !important;
}

/* Hero sale: keep the small kicker legible in dark mode. */
body.nx-dark .adev-hero__sale small,
body.nx-dark .adev-hero__sale [data-adev-i18n="sale_kicker"] {
  position: relative !important;
  z-index: 2 !important;
  color: rgba(255,255,255,.88) !important;
  opacity: 1 !important;
  text-shadow: 0 1px 10px rgba(52,0,8,.28) !important;
}

/* Pulse: never paint the visual container as a square. Keep original rings. */
body.nx-dark .adev-pulse__visual {
  position: relative !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.nx-dark .adev-pulse__visual i {
  display: block !important;
  position: absolute !important;
  border: 1px dashed rgba(255,74,92,.42) !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: 0 0 22px rgba(239,51,71,.075) !important;
  opacity: 1 !important;
  animation-name: adevPulseSpin !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

body.nx-dark .adev-pulse__visual i:first-child {
  inset: 8px !important;
  animation-duration: 14s !important;
  animation-direction: normal !important;
}

body.nx-dark .adev-pulse__visual i:nth-child(2) {
  inset: 19px !important;
  animation-duration: 10s !important;
  animation-direction: reverse !important;
}

body.nx-dark .adev-pulse__visual b {
  position: relative !important;
  z-index: 2 !important;
  color: #fff !important;
  background: linear-gradient(145deg,#b52a31,#e54d55) !important;
  border: 0 !important;
  box-shadow:
    0 12px 28px rgba(215,54,61,.30),
    0 0 28px rgba(239,51,71,.13) !important;
}

/* Login/register/recovery: desktop and mobile dark mode. */
body.nx-dark #rega.my-popup > .modal-body,
body.nx-dark #individ.my-popup > .modal-body,
body.nx-dark #touch.my-popup > .modal-body {
  color-scheme: dark !important;
  color: #f7f3f5 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(239,51,71,.13), transparent 39%),
    linear-gradient(145deg,#211c22 0%,#171419 58%,#121014 100%) !important;
  border-color: rgba(255,255,255,.09) !important;
}

@media (max-width: 767px) {
  body.nx-dark #rega.my-popup,
  body.nx-dark #individ.my-popup,
  body.nx-dark #touch.my-popup {
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left)) !important;
  }

  body.nx-dark #rega.my-popup > .modal-body,
  body.nx-dark #individ.my-popup > .modal-body,
  body.nx-dark #touch.my-popup > .modal-body {
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom))) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 64px rgba(0,0,0,.62) !important;
    -webkit-overflow-scrolling: touch;
  }

  body.nx-dark #rega .input input,
  body.nx-dark #individ .input input,
  body.nx-dark #touch .input input {
    min-height: 48px !important;
    font-size: 16px !important;
    background: #262128 !important;
    color: #f8f4f6 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.nx-dark .nx-search-skeleton,
  body.nx-dark .adev-pulse__visual i {
    animation: none !important;
  }
}
