/* ================================================================
   NEXUS SYSTEM — حالت روز/شب (Day/Night theme engine) — v50
   این فایل باید بعد از style.css / v25.css / nexus-header-nav.css
   بارگذاری شود تا در تعارض احتمالی رنگ‌ها برنده باشد. اعمال حالت
   با ویژگی data-theme روی <html> انجام می‌شود (توسط اسکریپت داخل
   partials/header.php) و رنگ گرادینت «روز» از پنل ادمین قابل تغییر
   است (متغیرهای --nx-day-primary-rgb / --nx-day-secondary-rgb که
   به‌صورت inline در <head> تزریق می‌شوند).
   ================================================================ */

html{--nx-theme-fade:.45s ease}
html,
html body,
html .nx-header,html .nx-navbar{transition:background-color .2s ease,color .2s ease,border-color .2s ease!important}

/* ---------------------------------------------------------------
   حالت روز (data-theme="light")
   --------------------------------------------------------------- */
html[data-theme="light"]{
  color-scheme: light;
  --nx-bg:#f4f8fd;
  --nx-panel:#ffffff;
  --nx-panel2:#f6faff;
  --nx-card:#ffffff;
  --nx-surface:#ffffff;
  --nx-surface2:#f2f7fd;
  --nx-line:#dbe6f4;
  --nx-line-soft:#e8f0fa;
  --nx-border:#dbe6f4;
  --nx-text:#101f38;
  --nx-muted:#5c6f89;
  --nx-glass:rgba(255,255,255,.62);
  --nx-glass-bg:rgba(255,255,255,.72);
  --nx-glass-bg-strong:rgba(255,255,255,.88);
  --nx-glass-border:rgba(16,31,55,.10);
  --nx-glass-shadow:0 20px 60px rgba(50,90,160,.12);
  --nx-glass-card:rgba(255,255,255,.78);
  --nx-glass-strong:rgba(255,255,255,.9);
  --nx-glass-highlight:rgba(255,255,255,.95);
  --nx-glass-page:rgba(255,255,255,.5);
  --nx-shadow:0 12px 34px rgba(40,72,130,.10);
  --ios26-glass-tint:linear-gradient(150deg,rgba(255,255,255,.9),rgba(255,255,255,.6));
  --ios26-border:rgba(16,31,55,.08);
}

html[data-theme="light"] body{
  color:var(--nx-text)!important;
  background:
    radial-gradient(1100px 650px at 10% -12%,rgba(var(--nx-day-primary-rgb,47,141,255),.16),transparent 62%),
    radial-gradient(900px 620px at 92% 4%,rgba(var(--nx-day-secondary-rgb,29,111,224),.13),transparent 58%),
    radial-gradient(700px 520px at 50% 105%,rgba(var(--nx-day-primary-rgb,47,141,255),.08),transparent 62%),
    linear-gradient(160deg,#fbfdff 0%,#f2f7fd 45%,#eef3fb 100%)!important;
}

/* هدر / نویگیشن */
html[data-theme="light"] .nx-header{
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.72))!important;
  border-bottom:1px solid rgba(16,31,55,.08)!important;
  box-shadow:0 10px 30px rgba(40,72,130,.08)!important;
}
html[data-theme="light"] .nx-navbar{
  background:rgba(255,255,255,.82)!important;
  border-color:rgba(16,31,55,.08)!important;
  box-shadow:0 14px 40px rgba(40,72,130,.10),inset 0 1px 0 rgba(255,255,255,.6)!important;
}
html[data-theme="light"] .nx-brand,
html[data-theme="light"] .nx-brand-name{color:#101f38!important}
html[data-theme="light"] .nx-logo{background:linear-gradient(145deg,rgba(47,141,255,.12),rgba(29,111,224,.10))!important;border-color:rgba(47,141,255,.28)!important}
html[data-theme="light"] .nx-search{background:rgba(16,31,55,.04)!important;border-color:rgba(16,31,55,.10)!important}
html[data-theme="light"] .nx-search input{color:#101f38!important}
html[data-theme="light"] .nx-search input::placeholder{color:#7186a3!important}
html[data-theme="light"] .nx-search button{background:rgba(47,141,255,.10)!important;color:#1461c9!important}
html[data-theme="light"] .nx-action{background:rgba(16,31,55,.03)!important;border-color:rgba(16,31,55,.08)!important;color:#324863!important}
html[data-theme="light"] .nx-action:hover{background:rgba(47,141,255,.08)!important;border-color:rgba(47,141,255,.3)!important}
html[data-theme="light"] .nx-action .nx-icon{color:#2f7fe0!important}
html[data-theme="light"] .nx-navbar a{color:#4c5f78!important}
html[data-theme="light"] .nx-navbar a:hover{color:#101f38!important;background:rgba(47,141,255,.08)!important}
html[data-theme="light"] .nx-navbar a .nx-icon{color:#2f7fe0!important}
html[data-theme="light"] .main-nav a{color:#4c5f78!important}
html[data-theme="light"] .main-nav a:hover{color:#101f38!important;background:rgba(16,31,55,.05)!important}
html[data-theme="light"] header.site-header{background:rgba(255,255,255,.92)!important;border-bottom:1px solid rgba(16,31,55,.08)!important}

/* شیشه‌ای‌های عمومی: کارت محصول، پنل، آگهی، مقاله، نظرات، فوتر و...
   این لیست باید با تمام سطوح «شیشه‌ای» تعریف‌شده در style.css/v25.css
   یکی باشد، وگرنه همان کارت‌ها در حالت روز سیاه/تیره باقی می‌مانند. */
html[data-theme="light"] .trust-item,
html[data-theme="light"] .product-trust-item,
html[data-theme="light"] .cats a,
html[data-theme="light"] .service-card,
html[data-theme="light"] .feature,
html[data-theme="light"] .brand-slider,
html[data-theme="light"] .card,
html[data-theme="light"] .panel,
html[data-theme="light"] .ad,
html[data-theme="light"] .article-hero,
html[data-theme="light"] .article-card,
html[data-theme="light"] .home-ad-card,
html[data-theme="light"] .ad-info-chip,
html[data-theme="light"] .review-card,
html[data-theme="light"] .review-composer,
html[data-theme="light"] .mini-card,
html[data-theme="light"] .order-row,
html[data-theme="light"] .comment-item,
html[data-theme="light"] .favorite-row,
html[data-theme="light"] .coupon-box,
html[data-theme="light"] .payment-box,
html[data-theme="light"] .checkout-summary,
html[data-theme="light"] .track-result,
html[data-theme="light"] .cart-table-wrap,
html[data-theme="light"] .account-notifications,
html[data-theme="light"] .gallery-main,
html[data-theme="light"] .gallery-specs,
html[data-theme="light"] .product-specs,
html[data-theme="light"] .product-video-frame,
html[data-theme="light"] .product-info,
html[data-theme="light"] .spec-row,
html[data-theme="light"] .ticket-item,
html[data-theme="light"] .filter-bar a,
html[data-theme="light"] .admin-card,
html[data-theme="light"] .admin-table,
html[data-theme="light"] .admin-notify,
html[data-theme="light"] .media-manager-card,
html[data-theme="light"] .notification-card,
html[data-theme="light"] .notification-row,
html[data-theme="light"] .notifications-head,
html[data-theme="light"] .notifications-list,
html[data-theme="light"] .support-app,
html[data-theme="light"] .support-sidebar,
html[data-theme="light"] .support-chat,
html[data-theme="light"] .support-modal-card,
html[data-theme="light"] .support-ticket,
html[data-theme="light"] .support-notif,
html[data-theme="light"] .support-composer,
html[data-theme="light"] .support-panel,
html[data-theme="light"] .support-head,
html[data-theme="light"] .support-links>a,
html[data-theme="light"] .support-address,
html[data-theme="light"] .generated-visual,
html[data-theme="light"] .nx-poster-track,
html[data-theme="light"] .nx-map-embed,
html[data-theme="light"] footer{
  background-image:none!important;
  background-color:#ffffff!important;
  border:1px solid rgba(16,31,55,.08)!important;
  box-shadow:0 10px 30px rgba(40,72,130,.08)!important;
  color:#233246!important;

}
html[data-theme="light"] footer{border-top:1px solid rgba(16,31,55,.08)!important}
html[data-theme="light"] .support-fab{color:#fff!important}

/* متن‌های داخل کارت محصول (.nx-product-card) که رنگ روشن ثابت داشتند و
   روی پس‌زمینه‌ی سفید نامرئی می‌شدند */

html[data-theme="light"] .support-message.customer-message{background:rgba(47,141,255,.10)!important;color:#101f38!important}
html[data-theme="light"] .support-message.admin-message,
html[data-theme="light"] .admin-message{background:rgba(16,31,55,.045)!important;color:#101f38!important}
html[data-theme="light"] .support-message p,
html[data-theme="light"] .support-message small{color:inherit!important}
html[data-theme="light"] .cats small,
html[data-theme="light"] .ad p,
html[data-theme="light"] .admin-muted,
html[data-theme="light"] .empty-note,
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .footer-grid p,
html[data-theme="light"] .footer-grid a,
html[data-theme="light"] .hero p,
html[data-theme="light"] .article-card p,
html[data-theme="light"] .review-main>p,
html[data-theme="light"] .comment-item p,
html[data-theme="light"] label{color:#5c6f89!important}
html[data-theme="light"] .footer-bottom{color:#8393a8!important;border-top-color:rgba(16,31,55,.08)!important}
html[data-theme="light"] .footer-grid b,
html[data-theme="light"] .hero h1,
html[data-theme="light"] .section h1,
html[data-theme="light"] .section h2{color:#101f38!important}
html[data-theme="light"] .footer-grid a:hover{color:#1461c9!important}

/* دکمه‌ها و فرم‌ها */
html[data-theme="light"] .btn-outline{
  background-image:none!important;
  background-color:#ffffff!important;
  border:1px solid rgba(16,31,55,.14)!important;
  color:#233246!important;
}
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select{
  background:#f7fafd!important;
  border:1px solid rgba(16,31,55,.14)!important;
  color:#101f38!important;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{color:#8393a8!important}
html[data-theme="light"] .coupon-row span{color:#5c6f89!important}
html[data-theme="light"] .password-toggle{color:#1461c9!important}

/* پیام‌ها / آلرت */
html[data-theme="light"] .alert-success{background:rgba(34,197,94,.08)!important;border:1px solid rgba(34,197,94,.28)!important;color:#0f7a3d!important}
html[data-theme="light"] .alert-error{background:rgba(239,68,68,.08)!important;border:1px solid rgba(239,68,68,.28)!important;color:#b91c1c!important}

/* صفحه حساب کاربری */
html[data-theme="light"] .account-avatar{background:linear-gradient(135deg,var(--nx-primary,#2f8dff),var(--nx-secondary,#1d6fe0))!important;color:#fff!important}
html[data-theme="light"] .account-username,
html[data-theme="light"] .account-welcome h2,
html[data-theme="light"] .profile-title strong{color:#101f38!important}
html[data-theme="light"] .account-handle,
html[data-theme="light"] .account-stats small,
html[data-theme="light"] .mini-card span,
html[data-theme="light"] .profile-status small,
html[data-theme="light"] .field-optional,
html[data-theme="light"] .field-required{color:#5c6f89!important}
html[data-theme="light"] .profile-status{background:rgba(16,31,55,.03)!important;border:1px solid rgba(16,31,55,.08)!important}
html[data-theme="light"] .profile-alert{background:rgba(251,191,36,.10)!important;border:1px solid rgba(251,191,36,.3)!important;color:#8a6410!important}
html[data-theme="light"] .profile-alert-success{background:rgba(34,197,94,.08)!important;border:1px solid rgba(34,197,94,.28)!important;color:#0f7a3d!important}
html[data-theme="light"] .profile-chip.complete{background:rgba(34,197,94,.12)!important;color:#0f7a3d!important}
html[data-theme="light"] .profile-chip.pending{background:rgba(251,191,36,.14)!important;color:#8a6410!important}
html[data-theme="light"] .status-dot{box-shadow:0 0 0 3px rgba(16,31,55,.06)!important}

/* اعلان‌ها */
html[data-theme="light"] .notification-empty{color:#5c6f89!important}
html[data-theme="light"] .notification-content p{color:#5c6f89!important}
html[data-theme="light"] .notification-title h3{color:#101f38!important}
html[data-theme="light"] .notification-icon{background:rgba(47,141,255,.10)!important;color:#1461c9!important}

/* اسکرول‌بار روشن */
html[data-theme="light"]{scrollbar-color:#2f8dff #e7eefb!important}
html[data-theme="light"]::-webkit-scrollbar-track{background:#e7eefb!important}
html[data-theme="light"]::-webkit-scrollbar-thumb{background:#2f8dff!important;border-color:#e7eefb!important}

@media(max-width:760px){
  html[data-theme="light"] .nx-search.is-open{background:rgba(255,255,255,.98)!important}
}

/* ---------------------------------------------------------------
   دکمه جابه‌جایی تم (شب/روز) داخل هدر
   --------------------------------------------------------------- */
.nx-theme-toggle{
  width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:12px;border:1px solid rgba(123,180,236,.14);background:rgba(255,255,255,.045);
  color:#dceaff;cursor:pointer;transition:.2s;
}
.nx-theme-toggle:hover{border-color:rgba(56,168,255,.38);background:rgba(56,168,255,.09)}
.nx-theme-toggle svg{width:19px;height:19px}
.nx-theme-toggle .nx-icon-sun{display:none}
html[data-theme="light"] .nx-theme-toggle .nx-icon-sun{display:block}
html[data-theme="light"] .nx-theme-toggle .nx-icon-moon{display:none}
html[data-theme="light"] .nx-theme-toggle{background:rgba(16,31,55,.03)!important;border-color:rgba(16,31,55,.08)!important;color:#f59e0b!important}
html[data-theme="light"] .nx-theme-toggle:hover{background:rgba(245,158,11,.1)!important;border-color:rgba(245,158,11,.35)!important}
@media(max-width:900px){.nx-theme-toggle{width:38px;height:38px;flex-basis:38px}}

/* ================================================================
   NEXUS DAY THEME — FINAL VISIBILITY / PRODUCT FIX
   کارت‌ها باید روی گرادینت روز کاملاً قابل تشخیص باشند؛
   پس‌زمینه‌ی صفحه شیشه‌ای/لایه‌ای می‌ماند و فقط کارت‌ها سطح مستقل دارند.
   ================================================================ */

html[data-theme="light"] body{
  min-height:100vh!important;
  color:#10233f!important;
  background:
    radial-gradient(900px 620px at 5% 0%,rgba(var(--nx-day-primary-rgb,47,141,255),.24),transparent 60%),
    radial-gradient(850px 600px at 96% 5%,rgba(var(--nx-day-secondary-rgb,29,111,224),.20),transparent 58%),
    radial-gradient(800px 560px at 52% 100%,rgba(20,184,166,.13),transparent 62%),
    linear-gradient(135deg,#fafdff 0%,#f1f7ff 42%,#f4f0ff 72%,#eefbf9 100%)!important;
  background-attachment:fixed!important;
  background-repeat:no-repeat!important;
}
html[data-theme="light"] main,
html[data-theme="light"] .section,
html[data-theme="light"] footer,
html[data-theme="light"] .nx-store-rail,
html[data-theme="light"] .trust-strip,
html[data-theme="light"] .brands-section,
html[data-theme="light"] .services-section,
html[data-theme="light"] .showcase-section{
  background:transparent!important;
}

/* All important glass surfaces: visible border + subtle depth, no opaque white slab. */
html[data-theme="light"] .panel,
html[data-theme="light"] .card,
html[data-theme="light"] .ad,
html[data-theme="light"] .article-card,
html[data-theme="light"] .article-hero,
html[data-theme="light"] .service-card,
html[data-theme="light"] .feature,
html[data-theme="light"] .trust-item,
html[data-theme="light"] .product-trust-item,
html[data-theme="light"] .review-card,
html[data-theme="light"] .review-composer,
html[data-theme="light"] .notification-card,
html[data-theme="light"] .notification-row,
html[data-theme="light"] .support-ticket,
html[data-theme="light"] .account-notifications,
html[data-theme="light"] .account-side .mini-card,
html[data-theme="light"] .account-extra-grid .mini-card,
html[data-theme="light"] .favorite-row{
  background:rgba(255,255,255,.66)!important;
  background-image:linear-gradient(145deg,rgba(255,255,255,.82),rgba(255,255,255,.52))!important;
  border:1px solid rgba(51,83,125,.18)!important;
  box-shadow:0 12px 34px rgba(49,83,132,.12),inset 0 1px 0 rgba(255,255,255,.92)!important;
  color:#172b47!important;

}

/* Product cards were inheriting dark v25 surfaces in day mode. */

html[data-theme="light"] .nx-rating{color:#c47b00!important}
html[data-theme="light"] .nx-stock-mini.in-stock{color:#0a8a50!important;background:rgba(16,185,129,.10)!important;border-color:rgba(16,185,129,.22)!important}
html[data-theme="light"] .nx-stock-mini.out-stock{color:#c03636!important;background:rgba(239,68,68,.08)!important;border-color:rgba(239,68,68,.18)!important}
html[data-theme="light"] .nx-discount-badge{color:#b4233a!important;background:rgba(244,63,94,.09)!important;border-color:rgba(244,63,94,.18)!important}

/* Forms/buttons inside cards remain readable in day mode. */

/* Category tiles / service tiles also need a visible glass edge. */
html[data-theme="light"] .cats a,
html[data-theme="light"] .service-card{
  background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(244,249,255,.56))!important;
  border:1px solid rgba(51,83,125,.18)!important;
  box-shadow:0 12px 30px rgba(49,83,132,.10),inset 0 1px 0 rgba(255,255,255,.9)!important;
}
html[data-theme="light"] .cats a:hover,
html[data-theme="light"] .service-card:hover{
  border-color:rgba(var(--nx-day-primary-rgb,47,141,255),.34)!important;
}

/* Inputs: stronger edge so they don't disappear into the glass. */
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select{
  background:rgba(250,252,255,.86)!important;
  border:1px solid rgba(51,83,125,.20)!important;
  box-shadow:inset 0 1px 2px rgba(51,83,125,.04),0 1px 0 rgba(255,255,255,.8)!important;
}
html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus{
  border-color:rgba(var(--nx-day-primary-rgb,47,141,255),.55)!important;
  box-shadow:0 0 0 3px rgba(var(--nx-day-primary-rgb,47,141,255),.10)!important;
}

/* Keep horizontal store rails transparent; only cards are surfaces. */

/* ================================================================
   NEXUS SYSTEM v54 — DAY GLASS FINAL OVERRIDES
   آخرین لایه عمداً بعد از تمام CSSهای قبلی قرار گرفته است.
   ================================================================ */
html[data-theme="light"] body{
  background:
    radial-gradient(900px 600px at 8% 4%,rgba(var(--nx-day-primary-rgb,47,141,255),.26),transparent 62%),
    radial-gradient(850px 620px at 94% 12%,rgba(var(--nx-day-secondary-rgb,29,111,224),.22),transparent 60%),
    radial-gradient(800px 560px at 52% 94%,rgba(24,190,201,.13),transparent 62%),
    linear-gradient(135deg,#eef7ff 0%,#f5f1ff 48%,#edfaff 100%)!important;
  background-attachment:fixed!important;
}
html[data-theme="light"] .nx-header,
html[data-theme="light"] .nx-navbar,
html[data-theme="light"] .card,
html[data-theme="light"] .panel,
html[data-theme="light"] .ad,
html[data-theme="light"] .service-card,
html[data-theme="light"] .cats a,
html[data-theme="light"] .feature,
html[data-theme="light"] .trust-item,
html[data-theme="light"] .brand-slider,
html[data-theme="light"] .mini-card,
html[data-theme="light"] .order-row,
html[data-theme="light"] .favorite-row,
html[data-theme="light"] .notification-row,
html[data-theme="light"] .notification-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .article-card,
html[data-theme="light"] .gallery-main,
html[data-theme="light"] .gallery-specs,
html[data-theme="light"] .product-specs,
html[data-theme="light"] .product-info,
html[data-theme="light"] .support-panel,
html[data-theme="light"] .support-app,
html[data-theme="light"] .support-chat,
html[data-theme="light"] .support-sidebar,
html[data-theme="light"] .admin-card,
html[data-theme="light"] footer{
  background-image:linear-gradient(145deg,rgba(255,255,255,.84),rgba(255,255,255,.55))!important;
  background-color:transparent!important;
  border:1px solid rgba(37,67,105,.22)!important;
  box-shadow:0 18px 46px rgba(45,77,125,.13),inset 0 1px 0 rgba(255,255,255,.96)!important;

}
html[data-theme="light"] .nx-header,
html[data-theme="light"] .nx-navbar{border-color:rgba(37,67,105,.18)!important}

html[data-theme="light"] .add-cart-form .btn{
  background-image:linear-gradient(135deg,#087cff,#1d6fe0)!important;
  color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 9px 22px rgba(53,91,190,.24)!important;
}

html[data-theme="light"] .products-rail,
html[data-theme="light"] .product-rail{background:transparent!important}
html[data-theme="light"] .section,
html[data-theme="light"] .products-section,
html[data-theme="light"] .home-section{background:transparent!important}
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select,
html[data-theme="light"] .btn-outline{
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(37,67,105,.23)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 6px 18px rgba(45,77,125,.06)!important;
}
html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus{
  border-color:rgba(var(--nx-day-primary-rgb,47,141,255),.62)!important;
  box-shadow:0 0 0 4px rgba(var(--nx-day-primary-rgb,47,141,255),.12),inset 0 1px 0 rgba(255,255,255,.95)!important;
}

/* ================================================================
   NEXUS SYSTEM — v55 FINAL THEME OVERRIDES
   این بخش عمداً در انتهای فایل است تا قوانین قدیمی !important نتوانند
   گرادینت و کادرهای حالت روز/شب را خاموش کنند.
   ================================================================ */
html,html body{min-height:100%!important}
html body{background-attachment:fixed!important}
html[data-theme="light"] body{
  background:
    radial-gradient(1000px 700px at 0% 0%,rgba(var(--nx-day-primary-rgb,47,141,255),.28),transparent 60%),
    radial-gradient(900px 650px at 100% 4%,rgba(var(--nx-day-secondary-rgb,29,111,224),.24),transparent 58%),
    radial-gradient(850px 600px at 55% 100%,rgba(24,190,201,.18),transparent 62%),
    linear-gradient(135deg,#eef7ff 0%,#f7f1ff 48%,#eafaff 100%)!important;
  color:#10213a!important;
}
html[data-theme="dark"] body{
  background:
    radial-gradient(1100px 720px at 0% 0%,rgba(8,124,255,.24),transparent 60%),
    radial-gradient(950px 680px at 100% 5%,rgba(29,111,224,.24),transparent 58%),
    radial-gradient(900px 650px at 52% 100%,rgba(24,190,201,.15),transparent 62%),
    linear-gradient(135deg,#06101f 0%,#100c24 48%,#061a21 100%)!important;
  color:#eaf2ff!important;
}
html[data-theme="light"] .card,html[data-theme="light"] .panel,html[data-theme="light"] .ad,html[data-theme="light"] .service-card,
html[data-theme="light"] .cats a,html[data-theme="light"] .feature,html[data-theme="light"] .trust-item,
html[data-theme="light"] .brand-slider,html[data-theme="light"] .article-card,html[data-theme="light"] .review-card,
html[data-theme="light"] .mini-card,html[data-theme="light"] .order-row,html[data-theme="light"] .favorite-row,
html[data-theme="light"] .notification-card,html[data-theme="light"] .notification-row,
html[data-theme="light"] .gallery-main,html[data-theme="light"] .gallery-specs,html[data-theme="light"] .product-specs,
html[data-theme="light"] .product-info,html[data-theme="light"] .support-panel,html[data-theme="light"] .support-app,
html[data-theme="light"] .support-chat,html[data-theme="light"] .support-sidebar,html[data-theme="light"] .admin-card,
html[data-theme="light"] footer{
  background-image:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.58))!important;
  background-color:rgba(255,255,255,.68)!important;
  border:1px solid rgba(30,62,102,.25)!important;
  box-shadow:0 18px 48px rgba(35,72,125,.16),inset 0 1px 0 rgba(255,255,255,.98)!important;

}
html[data-theme="light"] .panel,html[data-theme="light"] .card{outline:1px solid rgba(47,141,255,.055)!important}
html[data-theme="light"] input,html[data-theme="light"] textarea,html[data-theme="light"] select{
  background:rgba(255,255,255,.78)!important;border:1px solid rgba(30,62,102,.22)!important;
  box-shadow:inset 0 1px 2px rgba(30,62,102,.05),0 4px 14px rgba(35,72,125,.06)!important;
}
html[data-theme="light"] .btn-outline{background:rgba(255,255,255,.62)!important;border:1px solid rgba(30,62,102,.25)!important}

/* ================================================================
   NEXUS SYSTEM v57 — SKY BLUE DAY THEME (رفع سفیدِ سرد و بی‌روح)
   این لایه عمداً در انتهای فایل است تا روی همه‌ی لایه‌های قبلی
   حالت روز غالب شود. پس‌زمینه دیگر سفید/خاکستری نیست؛ همه‌جا
   ته‌رنگ آبی آسمانی زنده دارد، اما متن‌ها همچنان خوانا می‌مانند.
   ================================================================ */

html[data-theme="light"]{
  --nx-sky-1:#eaf5ff;   /* آبی خیلی روشن */
  --nx-sky-2:#dbeeff;   /* آبی روشن */
  --nx-sky-3:#c3e2ff;   /* آبی میانه برای لهجه/حاشیه */
  --nx-sky-deep:#2f8dff; /* آبی اصلی برند */
  --nx-sky-ink:#0e2038;  /* متن تیره روی زمینه آبی */
}

/* پس‌زمینه کلی صفحه: گرادیان آبی آسمانی پیوسته، نه سفید تخت */
html[data-theme="light"] body{
  background:
    radial-gradient(1200px 750px at 0% -8%, rgba(47,141,255,.30), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(59,178,255,.26), transparent 58%),
    radial-gradient(900px 650px at 50% 105%, rgba(20,184,166,.14), transparent 60%),
    linear-gradient(160deg, var(--nx-sky-1) 0%, var(--nx-sky-2) 45%, #dff0ff 100%) !important;
  background-attachment: fixed !important;
  color: var(--nx-sky-ink) !important;
}

/* هدر و نوار جستجو: شیشه‌ای آبی، نه سفید */
html[data-theme="light"] .nx-header,
html[data-theme="light"] header.site-header,
html[data-theme="light"] .nx-quickbar{
  background: linear-gradient(180deg, rgba(214,236,255,.92), rgba(197,227,255,.78)) !important;
  border-bottom: 1px solid rgba(47,141,255,.22) !important;
  box-shadow: 0 10px 30px rgba(47,141,255,.14) !important;
}
html[data-theme="light"] .nx-search,
html[data-theme="light"] .header-search form{
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(47,141,255,.28) !important;
}

/* همه‌ی سطوح کارت‌مانند: دیگر سفید خالص نیستند، ته‌رنگ آبی روشن دارند */
html[data-theme="light"] .card,
html[data-theme="light"] .panel,
html[data-theme="light"] .ad,
html[data-theme="light"] .service-card,
html[data-theme="light"] .cats a,
html[data-theme="light"] .feature,
html[data-theme="light"] .trust-item,
html[data-theme="light"] .brand-slider,
html[data-theme="light"] .article-card,
html[data-theme="light"] .article-hero,
html[data-theme="light"] .review-card,
html[data-theme="light"] .review-composer,
html[data-theme="light"] .mini-card,
html[data-theme="light"] .order-row,
html[data-theme="light"] .favorite-row,
html[data-theme="light"] .notification-card,
html[data-theme="light"] .notification-row,
html[data-theme="light"] .gallery-main,
html[data-theme="light"] .gallery-specs,
html[data-theme="light"] .product-specs,
html[data-theme="light"] .product-info,
html[data-theme="light"] .support-panel,
html[data-theme="light"] .support-app,
html[data-theme="light"] .support-chat,
html[data-theme="light"] .support-sidebar,
html[data-theme="light"] .admin-card,
html[data-theme="light"] .admin-table,
html[data-theme="light"] .media-manager-card,
html[data-theme="light"] .comment-item,
html[data-theme="light"] .comment-form,
html[data-theme="light"] .coupon-box,
html[data-theme="light"] .checkout-summary,
html[data-theme="light"] .track-result,
html[data-theme="light"] .home-ad-card,
html[data-theme="light"] .ad-info-chip,
html[data-theme="light"] .ad-detail-card,
html[data-theme="light"] footer{
  background-color: transparent !important;
  background-image: linear-gradient(150deg, rgba(255,255,255,.92), var(--nx-sky-2) 130%) !important;
  border: 1px solid rgba(47,141,255,.24) !important;
  box-shadow: 0 16px 40px rgba(47,141,255,.14), inset 0 1px 0 rgba(255,255,255,.9) !important;
  color: var(--nx-sky-ink) !important;
}

/* کارت محصول: شیک‌تر، گردتر، با هاور بالا رونده و سایه‌ی آبی */

/* پس‌زمینه‌ی تصویر محصول: آبی روشن به‌جای سفید/خاکستری تخت */

html[data-theme="light"] .product-media,
html[data-theme="light"] .ad img{
  background: linear-gradient(150deg, #f2f9ff, var(--nx-sky-3)) !important;
}

/* تصاویر شاخص/هیرو و بنرها: قاب ملایم آبی و سایه شیک */
html[data-theme="light"] .generated-visual img,
html[data-theme="light"] .article-cover,
html[data-theme="light"] .ad-detail-media img{
  border-radius: 20px !important;
  box-shadow: 0 24px 60px rgba(47,141,255,.20) !important;
}

/* دکمه‌ها: همچنان گرادیان آبی زنده، حالا با سایه‌ی هماهنگ */
html[data-theme="light"] .btn,
html[data-theme="light"] .add-cart-form .btn{
  background-image: linear-gradient(135deg,#2f8dff,#1d6fe0) !important;
  color:#fff !important;
  box-shadow: 0 10px 26px rgba(47,141,255,.30) !important;
}
html[data-theme="light"] .btn-outline{
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(47,141,255,.32) !important;
  color: var(--nx-sky-ink) !important;
}

/* ورودی‌ها: ته‌رنگ آبی به‌جای سفید مطلق */
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select{
  background: rgba(255,255,255,.75) !important;
  border: 1px solid rgba(47,141,255,.28) !important;
  color: var(--nx-sky-ink) !important;
}
html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus{
  border-color: rgba(47,141,255,.65) !important;
  box-shadow: 0 0 0 4px rgba(47,141,255,.14) !important;
}

/* متن‌های ثانویه روی زمینه‌ی آبی، برای خوانایی بهتر */
html[data-theme="light"] .admin-muted,
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .hero p, html[data-theme="light"] .hero-copy p{
  color:#3d5a80 !important;
}
html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h3{
  color: var(--nx-sky-ink) !important;
}

/* نوار اسکرول آبی هماهنگ */
html[data-theme="light"]{scrollbar-color:#2f8dff var(--nx-sky-2) !important}
html[data-theme="light"]::-webkit-scrollbar-track{background:var(--nx-sky-2) !important}
html[data-theme="light"]::-webkit-scrollbar-thumb{background:#2f8dff !important;border-color:var(--nx-sky-2) !important}

/* =====================================================================
   NEXUS SYSTEM V57.1 — TRUE iOS LIQUID GLASS / DAY + NIGHT FINAL PASS
   This block intentionally comes LAST.  It overrides older theme rules
   that flattened the light theme to solid white and disabled the glass.
   ===================================================================== */
:root{
  --nx-lg-blue:47,141,255;
  --nx-lg-purple:29,111,224;
  --nx-lg-cyan:56,200,255;
  --nx-lg-radius:24px;
  --nx-lg-blur:22px;
}

/* The page itself must provide something for translucent glass to refract. */
html body{
  background:
    radial-gradient(900px 520px at 8% 0%,rgba(var(--nx-lg-blue),.18),transparent 62%),
    radial-gradient(850px 540px at 92% 5%,rgba(var(--nx-lg-purple),.16),transparent 60%),
    radial-gradient(700px 480px at 50% 100%,rgba(var(--nx-lg-cyan),.10),transparent 65%),
    linear-gradient(145deg,#06101f 0%,#081426 48%,#050b16 100%) !important;
}

/* ----------------------------- LIGHT ------------------------------ */
html[data-theme="light"] body{
  color:#14233b!important;
  background:
    radial-gradient(900px 560px at 6% 0%,rgba(var(--nx-lg-blue),.22),transparent 62%),
    radial-gradient(850px 560px at 94% 3%,rgba(var(--nx-lg-purple),.18),transparent 60%),
    radial-gradient(760px 520px at 50% 100%,rgba(var(--nx-lg-cyan),.12),transparent 65%),
    linear-gradient(145deg,#edf5ff 0%,#f7faff 44%,#eaf1fb 100%) !important;
}

/* One real glass recipe for every major surface in both themes. */

/* Light mode stays translucent — NEVER flatten cards to white. */

/* Brighter iOS-like glass edge / colored refraction. */

/* Header + floating nav: closest to the supplied Safari/iOS reference. */
.nx-header{
  background:
    linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,.07))!important;
  border-color:rgba(255,255,255,.32)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 14px 42px rgba(15,45,90,.18)!important;
  backdrop-filter:blur(28px) saturate(180%)!important;
  -webkit-backdrop-filter:blur(28px) saturate(180%)!important;
}
html[data-theme="light"] .nx-header{
  background:linear-gradient(180deg,rgba(255,255,255,.70),rgba(255,255,255,.40))!important;
  border-color:rgba(42,86,140,.15)!important;
}
.nx-navbar{
  background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.055))!important;
  border-color:rgba(255,255,255,.28)!important;
  backdrop-filter:blur(30px) saturate(180%)!important;
  -webkit-backdrop-filter:blur(30px) saturate(180%)!important;
}
html[data-theme="light"] .nx-navbar{
  background:linear-gradient(135deg,rgba(255,255,255,.72),rgba(255,255,255,.38))!important;
  border-color:rgba(42,86,140,.14)!important;
}

/* Readable text on translucent light glass. */
html[data-theme="light"] .nx-brand,
html[data-theme="light"] .nx-brand-name,
html[data-theme="light"] .nx-navbar a,
html[data-theme="light"] .section h1,
html[data-theme="light"] .section h2,
html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero h2,
html[data-theme="light"] .hero-kicker{color:#132746!important}
html[data-theme="light"] .nx-navbar a .nx-icon{color:#1769d1!important}
html[data-theme="light"] .nx-store-rail-heading p,
html[data-theme="light"] .hero p,
html[data-theme="light"] .cats small,
html[data-theme="light"] label{color:#526783!important}

/* Product/category/rail cards: one geometry + one image treatment. */
.cats>*{
  border-radius:22px!important;
  overflow:hidden!important;
}

/* Hero: glass frame, but NEVER crop the actual hero artwork. */
.hero.hero-reference,.hero{
  border-radius:28px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.24)!important;
  background:
    radial-gradient(55% 100% at 10% 0%,rgba(var(--nx-lg-cyan),.16),transparent 65%),
    radial-gradient(50% 90% at 95% 5%,rgba(var(--nx-lg-purple),.14),transparent 62%),
    linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.035))!important;
}
html[data-theme="light"] .hero.hero-reference,
html[data-theme="light"] .hero{
  background:
    radial-gradient(55% 100% at 10% 0%,rgba(var(--nx-lg-cyan),.20),transparent 65%),
    radial-gradient(50% 90% at 95% 5%,rgba(var(--nx-lg-purple),.17),transparent 62%),
    linear-gradient(145deg,rgba(255,255,255,.68),rgba(255,255,255,.32))!important;
}
.generated-visual{
  overflow:hidden!important;
  min-width:0!important;
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.035))!important;
}
.generated-visual img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Poster: preserve the artwork's native ratio. No forced 3:1 / 16:9 crop. */
.nx-poster-slider{overflow:hidden!important;border-radius:28px!important}
.nx-poster-track{height:auto!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important}
.nx-poster-slide,.nx-poster-slide>a{height:auto!important;min-height:0!important;display:block!important}
.nx-poster-slide img,.nx-poster-slide video,.nx-poster-media{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Login/register segmented control = native iOS-style glass. */
.nx-auth-card{border-radius:28px!important}
.nx-auth-tabs{
  padding:5px!important;border-radius:17px!important;
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.20)!important;
  backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;
}
html[data-theme="light"] .nx-auth-tabs{background:rgba(255,255,255,.48)!important;border-color:rgba(40,80,130,.12)!important}
.nx-auth-tab{border-radius:13px!important}
.nx-auth-tab.active{background:linear-gradient(135deg,#2f8dff,#1d6fe0)!important}

/* Cart: glass card rows, clear remove + clear-all actions on phones. */
.cart-table-wrap{border-radius:22px!important}
.cart-product-image{background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.13)!important}
html[data-theme="light"] .cart-product-image{background:rgba(255,255,255,.48)!important;border-color:rgba(40,80,130,.10)!important}
.cart-clear-btn{
  border-color:rgba(255,107,122,.38)!important;
  background:linear-gradient(135deg,rgba(255,107,122,.12),rgba(255,255,255,.05))!important;
}
@media(max-width:760px){
  .hero.hero-reference,.hero{border-radius:20px!important}
  .generated-visual{width:100%!important;height:auto!important;min-height:0!important}
  .generated-visual img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
  .nx-poster-slider{width:calc(100% - 20px)!important;margin-inline:auto!important;border-radius:20px!important}
  .nx-poster-slide img,.nx-poster-slide video{width:100%!important;height:auto!important;object-fit:contain!important}
  
  .cats>*{border-radius:18px!important}

  .cart-table tr{background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.045))!important;backdrop-filter:blur(18px) saturate(155%)!important;-webkit-backdrop-filter:blur(18px) saturate(155%)!important}
  html[data-theme="light"] .cart-table tr{background:linear-gradient(135deg,rgba(255,255,255,.66),rgba(255,255,255,.34))!important}
}

/* ================================================================
   NEXUS V59 — REAL LIQUID GLASS / HIGH-CONTRAST DAY MODE
   This block intentionally lives at the end so legacy v25 rules cannot
   flatten the glass surfaces back to solid white/dark backgrounds.
   ================================================================ */
:root{
  --nx-glass-blue:47,141,255;
  --nx-glass-violet:29,111,224;
  --nx-glass-pink:236,72,153;
}
html body{
  background:
    radial-gradient(900px 560px at 8% 4%,rgba(var(--nx-glass-blue),.24),transparent 60%),
    radial-gradient(850px 560px at 92% 10%,rgba(var(--nx-glass-violet),.20),transparent 58%),
    radial-gradient(900px 520px at 50% 100%,rgba(var(--nx-glass-pink),.12),transparent 62%),
    linear-gradient(145deg,#eef4ff 0%,#dfeaff 42%,#edf2ff 72%,#dce7fa 100%) !important;
  background-attachment:fixed !important;
}
html[data-theme="dark"] body,
html:not([data-theme]) body{
  background:
    radial-gradient(900px 560px at 8% 4%,rgba(var(--nx-glass-blue),.22),transparent 60%),
    radial-gradient(850px 560px at 92% 10%,rgba(var(--nx-glass-violet),.19),transparent 58%),
    radial-gradient(900px 520px at 50% 100%,rgba(var(--nx-glass-pink),.10),transparent 62%),
    linear-gradient(145deg,#06101f 0%,#0a1730 48%,#080f22 100%) !important;
}

html[data-theme="light"]{
  --nx-text:#10213b !important;
  --nx-muted:#536b88 !important;
  --nx-glass:rgba(255,255,255,.44) !important;
  --nx-glass-bg:rgba(255,255,255,.48) !important;
  --nx-glass-card:rgba(255,255,255,.48) !important;
  --nx-glass-strong:rgba(255,255,255,.60) !important;
  --nx-glass-border:rgba(255,255,255,.72) !important;
}
html[data-theme="light"] body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:
    radial-gradient(500px 300px at 20% 24%,rgba(var(--nx-day-primary-rgb,47,141,255),.18),transparent 70%),
    radial-gradient(480px 320px at 80% 48%,rgba(var(--nx-day-secondary-rgb,29,111,224),.16),transparent 72%);
}

html[data-theme="light"] .nx-header,
html[data-theme="light"] .nx-navbar,
html[data-theme="light"] .panel,
html[data-theme="light"] .cats > a,
html[data-theme="light"] .service-card,
html[data-theme="light"] .trust-item,
html[data-theme="light"] .home-ad-card,
html[data-theme="light"] .article-hero,
html[data-theme="light"] .nx-poster-slider,
html[data-theme="light"] .hero-reference,
html[data-theme="light"] .nx-auth-card,
html[data-theme="light"] .cart-table-wrap,
html[data-theme="light"] .cart-table tr,
html[data-theme="light"] .cart-total,
html[data-theme="light"] .nx-search,
html[data-theme="light"] .nx-action,
html[data-theme="light"] .btn-outline{
  background:
    linear-gradient(135deg,rgba(255,255,255,.62),rgba(255,255,255,.28) 48%,rgba(218,232,255,.24)) !important;
  border-color:rgba(255,255,255,.74) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(94,132,190,.08),
    0 18px 55px rgba(53,88,145,.14) !important;

}

html[data-theme="light"] .category-icon,
html[data-theme="light"] .cart-product-image,
html[data-theme="light"] .gallery-main,
html[data-theme="light"] .gallery-thumbs img{
  background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(220,233,252,.30)) !important;
  border-color:rgba(255,255,255,.72) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86) !important;
}

html[data-theme="light"] .section h1,
html[data-theme="light"] .section h2,
html[data-theme="light"] .nx-brand-name,
html[data-theme="light"] label{color:#10213b !important}

html[data-theme="light"] .empty-note,
html[data-theme="light"] .admin-muted{color:#526b89 !important}
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select{
  background:rgba(255,255,255,.42) !important;
  color:#10213b !important;
  border-color:rgba(74,111,166,.18) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85) !important;
}

/* Strong, visible light-mode gradient accents. */
html[data-theme="light"] .btn,
html[data-theme="light"] .nx-auth-tab.active{
  background:
    linear-gradient(135deg,
      rgb(var(--nx-day-primary-rgb,47,141,255)) 0%,
      rgb(var(--nx-day-secondary-rgb,29,111,224)) 55%,
      rgb(var(--nx-glass-pink)) 100%) !important;
  color:#fff !important;
  box-shadow:0 12px 30px rgba(var(--nx-day-primary-rgb,47,141,255),.28),inset 0 1px 0 rgba(255,255,255,.34) !important;
}
html[data-theme="light"] .nx-gradient-title,
html[data-theme="light"] .price-tag,
html[data-theme="light"] .nx-final-price{
  background:linear-gradient(100deg,rgb(var(--nx-day-primary-rgb,47,141,255)),rgb(var(--nx-day-secondary-rgb,29,111,224)),rgb(var(--nx-glass-pink))) !important;
  -webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;
}

/* Poster/hero never crop their source artwork. The box follows a stable
   responsive ratio while the artwork itself uses contain. */
.nx-poster-slider{position:relative;isolation:isolate}
.nx-poster-track{overflow:hidden !important}
.nx-poster-slide{position:relative !important;width:100% !important;height:100% !important;display:flex !important;align-items:center !important;justify-content:center !important}
.nx-poster-slide img,.nx-poster-slide video{width:100% !important;height:100% !important;object-fit:contain !important;object-position:center !important}
@media(max-width:820px){
  .nx-poster-slider{width:calc(100% - 24px) !important;margin:12px auto 18px !important;border-radius:22px !important}
  .nx-poster-track{aspect-ratio:4/3 !important;min-height:0 !important;max-height:none !important}
  .nx-poster-slide img,.nx-poster-slide video{height:100% !important;object-fit:contain !important;padding:0 !important}
  .hero-reference{width:calc(100% - 24px) !important;margin-inline:auto !important;grid-template-columns:1fr !important;min-height:0 !important;padding:18px !important}
  .generated-visual{min-height:0 !important;height:auto !important}
  .generated-visual img{width:100% !important;height:auto !important;max-height:360px !important;object-fit:contain !important}
}

/* Currency: a small custom Toman mark, consistently aligned everywhere. */
.nx-price{display:inline-flex;align-items:center;gap:7px;direction:rtl;white-space:nowrap}
.nx-price-number{font-variant-numeric:tabular-nums}
.nx-toman{display:inline-flex;align-items:center;gap:4px;font-size:.78em;font-weight:800;opacity:.92}
.nx-toman-mark{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:7px;background:linear-gradient(135deg,rgb(var(--nx-glass-blue)),rgb(var(--nx-glass-violet)));color:#fff;font-size:11px;line-height:1;box-shadow:0 3px 10px rgba(47,141,255,.22),inset 0 1px 0 rgba(255,255,255,.4)}
html[data-theme="light"] .nx-toman{color:#315273}
html[data-theme="dark"] .nx-toman{color:#b8cae1}

/* Keep buttons/forms clickable above decorative glass layers. */

.nx-auth-tabs,.nx-auth-tab,
.cart-remove,.cart-clear-btn{position:relative;z-index:5;pointer-events:auto}

/* Dark glass parity: the same liquid-glass language must remain visible at night. */
html[data-theme="dark"] .nx-header,
html[data-theme="dark"] .nx-navbar,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .cats > a,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .trust-item,
html[data-theme="dark"] .home-ad-card,
html[data-theme="dark"] .article-hero,
html[data-theme="dark"] .nx-poster-slider,
html[data-theme="dark"] .hero-reference,
html[data-theme="dark"] .nx-auth-card,
html[data-theme="dark"] .cart-table-wrap,
html[data-theme="dark"] .cart-table tr{
  background:
    linear-gradient(135deg,rgba(255,255,255,.105),rgba(255,255,255,.035) 48%,rgba(45,100,180,.09)) !important;
  border-color:rgba(157,207,255,.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 20px 60px rgba(0,0,0,.28) !important;

}

html[data-theme="dark"] .category-icon,
html[data-theme="dark"] .cart-product-image,
html[data-theme="dark"] .gallery-main,
html[data-theme="dark"] .gallery-thumbs img{
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.02)) !important;
  border-color:rgba(157,207,255,.16) !important;
}

/* ================================================================
   NEXUS V61 — FINAL PATCH (poster slider fix, toman logo removed,
   product-card polish, showcase polish, day-mode depth, side icon rail)
   This block is intentionally the very last thing in the very last
   CSS file the page loads, so nothing above it can win the cascade.
   ================================================================ */

/* ---- 1) Poster slider: single source of truth ----------------------
   Older blocks above (and in style.css / v25.css / nexus-header-nav.css)
   fight over position/display/aspect-ratio, which is why only one
   slide survived and mobile showed empty side bars. This resets the
   slider to a clean overlay-grid crossfade with NO forced aspect
   ratio, so every poster renders at its own natural width-to-height
   ratio and never letterboxes. */
.nx-poster-slider{position:relative!important;isolation:isolate!important;overflow:hidden!important}
.nx-poster-track{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:1fr!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
.nx-poster-slide{grid-column:1/2!important;grid-row:1/2!important;position:relative!important;width:100%!important;height:auto!important;display:block!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:scale(1.02)!important;transition:opacity .5s ease,transform .6s ease!important}
.nx-poster-slide.is-active{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:scale(1)!important;position:relative!important}
.nx-poster-slide>a{display:block!important;width:100%!important;height:100%!important}
.nx-poster-slide img,.nx-poster-slide video{display:block!important;width:100%!important;height:auto!important;max-height:560px!important;object-fit:cover!important;object-position:center!important}
@media(max-width:820px){
  .nx-poster-slide img,.nx-poster-slide video{max-height:min(78vw,420px)!important}
}
@media(max-width:480px){
  .nx-poster-slide img,.nx-poster-slide video{max-height:min(85vw,360px)!important}
}

/* ---- 2) Toman logo badge removed, keep clean text label ------------ */
.nx-toman-logo,.nx-toman-mark{display:none!important}
.nx-toman{gap:2px!important}

/* ---- 3) Product cards: full redesign, Digikala-style ---------------
   White (or dark-surface) card, product photo up top, clamped title,
   strikethrough old price + red discount badge, bold final price,
   small rating/stock meta row, slim full-width "add to cart" button. */

.nx-discount-badge{background:#e2001a!important;color:#fff!important;font-size:11px!important;font-weight:800!important;padding:2px 7px!important;border-radius:6px!important;line-height:1.7!important}
.nx-final-price{color:#171c26!important;font-size:16px!important;font-weight:800!important;-webkit-text-fill-color:#171c26!important;background:none!important}
.nx-final-price .nx-toman{font-size:.66em!important;font-weight:700!important;color:#5c6577!important}

.nx-stock-mini.in-stock{color:#1fa855!important}
.nx-stock-mini.out-stock{color:#e2001a!important}

/* Dark theme keeps the same layout, dark surface instead of white */

html[data-theme="dark"] .nx-final-price{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* ---- 4) Showcase / generated visuals: a bit more premium ------------ */
.generated-visual{position:relative!important;border-radius:24px!important;overflow:hidden!important;transition:box-shadow .3s ease!important}
.generated-visual img{transition:transform .5s ease!important}
.generated-visual:hover img{transform:scale(1.035)!important}
.generated-visual:after{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(200deg,rgba(255,255,255,.14),transparent 40%);
  mix-blend-mode:overlay;
}

/* ---- 5) Day mode background: visible gradient, but still legible ----
   The card selectors below intentionally exclude products (they now have
   their own solid white background from section 3) so text always stays
   on a fully opaque surface. */
html[data-theme="light"] body{
  background:
    radial-gradient(1100px 640px at 8% -4%,rgba(var(--nx-day-primary-rgb,47,141,255),.14),transparent 55%),
    radial-gradient(1000px 620px at 100% 6%,rgba(var(--nx-day-secondary-rgb,29,111,224),.12),transparent 55%),
    radial-gradient(1000px 580px at 45% 110%,rgba(236,72,153,.09),transparent 58%),
    linear-gradient(150deg,#eef3fb 0%,#e3ebf8 45%,#eaf0fb 75%,#dfe8f6 100%) !important;
  background-attachment:fixed!important;
}
html[data-theme="light"] .nx-header,
html[data-theme="light"] .nx-navbar,
html[data-theme="light"] .panel,
html[data-theme="light"] .cats > a,
html[data-theme="light"] .service-card,
html[data-theme="light"] .trust-item,
html[data-theme="light"] .home-ad-card,
html[data-theme="light"] .article-hero,
html[data-theme="light"] .nx-poster-slider,
html[data-theme="light"] .hero-reference,
html[data-theme="light"] .nx-auth-card{
  background:
    linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,255,255,.62) 55%,rgba(222,233,252,.55)) !important;
  border-color:rgba(255,255,255,.85) !important;
}

/* (decorative side icon rail removed per request) */

/* ---- 7) Categories ("دسته‌بندی‌ها"): one clean, final layout ---------
   Earlier files fight over grid vs horizontal-scroll layouts, and one
   rule forced every <img> inside .category-icon to a white silhouette
   filter — which was destroying real uploaded category logos. Fixed:
   real logos stay untouched; only the generated SVG glyph (used when a
   category has no logo) is tinted white by the gradient background. */
.cats{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  flex-wrap:unset!important;
  overflow:visible!important;
  padding:0!important;
}
.cats > a{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;gap:8px!important;
  min-height:170px!important;padding:22px 14px!important;
  background:#fff!important;border:1px solid #eceef2!important;border-radius:18px!important;
  box-shadow:0 1px 3px rgba(20,30,50,.05)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.cats > a:hover{transform:translateY(-4px)!important;box-shadow:0 14px 30px rgba(20,30,50,.12)!important;border-color:#d7deea!important}
.category-icon{
  width:64px!important;height:64px!important;flex:0 0 auto!important;
  border-radius:18px!important;display:grid!important;place-items:center!important;
  background:linear-gradient(135deg,rgb(var(--nx-glass-blue,47,141,255)),rgb(var(--nx-glass-violet,29,111,224)))!important;
  color:#fff!important;overflow:hidden!important;box-shadow:none!important;border:0!important;
}
.category-icon svg{width:32px!important;height:32px!important;stroke:#fff!important}
.category-icon img{
  width:100%!important;height:100%!important;object-fit:cover!important;
  filter:none!important;padding:0!important;border-radius:inherit!important;
}
.cats b{font-size:14.5px!important;font-weight:700!important;color:#1c2230!important;margin:0!important}
.cats small{font-size:11.5px!important;color:#8b93a3!important}
html[data-theme="dark"] .cats > a{background:#141824!important;border-color:#232a3a!important}
html[data-theme="dark"] .cats b{color:#e7ecf5!important}
html[data-theme="dark"] .cats small{color:#8b93a3!important}
@media(max-width:900px){.cats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:560px){.cats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.cats > a{min-height:135px!important;padding:16px 10px!important}.category-icon{width:52px!important;height:52px!important}.category-icon svg{width:26px!important;height:26px!important}}

/* ================================================================
   تقویت خوانایی حالت روز — مرزها، فاصله‌ها و کنتراست
   ================================================================ */
html[data-theme="light"] .trust-item,
html[data-theme="light"] .service-card,
html[data-theme="light"] .feature,
html[data-theme="light"] .panel,
html[data-theme="light"] .card,
html[data-theme="light"] .mini-card,
html[data-theme="light"] .article-card,
html[data-theme="light"] .article-hero,
html[data-theme="light"] .review-card,
html[data-theme="light"] .filter-bar a,
html[data-theme="light"] .brand-slider,
html[data-theme="light"] .checkout-summary,
html[data-theme="light"] .cart-table-wrap,
html[data-theme="light"] .payment-box,
html[data-theme="light"] .coupon-box,
html[data-theme="light"] .track-result,
html[data-theme="light"] .notification-card,
html[data-theme="light"] .support-panel,
html[data-theme="light"] .support-ticket {
  border: 1px solid rgba(16, 31, 55, .14) !important;
  box-shadow: 0 6px 20px rgba(30, 55, 100, .07), 0 1px 0 rgba(255,255,255,.8) inset !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%) !important;
}

html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .section h2,
html[data-theme="light"] .nx-store-rail-heading h2,
html[data-theme="light"] .nx-rail-title-wrap h2 {
  color: #101f38 !important;
}
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .nx-rail-title-wrap p,
html[data-theme="light"] .eyebrow {
  color: #5c6f89 !important;
}
html[data-theme="light"] .eyebrow {
  opacity: .9 !important;
}

html[data-theme="light"] .btn-outline {
  border: 1px solid rgba(16, 31, 55, .18) !important;
  background: #fff !important;
  color: #1a2d4a !important;
  box-shadow: 0 2px 8px rgba(20,40,80,.06) !important;
}
html[data-theme="light"] .btn-outline:hover {
  border-color: rgba(47, 141, 255, .45) !important;
  color: #0b5fcc !important;
  background: rgba(47, 141, 255, .06) !important;
}

html[data-theme="light"] .filter-bar {
  gap: 8px !important;
}
html[data-theme="light"] .filter-bar a {
  background: #fff !important;
  border: 1px solid rgba(16, 31, 55, .12) !important;
  color: #324863 !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
}
html[data-theme="light"] .filter-bar a:hover,
html[data-theme="light"] .filter-bar a.active {
  background: rgba(47, 141, 255, .1) !important;
  border-color: rgba(47, 141, 255, .35) !important;
  color: #0b5fcc !important;
}

html[data-theme="light"] .trust-item b,
html[data-theme="light"] .service-card h3,
html[data-theme="light"] .feature h3 {
  color: #101f38 !important;
}
html[data-theme="light"] .trust-item small,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .feature p {
  color: #5c6f89 !important;
}

html[data-theme="light"] .nx-store-rail {
  border: 1px solid rgba(16, 31, 55, .08) !important;
  border-radius: 20px !important;
  padding: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(244,248,253,.9)) !important;
}

html[data-theme="light"] .brand-slide {
  border: 1px solid rgba(16, 31, 55, .1) !important;
  background: #fff !important;
}
html[data-theme="light"] .brand-slide small { color: #5c6f89 !important; }

/* جداکننده‌ها و فاصله‌ها در حالت روز */
html[data-theme="light"] hr,
html[data-theme="light"] .divider {
  border-color: rgba(16, 31, 55, .12) !important;
  background: rgba(16, 31, 55, .08) !important;
}

html[data-theme="light"] .empty-note {
  color: #5c6f89 !important;
  background: rgba(16, 31, 55, .03) !important;
  border: 1px dashed rgba(16, 31, 55, .15) !important;
  border-radius: 12px !important;
  padding: 16px !important;
}

/* نوبار دکمه‌ی دسته‌بندی در حالت روشن */
html[data-theme="light"] .nx-cat-btn { color: #4c5f78 !important; }
html[data-theme="light"] .nx-cat-btn:hover { color: #0b5fcc !important; }

/* پس‌زمینه گرادینت زیباتر + سبک‌تر */
html[data-theme="dark"] body,
html:not([data-theme="light"]) body {
  background:
    radial-gradient(1200px 700px at 8% -15%, rgba(56,168,255,.18), transparent 55%),
    radial-gradient(900px 600px at 95% 5%, rgba(29,111,224,.16), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(8,124,255,.10), transparent 55%),
    linear-gradient(165deg, #06101f 0%, #081628 40%, #050d18 100%) !important;
}
html[data-theme="light"] body {
  background:
    radial-gradient(1100px 650px at 10% -12%, rgba(var(--nx-day-primary-rgb,47,141,255),.18), transparent 62%),
    radial-gradient(900px 620px at 92% 4%, rgba(var(--nx-day-secondary-rgb,29,111,224),.14), transparent 58%),
    radial-gradient(700px 520px at 50% 105%, rgba(var(--nx-day-primary-rgb,47,141,255),.09), transparent 62%),
    linear-gradient(160deg, #fbfdff 0%, #f0f5fc 45%, #e8eef8 100%) !important;
}

/* کاهش لگ: بلور کمتر روی موبایل و کارت‌ها */
@media (max-width: 900px) {
  .trust-item, .cats a, .service-card, .brand-slider, .panel, .ad,
  .article-hero, .article-card, .home-ad-card, .review-card, .mini-card, footer {

  }
}

/* ---- شیشه‌ای یکدست + تم روشن/تیره ---- */
.panel,.trust-item,.service-card,.nx-promo-item,.nx-why-item,
.filter-bar a,
.review-composer,.nx-trust-side,.article-hero,.showcase-section,
.nx-contact-panel,.brand-slider,.ad,.home-ad-card {

}
html[data-theme="dark"] .panel,
html:not([data-theme="light"]) .panel {
  background: rgba(12, 22, 40, .55) !important;
  border-color: rgba(148, 196, 255, .14) !important;
}
html[data-theme="light"] .panel {
  background: rgba(255, 255, 255, .72) !important;
  border: 1px solid rgba(30, 60, 110, .12) !important;
  color: #16253d;
}
html[data-theme="light"] .filter-bar a {
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(30,60,110,.12);
  color: #324863;
}
html[data-theme="light"] .filter-bar a.active {
  background: linear-gradient(135deg, var(--nx-primary,#2f8dff), var(--nx-secondary,#1d6fe0));
  color: #fff;
  border-color: transparent;
}
html[data-theme="light"] .empty-note,
html[data-theme="light"] .admin-muted,
html[data-theme="light"] .product-desc { color: #4a5d78; }
html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h3 {
  color: #10223f;
}
html[data-theme="light"] .section-heading p { color: #5a6d86; }
html[data-theme="light"] .nx-breadcrumb a { color: #2f6fd6; }
html[data-theme="light"] .nx-breadcrumb span { color: #7a8ba3; }

/* هیرو دکمه‌ها تراز — همیشه یک خط (v342) */
.hero-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  gap: 12px !important;
  align-items: center !important;
}
.hero-actions .btn,
.hero-actions .btn-outline {
  min-height: 48px !important;
  padding: 12px 22px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}
.hero-actions .btn-outline {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  color: #fff !important;
}
html[data-theme="light"] .hero-actions .btn-outline {
  background: rgba(255,255,255,.65) !important;
  border-color: rgba(30,60,110,.2) !important;
  color: #10223f !important;
}

/* سرعت: بلور کمتر روی موبایل */
@media (max-width: 900px) {
  .panel,.trust-item,.service-card,.nx-promo-item,
  .filter-bar a,.article-hero,.showcase-section {

  }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* تم روشن — خوانایی کامل */
html[data-theme="light"] body { color: #1a2b42; }
html[data-theme="light"] a { color: #1a5fb4; }
html[data-theme="light"] .nx-muted,
html[data-theme="light"] small { color: #5a6d86 !important; }
html[data-theme="light"] .price-tag,
html[data-theme="light"] .nx-final-price { color: #0d213f !important; }
html[data-theme="light"] .btn-outline {
  border-color: rgba(30,60,110,.25) !important;
  color: #10223f !important;
  background: rgba(255,255,255,.7) !important;
}
html[data-theme="light"] .article-hero {
  background: rgba(255,255,255,.85) !important;
  border: 1px solid rgba(30,60,110,.12) !important;
  color: #16253d !important;
}
html[data-theme="light"] .nx-footer-shop {
  background: #fff !important;
  border-color: rgba(30,60,110,.12) !important;
}
html[data-theme="light"] footer {
  color: #2a3d55;
}

/* NEXUS v322 — family/category cards: no image area */
.family-card img,
.family-card .card-image,
.family-card .category-image,
.family-card .family-card-image,
.category-card img,
.category-card .card-image,
.category-card .category-image,
.category-family-card img,
.category-family-card .card-image{
  display:none!important;
}
.family-card,
.category-card,
.category-family-card{
  min-height:0!important;
}
.family-card .card-body,
.category-card .card-body,
.category-family-card .card-body{
  padding-top:18px!important;
}

/* v323 property scroll disabled */
.property-scroll,.property-scroll-behavior,.property-scroll-behaviour,
.properties-scroll,.properties-list-scroll,.product-properties-scroll,
.specifications-scroll{
 max-height:none!important;height:auto!important;overflow:visible!important;
 overflow-y:visible!important;overscroll-behavior:auto!important;
}

/* ================================================================
   NEXUS v334 — سبد خرید: سازگار با تم روز/شب + نمایش واضح تخفیف
   ================================================================ */
.nx-cart-summary{
  margin:14px 0;
  padding:16px 18px;
  border-radius:16px;
}
.nx-cart-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.nx-cart-row:last-child{ margin-bottom:0; }
.nx-cart-row-gross{ opacity:.9; font-size:14px; }
.nx-cart-row-discount{
  color:var(--nx-success,#16a34a);
  font-weight:600;
}
.nx-cart-discount-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.nx-cart-pct-badge{
  display:inline-flex;
  align-items:center;
  padding:2px 9px;
  border-radius:999px;
  background:#16a34a;
  color:#fff !important;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
}
.nx-cart-discount-amount{ font-weight:800; }
.nx-cart-row-payable{
  margin:12px 0 0;
  padding-top:12px;
  border-top:1px solid var(--nx-line,rgba(255,255,255,.12));
  font-size:1.15em;
  font-weight:700;
}
.nx-cart-savings{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.28);
  color:#bbf7d0;
  font-size:13.5px;
  font-weight:600;
}
.nx-cart-savings-icon{
  display:inline-flex;
  width:22px;height:22px;
  align-items:center;justify-content:center;
  border-radius:50%;
  background:#16a34a;
  color:#fff;
  font-size:12px;
  font-weight:900;
  flex-shrink:0;
}

/* تم روز — سبد */
html[data-theme="light"] .nx-cart-row-payable{
  border-top-color:var(--nx-line,#e2eaf5);
}
html[data-theme="light"] .nx-cart-row-discount{
  color:#15803d;
}
html[data-theme="light"] .nx-cart-savings{
  background:rgba(22,163,74,.08);
  border-color:rgba(22,163,74,.22);
  color:#166534;
}
html[data-theme="light"] .nx-cart-savings b{ color:#14532d; }

/* قیمت واحد و جمع خط در جدول سبد */
.nx-cart-price-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}
.nx-cart-discount-badge{
  display:inline-flex;
  align-items:center;
  padding:2px 8px;
  border-radius:999px;
  background:#e11d48;
  color:#fff !important;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
}
.nx-cart-old-price{
  opacity:.65;
  font-size:12px;
  text-decoration:line-through;
}
.nx-cart-sale{
  font-weight:700;
  font-size:14px;
}
.nx-cart-line-total{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
}
.nx-cart-line-old{
  opacity:.55;
  font-size:11px;
  text-decoration:line-through;
}
.nx-cart-line-sale{ font-weight:700; }

html[data-theme="light"] .nx-cart-discount-badge{
  background:#e11d48;
  color:#fff !important;
}
html[data-theme="light"] .nx-cart-old-price,
html[data-theme="light"] .nx-cart-line-old{
  color:#64748b;
}

/* ================================================================
   NEXUS v334 — فوتر: دسترسی سریع عمودی + شبکه‌های اجتماعی
   ================================================================ */
html body footer .footer-quick{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:8px !important;
}
html body footer .footer-quick > b{
  display:block;
  margin-bottom:4px;
}
html body footer .footer-quick-nav{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:6px !important;
  width:100%;
}
html body footer .footer-quick-nav a,
html body footer .footer-quick a{
  display:block !important;
  width:auto;
  margin:0 !important;
  padding:4px 0;
  color:#9eb4cc;
  text-decoration:none;
  font-size:13.5px;
  line-height:1.6;
  transition:color .15s ease, transform .15s ease;
}
html body footer .footer-quick-nav a:hover,
html body footer .footer-quick a:hover{
  color:#fff;
  transform:translateX(-3px);
}
html[data-theme="light"] footer .footer-quick-nav a,
html[data-theme="light"] footer .footer-quick a{ color:#4c5f78; }
html[data-theme="light"] footer .footer-quick-nav a:hover,
html[data-theme="light"] footer .footer-quick a:hover{ color:#101f38; }

/* شبکه‌های اجتماعی */
.footer-social{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-top:12px;
}
.nx-social-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#c5d4e8;
  text-decoration:none !important;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.nx-social-btn:hover{
  transform:translateY(-2px);
  color:#fff;
}
.nx-social-btn svg{ display:block; flex-shrink:0; }

/* اینستاگرام — گرادیان برند */
.nx-social-ig:hover{
  background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  border-color:transparent;
  color:#fff;
  box-shadow:0 6px 18px rgba(220,39,67,.35);
}
/* تلگرام */
.nx-social-tg:hover{
  background:#229ED9;
  border-color:#229ED9;
  color:#fff;
  box-shadow:0 6px 18px rgba(34,158,217,.35);
}
/* واتساپ */
.nx-social-wa:hover{
  background:#25D366;
  border-color:#25D366;
  color:#fff;
  box-shadow:0 6px 18px rgba(37,211,102,.35);
}
/* X */
.nx-social-x:hover{
  background:#000;
  border-color:#333;
  color:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.35);
}
/* ترب */
.nx-social-torob{
  width:auto;
  padding:0 12px;
  min-width:38px;
}
.nx-social-torob-label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
}
.nx-social-torob:hover{
  background:#e11d48;
  border-color:#e11d48;
  color:#fff;
  box-shadow:0 6px 18px rgba(225,29,72,.35);
}

html[data-theme="light"] .nx-social-btn{
  background:rgba(16,31,55,.04);
  border-color:rgba(16,31,55,.1);
  color:#324863;
}
html[data-theme="light"] .nx-social-btn:hover{ color:#fff; }

/* ================================================================
   اعداد در جزئیات محصول — فاصله کمتر و فشرده‌تر
   ================================================================ */
html body .product-info .nx-detail-price,
html body .product-info .nx-detail-price *,
html body .product-info .price-tag,
html body .product-info .price-tag *,
html body .product-info .nx-old-price,
html body .product-info .nx-old-price *,
html body .product-info .nx-price-number,
html body .product-info .nx-discount-badge{
  letter-spacing:-0.02em !important;
  word-spacing:-0.04em !important;
  font-variant-numeric:lining-nums proportional-nums !important;
}
html body .product-info .price-tag{
  font-weight:800;
}
html body .product-info .nx-detail-price{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 8px;
}

/* ================================================================
   NEXUS v334 — انیمیشن‌های مدرن (سبد، فوتر، اجتماعی)
   ================================================================ */
@keyframes nx-pop-in {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes nx-slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes nx-badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,29,72,.4); }
  50%      { box-shadow: 0 0 0 5px rgba(225,29,72,0); }
}

/* بج تخفیف سبد */
.nx-cart-discount-badge,
.nx-cart-pct-badge{
  animation: nx-pop-in .35s cubic-bezier(.34,1.56,.64,1) both;
  transition: transform .2s ease, box-shadow .25s ease;
}
.nx-cart-discount-badge:hover,
.nx-cart-pct-badge:hover{
  transform: scale(1.06);
}

/* خلاصه سبد */
.nx-cart-summary{
  animation: nx-slide-up .4s cubic-bezier(.22,1,.36,1) both;
}
.nx-cart-savings{
  animation: nx-slide-up .45s cubic-bezier(.22,1,.36,1) .1s both;
  transition: transform .2s ease, box-shadow .25s ease;
}
.nx-cart-savings:hover{
  transform: translateY(-1px);
}
.nx-cart-savings-icon{
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.nx-cart-savings:hover .nx-cart-savings-icon{
  transform: scale(1.15) rotate(-8deg);
}

/* ردیف‌های سبد */
.cart-table tbody tr{
  transition: background .2s ease, transform .2s ease;
}
.cart-table tbody tr:hover{
  background: rgba(47,141,255,.04);
}

/* دکمه‌های اجتماعی — ورود و هاور نرم */
.footer-social .nx-social-btn{
  animation: nx-pop-in .4s cubic-bezier(.34,1.56,.64,1) both;
  transition: background .25s ease, color .25s ease, border-color .25s ease,
              transform .25s cubic-bezier(.22,1,.36,1),
              box-shadow .25s ease;
}
.footer-social .nx-social-btn:nth-child(1){ animation-delay: .05s; }
.footer-social .nx-social-btn:nth-child(2){ animation-delay: .1s; }
.footer-social .nx-social-btn:nth-child(3){ animation-delay: .15s; }
.footer-social .nx-social-btn:nth-child(4){ animation-delay: .2s; }
.footer-social .nx-social-btn:nth-child(5){ animation-delay: .25s; }
.footer-social .nx-social-btn:nth-child(6){ animation-delay: .3s; }

.footer-social .nx-social-btn:hover{
  transform: translateY(-3px) scale(1.06);
}
.footer-social .nx-social-btn:active{
  transform: translateY(-1px) scale(.98);
}

/* لینک‌های دسترسی سریع */
.footer-quick-nav a{
  transition: color .2s ease, transform .22s cubic-bezier(.22,1,.36,1), opacity .2s ease;
}
.footer-quick-nav a:hover{
  transform: translateX(-4px);
}

/* بج تخفیف محصول */
.nx-discount-badge{
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.nx-discount-badge:hover{
  transform: scale(1.05);
}

/* trust side */
.nx-trust-item{
  transition: transform .22s cubic-bezier(.22,1,.36,1), background .22s ease;
}
.nx-trust-item:hover{
  transform: translateX(-3px);
}

@media (prefers-reduced-motion: reduce){
  .nx-cart-discount-badge,
  .nx-cart-pct-badge,
  .nx-cart-summary,
  .nx-cart-savings,
  .footer-social .nx-social-btn{
    animation: none !important;
  }
  .nx-cart-discount-badge,
  .nx-cart-pct-badge,
  .nx-cart-savings,
  .nx-cart-savings-icon,
  .cart-table tbody tr,
  .footer-social .nx-social-btn,
  .footer-quick-nav a,
  .nx-discount-badge,
  .nx-trust-item{
    transition: none !important;
  }
  .footer-social .nx-social-btn:hover,
  .nx-cart-savings:hover,
  .nx-trust-item:hover{
    transform: none;
  }
}


/* ================================================================
   NEXUS v334 — فوتر قوانین خوانا + عکس مغازه پایدار + کوپن
   ================================================================ */
html body footer .nx-footer-legal{
  max-width:1240px;
  margin:24px auto 0 !important;
  padding:18px 0 8px !important;
  border-top:1px solid rgba(135,194,255,.2) !important;
}
html body footer .nx-footer-legal > b{
  display:block;
  color:#e8f2ff !important;
  font-size:14px !important;
  font-weight:800 !important;
  margin-bottom:10px !important;
  opacity:1 !important;
}
html body footer .nx-footer-legal-links{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
}
html body footer .nx-footer-legal-links a{
  display:inline-flex !important;
  align-items:center !important;
  padding:9px 14px !important;
  border-radius:12px !important;
  text-decoration:none !important;
  color:#d7e8ff !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(160,210,255,.22) !important;
  font-size:12.5px !important;
  font-weight:600 !important;
  opacity:1 !important;
  visibility:visible !important;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
html body footer .nx-footer-legal-links a:hover{
  color:#fff !important;
  background:rgba(47,141,255,.28) !important;
  border-color:rgba(100,180,255,.45) !important;
  transform:translateY(-1px);
}
html[data-theme="light"] footer .nx-footer-legal > b{ color:#10223f !important; }
html[data-theme="light"] footer .nx-footer-legal-links a{
  color:#1a3a66 !important;
  background:rgba(16,40,80,.05) !important;
  border-color:rgba(40,90,160,.16) !important;
}
html[data-theme="light"] footer .nx-footer-legal-links a:hover{
  color:#0b1c38 !important;
  background:rgba(47,141,255,.12) !important;
}

/* عکس مغازه — پایدار در Safari/Chrome */
html body footer .nx-shop-frame{
  position:relative !important;
  overflow:hidden !important;
  min-height:260px !important;
  height:280px !important;
  background:rgba(255,255,255,.04) !important;
}
html body footer .nx-shop-frame img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:260px !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  -webkit-user-select:none;
}

/* ردیف کد تخفیف در جمع سبد */
.nx-cart-row-coupon{
  color:#38bdf8;
  font-weight:600;
}
html[data-theme="light"] .nx-cart-row-coupon{ color:#0369a1; }
#couponCheckMsg.ok{ color:#4ade80; font-size:13px; display:block; margin-top:6px; }
#couponCheckMsg.err{ color:#f87171; font-size:13px; display:block; margin-top:6px; }
html[data-theme="light"] #couponCheckMsg.ok{ color:#15803d; }
html[data-theme="light"] #couponCheckMsg.err{ color:#b91c1c; }

/* ================================================================
   NEXUS v334 — فوتر (اجتماعی دسکتاپ + دسترسی سریع موبایل + قوانین فشرده)
   + مجله تم روز + فونت پایدار
   ================================================================ */

/* اجتماعی: ردیف منظم زیر اطلاعات تماس */
html body footer .footer-contact-info{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:8px !important;
}
html body footer .footer-social{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  margin-top:10px !important;
  width:100% !important;
}
html body footer .nx-social-btn{
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  border-radius:12px !important;
  flex:0 0 auto !important;
}
html body footer .nx-social-torob{
  width:auto !important;
  min-width:40px !important;
  padding:0 12px !important;
}

/* دسترسی سریع — موبایل وسط‌چین */
@media (max-width:700px){
  html body footer .footer-quick{
    align-items:center !important;
    text-align:center !important;
  }
  html body footer .footer-quick > b{
    width:100%;
    text-align:center !important;
  }
  html body footer .footer-quick-nav{
    align-items:center !important;
    width:100% !important;
  }
  html body footer .footer-quick-nav a,
  html body footer .footer-quick a{
    text-align:center !important;
  }
  html body footer .footer-contact{
    text-align:center !important;
  }
  html body footer .footer-contact-info{
    align-items:center !important;
  }
  html body footer .footer-social{
    justify-content:center !important;
  }
  html body footer .footer-contact-row{
    justify-content:center !important;
  }
}

/* قوانین — مثل دسترسی سریع، بدون دکمه، جمع‌وجور */
html body footer .nx-footer-legal.footer-quick-style,
html body footer .nx-footer-legal{
  max-width:1240px;
  margin:18px auto 0 !important;
  padding:14px 0 0 !important;
  border-top:1px solid var(--nx-f-line, rgba(135,194,255,.16)) !important;
}
html body footer .nx-footer-legal > b{
  display:block;
  margin-bottom:6px !important;
  font-size:13.5px !important;
  font-weight:800 !important;
  color:inherit !important;
  opacity:.95 !important;
}
html body footer .footer-legal-nav,
html body footer .nx-footer-legal-links{
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  align-items:flex-start !important;
  gap:4px !important;
  margin-top:4px !important;
}
html body footer .footer-legal-nav a,
html body footer .nx-footer-legal-links a{
  display:block !important;
  padding:3px 0 !important;
  margin:0 !important;
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  font-size:13px !important;
  font-weight:500 !important;
  color:#9eb4cc !important;
  text-decoration:none !important;
  line-height:1.7 !important;
}
html body footer .footer-legal-nav a:hover,
html body footer .nx-footer-legal-links a:hover{
  color:#fff !important;
  background:transparent !important;
  transform:translateX(-3px);
}
html[data-theme="light"] footer .footer-legal-nav a,
html[data-theme="light"] footer .nx-footer-legal-links a{
  color:#4c5f78 !important;
  background:transparent !important;
  border:0 !important;
}
html[data-theme="light"] footer .footer-legal-nav a:hover,
html[data-theme="light"] footer .nx-footer-legal-links a:hover{
  color:#101f38 !important;
}
@media (max-width:700px){
  html body footer .nx-footer-legal{
    text-align:center !important;
  }
  html body footer .footer-legal-nav,
  html body footer .nx-footer-legal-links{
    align-items:center !important;
  }
}

/* مجله — تم روز/شب */
.nx-magazine-section{
  max-width:1240px;
  margin:28px auto !important;
  padding:0 16px !important;
}
.nx-magazine-card{
  border-radius:22px !important;
  border:1px solid rgba(100,170,230,.18) !important;
  background:linear-gradient(160deg, rgba(12,28,52,.92), rgba(8,18,36,.88)) !important;
  box-shadow:0 16px 40px rgba(0,0,0,.18) !important;
  overflow:hidden;
}
html[data-theme="light"] .nx-magazine-card{
  background:linear-gradient(160deg, #ffffff, #f0f6ff) !important;
  border-color:rgba(40,100,180,.14) !important;
  box-shadow:0 12px 32px rgba(40,80,140,.1) !important;
}
.nx-mag-inner{ padding:22px 22px 20px; }
.nx-mag-list{
  display:grid;
  gap:10px;
  margin:16px 0 12px;
}
.nx-mag-item{
  display:flex;
  gap:12px;
  align-items:center;
  padding:11px 13px;
  border-radius:14px;
  border:1px solid rgba(100,170,230,.16);
  background:rgba(255,255,255,.04);
  color:inherit;
  text-decoration:none !important;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.nx-mag-item:hover{
  transform:translateY(-2px);
  border-color:rgba(100,180,255,.35);
  background:rgba(47,141,255,.08);
}
html[data-theme="light"] .nx-mag-item{
  background:#fff;
  border-color:rgba(40,100,180,.12);
  box-shadow:0 2px 10px rgba(40,80,140,.06);
}
html[data-theme="light"] .nx-mag-item:hover{
  background:#f5f9ff;
  border-color:rgba(47,141,255,.28);
}
.nx-mag-thumb{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:10px;
  flex:0 0 auto;
  background:rgba(10,22,40,.5);
}
.nx-mag-thumb-ph{
  display:grid;
  place-items:center;
  background:rgba(56,168,255,.12);
  font-size:22px;
}
html[data-theme="light"] .nx-mag-thumb-ph{
  background:rgba(47,141,255,.1);
}
.nx-mag-text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.nx-mag-text b{
  display:block;
  font-size:13px;
  line-height:1.45;
  font-weight:800;
  color:inherit;
}
.nx-mag-text small{
  font-size:11.5px;
  color:#8fa6c0;
  line-height:1.5;
}
html[data-theme="light"] .nx-mag-text small{ color:#5c6f89; }
html[data-theme="light"] .nx-magazine-card h2{ color:#10223f !important; }
html[data-theme="light"] .nx-magazine-card p{ color:#3a4f6b !important; }

/* فونت پایدار همه‌مرورگر */
html,body,button,input,textarea,select{
  font-family:'NexusPersian','Vazirmatn','Noto Sans Arabic','Segoe UI',Tahoma,Arial,-apple-system,BlinkMacSystemFont,sans-serif !important;
}

/* ================================================================
   NEXUS v334 FIX — فوتر / مجله روز / فونت اعداد
   ================================================================ */

/* —— اجتماعی دسکتاپ: جای درست زیر تماس —— */
html body footer .footer-contact{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
}
html body footer .footer-contact > b{
  margin-bottom:8px !important;
}
html body footer .footer-contact-row{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-start !important;
  gap:16px 20px !important;
  width:100% !important;
}
html body footer .footer-contact-info{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:6px !important;
  flex:1 1 auto !important;
  min-width:0 !important;
}
html body footer .footer-social{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  margin-top:12px !important;
  width:100% !important;
  clear:both !important;
}
html body footer .nx-social-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:12px !important;
  flex:0 0 auto !important;
  vertical-align:middle !important;
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
}
html body footer .nx-social-torob{
  width:auto !important;
  padding:0 12px !important;
}

/* —— دسترسی سریع موبایل وسط‌چین —— */
@media (max-width:700px){
  html body footer .footer-quick,
  html body footer .footer-quick > b,
  html body footer .footer-quick-nav{
    text-align:center !important;
    align-items:center !important;
  }
  html body footer .footer-quick-nav a{
    text-align:center !important;
    width:100% !important;
  }
  html body footer .footer-contact,
  html body footer .footer-contact-info{
    align-items:center !important;
    text-align:center !important;
  }
  html body footer .footer-social{
    justify-content:center !important;
  }
  html body footer .footer-contact-row{
    justify-content:center !important;
  }
  html body footer .footer-enamad{
    margin:0 auto !important;
  }
}

/* —— قوانین: متن ساده افقی، بدون دکمه —— */
html body footer .nx-footer-legal.footer-quick-style{
  max-width:1240px;
  margin:16px auto 0 !important;
  padding:12px 0 0 !important;
  border-top:1px solid var(--nx-f-line,rgba(135,194,255,.16)) !important;
}
html body footer .nx-footer-legal > b{
  display:block;
  margin-bottom:6px !important;
  font-size:13px !important;
  font-weight:800 !important;
}
html body footer .footer-legal-nav-h,
html body footer .footer-legal-nav{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:4px 2px !important;
  margin:0 !important;
  padding:0 !important;
}
html body footer .footer-legal-nav a{
  display:inline !important;
  padding:2px 6px !important;
  margin:0 !important;
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  font-size:12.5px !important;
  font-weight:500 !important;
  color:#9eb4cc !important;
  text-decoration:none !important;
  line-height:1.6 !important;
  white-space:nowrap !important;
}
html body footer .footer-legal-nav a:hover{
  color:#fff !important;
  background:transparent !important;
  text-decoration:underline !important;
  transform:none !important;
}
html body footer .nx-legal-sep{
  color:rgba(158,180,204,.45);
  font-size:12px;
  user-select:none;
  padding:0 2px;
}
html[data-theme="light"] footer .footer-legal-nav a{
  color:#4c5f78 !important;
  background:transparent !important;
  border:0 !important;
}
html[data-theme="light"] footer .footer-legal-nav a:hover{
  color:#101f38 !important;
}
@media (max-width:700px){
  html body footer .nx-footer-legal{ text-align:center !important; }
  html body footer .footer-legal-nav-h{
    justify-content:center !important;
  }
}

/* —— مجله: از نو برای تم روز — سفید و تمیز —— */
.nx-magazine-section{
  max-width:1240px !important;
  margin:32px auto !important;
  padding:0 16px !important;
  background:transparent !important;
}
.nx-magazine-card{
  border-radius:20px !important;
  border:1px solid rgba(100,170,230,.2) !important;
  background:linear-gradient(165deg, rgba(14,30,55,.95), rgba(8,18,36,.9)) !important;
  box-shadow:0 14px 36px rgba(0,0,0,.16) !important;
  overflow:hidden !important;
}
html[data-theme="light"] .nx-magazine-card{
  background:#ffffff !important;
  border:1px solid rgba(30,80,140,.12) !important;
  box-shadow:0 10px 28px rgba(40,80,140,.08) !important;
}
.nx-mag-inner{ padding:22px !important; }
html[data-theme="light"] .nx-magazine-card .nx-mag-brand,
html[data-theme="light"] .nx-magazine-card .nx-mag-label,
html[data-theme="light"] .nx-magazine-card .eyebrow{
  color:#2f6fd6 !important;
}
html[data-theme="light"] .nx-magazine-card h2{
  color:#0f1f38 !important;
}
html[data-theme="light"] .nx-magazine-card > .nx-mag-inner > p,
html[data-theme="light"] .nx-magazine-card .nx-mag-inner > p{
  color:#4a5d78 !important;
}
.nx-mag-list{
  display:grid !important;
  gap:10px !important;
  margin:16px 0 14px !important;
}
.nx-mag-item{
  display:flex !important;
  gap:12px !important;
  align-items:center !important;
  padding:12px 14px !important;
  border-radius:14px !important;
  border:1px solid rgba(100,170,230,.16) !important;
  background:rgba(255,255,255,.05) !important;
  color:inherit !important;
  text-decoration:none !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
html[data-theme="light"] .nx-mag-item{
  background:#f7faff !important;
  border:1px solid rgba(40,100,180,.12) !important;
  box-shadow:0 2px 8px rgba(40,80,140,.04) !important;
}
html[data-theme="light"] .nx-mag-item:hover{
  background:#ffffff !important;
  border-color:rgba(47,141,255,.35) !important;
  box-shadow:0 6px 16px rgba(47,141,255,.1) !important;
  transform:translateY(-2px);
}
.nx-mag-thumb{
  width:56px !important;
  height:56px !important;
  object-fit:cover !important;
  border-radius:12px !important;
  flex:0 0 auto !important;
  background:#e8f0fa !important;
}
.nx-mag-thumb-ph{
  display:grid !important;
  place-items:center !important;
  background:rgba(47,141,255,.1) !important;
  font-size:22px !important;
}
.nx-mag-text b{
  display:block !important;
  font-size:13.5px !important;
  font-weight:800 !important;
  line-height:1.45 !important;
  color:inherit !important;
}
html[data-theme="light"] .nx-mag-text b{ color:#10223f !important; }
.nx-mag-text small{
  font-size:11.5px !important;
  color:#8fa6c0 !important;
}
html[data-theme="light"] .nx-mag-text small{ color:#5c6f89 !important; }
html[data-theme="light"] .nx-magazine-card .btn{
  background:linear-gradient(135deg,#2f8dff,#1d6fe0) !important;
  color:#fff !important;
  border:0 !important;
}

/* فونت سراسری پایدار */
html,body,button,input,textarea,select{
  font-family:'NexusPersian','Vazirmatn','Noto Sans Arabic',Tahoma,Arial,-apple-system,BlinkMacSystemFont,sans-serif !important;
}

/* ================================================================
   NEXUS v334 — UI batch: legal center, back-top, mobile footer/header,
   magazine day, account day, comments
   ================================================================ */

/* قوانین — وسط‌چین دسکتاپ و موبایل */
html body footer .nx-footer-legal,
html body footer .nx-footer-legal.footer-quick-style{
  text-align:center !important;
}
html body footer .nx-footer-legal > b{
  text-align:center !important;
  width:100% !important;
}
html body footer .footer-legal-nav-h,
html body footer .footer-legal-nav{
  justify-content:center !important;
  align-items:center !important;
}

/* دکمه برگشت به بالا — همیشه کار کند */
.nx-back-top{
  position:fixed !important;
  bottom:24px !important;
  left:20px !important;
  z-index:9999 !important;
  width:46px !important;
  height:46px !important;
  border-radius:14px !important;
  border:1px solid rgba(148,189,255,.28) !important;
  background:rgba(12,22,40,.92) !important;
  color:#7ec8ff !important;
  font-size:1.05rem !important;
  display:grid !important;
  place-items:center !important;
  cursor:pointer !important;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  transition:opacity .28s ease, transform .28s ease, background .2s ease, box-shadow .25s ease !important;
  box-shadow:0 8px 24px rgba(0,0,0,.25) !important;
}
.nx-back-top.is-visible{
  opacity:1 !important;
  pointer-events:auto !important;
  transform:translateY(0) !important;
}
.nx-back-top:hover{
  background:#2f8dff !important;
  color:#fff !important;
  box-shadow:0 10px 28px rgba(47,141,255,.45) !important;
  transform:translateY(-3px) scale(1.05) !important;
}
html[data-theme="light"] .nx-back-top{
  background:rgba(255,255,255,.95) !important;
  color:#1a6fd4 !important;
  border-color:rgba(16,31,55,.14) !important;
}
html[data-theme="light"] .nx-back-top:hover{
  background:#2f8dff !important;
  color:#fff !important;
}
@media (max-width:700px){
  .nx-back-top{
    bottom:86px !important; /* بالای نوبار موبایل */
    left:14px !important;
    width:44px !important;
    height:44px !important;
  }
}

/* فوتر موبایل خوشگل‌تر */
@media (max-width:700px){
  html body footer{
    padding:28px 16px 100px !important;
  }
  html body footer .footer-grid{
    gap:22px !important;
  }
  html body footer .footer-about,
  html body footer .footer-quick,
  html body footer .footer-contact{
    text-align:center !important;
    align-items:center !important;
  }
  html body footer .footer-about p,
  html body footer .footer-about-note{
    text-align:center !important;
    max-width:32ch;
    margin-inline:auto;
  }
  html body footer .footer-quick-nav{
    gap:6px !important;
  }
  html body footer .footer-quick-nav a{
    padding:6px 0 !important;
    font-size:13.5px !important;
  }
  html body footer .footer-social{
    justify-content:center !important;
    gap:10px !important;
  }
  html body footer .nx-social-btn{
    width:44px !important;
    height:44px !important;
  }
  html body footer .nx-footer-legal{
    margin-top:12px !important;
    padding-top:12px !important;
  }
  html body footer .footer-bottom{
    font-size:12px !important;
    padding:14px 0 0 !important;
  }
}

/* هدر موبایل — تماس فقط آیکن تلفن */
@media (max-width:900px){
  .nx-header-actions .nx-contact-btn span{ display:none !important; }
  .nx-header-actions .nx-contact-btn{
    width:42px !important;
    min-width:42px !important;
    padding:0 !important;
    justify-content:center !important;
  }
  .nx-header-actions .nx-contact-btn .nx-icon,
  .nx-header-actions .nx-contact-btn svg{
    width:20px !important;
    height:20px !important;
  }
}
@media (max-width:700px){
  .nx-header-inner{
    padding:10px 12px 12px !important;
    gap:8px 10px !important;
  }
  .nx-header-actions{
    gap:6px !important;
  }
  .nx-action{
    height:40px !important;
    border-radius:12px !important;
  }
  .nx-search{
    border-radius:14px !important;
    box-shadow:0 4px 16px rgba(0,0,0,.08);
  }
  html[data-theme="light"] .nx-header{
    background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.92)) !important;
    border-bottom-color:rgba(16,31,55,.08) !important;
  }
}

/* مجله تم روز — سفید قطعی (باطل کردن پس‌زمینه تیره) */
html[data-theme="light"] .nx-magazine-section .nx-magazine-card,
html[data-theme="light"] .nx-magazine-card{
  background:#ffffff !important;
  background-image:none !important;
  border:1px solid rgba(30,80,140,.12) !important;
  box-shadow:0 12px 32px rgba(40,80,140,.08) !important;
  color:#0f1f38 !important;
}
html[data-theme="light"] .nx-magazine-card *{
  color:inherit;
}
html[data-theme="light"] .nx-magazine-card h2,
html[data-theme="light"] .nx-magazine-card .nx-mag-text b{
  color:#0f1f38 !important;
}
html[data-theme="light"] .nx-magazine-card p,
html[data-theme="light"] .nx-magazine-card .nx-mag-text small{
  color:#4a5d78 !important;
}
html[data-theme="light"] .nx-magazine-card .nx-mag-brand,
html[data-theme="light"] .nx-magazine-card .nx-mag-label,
html[data-theme="light"] .nx-magazine-card .eyebrow{
  color:#2f6fd6 !important;
}
html[data-theme="light"] .nx-mag-item{
  background:#f5f9ff !important;
  border:1px solid rgba(40,100,180,.12) !important;
  color:#0f1f38 !important;
}
html[data-theme="light"] .nx-mag-item:hover{
  background:#ffffff !important;
  border-color:rgba(47,141,255,.3) !important;
}
html[data-theme="light"] .nx-mag-thumb{
  background:#e8f0fa !important;
}
html[data-theme="light"] .nx-magazine-card .btn{
  background:linear-gradient(135deg,#2f8dff,#6d5efc) !important;
  color:#fff !important;
  border:0 !important;
}

/* حساب من — سازگار با تم روز */
html[data-theme="light"] .account-page{
  color:#0f1f38;
}
html[data-theme="light"] .account-sidebar,
html[data-theme="light"] .account-page .panel,
html[data-theme="light"] .account-page .panel.profile-card,
html[data-theme="light"] .account-welcome{
  background:#ffffff !important;
  border:1px solid rgba(30,80,140,.12) !important;
  box-shadow:0 8px 24px rgba(40,80,140,.06) !important;
  color:#0f1f38 !important;
}
html[data-theme="light"] .account-sidebar .account-username,
html[data-theme="light"] .account-welcome h2,
html[data-theme="light"] .account-page h1,
html[data-theme="light"] .account-page h2{
  color:#0f1f38 !important;
}
html[data-theme="light"] .account-handle,
html[data-theme="light"] .account-welcome p,
html[data-theme="light"] .account-page .empty-note{
  color:#5c6f89 !important;
}
html[data-theme="light"] .account-menu a{
  color:#3a4f6b !important;
  background:rgba(47,141,255,.04) !important;
  border-radius:12px !important;
}
html[data-theme="light"] .account-menu a.active,
html[data-theme="light"] .account-menu a:hover{
  background:rgba(47,141,255,.12) !important;
  color:#1a5bb8 !important;
}
html[data-theme="light"] .account-page input,
html[data-theme="light"] .account-page textarea,
html[data-theme="light"] .account-page select{
  background:#f7faff !important;
  border:1px solid rgba(30,80,140,.14) !important;
  color:#0f1f38 !important;
}
html[data-theme="light"] .order-row{
  background:#fff !important;
  border-color:rgba(30,80,140,.12) !important;
  color:#0f1f38 !important;
}
html[data-theme="light"] .account-avatar{
  background:linear-gradient(135deg,#2f8dff,#1d6fe0) !important;
  color:#fff !important;
}
html[data-theme="light"] .profile-status.is-complete{
  background:rgba(34,197,94,.1) !important;
  border:1px solid rgba(34,197,94,.2) !important;
}
html[data-theme="light"] .profile-status.is-incomplete{
  background:rgba(245,158,11,.1) !important;
  border:1px solid rgba(245,158,11,.22) !important;
}

/* کامنت / دیدگاه — خوشگل‌تر + تم روز */
.review-composer{
  border-radius:18px !important;
  padding:18px !important;
  border:1px solid rgba(100,170,230,.18) !important;
  background:rgba(255,255,255,.04) !important;
  margin-bottom:18px !important;
}
.review-composer h3{
  margin:0 0 12px !important;
  font-size:16px !important;
  font-weight:800 !important;
}
.review-composer textarea{
  width:100% !important;
  border-radius:14px !important;
  border:1px solid rgba(100,170,230,.2) !important;
  padding:12px 14px !important;
  min-height:110px !important;
  resize:vertical !important;
  background:rgba(0,0,0,.15) !important;
  color:inherit !important;
  font-family:inherit !important;
  line-height:1.7 !important;
}
.review-composer .rating-select{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin-bottom:12px !important;
  font-weight:700 !important;
}
.review-composer select{
  border-radius:10px !important;
  padding:8px 12px !important;
  border:1px solid rgba(100,170,230,.2) !important;
  background:rgba(0,0,0,.12) !important;
  color:inherit !important;
}
.review-compose-footer{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  margin-top:12px !important;
}
.review-list .review-card,
.review-list .review-item{
  border-radius:16px !important;
  padding:14px 16px !important;
  margin-bottom:10px !important;
  border:1px solid rgba(100,170,230,.14) !important;
  background:rgba(255,255,255,.03) !important;
}
html[data-theme="light"] .review-composer{
  background:#ffffff !important;
  border-color:rgba(30,80,140,.12) !important;
  box-shadow:0 6px 20px rgba(40,80,140,.06) !important;
  color:#0f1f38 !important;
}
html[data-theme="light"] .review-composer h3{ color:#0f1f38 !important; }
html[data-theme="light"] .review-composer textarea,
html[data-theme="light"] .review-composer select{
  background:#f7faff !important;
  border-color:rgba(30,80,140,.14) !important;
  color:#0f1f38 !important;
}
html[data-theme="light"] .review-list .review-card,
html[data-theme="light"] .review-list .review-item{
  background:#f8fafc !important;
  border-color:rgba(30,80,140,.1) !important;
  color:#0f1f38 !important;
}
html[data-theme="light"] .login-hint{
  background:rgba(47,141,255,.06) !important;
  border:1px solid rgba(47,141,255,.15) !important;
  color:#3a4f6b !important;
  border-radius:12px !important;
  padding:12px 14px !important;
}

/* ================================================================
   NEXUS v334 — سبد در هدر، پیگیری در نوبار، فاصله اعداد،
   اینماد کنار تماس، آیکن خدمات روز، ترب
   ================================================================ */

/* سبد در هدر */
.nx-header-cart{
  position:relative !important;
}
.nx-header-cart-count,
.nx-header-cart b[data-cart-count]{
  position:absolute !important;
  top:-6px !important;
  left:-4px !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  border-radius:999px !important;
  background:#ef4444 !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:800 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  border:2px solid rgba(3,7,18,.9) !important;
}
html[data-theme="light"] .nx-header-cart-count,
html[data-theme="light"] .nx-header-cart b[data-cart-count]{
  border-color:#fff !important;
}

/* اینماد کنار اطلاعات تماس — یک ردیف، جا نگیرد */
html body footer .footer-contact-row{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-start !important;
  gap:12px 16px !important;
  width:100% !important;
}
html body footer .footer-contact-info{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:6px !important;
  flex:1 1 auto !important;
  min-width:0 !important;
}
html body footer .footer-contact-badges{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:10px !important;
  flex:0 0 auto !important;
  margin-top:4px !important;
}
html body footer .footer-enamad{
  display:flex !important;
  align-items:center !important;
  margin:0 !important;
  padding:0 !important;
  line-height:0 !important;
}
html body footer .footer-enamad img{
  width:72px !important;
  height:auto !important;
  max-width:72px !important;
  display:block !important;
}
html body footer .footer-social{
  margin-top:8px !important;
}
/* ترب — قرمز */
html body footer .nx-social-torob{
  background:rgba(220,38,38,.14) !important;
  border-color:rgba(220,38,38,.35) !important;
  color:#ef4444 !important;
}
html body footer .nx-social-torob:hover{
  background:#dc2626 !important;
  color:#fff !important;
  border-color:#dc2626 !important;
}
@media (max-width:700px){
  html body footer .footer-contact-info{ align-items:center !important; }
  html body footer .footer-contact-badges{ justify-content:center !important; width:100%; }
}

/* فاصله اعداد قیمت — فشرده (خانواده + جزئیات + کارت) */
html body .nx-price,
html body .nx-price *,
html body .nx-price-number,
html body .nxc-num,
html body .nxc-old,
html body .nxc-prices,
html body .nxc-prices *,
html body .nxc-now,
html body .nxc-now *,
html body .nx-family-price,
html body .nx-family-price *,
html body .product-price,
html body .product-price *,
html body .nx-detail-price,
html body .nx-detail-price *,
html body .price-tag,
html body .price-tag *,
html body .nx-final-price,
html body .nx-cart-price,
html body .nx-cart-price *{
  letter-spacing:-0.04em !important;
  font-variant-numeric:lining-nums proportional-nums !important;
  word-spacing:0 !important;
}
html body .nx-family-price{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:100% !important;
  font-size:11px !important;
  gap:2px !important;
}
html body .nx-family-price .nx-price,
html body .nx-family-price .nx-price-number{
  letter-spacing:-0.05em !important;
}
html body .nxc-now,
html body .nx-price{
  gap:3px !important;
}
html body .nxc-now .nx-toman,
html body .nx-price .nx-toman,
html body .nxc-now svg,
html body .nx-price svg{
  margin:0 !important;
  flex-shrink:0 !important;
}

/* آیکن خدمات ما — در تم روز سیاه/تیره برای دید بهتر */
html[data-theme="light"] .service-icon,
html[data-theme="light"] .service-icon i,
html[data-theme="light"] .service-card .service-icon,
html[data-theme="light"] .service-card .fas,
html[data-theme="light"] .service-card .fa-solid{
  color:#0f172a !important;
  opacity:1 !important;
}
html[data-theme="light"] .service-icon{
  background:rgba(15,23,42,.06) !important;
  border:1px solid rgba(15,23,42,.08) !important;
}
html[data-theme="light"] .service-card:hover .service-icon,
html[data-theme="light"] .service-card:hover .service-icon i{
  color:#0f172a !important;
  background:rgba(15,23,42,.1) !important;
}
/* trust icons day */
html[data-theme="light"] .trust-icon,
html[data-theme="light"] .trust-icon .nx-icon,
html[data-theme="light"] .trust-icon svg{
  color:#0f172a !important;
  stroke:#0f172a !important;
}

/* اینماد واقعاً کنار اطلاعات تماس (نه ردیف جدا) */
html body footer .footer-contact-info{
  display:grid !important;
  grid-template-columns:1fr auto !important;
  align-items:start !important;
  column-gap:14px !important;
  row-gap:6px !important;
  width:100% !important;
}
html body footer .footer-contact-info > a,
html body footer .footer-contact-info > small{
  grid-column:1 !important;
}
html body footer .footer-social{
  grid-column:1 / -1 !important;
}
html body footer .footer-contact-badges{
  grid-column:2 !important;
  grid-row:1 / span 4 !important;
  align-self:center !important;
  margin:0 !important;
}
@media (max-width:700px){
  html body footer .footer-contact-info{
    grid-template-columns:1fr !important;
    justify-items:center !important;
  }
  html body footer .footer-contact-badges{
    grid-column:1 !important;
    grid-row:auto !important;
    justify-content:center !important;
  }
}

/* ================================================================
   NEXUS v334 FIX — ترب متنی، فوتر موبایل، دسته موبایل،
   برگشت بالا، جستجوی موبایل بدون به‌هم‌ریختگی
   ================================================================ */

/* ترب — فقط متن */
html body footer .nx-social-torob-text,
html body footer a.nx-social-torob.nx-social-torob-text{
  width:auto !important;
  min-width:auto !important;
  height:36px !important;
  padding:0 14px !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  border-radius:10px !important;
}
html body footer .nx-social-torob-text svg{ display:none !important; }

/* فوتر موبایل — تمیز و مرتب */
@media (max-width:700px){
  html body footer{
    padding:24px 14px 110px !important;
  }
  html body footer .footer-grid{
    gap:20px !important;
    text-align:center !important;
  }
  html body footer .footer-about,
  html body footer .footer-quick,
  html body footer .footer-contact{
    text-align:center !important;
    align-items:center !important;
  }
  html body footer .footer-about-note,
  html body footer .footer-about p{
    max-width:34ch;
    margin-inline:auto;
    line-height:1.75 !important;
    font-size:13px !important;
  }
  html body footer .footer-quick > b,
  html body footer .footer-contact > b{
    font-size:14px !important;
    margin-bottom:8px !important;
  }
  html body footer .footer-quick-nav{
    gap:4px !important;
  }
  html body footer .footer-quick-nav a{
    padding:7px 0 !important;
    font-size:13.5px !important;
  }
  html body footer .footer-contact-info{
    grid-template-columns:1fr !important;
    justify-items:center !important;
    gap:8px !important;
  }
  html body footer .footer-contact-info > a{
    font-size:13.5px !important;
  }
  html body footer .footer-social{
    justify-content:center !important;
    gap:10px !important;
    margin-top:10px !important;
  }
  html body footer .footer-contact-badges{
    grid-column:1 !important;
    grid-row:auto !important;
    justify-content:center !important;
    margin-top:8px !important;
  }
  html body footer .footer-enamad img{
    width:64px !important;
  }
  html body footer .nx-footer-legal{
    margin-top:8px !important;
    padding-top:12px !important;
  }
  html body footer .footer-legal-nav a{
    font-size:12px !important;
    padding:2px 5px !important;
  }
  html body footer .footer-bottom{
    font-size:11.5px !important;
    opacity:.85;
  }
  html body footer .nx-location-shop{
    margin-top:18px !important;
  }
}

/* دسته‌بندی موبایل — زیردسته‌ها واضح */
@media (max-width:900px){
  .nx-cat-acc .nx-cat-nest{
    margin:0 10px 12px !important;
    padding:6px 0 4px !important;
    border-top:1px solid rgba(0,0,0,.06);
  }
  .nx-cat-acc .nx-cat-node-link{
    display:block !important;
    padding:10px 12px !important;
    margin:3px 0 !important;
    border-radius:10px !important;
    font-size:13.5px !important;
    font-weight:600 !important;
    color:#334155 !important;
    background:rgba(47,141,255,.04) !important;
    border:1px solid rgba(47,141,255,.08) !important;
  }
  .nx-cat-acc .nx-cat-node-link:hover,
  .nx-cat-acc .nx-cat-node-link:active{
    background:rgba(47,141,255,.1) !important;
    color:#0f172a !important;
  }
  .nx-cat-acc .nx-cat-nest-2{
    padding:4px 0 4px 12px !important;
    margin-right:8px !important;
    border-right:2px solid rgba(47,141,255,.25) !important;
  }
  .nx-cat-acc .nx-cat-nest-2 .nx-cat-node-link{
    font-size:12.5px !important;
    font-weight:500 !important;
    background:rgba(15,23,42,.03) !important;
    border-color:transparent !important;
    padding:8px 10px !important;
  }
  .nx-cat-acc .nx-cat-all-link{
    font-weight:700 !important;
    font-size:13px !important;
    margin:8px 12px 10px !important;
  }
  .nx-cat-acc summary{
    font-size:14.5px !important;
  }
  html[data-theme="dark"] .nx-cat-acc .nx-cat-node-link,
  html:not([data-theme="light"]) .nx-cat-acc .nx-cat-node-link{
    color:#c5d8ef !important;
    background:rgba(56,168,255,.08) !important;
    border-color:rgba(56,168,255,.12) !important;
  }
  html[data-theme="dark"] .nx-cat-acc .nx-cat-nest-2 .nx-cat-node-link,
  html:not([data-theme="light"]) .nx-cat-acc .nx-cat-nest-2 .nx-cat-node-link{
    background:rgba(255,255,255,.04) !important;
    color:#9bb4cf !important;
  }
}

/* برگشت به بالا — موبایل حتماً دیده شود */
.nx-back-top{
  z-index: 10050 !important;
}
.nx-back-top svg{
  display:block !important;
  width:20px !important;
  height:20px !important;
}
@media (max-width:760px){
  .nx-back-top{
    bottom: 88px !important;
    left: 12px !important;
    width: 48px !important;
    height: 48px !important;
    opacity: 0;
    z-index: 10050 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,.35) !important;
  }
  .nx-back-top.is-visible{
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* جستجوی موبایل — بقیه مخفی، بدون به‌هم‌ریختگی */
@media (max-width:760px){
  .nx-header{
    position: fixed !important;
  }
  .nx-header.nx-search-open .nx-brand,
  .nx-header.nx-search-open .nx-header-actions{
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .nx-header.nx-search-open .nx-search,
  .nx-header.nx-search-open .nx-search.is-open{
    position: absolute !important;
    left: 10px !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 46px !important;
    z-index: 20 !important;
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.3) !important;
    overflow: visible !important;
  }
  .nx-header.nx-search-open .nx-search input{
    display: block !important;
  }
  .nx-header.nx-search-open .nx-search button{
    width: 48px !important;
    flex: 0 0 48px !important;
  }
  /* جلوگیری از جابه‌جایی layout */
  .nx-header.nx-search-open .nx-header-inner{
    position: relative !important;
  }
}

/* ================================================================
   NEXUS v334 — آیکن خدمات آبی، ضمانت سفید، فیلتر محصولات،
   اینماد موبایل، جلوگیری زوم سرچ
   ================================================================ */

/* جلوگیری از زوم iOS هنگام فوکوس سرچ */
.nx-search input,
.nx-search input[type="search"],
input[type="search"]{
  font-size: 16px !important;
}

/* آیکن خدمات — آبی هماهنگ با سایت */
.service-icon,
.service-card .service-icon{
  display:grid !important;
  place-items:center !important;
  width:56px !important;
  height:56px !important;
  border-radius:16px !important;
  background: rgba(47,141,255,.12) !important;
  border: 1px solid rgba(47,141,255,.22) !important;
  color: #2f8dff !important;
}
.service-icon i,
.service-card .service-icon i,
.service-card .fas,
.service-card .fa-solid{
  color: #2f8dff !important;
  font-size: 22px !important;
}
.service-card:hover .service-icon{
  background: rgba(47,141,255,.2) !important;
  border-color: rgba(47,141,255,.4) !important;
}
html[data-theme="light"] .service-icon,
html[data-theme="light"] .service-card .service-icon{
  background: rgba(47,141,255,.1) !important;
  border-color: rgba(47,141,255,.2) !important;
  color: #1a6fd4 !important;
}
html[data-theme="light"] .service-icon i,
html[data-theme="light"] .service-card .service-icon i,
html[data-theme="light"] .service-card .fas{
  color: #1a6fd4 !important;
}

/* آیکن‌های ضمانت زیر هیرو — سفید */
.trust-icon,
.trust-item .trust-icon,
.trust-item .nx-icon,
.trust-item svg.nx-icon{
  color: #ffffff !important;
  stroke: #ffffff !important;
}
.trust-icon{
  display:grid !important;
  place-items:center !important;
  width:48px !important;
  height:48px !important;
  border-radius:14px !important;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
}
html[data-theme="light"] .trust-icon{
  background: linear-gradient(135deg,#2f8dff,#5b8def) !important;
  border-color: transparent !important;
}
html[data-theme="light"] .trust-icon,
html[data-theme="light"] .trust-item .trust-icon,
html[data-theme="light"] .trust-item .nx-icon,
html[data-theme="light"] .trust-item svg.nx-icon{
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* اینماد موبایل کنار اطلاعات تماس */
@media (max-width:700px){
  html body footer .footer-contact-info{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:8px !important;
  }
  html body footer .footer-contact-badges{
    display:inline-flex !important;
    order: 0 !important;
    margin: 4px 0 6px !important;
  }
  /* ردیف: تلفن/ایمیل + اینماد در یک خط در صورت امکان */
  html body footer .footer-contact-info > a:first-of-type{
    display:inline-flex !important;
  }
  html body footer .footer-contact-row{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
  }
  html body footer .footer-enamad img{
    width:70px !important;
    height:auto !important;
  }
}

/* ---- فیلتر سایدبار محصولات ---- */
.nx-products-layout{
  display:grid;
  grid-template-columns: 260px minmax(0,1fr);
  gap: 20px;
  align-items:start;
  margin-top: 12px;
}
.nx-filter-sidebar{
  position:sticky;
  top: calc(var(--nx-h,88px) + 12px);
  border-radius: 18px;
  border: 1px solid rgba(100,170,230,.18);
  background: rgba(8,18,36,.92);
  padding: 14px 14px 16px;
  max-height: calc(100vh - 120px);
  overflow:auto;
}
html[data-theme="light"] .nx-filter-sidebar{
  background:#fff;
  border-color: rgba(30,80,140,.12);
  box-shadow: 0 8px 24px rgba(40,80,140,.06);
}
.nx-filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.nx-filter-head strong{ font-size:15px; font-weight:800; }
.nx-filter-close{ display:none; border:0; background:transparent; font-size:22px; cursor:pointer; color:inherit; line-height:1; }
.nx-filter-group{
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(100,170,230,.12);
}
.nx-filter-group:last-of-type{ border-bottom:0; }
.nx-filter-group b{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  font-weight:800;
}
.nx-filter-opt{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 4px;
  font-size:13px;
  cursor:pointer;
  border-radius:8px;
}
.nx-filter-opt:hover{ background: rgba(47,141,255,.08); }
.nx-filter-opt input{ accent-color:#2f8dff; }
.nx-filter-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:8px;
}
.nx-filter-actions .btn,
.nx-filter-actions .btn-outline{
  width:100%;
  text-align:center;
  justify-content:center;
}
.nx-filter-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.nx-filter-open{ display:none; }
.nx-filter-count{ font-size:13px; opacity:.8; }
.nx-filter-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:12000;
}

@media (max-width:900px){
  .nx-products-layout{
    grid-template-columns: 1fr;
  }
  .nx-filter-open{ display:inline-flex !important; }
  .nx-filter-sidebar{
    position:fixed !important;
    top:0 !important; right:0 !important; bottom:0 !important;
    left:auto !important;
    width:min(320px, 88vw) !important;
    max-height:none !important;
    z-index:12010 !important;
    border-radius: 18px 0 0 18px !important;
    transform: translateX(105%);
    transition: transform .28s ease;
    margin:0 !important;
  }
  body.nx-filter-drawer-open .nx-filter-sidebar{
    transform: translateX(0);
  }
  .nx-filter-close{ display:inline-flex !important; }
  html[dir="rtl"] .nx-filter-sidebar{
    right:0; left:auto;
  }
}

/* ================================================================
   NEXUS v336 — صفحه محصولات موبایل بدون زوم‌اوت
   ================================================================ */

/* بدون کوچک‌کردن root font-size — از زوم‌اوت مصنوعی جلوگیری می‌کند */
@media (max-width:760px){
  html{
    font-size: 16px !important;
  }
  body{
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }
  .nx-header-inner,
  .section,
  .nx-products-page{
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .nx-products-page,
  .nx-products-section{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .nxc-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .nx-products-hero h1{ font-size: 22px !important; }
}
@media (max-width:480px){
  html{ font-size: 16px !important; }
  .nxc-grid{ gap: 8px !important; }
}

/* صفحه محصولات */
.nx-products-page{ padding-bottom: 40px; }
.nx-products-hero{
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.nx-products-hero-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
.nx-products-hero h1{
  margin:6px 0 6px;
  font-size:clamp(24px, 4vw, 34px);
  font-weight:900;
  letter-spacing:-.02em;
}
.nx-products-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.nx-products-hero-meta > span{
  font-size:13px;
  opacity:.85;
}
.nx-chip{
  display:inline-flex;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(47,141,255,.12);
  border:1px solid rgba(47,141,255,.2);
  font-size:12px;
  font-weight:700;
  color:#5ab0ff;
}
html[data-theme="light"] .nx-chip{
  background:rgba(47,141,255,.08);
  color:#1a5bb8;
  border-color:rgba(47,141,255,.18);
}

.nx-cat-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 4px 0 12px;
}
.nx-cat-pills a{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(100,170,230,.18);
  background:rgba(255,255,255,.04);
  color:inherit;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  transition:.18s ease;
}
.nx-cat-pills a:hover,
.nx-cat-pills a.is-active{
  background:rgba(47,141,255,.14);
  border-color:rgba(47,141,255,.35);
  color:#7ec8ff;
}
html[data-theme="light"] .nx-cat-pills a{
  background:#fff;
  border-color:rgba(30,80,140,.12);
  color:#3a4f6b;
  box-shadow:0 2px 8px rgba(40,80,140,.04);
}
html[data-theme="light"] .nx-cat-pills a.is-active,
html[data-theme="light"] .nx-cat-pills a:hover{
  background:#2f8dff;
  border-color:#2f8dff;
  color:#fff;
}
.nx-sub-pills a{ font-size:12.5px; padding:6px 12px; }

.nx-empty-box{
  text-align:center;
  padding:40px 20px;
  border-radius:18px;
  border:1px dashed rgba(100,170,230,.25);
  background:rgba(255,255,255,.03);
}
.nx-empty-box b{ display:block; font-size:16px; margin-bottom:8px; }
html[data-theme="light"] .nx-empty-box{
  background:#f8fafc;
  border-color:rgba(30,80,140,.15);
}

/* تقویت سایدبار فیلتر */
.nx-products-layout{
  display:grid !important;
  grid-template-columns: 270px minmax(0,1fr) !important;
  gap:22px !important;
  align-items:start !important;
}
.nx-filter-sidebar{
  border-radius:20px !important;
  padding:16px !important;
}
html[data-theme="light"] .nx-filter-sidebar{
  background:#ffffff !important;
}

/* صفحه سرچ */
.nx-search-page{ max-width:1240px; margin:0 auto; }
.nx-search-hero{
  margin-bottom:22px;
  padding:20px 0 8px;
}
.nx-search-hero h1{ margin:6px 0 8px; font-size:28px; }
.nx-search-page-form{
  display:flex;
  gap:10px;
  margin-top:14px;
  max-width:560px;
}
.nx-search-page-form input{
  flex:1;
  min-width:0;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(100,170,230,.22);
  background:rgba(255,255,255,.05);
  color:inherit;
  padding:0 14px;
  font-size:16px !important;
}
html[data-theme="light"] .nx-search-page-form input{
  background:#fff;
  border-color:rgba(30,80,140,.14);
  color:#0f172a;
}
.nx-search-page-form .btn{ height:48px; padding:0 20px; }

/* اینماد موبایل کنار تماس */
@media (max-width:700px){
  html body footer .footer-contact-info{
    display:grid !important;
    grid-template-columns: 1fr auto !important;
    align-items:center !important;
    column-gap:12px !important;
    justify-items:start !important;
    text-align:right !important;
  }
  html body footer .footer-contact-info > a,
  html body footer .footer-contact-info > small{
    grid-column:1 !important;
  }
  html body footer .footer-social{
    grid-column:1 / -1 !important;
    justify-content:center !important;
  }
  html body footer .footer-contact-badges{
    grid-column:2 !important;
    grid-row:1 / span 3 !important;
    align-self:center !important;
    margin:0 !important;
  }
  html body footer .footer-contact{
    text-align:center !important;
  }
  html body footer .footer-contact > b{
    width:100%;
    text-align:center;
  }
}

/* فیلتر پیشرفته — ورودی‌ها */
.nx-filter-input{
  width:100%;
  box-sizing:border-box;
  height:40px;
  margin-top:6px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid rgba(100,170,230,.2);
  background:rgba(255,255,255,.05);
  color:inherit;
  font:inherit;
  font-size:14px;
}
html[data-theme="light"] .nx-filter-input{
  background:#f7faff;
  border-color:rgba(30,80,140,.14);
  color:#0f172a;
}
.nx-filter-price-range{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}
.nx-filter-price-range .nx-filter-input{ margin-top:0; }
.nx-filter-group b{
  font-size:12.5px;
  text-transform:none;
  letter-spacing:0;
}
