/* NEXUS v661 critical UI — loads last */

/* آیکون سبد: همیشه دیده شود + ظاهر تمیز */
html body .nx518-cart > span.nx-ico-badge{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  visibility:visible!important;opacity:1!important;width:26px!important;height:26px!important;position:relative!important
}
html body .nx518-cart > span:not(.nx-ico-badge){display:none!important}
html body .nx518-cart svg.nx-cart-ico,
html body .nx518-cart .nx-cart-ico,
html body a.nx518-cart svg{
  display:block!important;visibility:visible!important;opacity:1!important;
  width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
  fill:none!important;stroke:#2563eb!important;color:#2563eb!important;
  stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important
}
html body .nx518-cart .nx-cart-ico path,
html body .nx518-cart .nx-cart-ico circle{
  fill:none!important;stroke:#2563eb!important
}
html body .nx518-cart .nx-cart-ico circle.nx-cart-wheel{
  fill:#2563eb!important;stroke:none!important
}

/* هدر: radius خیلی کم */
html body .nx518-actions > .nx518-btn,
html body .nx518-actions .nx-contact-wrap > .nx518-btn,
html body .nx518-cart,
html body a.nx518-btn,
html body button.nx518-btn,
html body .nx518-search,
html body form.nx518-search,
html body form.nx-search.nx518-search{
  border-radius:3px!important
}

/* بنر برند */
html body section.nx-bb.section,
html body .nx-bb.section,
html body .nx-bb{
  width:min(1100px, calc(100% - 48px))!important;
  max-width:min(1100px, calc(100% - 48px))!important;
  margin:28px auto 18px!important;
  box-sizing:border-box!important
}
html body .nx-bb-viewport{border-radius:10px!important;overflow:hidden!important}
html body .nx-bb-slide img,
html body .nx-bb-slide picture img{
  width:100%!important;height:auto!important;
  aspect-ratio:5/1!important;max-height:220px!important;
  object-fit:cover!important;display:block!important
}
@media(max-width:760px){
  html body section.nx-bb.section,html body .nx-bb{
    width:calc(100% - 36px)!important;max-width:calc(100% - 36px)!important;
    margin:20px auto 14px!important
  }
  html body .nx-bb-slide img,html body .nx-bb-slide picture img{
    aspect-ratio:16/9!important;max-height:180px!important
  }
}

/* ثبت تجربه / تجربه‌ها: radius خیلی کم + باکس کوچک */
html body.nxd-page .nxd-sec .review-composer,
html body .nxd-sec .review-composer,
html body .review-composer,
html body #reviews .review-composer,
html body.nxd-page .review-card,
html body .review-card,
html body.nxd-page .nxd-sec .review-card{
  border-radius:4px!important;
  padding:8px 10px!important;
  margin-bottom:8px!important
}
html body.nxd-page .nxd-sec .review-composer textarea,
html body .review-composer textarea,
html body #reviews textarea,
html body textarea[name="body"]{
  min-height:52px!important;
  max-height:80px!important;
  height:52px!important;
  border-radius:3px!important;
  padding:6px 8px!important;
  resize:vertical!important;
  font-size:13.5px!important;
  line-height:1.6!important
}
html body.nxd-page .nxd-sec .review-composer select,
html body.nxd-page .nxd-sec .review-composer input,
html body.nxd-page .nxd-sec .review-composer button,
html body .review-composer select,
html body .review-composer input,
html body .review-composer button,
html body .review-composer .btn,
html body #reviews .btn{
  border-radius:3px!important
}

/* دکمه بالا: نزدیک‌تر به نوبار موبایل */
html body .nx-totop,
html body .nx493-totop,
html body .nx589-top,
html body #nx456Top,
html body .nx-backtop{
  bottom:calc(58px + env(safe-area-inset-bottom, 0px))!important;
  left:10px!important;
  z-index:10010!important;
  width:40px!important;height:40px!important;
  border-radius:10px!important
}
@media(min-width:901px){
  html body .nx-totop,
  html body .nx493-totop,
  html body .nx589-top,
  html body #nx456Top,
  html body .nx-backtop{
    bottom:18px!important
  }
}


/* ===== تجربه خریداران صفحه اصلی: باکس ثبت نظر جمع‌وجور + radius کم ===== */
html body .nxrv{
  border-radius:10px !important;
  padding:16px 0 12px !important;
}
html body .nxrv-slide,
html body .nxrv-card{
  border-radius:8px !important;
  padding:14px !important;
}
html body .nxrv-cta,
html body .nxrv-cta-only{
  margin:10px 14px 0 !important;
  padding:4px 8px !important;
  min-height:0 !important;
  height:auto !important;
  border-radius:6px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(90deg,#2f7dff,#4f8cff) !important;
  box-shadow:none !important;
}
html body .nxrv-cta-ic,
html body .nxrv-cta-t{
  display:none !important;
}
html body .nxrv-btn{
  border-radius:4px !important;
  padding:8px 18px !important;
  min-height:36px !important;
  font-size:13.5px !important;
  background:#fff !important;
  color:#1d4ed8 !important;
  border:0 !important;
  box-shadow:0 1px 4px rgba(15,23,42,.12) !important;
}
html body .nxrv-md,
html body .nxrv-md input,
html body .nxrv-md textarea,
html body .nxrv-send{
  border-radius:4px !important;
}
html body .nxrv-md textarea{
  min-height:72px !important;
  max-height:110px !important;
}


/* ===== v662 — نویسنده، سبد متقارن، totop نزدیک ===== */

/* آواتار نویسنده: مربع و بدون کشیدگی */
html body .nxb-avatar,
html body img.nxb-avatar,
html body .nxb-ring .nxb-avatar,
html body .nxb-authorbox .nxb-avatar,
html body .nxb-meta-author .nxb-avatar,
html body .nxb-profile .nxb-avatar{
  width:var(--nxb-av, 40px) !important;
  height:var(--nxb-av, 40px) !important;
  max-width:var(--nxb-av, 40px) !important;
  max-height:var(--nxb-av, 40px) !important;
  aspect-ratio:1 / 1 !important;
  object-fit:cover !important;
  object-position:center !important;
  border-radius:50% !important;
  display:block !important;
  flex:0 0 auto !important;
}
html body .nxb-ring{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:0 !important;
  flex:0 0 auto !important;
}
html body .nxb-ring .nxb-avatar{
  --nxb-av: 124px;
  width:124px !important;
  height:124px !important;
  max-width:124px !important;
  max-height:124px !important;
}
html body .nxb-authorbox .nxb-avatar{ --nxb-av: 64px; width:64px!important; height:64px!important; max-width:64px!important; max-height:64px!important; }
html body .nxb-meta-author .nxb-avatar,
html body .nxb-card-foot .nxb-avatar{ --nxb-av: 32px; width:32px!important; height:32px!important; max-width:32px!important; max-height:32px!important; }
html body .nxb-avatar-txt{
  aspect-ratio:1/1 !important;
  border-radius:50% !important;
  overflow:hidden !important;
}

/* سبد = دقیقاً هم‌اندازه و هم‌radius با بقیه دکمه‌های هدر */
html body .nx518-actions > .nx518-btn,
html body .nx518-actions .nx-contact-wrap > .nx518-btn,
html body .nx518-cart,
html body a.nx518-cart.nx518-btn{
  width:40px !important;
  min-width:40px !important;
  max-width:40px !important;
  height:40px !important;
  min-height:40px !important;
  padding:0 !important;
  border-radius:3px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}
html body .nx518-cart > span.nx-ico-badge{
  width:22px !important;
  height:22px !important;
}
@media (max-width:380px){
  html body .nx518-actions > .nx518-btn,
  html body .nx518-cart{
    width:36px !important;
    min-width:36px !important;
    height:36px !important;
  }
}

/* دکمه بالا: فاصله کمتر با نوبار (padding کم) */
html body .nx-totop,
html body .nx493-totop,
html body .nx589-top,
html body #nx456Top,
html body .nx-backtop{
  bottom:calc(58px + env(safe-area-inset-bottom, 0px)) !important;
  left:8px !important;
  width:38px !important;
  height:38px !important;
  padding:0 !important;
  border-radius:8px !important;
}
@media (min-width:901px){
  html body .nx-totop,
  html body .nx493-totop,
  html body .nx589-top,
  html body #nx456Top,
  html body .nx-backtop{
    bottom:16px !important;
  }
}


/* ===== v663 تجربه خریداران — نهایی ===== */
html body section.nxrv,
html body .nxrv{
  border-radius:8px !important;
  padding:14px 0 10px !important;
}
html body .nxrv-slide{
  border-radius:6px !important;
  padding:12px !important;
  min-height:0 !important;
}
html body .nxrv-cta,
html body .nxrv-cta.nxrv-cta-only,
html body .nxrv .nxrv-cta{
  margin:8px 12px 0 !important;
  padding:3px 6px !important;
  min-height:40px !important;
  height:auto !important;
  border-radius:5px !important;
  gap:0 !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
html body .nxrv-cta-ic,
html body .nxrv-cta-t{ display:none !important; }
html body .nxrv-btn,
html body button.nxrv-btn,
html body a.nxrv-btn{
  border-radius:4px !important;
  padding:7px 16px !important;
  min-height:34px !important;
  font-size:13px !important;
  line-height:1.2 !important;
}
html body .nxrv-md,
html body .nxrv-md input,
html body .nxrv-md textarea,
html body .nxrv-send{
  border-radius:4px !important;
}
html body .nxrv-md textarea{
  min-height:64px !important;
  max-height:96px !important;
}


/* ===== v664 — بدون باکس آبی ثبت تجربه + radius دسته/بنر + totop ===== */

/* حذف باکس آبی بیرون دکمه */
html body .nxrv-cta,
html body .nxrv-cta.nxrv-cta-only,
html body .nxrv .nxrv-cta{
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 12px auto 4px !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 0 !important;
}
html body .nxrv-cta-ic,
html body .nxrv-cta-t{ display:none !important; }

/* خود دکمه */
html body .nxrv-btn,
html body button.nxrv-btn,
html body a.nxrv-btn{
  background: linear-gradient(135deg, #2f7dff, #1d6fe0) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 9px 18px !important;
  min-height: 38px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(29,111,224,.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
html body .nxrv-note{
  background: transparent !important;
  border: 0 !important;
  color: #64748b !important;
  font-size: 12.5px !important;
  text-align: center !important;
}

/* دسته‌بندی: radius کمتر */
html body a.nx-cb,
html body a.nx-cb.nx-cb-promo,
html body .nx-cb,
html body .nx-cb-pic,
html body .nx-cb img,
html body .nx-cb-img{
  border-radius: 8px !important;
}
html body .nx-cb-pic,
html body .nx-cb-pic img,
html body .nx-cb img{
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* بنر برند: radius کمتر */
html body .nx-bb-viewport{
  border-radius: 8px !important;
}
html body .nx-bb-slide img,
html body .nx-bb-slide picture img{
  border-radius: 0 !important;
}

/* دکمه بالا: نزدیک نوبار موبایل */
html body .nx-totop,
html body .nx493-totop,
html body .nx589-top,
html body #nx456Top,
html body .nx-backtop{
  bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
  left: 8px !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 8px !important;
}
@media (min-width:901px){
  html body .nx-totop,
  html body .nx493-totop,
  html body .nx589-top,
  html body #nx456Top,
  html body .nx-backtop{
    bottom: 14px !important;
  }
}
