/* ==========================================================================
   Nival desktop mode (>=1024px) - Digikala-style storefront layout
   Mobile (<1024px) is untouched except the "similar products" section.
   ========================================================================== */

:root{
  --nvd-red:#2d9cf0;
  --nvd-red-dark:#1b86da;
  --nvd-text:#23254e;
  --nvd-text-2:#62666d;
  --nvd-text-3:#81858b;
  --nvd-line:#e0e0e2;
  --nvd-bg:#f0f0f1;
  --nvd-card:#fff;
  --nvd-green:#00a049;
  --nvd-max:1336px;
}

/* ---------- similar products (all screen sizes) ---------- */
#nvSimilar{max-width:var(--nvd-max);margin:24px auto 0;padding:0 16px;direction:rtl}
#nvSimilar .nvs-box{background:#fff;border:1px solid var(--nvd-line);border-radius:16px;padding:16px 0 18px;overflow:hidden}
#nvSimilar .nvs-head{display:flex;align-items:center;justify-content:space-between;padding:0 18px 12px}
#nvSimilar .nvs-title{font-size:18px;font-weight:800;color:#0c0c0c;display:flex;align-items:center;gap:8px}
#nvSimilar .nvs-title:before{content:"";width:4px;height:22px;border-radius:4px;background:var(--nvd-red)}
#nvSimilar .nvs-more{font-size:13px;font-weight:700;color:var(--nvd-red);text-decoration:none}
#nvSimilar .nvs-wrap{position:relative}
#nvSimilar .nvs-track{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;padding:0 12px}
#nvSimilar .nvs-track::-webkit-scrollbar{display:none}
#nvSimilar .nvs-card{flex:0 0 172px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;padding:12px 12px 14px;border-inline-start:1px solid var(--nvd-line);text-decoration:none;color:inherit;background:#fff;position:relative}
#nvSimilar .nvs-card:first-child{border-inline-start:0}
#nvSimilar .nvs-img{aspect-ratio:1/1;width:100%;display:flex;align-items:center;justify-content:center;background:#fafafa;border-radius:12px;overflow:hidden}
#nvSimilar .nvs-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
#nvSimilar .nvs-name{font-size:12.5px;font-weight:600;line-height:1.9;color:#3f4064;height:47px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#nvSimilar .nvs-brand{font-size:11px;color:var(--nvd-text-3);font-weight:500}
#nvSimilar .nvs-price{margin-top:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-height:44px;justify-content:flex-end}
#nvSimilar .nvs-row{display:flex;align-items:center;gap:6px;width:100%;justify-content:space-between}
#nvSimilar .nvs-off{background:var(--nvd-red);color:#fff;border-radius:999px;font-size:12px;font-weight:800;padding:1px 7px;line-height:20px}
#nvSimilar .nvs-now{font-size:16px;font-weight:800;color:#0c0c0c;display:flex;gap:4px;align-items:baseline}
#nvSimilar .nvs-now small{font-size:11px;font-weight:500;color:var(--nvd-text-2)}
#nvSimilar .nvs-old{font-size:12px;color:var(--nvd-text-3);text-decoration:line-through;font-weight:500}
#nvSimilar .nvs-out{font-size:12px;color:var(--nvd-text-3);font-weight:700}
#nvSimilar .nvs-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--nvd-line);box-shadow:0 2px 10px rgba(0,0,0,.14);display:none;align-items:center;justify-content:center;cursor:pointer;z-index:3;color:#3f4064}
#nvSimilar .nvs-arrow:hover{color:var(--nvd-red)}
#nvSimilar .nvs-prev{right:6px}
#nvSimilar .nvs-next{left:6px}
#nvSimilar .nvs-skel{height:260px;display:flex;gap:12px;padding:0 18px}
#nvSimilar .nvs-skel i{flex:0 0 160px;border-radius:12px;background:linear-gradient(90deg,#f0f0f1,#f8f8f9,#f0f0f1);background-size:200% 100%;animation:nvsk 1.2s infinite}
@keyframes nvsk{to{background-position:-200% 0}}
@media(max-width:1023px){
  #nvSimilar{padding:0 12px;margin:20px auto 96px}
  #nvSimilar .nvs-card{flex-basis:44vw;max-width:190px}
}
@media(min-width:1024px){
  #nvSimilar .nvs-card{flex-basis:calc((100% - 24px)/6)}
  #nvSimilar .nvs-arrow{display:flex}
}

/* ==========================================================================
   DESKTOP
   ========================================================================== */
@media (min-width:1024px){

  html body{background:#fff;color:var(--nvd-text)}

  /* hide mobile chrome */
  html body .levitating-header,
  html body .grain,
  html body header.sticky.top-0,
  html body div.fixed.bottom-5.left-1\/2,
  html body #main-search-trigger,
  html body .bottom-nav{display:none !important}
  html body main.relative.z-10{padding-top:0 !important;padding-bottom:24px !important}
  html body .container{max-width:var(--nvd-max) !important}

  /* ---------- header ---------- */
  #nvd-header{position:sticky;top:0;z-index:90;background:#fff;direction:rtl;box-shadow:0 1px 0 var(--nvd-line)}
  #nvd-header .nvd-inner{max-width:var(--nvd-max);margin:0 auto;padding:0 16px}
  #nvd-header .nvd-row1{display:flex;align-items:center;gap:24px;height:74px}
  #nvd-header .nvd-logo{display:flex;align-items:center;flex:0 0 auto}
  #nvd-header .nvd-logo img{height:44px;width:auto;mix-blend-mode:multiply;display:block}
  #nvd-header .nvd-search{position:relative;flex:1 1 auto;max-width:780px}
  #nvd-header .nvd-search form{display:flex;align-items:center;gap:10px;background:var(--nvd-bg);border-radius:12px;height:46px;padding:0 14px;border:1px solid transparent;transition:border-color .15s,background .15s}
  #nvd-header .nvd-search form:focus-within{background:#fff;border-color:var(--nvd-line);box-shadow:0 2px 14px rgba(0,0,0,.08)}
  #nvd-header .nvd-search i{color:var(--nvd-text-3);font-size:16px}
  #nvd-header .nvd-search input{flex:1;border:0;background:transparent;outline:0;font-size:14px;font-weight:500;color:var(--nvd-text);min-width:0;height:100%}
  #nvd-header .nvd-search input::placeholder{color:var(--nvd-text-3)}
  #nvd-header .nvd-sug{position:absolute;top:52px;right:0;left:0;background:#fff;border:1px solid var(--nvd-line);border-radius:14px;box-shadow:0 10px 36px rgba(0,0,0,.16);padding:8px;display:none;max-height:470px;overflow:auto;z-index:5}
  #nvd-header .nvd-sug.open{display:block}
  #nvd-header .nvd-sug a{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:10px;text-decoration:none;color:var(--nvd-text)}
  #nvd-header .nvd-sug a:hover{background:var(--nvd-bg)}
  #nvd-header .nvd-sug img{width:44px;height:44px;border-radius:8px;object-fit:contain;background:#fafafa;flex:0 0 44px}
  #nvd-header .nvd-sug b{font-size:13px;font-weight:600;line-height:1.7;display:block}
  #nvd-header .nvd-sug small{font-size:12px;color:var(--nvd-text-3)}
  #nvd-header .nvd-sug .nvd-sug-h{font-size:12px;color:var(--nvd-text-3);padding:6px 10px;font-weight:700}
  #nvd-header .nvd-acts{margin-inline-start:auto;display:flex;align-items:center;gap:12px}
  #nvd-header .nvd-login{display:flex;align-items:center;gap:8px;height:42px;padding:0 14px;border:1px solid var(--nvd-line);border-radius:10px;color:var(--nvd-text);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
  #nvd-header .nvd-login:hover{border-color:#b9bbc0}
  #nvd-header .nvd-sep{width:1px;height:28px;background:var(--nvd-line)}
  #nvd-header .nvd-cart{position:relative;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;color:var(--nvd-text);font-size:20px;text-decoration:none}
  #nvd-header .nvd-cart:hover{background:var(--nvd-bg)}
  #nvd-header .nvd-badge{position:absolute;top:2px;left:2px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--nvd-red);color:#fff;font-size:11px;font-weight:800;display:none;align-items:center;justify-content:center;border:2px solid #fff;box-sizing:content-box}
  #nvd-header .nvd-badge.on{display:flex}

  #nvd-header .nvd-row2{display:flex;align-items:center;gap:6px;height:44px;position:relative}
  #nvd-header .nvd-link{display:flex;align-items:center;gap:6px;height:100%;padding:0 10px;font-size:13.5px;font-weight:600;color:var(--nvd-text-2);text-decoration:none;position:relative;white-space:nowrap}
  #nvd-header .nvd-link:hover{color:var(--nvd-red)}
  #nvd-header .nvd-link.hot{color:var(--nvd-red)}
  #nvd-header .nvd-cats{height:100%;display:flex;align-items:center;position:relative}
  #nvd-header .nvd-cats>button{display:flex;align-items:center;gap:8px;height:100%;padding:0 12px;background:none;border:0;cursor:pointer;font-size:14px;font-weight:800;color:var(--nvd-text);font-family:inherit}
  #nvd-header .nvd-cats:hover>button{color:var(--nvd-red)}
  #nvd-header .nvd-cats:after{content:"";position:absolute;bottom:0;right:12px;left:12px;height:2px;background:var(--nvd-red);transform:scaleX(0);transition:transform .15s}
  #nvd-header .nvd-cats:hover:after{transform:scaleX(1)}
  #nvd-header .nvd-mega{position:absolute;top:100%;right:0;width:min(1100px,92vw);background:#fff;border:1px solid var(--nvd-line);border-radius:0 0 16px 16px;box-shadow:0 18px 50px rgba(0,0,0,.18);padding:22px 24px 26px;display:none}
  #nvd-header .nvd-cats:hover .nvd-mega,#nvd-header .nvd-cats:focus-within .nvd-mega{display:block}
  #nvd-header .nvd-mega-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px 22px}
  #nvd-header .nvd-mega a{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:12px;text-decoration:none;color:var(--nvd-text);font-weight:600;font-size:13.5px}
  #nvd-header .nvd-mega a:hover{background:var(--nvd-bg);color:var(--nvd-red)}
  #nvd-header .nvd-mega img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#f6f6f7;flex:0 0 42px}
  #nvd-header .nvd-mega-foot{margin-top:14px;padding-top:12px;border-top:1px solid var(--nvd-line);display:flex;justify-content:flex-start}
  #nvd-header .nvd-mega-foot a{color:var(--nvd-red);font-weight:800;display:inline-flex;padding:6px 10px}
  #nvd-header .nvd-vsep{width:1px;height:20px;background:var(--nvd-line);margin:0 6px}
  #nvd-header .nvd-promo{margin-inline-start:auto;font-size:12.5px;color:var(--nvd-text-2);font-weight:600;display:flex;align-items:center;gap:6px}
  #nvd-header .nvd-promo i{color:var(--nvd-green)}

  /* ---------- landing ---------- */
  /* hide the big mobile hero: desktop shows the slider right away like Digikala */
  html body main.relative.z-10.pt-24 > section:first-of-type{display:none !important}
  html body .dk-banner-wrapper{max-width:var(--nvd-max) !important;padding:16px 16px 8px !important;margin-top:0 !important}
  html body .dk-banner-swiper{height:clamp(260px,24.5vw,340px) !important}
  html body .dk-banner-swiper .swiper-slide{border-radius:16px}
  html body .dk-nav-btn{opacity:1;pointer-events:auto;width:44px;height:44px}
  html body .dk-nav-prev{right:26px}
  html body .dk-nav-next{left:26px}

  html body main > section.container{padding-inline:16px}
  html body #flashDealSection .flash-deal-container{border-radius:20px}

  /* wider product grids on desktop */
  html body #productsCarousel,
  html body .products-grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important}

  /* ---------- footer ---------- */
  html body footer{max-width:100%}

  /* ---------- PRODUCT PAGE ---------- */
  html body main.stage-grid{
    display:grid !important;grid-template-columns:400px minmax(0,1fr) 310px;column-gap:24px;align-items:start;
    max-width:var(--nvd-max);margin:0 auto;padding:20px 16px 8px !important;min-height:0 !important;height:auto !important;
  }
  html body main.stage-grid .visual-area{
    position:sticky !important;top:132px;height:auto !important;min-height:0 !important;width:auto !important;
    grid-column:1;grid-row:1;background:#fff !important;border:1px solid var(--nvd-line);border-radius:16px;padding:18px;
    display:flex;align-items:center;justify-content:center;overflow:hidden;
  }
  html body main.stage-grid .visual-area > div:first-child{display:none !important}
  html body main.stage-grid .visual-area #productStoryRing{width:100%}
  html body main.stage-grid .visual-area #mainProductImg{border-radius:12px !important;max-height:440px;margin:0 auto;object-fit:contain}
  html body main.stage-grid .info-area{
    grid-column:2;grid-row:1;width:auto !important;height:auto !important;max-height:none !important;overflow:visible !important;
    padding:0 !important;background:transparent !important;max-width:none !important;
  }
  html body main.stage-grid .info-area h1{font-size:22px !important;line-height:2 !important;font-weight:800 !important;color:#0c0c0c}
  html body main.stage-grid .info-area > nav{font-size:12px;margin-bottom:14px}

  /* buy box (the existing action bar) becomes a sticky card on the left */
  html body .action-bar.nvd-buybox{
    position:sticky !important;top:132px;grid-column:3;grid-row:1;align-self:start;left:auto !important;right:auto !important;bottom:auto !important;
    width:auto !important;max-width:none !important;transform:none !important;
    background:#f9f9f9 !important;border:1px solid var(--nvd-line) !important;border-radius:16px !important;padding:16px !important;
    box-shadow:none !important;display:flex !important;flex-direction:column;gap:12px;z-index:20;
  }
  html body .action-bar.nvd-buybox .nvd-bb-price{display:flex;flex-direction:column;gap:6px}
  html body .action-bar.nvd-buybox .nvd-bb-title{font-size:13px;color:var(--nvd-text-2);font-weight:600;line-height:1.8}
  html body .action-bar.nvd-buybox .nvd-bb-amount{font-size:24px;font-weight:900;color:#0c0c0c;text-align:left}
  html body .action-bar.nvd-buybox .nvd-bb-amount small{font-size:13px;font-weight:600;color:var(--nvd-text-2);margin-inline-start:6px}
  html body .action-bar.nvd-buybox .nvd-bb-trust{display:flex;flex-direction:column;gap:8px;border-top:1px dashed var(--nvd-line);padding-top:12px;font-size:12px;color:var(--nvd-text-2);font-weight:600}
  html body .action-bar.nvd-buybox .nvd-bb-trust i{color:var(--nvd-green);margin-inline-end:8px;width:14px;text-align:center}
}

@media (min-width:1024px) and (max-width:1279px){
  html body main.stage-grid{grid-template-columns:320px minmax(0,1fr) 280px}
}

/* force NivalFont everywhere except icon fonts / code (beats tailwind font-mono, inline fonts, etc.) */
html body :not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not([class*="fa-"]):not(code):not(pre):not(kbd):not(svg *){font-family:var(--font-family) !important}
html body [class*="price"],html body [id*="price"],html body .font-mono,html body .tabular-nums{font-variant-numeric:normal;letter-spacing:0 !important}
html body main.stage-grid .info-area [class*="text-3xl"][class*="font-extrabold"]{font-size:34px !important;font-weight:900 !important;color:#0c0c0c}

/* ---------- spec table + pros (all sizes) ---------- */
.nv-spec{margin-top:8px}
.nv-spec-title{display:flex;align-items:center;gap:8px;font-size:17px !important;font-weight:800 !important;color:#0c0c0c !important;letter-spacing:0 !important;text-transform:none !important;margin:0 0 14px !important;border:0 !important;padding:0 !important}
.nv-spec-title i{color:var(--nvd-red);font-size:15px}
.nv-spec-title-2{margin-top:28px !important}
.nv-spec-table{border:1px solid var(--nvd-line);border-radius:16px;overflow:hidden;background:#fff}
.nv-spec-row{display:grid;grid-template-columns:minmax(110px,190px) 1fr;align-items:stretch;border-bottom:1px solid #f0f0f1;transition:background .15s}
.nv-spec-row:last-child{border-bottom:0}
.nv-spec-row:hover{background:#fafafb}
.nv-spec-k{background:#f7f7f8;color:var(--nvd-text-2);font-size:13px;font-weight:600;padding:14px 18px;border-inline-end:1px solid #f0f0f1;display:flex;align-items:center}
.nv-spec-v{color:#23254e;font-size:14px;font-weight:700;padding:14px 18px;line-height:1.9;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nv-spec-v small{color:var(--nvd-text-3);font-weight:500;font-size:12px;direction:ltr}
.nv-pros{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nv-pros li{position:relative;background:#f7fbf8;border:1px solid #dff1e5;color:#245a38;border-radius:12px;padding:10px 38px 10px 12px;font-size:13px;font-weight:600;line-height:1.9}
.nv-pros li:before{content:"\f058";font-family:"Font Awesome 6 Free","Font Awesome 5 Free";font-weight:900;position:absolute;right:12px;top:10px;color:var(--nvd-green)}
@media(max-width:640px){.nv-pros{grid-template-columns:1fr}.nv-spec-row{grid-template-columns:104px 1fr}.nv-spec-k,.nv-spec-v{padding:12px 14px}}

/* ---------- brand / category hover flyout (desktop) ---------- */
#nvHover{position:fixed;z-index:200;width:620px;max-width:calc(100vw - 24px);background:#fff;border:1px solid var(--nvd-line);border-radius:20px;box-shadow:0 24px 70px rgba(15,18,40,.22);padding:18px;direction:rtl;opacity:0;transform:translateY(8px) scale(.985);pointer-events:none;transition:opacity .18s ease,transform .22s cubic-bezier(.2,.8,.2,1);visibility:hidden}
#nvHover.on{opacity:1;transform:none;pointer-events:auto;visibility:visible}
#nvHover .nvh-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
#nvHover .nvh-ico{width:48px;height:48px;border-radius:14px;background:#f6f6f7;object-fit:contain;flex:0 0 48px}
#nvHover .nvh-t{font-size:16px;font-weight:800;color:#0c0c0c;line-height:1.5}
#nvHover .nvh-s{font-size:12px;color:var(--nvd-text-3);font-weight:600}
#nvHover .nvh-all{margin-inline-start:auto;color:var(--nvd-red);font-weight:800;font-size:13px;text-decoration:none;white-space:nowrap}
#nvHover .nvh-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
#nvHover .nvh-p{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit;border-radius:14px;padding:8px;transition:background .15s,transform .2s}
#nvHover .nvh-p:hover{background:#f7f7f8;transform:translateY(-2px)}
#nvHover .nvh-p .im{aspect-ratio:1/1;background:#fafafa;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#nvHover .nvh-p img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
#nvHover .nvh-p .n{font-size:11.5px;font-weight:600;line-height:1.8;color:#3f4064;height:42px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#nvHover .nvh-p .pr{font-size:13px;font-weight:800;color:#0c0c0c;display:flex;gap:3px;align-items:baseline}
#nvHover .nvh-p .pr small{font-size:10px;font-weight:500;color:var(--nvd-text-2)}
#nvHover .nvh-skel{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
#nvHover .nvh-skel i{height:150px;border-radius:12px;background:linear-gradient(90deg,#f0f0f1,#f8f8f9,#f0f0f1);background-size:200% 100%;animation:nvsk 1.2s infinite}
@media (max-width:1023px){#nvHover{display:none !important}}

/* ---------- desktop footer + buy button ---------- */
@media (min-width:1024px){
  html body footer,html body footer.footer-accordion,html body .footer-accordion{display:none !important}
  html body .action-bar.nvd-buybox button,html body .action-bar.nvd-buybox a{border-radius:12px !important}
  html body .action-bar.nvd-buybox button[class*="bg-white"],html body .action-bar.nvd-buybox [id*="add"],html body .action-bar.nvd-buybox [onclick*="addTo"]{background:var(--nvd-red) !important;color:#fff !important;border-color:var(--nvd-red) !important;height:48px;font-weight:800;box-shadow:0 6px 18px rgba(45,156,240,.30)}
  html body .action-bar.nvd-buybox [class*="bg-white"]:hover{background:var(--nvd-red-dark) !important}

  #nvd-footer{background:#fff;direction:rtl;margin-top:40px;border-top:1px solid var(--nvd-line)}
  #nvd-footer .nvf-in{max-width:var(--nvd-max);margin:0 auto;padding:0 16px}
  #nvd-footer .nvf-top{display:flex;align-items:center;justify-content:space-between;padding:22px 0;border-bottom:1px solid var(--nvd-line)}
  #nvd-footer .nvf-top img{height:46px;width:auto;mix-blend-mode:multiply}
  #nvd-footer .nvf-phone{display:flex;gap:22px;font-size:13px;color:var(--nvd-text-2);font-weight:600;align-items:center}
  #nvd-footer .nvf-phone b{color:#0c0c0c}
  #nvd-footer .nvf-up{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--nvd-line);background:#fff;border-radius:10px;padding:10px 16px;font-weight:700;font-size:13px;color:var(--nvd-text);cursor:pointer;font-family:inherit}
  #nvd-footer .nvf-up:hover{border-color:#b9bbc0}
  #nvd-footer .nvf-props{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;padding:26px 0;border-bottom:1px solid var(--nvd-line)}
  #nvd-footer .nvf-prop{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;font-size:12.5px;font-weight:700;color:var(--nvd-text-2)}
  #nvd-footer .nvf-prop i{width:52px;height:52px;border-radius:50%;background:#e6f3fe;color:var(--nvd-red);display:flex;align-items:center;justify-content:center;font-size:20px}
  #nvd-footer .nvf-cols{display:grid;grid-template-columns:repeat(4,1fr) 1.3fr;gap:28px;padding:32px 0}
  #nvd-footer h4{font-size:15px;font-weight:800;color:#0c0c0c;margin:0 0 14px}
  #nvd-footer .nvf-cols a{display:block;color:var(--nvd-text-2);font-size:13.5px;font-weight:500;padding:5px 0;text-decoration:none}
  #nvd-footer .nvf-cols a:hover{color:var(--nvd-red)}
  #nvd-footer .nvf-social{display:flex;gap:10px;margin:2px 0 16px}
  #nvd-footer .nvf-social a{width:40px;height:40px;border:1px solid var(--nvd-line);border-radius:10px;display:flex !important;align-items:center;justify-content:center;padding:0 !important;color:var(--nvd-text)}
  #nvd-footer .nvf-social a:hover{color:#fff;background:var(--nvd-red);border-color:var(--nvd-red)}
  #nvd-footer .nvf-trust{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
  #nvd-footer .nvf-trust a{border:1px solid var(--nvd-line);border-radius:12px;padding:8px;background:#fff;display:flex !important;width:84px;height:84px;align-items:center;justify-content:center}
  #nvd-footer .nvf-about{padding:22px 0;border-top:1px solid var(--nvd-line);color:var(--nvd-text-2);font-size:13px;line-height:2.2;text-align:justify}
  #nvd-footer .nvf-about h5{font-size:15px;font-weight:800;color:#0c0c0c;margin:0 0 8px}
  #nvd-footer .nvf-copy{background:#f7f7f8;color:var(--nvd-text-3);text-align:center;padding:16px;font-size:12.5px;font-weight:500}
}

/* ---------- shop listing (Digikala style: filters sidebar + sort tabs + dense grid) ---------- */
@media (min-width:1024px){
  html body main.container.pt-24{padding-top:20px !important;padding-bottom:20px}
  .nvd-listing{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start;direction:rtl}
  .nvd-side{position:sticky;top:128px;align-self:start}
  .nvd-side #filter-sheet{position:static !important;transform:none !important;opacity:1 !important;visibility:visible !important;display:block !important;width:auto !important;height:auto !important;max-height:calc(100vh - 150px);overflow:auto;background:#fff !important;border:1px solid var(--nvd-line);border-radius:16px;box-shadow:none !important;padding:0 !important;inset:auto !important}
  .nvd-side #filter-sheet > div:first-child{display:none !important}
  .nvd-side #filter-sheet .sheet-content-wrapper{background:#fff !important;padding:6px 16px 16px !important;max-height:none !important}
  .nvd-side #filter-sheet .tabs,.nvd-side #close-filter{display:none !important}
  .nvd-side #filter-sheet .flex.justify-between.items-center.mb-6{margin:12px 0 8px !important}
  .nvd-side #filter-sheet h3{font-size:17px !important;font-weight:800 !important}
  .nvd-side .filter-tab{display:block !important;border-top:1px solid #f0f0f1;padding:14px 0 6px}
  .nvd-side .filter-tab::before{display:block;font-size:14px;font-weight:800;color:#0c0c0c;margin-bottom:10px}
  .nvd-side #categories-tab::before{content:"دسته‌بندی"}
  .nvd-side #brands-tab::before{content:"برند"}
  .nvd-side #price-tab::before{content:"محدوده قیمت"}
  .nvd-side #categories-container,.nvd-side #brands-container{grid-template-columns:repeat(3,minmax(0,1fr)) !important;max-height:250px !important;gap:8px !important}
  .nvd-side .form-input{border-radius:10px;border:1px solid var(--nvd-line);height:42px;padding:0 12px;font-weight:700;width:100%;background:#fff}
  .nvd-side #apply-filters{background:var(--nvd-red) !important;border-color:var(--nvd-red) !important;color:#fff !important;border-radius:12px !important;height:46px}
  .nvd-side #reset-filters{border-radius:12px !important;height:46px}
  #filter-overlay,#filter-button{display:none !important}

  .nvd-sortbar{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--nvd-line);border-radius:14px;padding:6px 14px;margin-bottom:14px;flex-wrap:wrap}
  .nvd-sortbar .lbl{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:var(--nvd-text);margin-inline-end:8px}
  .nvd-sortbar button{border:0;background:none;font-family:inherit;font-size:13px;font-weight:600;color:var(--nvd-text-2);padding:10px 14px;border-radius:10px;cursor:pointer;position:relative}
  .nvd-sortbar button:hover{color:var(--nvd-red)}
  .nvd-sortbar button.on{color:var(--nvd-red);font-weight:800;background:#e6f3fe}
  .nvd-sortbar .cnt{margin-inline-start:auto;font-size:12px;color:var(--nvd-text-3);font-weight:600}
  .nvd-list-main > .flex.items-center.justify-end{display:none !important}
  .nvd-list-main #product-container{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:0 !important;border:1px solid var(--nvd-line);border-radius:16px;overflow:hidden;background:#fff}
  .nvd-list-main #product-container .avant-card{border-radius:0 !important;border:0 !important;border-left:1px solid #f0f0f1 !important;border-bottom:1px solid #f0f0f1 !important;padding:14px !important;background:#fff;transition:box-shadow .2s,transform .2s}
  .nvd-list-main #product-container .avant-card:hover{box-shadow:0 8px 30px rgba(15,18,40,.14);transform:translateY(-2px);z-index:2}
  .nvd-list-main #product-container .avant-card > div:nth-child(3){height:200px !important;background:#fff !important;border-radius:0 !important}
  .nvd-list-main #product-container .avant-card h3{font-size:13px !important;line-height:2 !important;height:52px !important;font-weight:700 !important;color:#3f4064 !important}
  .nvd-list-main #product-container .avant-card .text-sm.font-bold.text-black{font-size:18px !important;font-weight:900 !important}
  .nvd-list-main #product-container .avant-card .add-to-cart-action-btn:hover{background:var(--nvd-red) !important;border-color:var(--nvd-red) !important;color:#fff !important}
  .nvd-list-main #product-container .avant-card > .absolute{background:var(--nvd-red) !important;border-radius:999px !important;font-size:12px !important;padding:2px 9px !important}
  .nvd-list-main #active-filters{margin-bottom:12px}
}
@media (min-width:1700px){.nvd-list-main #product-container{grid-template-columns:repeat(5,minmax(0,1fr)) !important}}

/* ---------- MOBILE nav (Digikala style): sticky search header + bottom tab bar ---------- */
@media (max-width:1023px){
  html body .levitating-header,
  html body header.sticky.top-0,
  html body div.fixed.bottom-5.left-1\/2{display:none !important}
  html body main.pt-24,html body main.relative.z-10{padding-top:12px !important}
  html body.nvm-has-nav{padding-bottom:72px}

  #nvm-header{position:sticky;top:0;z-index:80;background:#fff;direction:rtl;padding:8px 12px 10px;box-shadow:0 1px 0 var(--nvd-line);display:flex;align-items:center;gap:8px}
  #nvm-header .nvm-btn{width:40px;height:40px;border-radius:12px;border:0;background:none;display:flex;align-items:center;justify-content:center;color:var(--nvd-text);font-size:19px;position:relative;text-decoration:none;flex:0 0 40px;cursor:pointer}
  #nvm-header .nvm-logo{flex:0 0 auto;display:flex;align-items:center}
  #nvm-header .nvm-logo img{height:30px;width:auto;mix-blend-mode:multiply;display:block}
  #nvm-header form{flex:1;min-width:0;display:flex;align-items:center;gap:8px;background:var(--nvd-bg);border-radius:12px;height:42px;padding:0 12px}
  #nvm-header form i{color:var(--nvd-text-3);font-size:15px}
  #nvm-header input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:13.5px;font-weight:500;height:100%;color:var(--nvd-text);font-family:inherit}
  #nvm-header input::placeholder{color:var(--nvd-text-3)}
  #nvm-header .nvd-badge,#nvm-bottom .nvd-badge{position:absolute;top:2px;left:2px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--nvd-red);color:#fff;font-size:10.5px;font-weight:800;display:none;align-items:center;justify-content:center;border:2px solid #fff;box-sizing:content-box;line-height:1}
  #nvm-header .nvd-badge.on,#nvm-bottom .nvd-badge.on{display:flex}

  #nvm-bottom{position:fixed;left:0;right:0;bottom:0;z-index:85;background:#fff;border-top:1px solid var(--nvd-line);display:grid;grid-template-columns:repeat(5,1fr);direction:rtl;padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px rgba(15,18,40,.06)}
  #nvm-bottom a{display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:var(--nvd-text-3);font-size:10.5px;font-weight:700;padding:4px 0;position:relative;transition:color .15s}
  #nvm-bottom a i{font-size:20px;height:24px;display:flex;align-items:center;position:relative}
  #nvm-bottom a.on{color:var(--nvd-red)}
  #nvm-bottom a.on:before{content:"";position:absolute;top:-7px;width:28px;height:3px;border-radius:0 0 4px 4px;background:var(--nvd-red)}
  #nvm-bottom .nvd-badge{top:-4px;left:auto;right:-10px}
  /* similar to similar-products carousel padding when bottom bar present */
}
@media (min-width:1024px){#nvm-header,#nvm-bottom{display:none !important}}

/* ---------- buy box v2: roomy, clear CTA + stepper ---------- */
@media (min-width:1024px){
  html body .action-bar.nvd-buybox{display:grid !important;grid-template-columns:140px 1fr;gap:14px 12px !important;padding:20px !important;background:#fff !important;border:1px solid var(--nvd-line) !important;border-radius:20px !important;box-shadow:0 10px 34px rgba(15,18,40,.07) !important}
  html body .action-bar.nvd-buybox .nvd-bb-price{grid-column:1 / -1;padding-bottom:14px;border-bottom:1px dashed var(--nvd-line)}
  html body .action-bar.nvd-buybox .nvd-bb-amount{font-size:30px;font-weight:900;text-align:right;display:flex;align-items:baseline;gap:8px;flex-direction:row-reverse;justify-content:flex-end}
  html body .action-bar.nvd-buybox > div.flex.items-center{grid-column:1;height:56px;background:#f4f8fd !important;border:1.5px solid #d6e8fb;border-radius:14px !important;padding:0 4px !important;justify-content:space-between;gap:0}
  html body .action-bar.nvd-buybox > div.flex.items-center button{width:38px !important;height:46px !important;border-radius:10px !important;color:var(--nvd-red-dark) !important;background:transparent !important;font-size:14px}
  html body .action-bar.nvd-buybox > div.flex.items-center button:hover{background:#e6f3fe !important}
  html body .action-bar.nvd-buybox > div.flex.items-center button i{font-size:13px !important}
  html body .action-bar.nvd-buybox #qtyDisplay{font-size:20px;font-weight:900;color:#0c0c0c;width:30px}
  html body .action-bar.nvd-buybox #addBtn{grid-column:2;height:56px !important;min-height:56px;border-radius:14px !important;font-size:16px !important;font-weight:900 !important;letter-spacing:0;color:#fff !important;border:0 !important;background:linear-gradient(135deg,#4db0f7,#2d9cf0 55%,#1b86da) !important;box-shadow:0 10px 24px rgba(45,156,240,.38) !important;transition:transform .18s,box-shadow .18s,filter .18s;gap:10px}
  html body .action-bar.nvd-buybox #addBtn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(45,156,240,.46) !important;filter:saturate(1.08)}
  html body .action-bar.nvd-buybox #addBtn:active{transform:translateY(0) scale(.985)}
  html body .action-bar.nvd-buybox #addBtn i{font-size:15px}
  html body .action-bar.nvd-buybox .nvd-bb-trust{grid-column:1 / -1;gap:10px;font-size:12.5px}
}

/* ---------- buy box v3 (Digikala-like) ---------- */
@media (min-width:1024px){
  html body .action-bar.nvd-bb2{display:flex !important;flex-direction:column;gap:0 !important;padding:0 !important;overflow:hidden;background:#fff !important;border:1px solid var(--nvd-line) !important;border-radius:20px !important;box-shadow:0 10px 34px rgba(15,18,40,.07) !important}
  .nvd-bb2 .nvd-bb-seller{padding:18px 20px 16px;border-bottom:1px solid #f0f0f1}
  .nvd-bb2 .nvd-bb-h{font-size:13px;color:var(--nvd-text-2);font-weight:700;margin-bottom:10px}
  .nvd-bb2 .nvd-bb-sel{display:flex;align-items:center;gap:12px}
  .nvd-bb2 .nvd-bb-sel .ico{width:44px;height:44px;border-radius:12px;background:#e6f3fe;color:var(--nvd-red-dark);display:flex;align-items:center;justify-content:center;font-size:18px;flex:0 0 44px}
  .nvd-bb2 .nvd-bb-sel .nm{display:flex;flex-direction:column;gap:2px}
  .nvd-bb2 .nvd-bb-sel b{font-size:15px;font-weight:800;color:#0c0c0c}
  .nvd-bb2 .nvd-bb-sel small{font-size:11.5px;color:var(--nvd-text-3);font-weight:500;line-height:1.7}
  .nvd-bb2 .nvd-bb-price{padding:18px 20px 6px;display:flex;flex-direction:column;gap:8px;align-items:stretch}
  .nvd-bb2 .nvd-bb-offrow{display:flex;align-items:center;justify-content:space-between;min-height:0}
  .nvd-bb2 .nvd-bb-offrow:empty{display:none}
  .nvd-bb2 .nvd-bb-offrow .pct{background:var(--nvd-red);color:#fff;border-radius:999px;font-size:14px;font-weight:900;padding:2px 10px;line-height:24px}
  .nvd-bb2 .nvd-bb-offrow .old{font-size:14px;color:var(--nvd-text-3);text-decoration:line-through;font-weight:600}
  .nvd-bb2 .nvd-bb-amount{display:flex;align-items:baseline;justify-content:flex-start;gap:8px;flex-direction:row;font-size:32px;font-weight:900;color:#0c0c0c;line-height:1.3;text-align:right}
  .nvd-bb2 .nvd-bb-amount small{font-size:14px;font-weight:600;color:var(--nvd-text-2)}
  .nvd-bb2 .nvd-bb-qlbl{padding:12px 20px 0;font-size:13px;font-weight:700;color:var(--nvd-text-2)}
  html body .action-bar.nvd-bb2 > div.flex.items-center{margin:8px 20px 0 !important;width:auto !important;height:50px !important;justify-content:space-between}
  html body .action-bar.nvd-bb2 #addBtn{margin:14px 20px 4px !important;width:auto !important;height:58px !important;min-height:58px;font-size:17px !important;white-space:nowrap;flex:none !important}
  html body .action-bar.nvd-bb2 #addBtn .btn-text{white-space:nowrap}
  .nvd-bb2 .nvd-bb-rows{padding:10px 20px 8px;margin-top:12px;border-top:1px solid #f0f0f1;display:flex;flex-direction:column}
  .nvd-bb2 .nvd-bb-rows .r{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px dashed #ececee}
  .nvd-bb2 .nvd-bb-rows .r:last-child{border-bottom:0}
  .nvd-bb2 .nvd-bb-rows i{color:var(--nvd-red-dark);font-size:16px;margin-top:3px;width:20px;text-align:center}
  .nvd-bb2 .nvd-bb-rows b{display:block;font-size:13px;font-weight:800;color:#23254e;line-height:1.8}
  .nvd-bb2 .nvd-bb-rows small{display:block;font-size:11.5px;color:var(--nvd-text-3);font-weight:500;line-height:1.8}
}

/* buy box: flat, no shadows */
html body .action-bar.nvd-bb2,html body .action-bar.nvd-buybox{box-shadow:none !important;filter:none !important}
html body .action-bar.nvd-bb2 #addBtn,html body .action-bar.nvd-bb2 #addBtn:hover,html body .action-bar.nvd-bb2 > div.flex.items-center{box-shadow:none !important;filter:none !important}
html body .action-bar.nvd-bb2::before,html body .action-bar.nvd-bb2::after{display:none !important}

/* ==== shop listing v2: copy of Digikala search page (no outer border, divider lines, grey image tiles) ==== */
@media (min-width:1024px){
  html body main.container.pt-24{max-width:1560px !important;padding-inline:20px !important}
  .nvd-listing{grid-template-columns:290px minmax(0,1fr);gap:24px}
  .nvd-side #filter-sheet{border-radius:12px;border:1px solid #e0e0e2}
  .nvd-side .filter-tab{border-top:1px solid #f0f0f1;padding:16px 0 8px}
  .nvd-side .filter-tab::before{font-size:15px;font-weight:700;color:#23254e;display:flex;align-items:center;justify-content:space-between}
  .nvd-side .filter-tab::after{content:none}

  .nvd-sortbar{border:0 !important;background:transparent !important;border-radius:0 !important;padding:2px 0 12px !important;margin-bottom:0 !important;border-bottom:1px solid #e0e0e2 !important;gap:2px}
  .nvd-sortbar .lbl{font-size:13.5px;font-weight:800;color:#23254e}
  .nvd-sortbar button{padding:8px 10px;font-size:13.5px;font-weight:500;color:#81858b;border-radius:8px}
  .nvd-sortbar button.on{background:transparent !important;color:var(--nvd-red);font-weight:700}
  .nvd-sortbar button:hover{background:transparent;color:var(--nvd-red)}

  .nvd-list-main #product-container{border:0 !important;border-radius:0 !important;background:transparent !important;overflow:visible !important}
  .nvd-list-main #product-container .avant-card{border:0 !important;border-radius:0 !important;border-bottom:1px solid #e8e8ea !important;border-left:1px solid #e8e8ea !important;padding:18px 16px 16px !important;box-shadow:none !important;transform:none !important;gap:0;background:#fff}
  .nvd-list-main #product-container .avant-card:nth-child(4n){border-left:0 !important}
  .nvd-list-main #product-container .avant-card:hover{box-shadow:0 0 0 1px #e0e0e2,0 8px 24px rgba(15,18,40,.10) !important;z-index:2}
  .nvd-list-main #product-container .avant-card > div:nth-child(3){height:auto !important;aspect-ratio:1/1;background:#f0f0f1 !important;border-radius:12px !important;margin-bottom:14px !important}
  .nvd-list-main #product-container .avant-card > div:nth-child(3) img{width:84% !important;height:84% !important}
  .nvd-list-main #product-container .avant-card p{display:none !important}
  .nvd-list-main #product-container .avant-card h3{font-size:14px !important;font-weight:600 !important;line-height:2.1 !important;height:58px !important;color:#23254e !important;margin-bottom:6px !important}
  .nvd-list-main #product-container .avant-card .add-to-cart-action-btn{display:none !important}
  .nvd-list-main #product-container .avant-card .text-sm.font-bold.text-black{font-size:18px !important;font-weight:800 !important;color:#0c0c0c !important}
  .nvd-list-main #product-container .avant-card .text-\[10px\].font-normal{font-size:12px !important;color:#62666d !important}
  .nvd-list-main #product-container .avant-card .line-through{font-size:13px !important;color:#81858b !important}
  .nvd-list-main #product-container .avant-card > .absolute{background:#ef394e !important;color:#fff !important;border-radius:999px !important;top:auto !important;bottom:46px !important;right:auto !important;left:16px !important;font-size:13px !important;font-weight:800 !important;padding:1px 9px !important;line-height:22px}
  .nvd-list-main #active-filters{margin:12px 0 0}
}
@media (min-width:1700px){.nvd-list-main #product-container .avant-card:nth-child(4n){border-left:1px solid #e8e8ea !important}.nvd-list-main #product-container .avant-card:nth-child(5n){border-left:0 !important}}

/* ==== category / brand pages (SSR listing.html): Digikala search-page layout ==== */
@media (min-width:1024px){
  html body main.max-w-6xl{max-width:1560px !important;padding-inline:20px !important}
  html body .lst-hero{background:transparent !important;border:0 !important;border-radius:0 !important;padding:14px 0 10px !important;text-align:right !important;overflow:visible}
  html body .lst-hero .lst-logo{display:none !important}
  html body .lst-hero .lst-crumbs{justify-content:flex-start;font-size:12.5px;color:#62666d;margin-bottom:8px}
  html body .lst-hero h1{font-size:22px !important;font-weight:800 !important;color:#0c0c0c;margin:0 !important}
  html body .lst-hero .lst-count{background:transparent !important;color:#81858b !important;font-size:13px !important;font-weight:600 !important;padding:0 !important;margin:0 12px 0 0 !important}
  html body .lst-hero .lst-intro{max-width:none !important;margin:8px 0 0 !important;font-size:13px !important;line-height:2.1 !important;color:#62666d !important;text-align:justify}
  html body .lst-hero .lst-actions{display:none !important}

  .nvd-ssr{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;align-items:start;margin-top:8px}
  .nvd-ssr .nvd-side{position:sticky;top:128px;display:flex;flex-direction:column;gap:14px}
  .nvd-ssr .nvd-side .lst-sec{margin:0 !important;background:#fff;border:1px solid #e0e0e2;border-radius:12px;padding:6px 16px 12px}
  .nvd-ssr .nvd-side .lst-sec h2,.nvd-ssr .nvd-side .lst-sec h3{font-size:15px !important;font-weight:800 !important;color:#23254e !important;margin:12px 0 8px !important}
  .nvd-ssr .nvd-side .lst-chips{display:flex !important;flex-direction:column;gap:0 !important;max-height:340px;overflow:auto}
  .nvd-ssr .nvd-side .lst-btn{border:0 !important;border-radius:0 !important;border-top:1px solid #f0f0f1 !important;padding:11px 2px !important;width:100%;justify-content:flex-start;font-size:13.5px !important;font-weight:500 !important;color:#23254e !important;background:transparent !important;transition:color .15s}
  .nvd-ssr .nvd-side .lst-btn:first-child{border-top:0 !important}
  .nvd-ssr .nvd-side .lst-btn:hover{color:var(--nvd-red) !important;background:transparent !important;transform:none}

  .nvd-ssr-bar{display:flex;align-items:center;gap:14px;padding:2px 0 12px;border-bottom:1px solid #e0e0e2;font-size:13.5px;color:#81858b}
  .nvd-ssr-bar b{color:#23254e;font-weight:800}
  .nvd-ssr-bar .cnt{margin-inline-start:auto;font-size:12.5px;font-weight:600}
  .nvd-ssr-main > section{margin:0 !important}
  html body .nvd-ssr .lst-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:0 !important;margin-top:0 !important}
  html body .nvd-ssr .lst-card{border:0 !important;border-radius:0 !important;border-bottom:1px solid #e8e8ea !important;border-left:1px solid #e8e8ea !important;background:#fff;box-shadow:none !important;transform:none !important;padding:18px 16px 16px}
  html body .nvd-ssr .lst-card:nth-child(4n){border-left:0 !important}
  html body .nvd-ssr .lst-card:hover{box-shadow:0 0 0 1px #e0e0e2,0 8px 24px rgba(15,18,40,.10) !important;z-index:2;position:relative}
  html body .nvd-ssr .lst-imgbox{margin:0 0 14px !important;border-radius:12px !important;background:#f0f0f1 !important}
  html body .nvd-ssr .lst-img{padding:8% !important}
  html body .nvd-ssr .lst-body{padding:0 !important;gap:4px}
  html body .nvd-ssr .lst-brand{display:none !important}
  html body .nvd-ssr .lst-title{font-size:14px !important;font-weight:600 !important;line-height:2.1 !important;color:#23254e !important;min-height:58px}
  html body .nvd-ssr .lst-price{font-size:18px !important;font-weight:800 !important;padding-top:6px}
  html body .nvd-ssr .lst-price small{font-size:12px;color:#62666d;font-weight:500}
  html body .nvd-ssr .lst-old{font-size:13px !important;color:#81858b !important}
  html body .nvd-ssr .lst-off{background:#ef394e !important;font-size:13px !important;font-weight:800 !important;padding:1px 9px !important;line-height:22px}
  html body .nvd-ssr .lst-pager{margin:24px 0 8px !important}
}
@media (min-width:1700px){
  html body .nvd-ssr .lst-grid{grid-template-columns:repeat(5,minmax(0,1fr)) !important}
  html body .nvd-ssr .lst-card:nth-child(4n){border-left:1px solid #e8e8ea !important}
  html body .nvd-ssr .lst-card:nth-child(5n){border-left:0 !important}
}
@media (min-width:1024px){
  .nvd-ssr-bar > span:first-child{display:none}
  .nvd-ssr-bar .cnt{margin-inline-start:0 !important;font-size:13.5px !important}
  html body .lst-hero .lst-count{display:none !important}
  html body .lst-hero .lst-intro{max-width:980px !important}
}

/* ==== MOBILE product page (Digikala style) ==== */
@media (max-width:1023px){
  html body:has(main.stage-grid){background:#fff !important}
  html body main.stage-grid{display:block !important;padding:0 !important;min-height:0 !important;height:auto !important;background:#fff !important}
  html body main.stage-grid .visual-area{height:auto !important;min-height:0 !important;background:#fff !important;padding:10px 16px 6px !important;border-radius:0 !important;position:relative !important;display:block}
  html body main.stage-grid .visual-area > div:first-child{display:none !important}
  html body main.stage-grid #productStoryRing{width:100%}
  html body main.stage-grid #mainProductImg{border-radius:12px !important;max-height:340px;width:100%;object-fit:contain;background:#f7f7f8}
  html body main.stage-grid .info-area{padding:6px 16px 110px !important;background:#fff !important;border-radius:0 !important;margin:0 !important;box-shadow:none !important}
  html body main.stage-grid .info-area h1{font-size:17px !important;line-height:2.1 !important;font-weight:800 !important;color:#0c0c0c !important;margin:4px 0 6px !important}
  html body main.stage-grid .info-area > nav{font-size:11.5px;margin-bottom:8px;overflow-x:auto;white-space:nowrap}
  html body main.stage-grid .info-area [class*="text-3xl"][class*="font-extrabold"]{font-size:24px !important;font-weight:900 !important;color:#0c0c0c}
  html body main.stage-grid .info-area p.italic,html body main.stage-grid .info-area [class*="italic"]{font-size:12.5px !important}

  html body .action-bar{position:fixed !important;left:0 !important;right:0 !important;bottom:0 !important;transform:none !important;width:auto !important;max-width:none !important;border-radius:0 !important;background:#fff !important;border:0 !important;border-top:1px solid #e0e0e2 !important;box-shadow:none !important;padding:10px 14px calc(10px + env(safe-area-inset-bottom)) !important;display:flex !important;flex-direction:row !important;align-items:center;gap:14px !important;z-index:90;margin:0 !important}
  html body .action-bar > div.flex.items-center{display:none !important}
  html body .action-bar #addBtn{flex:1 1 auto !important;height:50px !important;min-height:50px;background:linear-gradient(135deg,#4db0f7,#2d9cf0 55%,#1b86da) !important;color:#fff !important;border:0 !important;border-radius:12px !important;font-size:15px !important;font-weight:800 !important;box-shadow:none !important;white-space:nowrap}
  html body .action-bar #addBtn:active{transform:scale(.985)}
  .nvm-bar-price{display:flex;flex-direction:column;align-items:flex-start;gap:1px;flex:0 0 auto;direction:rtl;line-height:1.5}
  .nvm-bar-price .p{font-size:19px;font-weight:900;color:#0c0c0c;display:flex;align-items:baseline;gap:5px}
  .nvm-bar-price .p small{font-size:11px;font-weight:600;color:#62666d}
  .nvm-bar-price .o{font-size:11.5px;color:#81858b;text-decoration:line-through;font-weight:600}
  #nvSimilar{margin-bottom:110px}
}

/* ---------- product description (rendered HTML) ---------- */
.nv-desc{color:#3f4064;font-size:14.5px;line-height:2.2;text-align:justify}
.nv-desc p{margin:0 0 12px}
.nv-desc h2,.nv-desc h3,.nv-desc h4{color:#0c0c0c;font-weight:800;line-height:1.9;margin:22px 0 8px}
.nv-desc h2{font-size:17px}.nv-desc h3{font-size:16px}.nv-desc h4{font-size:15px}
.nv-desc ul,.nv-desc ol{margin:6px 0 14px;padding:0 22px 0 0}
.nv-desc ul{list-style:disc}.nv-desc ol{list-style:decimal}
.nv-desc li{margin:4px 0;padding-inline-start:4px}
.nv-desc li::marker{color:var(--nvd-red)}
.nv-desc a{color:var(--nvd-red-dark);text-decoration:underline}
.nv-desc table{width:100%;border-collapse:collapse;margin:10px 0;font-size:13.5px}
.nv-desc th,.nv-desc td{border:1px solid #e0e0e2;padding:8px 10px}

/* mobile header: logo row on top, search bar below (Digikala style) */
@media (max-width:1023px){
  #nvm-header{flex-wrap:wrap;row-gap:8px;padding:6px 12px 10px}
  #nvm-header #nvmMenu{order:1}
  #nvm-header .nvm-logo{order:2;flex:1 1 0;justify-content:center}
  #nvm-header .nvm-logo img{height:36px}
  #nvm-header .nvd-cart{order:3}
  #nvm-header form{order:4;flex:0 0 100%;height:44px}
}

/* ==== MOBILE drawer (hamburger menu), Digikala style ==== */
@media (max-width:1023px){
  html body #sidebarMenu{background:#fff !important;width:min(86vw,330px) !important;padding:0 !important;display:flex;flex-direction:column;border-radius:0 !important;box-shadow:-10px 0 40px rgba(15,18,40,.18)}
  #sidebarMenu .nvd-dr-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #f0f0f1;position:sticky;top:0;background:#fff;z-index:2}
  #sidebarMenu .nvd-dr-head img{height:34px;width:auto;mix-blend-mode:multiply}
  #sidebarMenu #closeSidebar{width:36px !important;height:36px !important;border:0 !important;background:#f4f4f5 !important;border-radius:50% !important;color:#23254e !important;display:flex;align-items:center;justify-content:center}
  #sidebarMenu .nvd-dr-login{display:flex;align-items:center;gap:12px;margin:14px 16px 6px;padding:12px 14px;border:1px solid #e0e0e2;border-radius:12px;text-decoration:none;color:#23254e}
  #sidebarMenu .nvd-dr-login .av{width:40px;height:40px;border-radius:50%;background:#e6f3fe;color:#1b86da;display:flex;align-items:center;justify-content:center;font-size:17px;flex:0 0 40px}
  #sidebarMenu .nvd-dr-login b{display:block;font-size:14px;font-weight:800}
  #sidebarMenu .nvd-dr-login small{display:block;font-size:11.5px;color:#81858b;font-weight:500}
  #sidebarMenu .nvd-dr-login .go{margin-inline-start:auto;color:#a1a3a8;font-size:12px}
  #sidebarMenu .nvd-dr-list{padding:4px 0 24px}
  #sidebarMenu .nvd-dr-lbl{font-size:11.5px;font-weight:700;color:#81858b;padding:14px 18px 4px}
  #sidebarMenu .nvd-dr-row{display:flex;align-items:center;gap:12px;width:100%;height:46px;padding:0 18px;background:transparent;border:0;border-bottom:1px solid #f4f4f5;color:#23254e;font-size:14px;font-weight:600;text-decoration:none;font-family:inherit;text-align:right;cursor:pointer}
  #sidebarMenu .nvd-dr-row:active{background:#f7f7f8}
  #sidebarMenu .nvd-dr-row .ic{width:20px;text-align:center;font-size:15px;color:#62666d;flex:0 0 20px}
  #sidebarMenu .nvd-dr-row .chev{margin-inline-start:auto;font-size:11px;color:#a1a3a8;transition:transform .2s}
  #sidebarMenu .nvd-dr-row.hot .ic,#sidebarMenu .nvd-dr-row.hot{color:#ef394e}
  #sidebarMenu .nvd-dr-row[aria-expanded="true"] .chev{transform:rotate(-90deg)}
  #sidebarMenu .nvd-dr-cats{display:none;background:#fafafb;border-bottom:1px solid #f0f0f1;padding:4px 0}
  #sidebarMenu .nvd-dr-cats.open{display:block}
  #sidebarMenu .nvd-dr-cats a{display:flex;align-items:center;gap:10px;height:40px;padding:0 18px 0 18px;color:#3f4064;font-size:13px;font-weight:500;text-decoration:none}
  #sidebarMenu .nvd-dr-cats a img{width:24px;height:24px;border-radius:50%;object-fit:cover;background:#fff;flex:0 0 24px}
  #sidebarMenu .nvd-dr-cats a:active{background:#f0f0f1}
}

/* ==== DESKTOP account shell (profile / orders / wallet ...): menu sidebar + wide content ==== */
@media (min-width:1024px){
  html body main.nvd-acc{max-width:var(--nvd-max) !important;width:100%;display:grid !important;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start;padding:24px 16px 32px !important;margin:0 auto !important}
  .nvd-acc-menu{position:sticky;top:128px;background:#fff;border:1px solid #e0e0e2;border-radius:16px;overflow:hidden}
  .nvd-acc-menu .who{display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid #f0f0f1}
  .nvd-acc-menu .who .av{width:48px;height:48px;border-radius:50%;background:#e6f3fe;color:#1b86da;display:flex;align-items:center;justify-content:center;font-size:20px;flex:0 0 48px}
  .nvd-acc-menu .who b{display:block;font-size:15px;font-weight:800;color:#0c0c0c}
  .nvd-acc-menu .who small{font-size:12px;color:#81858b}
  .nvd-acc-menu a,.nvd-acc-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 18px;border:0;border-bottom:1px solid #f4f4f5;background:#fff;color:#3f4064;font-size:14px;font-weight:600;text-decoration:none;font-family:inherit;text-align:right;cursor:pointer;transition:background .15s,color .15s}
  .nvd-acc-menu a:last-child,.nvd-acc-menu button:last-child{border-bottom:0}
  .nvd-acc-menu a i,.nvd-acc-menu button i{width:20px;text-align:center;color:#81858b;font-size:15px}
  .nvd-acc-menu a:hover,.nvd-acc-menu button:hover{background:#f7f9fc;color:var(--nvd-red-dark)}
  .nvd-acc-menu a.on{background:#e6f3fe;color:var(--nvd-red-dark);font-weight:800}
  .nvd-acc-menu a.on i{color:var(--nvd-red-dark)}
  .nvd-acc-menu .out{color:#ef394e}
  .nvd-acc-menu .out i{color:#ef394e}
  .nvd-acc-main{min-width:0}
  .nvd-acc-main > *{max-width:none !important}
}

/* ==== BASKET (Digikala style) ==== */
@media (min-width:1024px){
  html body main.nvd-cart{max-width:var(--nvd-max) !important;display:grid !important;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start;padding:24px 16px 32px !important}
  .nvd-cart-main{min-width:0}
  .nvd-cart-main > .flex.justify-between{margin-bottom:16px !important}
  .nvd-cart-main h1{font-size:20px !important;font-weight:800 !important;color:#0c0c0c}
  html body .nvd-cart-main #cart-items-container{background:#fff;border:1px solid #e0e0e2;border-radius:16px;overflow:hidden;padding:0}
  html body .nvd-cart-main #cart-items-container > *{border:0 !important;border-bottom:1px solid #f0f0f1 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;margin:0 !important;padding:18px 20px !important}
  html body .nvd-cart-main #cart-items-container > *:last-child{border-bottom:0 !important}
  html body #checkout-bar-container.nvd-sum{position:sticky !important;top:128px;left:auto !important;right:auto !important;bottom:auto !important;transform:none !important;width:auto !important;max-width:none !important;padding:0 !important;grid-column:2;grid-row:1;align-self:start}
  html body #checkout-bar-container.nvd-sum > div{display:flex !important;flex-direction:column;align-items:stretch !important;gap:14px !important;background:#fff !important;backdrop-filter:none !important;border:1px solid #e0e0e2 !important;border-radius:16px !important;padding:20px !important;box-shadow:none !important}
  html body #checkout-bar-container.nvd-sum > div > div:first-child{flex-direction:row !important;justify-content:space-between;align-items:baseline;border-bottom:1px dashed #e0e0e2;padding-bottom:14px}
  html body #checkout-bar-container.nvd-sum > div > div:first-child span:first-child{font-size:14px !important;color:#62666d !important;font-weight:700 !important}
  html body #checkout-bar-container.nvd-sum #total-price{font-size:20px !important;font-weight:900 !important;color:#0c0c0c !important}
  html body #checkout-bar-container.nvd-sum > div > div:last-child{flex-direction:column !important;align-items:stretch !important;gap:10px !important}
  html body #checkout-bar-container.nvd-sum #checkout-button{order:-1;height:54px !important;width:100%;border-radius:14px !important;background:linear-gradient(135deg,#4db0f7,#2d9cf0 55%,#1b86da) !important;color:#fff !important;font-size:15px !important;font-weight:900 !important;display:flex;align-items:center;justify-content:center;gap:8px}
  html body #checkout-bar-container.nvd-sum #bar-cart-pdf-btn{height:44px;border-radius:12px !important;background:#fff !important;border:1px solid #e0e0e2 !important;justify-content:center}
  html body #checkout-bar-container.nvd-sum #bar-cart-pdf-btn span{display:inline !important}
}
@media (max-width:1023px){
  html body #checkout-bar-container{bottom:0 !important;left:0 !important;right:0 !important;transform:none !important;max-width:none !important;width:auto !important;padding:0 !important}
  html body #checkout-bar-container > div{border-radius:0 !important;border:0 !important;border-top:1px solid #e0e0e2 !important;box-shadow:none !important;background:#fff !important;padding:10px 14px calc(10px + env(safe-area-inset-bottom)) !important}
  html body #checkout-bar-container #checkout-button{height:48px;border-radius:12px !important;background:linear-gradient(135deg,#4db0f7,#2d9cf0 55%,#1b86da) !important;color:#fff !important;font-weight:800 !important;padding-inline:22px !important}
  html body #checkout-bar-container #total-price{color:#0c0c0c !important;font-weight:900 !important}
  html body main.container.pt-8{padding-bottom:110px}
}

/* ==== WHITE-BG-v1: every page background white, like Digikala ==== */
:root{--bg-raw:#fff !important;--bg:#fff !important}
html,html body,html body main,html body .sheet-content-wrapper,html body .bottom-sheet,html body #sidebarMenu,html body .sheet-container{background-color:#fff !important}
.bg-\[\#F3F3F1\],.bg-\[\#f3f3f1\],.bg-\[\#F7F7F5\],.bg-\[\#F9F9F9\],.bg-\[\#F5F5F5\]{background-color:#fff !important}
html body .grain{display:none !important}
html body .levitating-header{background:#fff !important;backdrop-filter:none !important}

/* ==== LOGIN (Digikala style) ==== */
html body:has(#app .animate-float){background:#fff !important}
html body:has(#app .animate-float) #app{background:#fff}
html body:has(#app .animate-float) #app .mb-4.flex.justify-center{display:none !important}
html body:has(#app .animate-float) #app .mb-3.text-center{margin-bottom:14px !important}
html body:has(#app .animate-float) #app .mb-3.text-center img{height:44px !important;margin:0 !important}
html body:has(#app .animate-float) #app .text-center{text-align:right !important}
html body:has(#app .animate-float) #app h1,#app h2{font-size:20px !important;font-weight:800 !important;color:#0c0c0c !important;text-align:right !important;margin-bottom:6px !important}
html body:has(#app .animate-float) #app h1 + p,#app h2 + p{font-size:13px !important;color:#62666d !important;font-weight:500 !important;text-align:right !important}
html body:has(#app .animate-float) #app input[type="tel"],#app input[type="text"]{border:1px solid #e0e0e2 !important;border-radius:12px !important;background:#fff !important;height:52px;padding:0 14px !important;font-size:16px !important;font-weight:700 !important;text-align:right !important;box-shadow:none !important}
html body:has(#app .animate-float) #app input[type="tel"]:focus,#app input[type="text"]:focus{border-color:#2d9cf0 !important;box-shadow:0 0 0 3px rgba(45,156,240,.15) !important}
html body:has(#app .animate-float) #app button.bg-black,#app button[class*="bg-black"]{background:linear-gradient(135deg,#4db0f7,#2d9cf0 55%,#1b86da) !important;border-radius:12px !important;height:52px;font-weight:800 !important;box-shadow:none !important}
html body:has(#app .animate-float) #app button.bg-black:hover{filter:saturate(1.1)}
html body:has(#app .animate-float) #app .text-\[11px\]{color:#81858b !important}
@media (min-width:1024px){
  html body:has(#app .animate-float){display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}
  html body:has(#app .animate-float) #app{max-width:400px !important;border:1px solid #e0e0e2;border-radius:16px;padding:28px 28px 24px}
}
@media (max-width:1023px){html body:has(#app .animate-float) #app{max-width:420px !important}}

/* ==== ACCSHELL-v2: Digikala-like profile (sidebar card + quick shortcuts) ==== */
.nvd-acc-quick{background:#fff;border:1px solid #e0e0e2;border-radius:12px;padding:16px 18px 18px;margin-bottom:16px}
.nvd-acc-quick .qh{display:flex;align-items:center;margin-bottom:12px}
.nvd-acc-quick .qh b{font-size:16px;font-weight:800;color:#0c0c0c;position:relative;padding-bottom:8px}
.nvd-acc-quick .qh b:after{content:"";position:absolute;right:0;bottom:0;width:100%;height:2px;background:var(--nvd-red);border-radius:2px}
.nvd-acc-quick .qg{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.nvd-acc-quick .qg a{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px;border-radius:12px;text-decoration:none;color:#3f4064;font-size:12.5px;font-weight:700;text-align:center;transition:background .15s}
.nvd-acc-quick .qg a:hover{background:#f4f9fe;color:var(--nvd-red-dark)}
.nvd-acc-quick .qg a i{width:48px;height:48px;border-radius:14px;background:#e6f3fe;color:var(--nvd-red-dark);display:flex;align-items:center;justify-content:center;font-size:20px}
@media (min-width:1024px){
  .nvd-acc-menu{border-radius:12px !important}
  .nvd-acc-menu .who{padding:16px 18px}
  .nvd-acc-menu .bal{justify-content:space-between;background:#f7f9fc !important;color:#3f4064 !important;border-bottom:1px solid #f0f0f1 !important}
  .nvd-acc-menu .bal span{font-weight:700;font-size:13px}
  .nvd-acc-menu .bal b{font-weight:800;font-size:14px;color:#0c0c0c}
  .nvd-acc-menu .bal b small{font-size:11px;color:#81858b;font-weight:500}
  .nvd-acc-menu a.on{background:#fff !important;box-shadow:inset -3px 0 0 var(--nvd-red);color:var(--nvd-red-dark) !important}
  .nvd-acc-menu a,.nvd-acc-menu button{padding:13px 18px !important}
  /* page cards inside the account content: flat, thin border */
  .nvd-acc-main .rounded-3xl,.nvd-acc-main .rounded-\[2rem\],.nvd-acc-main .rounded-2xl{box-shadow:none !important}
}
@media (max-width:1023px){
  .nvd-acc-quick{margin:0 0 14px;padding:6px 0 0;border:0;border-radius:0}
  .nvd-acc-quick .qh{padding:0 4px}
  .nvd-acc-quick .qg{display:flex;flex-direction:column;gap:0}
  .nvd-acc-quick .qg a{flex-direction:row;justify-content:flex-start;gap:12px;padding:12px 4px;border-bottom:1px solid #f0f0f1;border-radius:0;font-size:14px;font-weight:600;text-align:right}
  .nvd-acc-quick .qg a i{width:36px;height:36px;border-radius:10px;font-size:16px}
  .nvd-acc-quick .qg a:after{content:"\f053";font-family:"Font Awesome 6 Free","Font Awesome 5 Free";font-weight:900;margin-inline-start:auto;color:#a1a3a8;font-size:11px}
}

/* ==== MOBILE-TILES-v1: brand / category tiles must fit their grid cells on phones ==== */
@media (max-width:640px){
  html body .brand-logo-wrap,html body .category-icon-wrap{width:100% !important;height:auto !important;aspect-ratio:1/1;margin:0 auto 8px !important;border-radius:18px !important}
  html body .brand-logo-wrap img,html body .category-icon-wrap img{max-width:72%;max-height:72%;object-fit:contain}
  html body .brand-card > :not(.brand-logo-wrap),html body .category-card > :not(.category-icon-wrap){white-space:normal !important;overflow:visible !important;text-overflow:clip !important;font-size:12px !important;line-height:1.7 !important}
  html body .brands-grid,html body .category-grid{column-gap:10px !important;row-gap:16px !important}
}

/* ==== ASKAI-v1: floating "Ask Nival AI" button + chat sheet (all pages) ==== */
#nvaFab{position:fixed;z-index:95;left:16px;bottom:24px;display:flex;align-items:center;gap:8px;height:52px;padding:0 18px 0 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#4db0f7,#2d9cf0 55%,#1b86da);color:#fff;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 8px 24px rgba(27,134,218,.38);direction:rtl;transition:transform .18s,box-shadow .18s}
#nvaFab:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(27,134,218,.46)}
#nvaFab i{font-size:17px}
@media(max-width:1023px){
  #nvaFab{left:12px;bottom:calc(76px + env(safe-area-inset-bottom));height:46px;padding:0 14px;font-size:13px}
  body:has(.action-bar) #nvaFab{bottom:calc(84px + env(safe-area-inset-bottom))}
  body:has(#checkout-bar-container) #nvaFab{bottom:calc(84px + env(safe-area-inset-bottom))}
}
#nvaOv{position:fixed;inset:0;z-index:300;background:rgba(15,22,38,.45);opacity:0;pointer-events:none;transition:opacity .22s}
#nvaOv.on{opacity:1;pointer-events:auto}
#nvaSheet{position:fixed;z-index:310;direction:rtl;background:#fff;display:flex;flex-direction:column;overflow:hidden;transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .2s;box-shadow:0 20px 60px rgba(15,22,38,.28)}
@media(max-width:1023px){#nvaSheet{left:0;right:0;bottom:0;height:86vh;border-radius:20px 20px 0 0;transform:translateY(105%)}#nvaSheet.on{transform:none}}
@media(min-width:1024px){#nvaSheet{left:24px;bottom:24px;width:420px;height:min(640px,calc(100vh - 48px));border-radius:20px;border:1px solid #e0e0e2;transform:translateY(24px);opacity:0;pointer-events:none}#nvaSheet.on{transform:none;opacity:1;pointer-events:auto}#nvaOv{background:transparent;pointer-events:none}}
#nvaSheet .h{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #f0f0f1}
#nvaSheet .h .ic{width:38px;height:38px;border-radius:12px;background:#e6f3fe;color:#1b86da;display:flex;align-items:center;justify-content:center;font-size:17px}
#nvaSheet .h b{font-size:15px;font-weight:800;color:#0c0c0c;display:block;line-height:1.5}
#nvaSheet .h small{font-size:11.5px;color:#81858b}
#nvaSheet .h button{margin-inline-start:auto;width:34px;height:34px;border-radius:50%;border:0;background:#f4f4f5;color:#23254e;cursor:pointer;font-size:14px}
#nvaSheet .ctx{margin:10px 14px 0;padding:8px 12px;border:1px solid #d6e8fb;background:#f3f8fe;border-radius:12px;font-size:12px;color:#1b5f99;font-weight:600;line-height:1.8;display:none}
#nvaSheet .ctx.on{display:block}
#nvaSheet .msgs{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
#nvaSheet .m{max-width:88%;padding:10px 13px;border-radius:14px;font-size:13.5px;line-height:2;white-space:pre-wrap;word-break:break-word}
#nvaSheet .m.u{align-self:flex-start;background:#2d9cf0;color:#fff;border-bottom-left-radius:4px}
#nvaSheet .m.a{align-self:flex-end;background:#f4f6f9;color:#1d2433;border-bottom-right-radius:4px}
#nvaSheet .m.a b{font-weight:800}
#nvaSheet .m.a ul{margin:4px 0;padding:0 18px 0 0}
#nvaSheet .typing{display:inline-flex;gap:4px}
#nvaSheet .typing i{width:6px;height:6px;border-radius:50%;background:#9aa4b5;animation:nvaDot 1s infinite}
#nvaSheet .typing i:nth-child(2){animation-delay:.15s}#nvaSheet .typing i:nth-child(3){animation-delay:.3s}
@keyframes nvaDot{0%,80%,100%{opacity:.3}40%{opacity:1}}
#nvaSheet .chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}
#nvaSheet .chips button{border:1px solid #d6e8fb;background:#fff;color:#1b5f99;border-radius:999px;padding:6px 12px;font-family:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
#nvaSheet .chips button:hover{background:#e6f3fe}
#nvaSheet .prods{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;align-self:stretch}
#nvaSheet .prods a{flex:0 0 118px;border:1px solid #e0e0e2;border-radius:12px;padding:8px;text-decoration:none;color:inherit;background:#fff}
#nvaSheet .prods img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f0f0f1;border-radius:8px}
#nvaSheet .prods span{display:block;font-size:11.5px;font-weight:600;line-height:1.8;height:41px;overflow:hidden;margin-top:6px;color:#23254e}
#nvaSheet .prods em{font-style:normal;font-size:12.5px;font-weight:800}
#nvaSheet form{display:flex;gap:8px;padding:10px 12px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #f0f0f1;background:#fff}
#nvaSheet textarea{flex:1;resize:none;border:1px solid #e0e0e2;border-radius:12px;padding:10px 12px;font-family:inherit;font-size:14px;line-height:1.7;max-height:96px;min-height:44px;outline:0}
#nvaSheet textarea:focus{border-color:#2d9cf0;box-shadow:0 0 0 3px rgba(45,156,240,.15)}
#nvaSheet form button{width:46px;height:46px;border:0;border-radius:12px;background:linear-gradient(135deg,#4db0f7,#1b86da);color:#fff;font-size:16px;cursor:pointer;flex:0 0 46px}
#nvaSheet form button:disabled{opacity:.5}
#nvaSheet .login{align-self:stretch;text-align:center;background:#fff8e6;border:1px solid #f4dfa8;border-radius:12px;padding:12px;font-size:13px;color:#5c4a14}
#nvaSheet .login a{display:inline-block;margin-top:8px;background:#2d9cf0;color:#fff;text-decoration:none;border-radius:10px;padding:8px 18px;font-weight:800}

#nvaSheet .m.a{white-space:normal}
#nvaSheet .m.u{white-space:pre-wrap}

/* ==== ACC-FIX-v1: account shell must span full width ==== */
@media (min-width:1024px){
  html body main.nvd-acc{width:100% !important;max-width:var(--nvd-max) !important;margin-left:auto !important;margin-right:auto !important}
  html body .nvd-acc-main{width:100%}
  html body .nvd-acc-main > .space-y-4,html body .nvd-acc-main > *{max-width:none !important}
}

/* ==== ACC-FIX-v2: wrappers around account <main> must not cap width; no leftover top padding under new header ==== */
@media (min-width:1024px){
  html body div:has(> main.nvd-acc),html body div:has(> div > main.nvd-acc){max-width:none !important;width:100% !important;padding-left:0 !important;padding-right:0 !important}
  html body.pt-24,html body[class*="pt-2"],html body[class*="pt-1"]{padding-top:0 !important}
  html body:has(#nvd-header){padding-top:0 !important}
}

/* ==== OLDNAV-HIDE-v1: legacy floating pill navs (club etc.) duplicate the new header/tab bar ==== */
html body nav.fixed.left-1\/2,html body div.fixed.left-1\/2[class*="bottom-4"][class*="bg-black"]{display:none !important}

/* ==== OLDHEADER-HIDE-v1: legacy pill header (info pages: about, faq, contact, terms...) duplicates the new header ==== */
html body:has(#nvd-header) header.sticky.top-4,html body:has(#nvm-header) header.sticky.top-4,
html body:has(#nvd-header) header.glass-card,html body:has(#nvm-header) header.glass-card{display:none !important}

/* ==== TILES4-v1: phones show 4 brand/category tiles per row (categories page, brands page, landing) ==== */
@media (max-width:640px){
  html body .brands-grid,html body .category-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;column-gap:8px !important;row-gap:14px !important;padding-inline:12px !important}
  html body .brands-grid > *,html body .category-grid > *{min-width:0}
  html body .brand-logo-wrap,html body .category-icon-wrap{border-radius:14px !important;margin-bottom:6px !important}
  html body .brand-card > :not(.brand-logo-wrap),html body .category-card > :not(.category-icon-wrap){font-size:10.5px !important;line-height:1.6 !important;word-break:break-word}
  html body .brands-track > *{flex:0 0 calc((100% - 36px)/4) !important;min-width:0 !important;width:auto !important}
}

/* ==== ASKAI-3D-v1: smaller, 3D (pressable key look), no shadows ==== */
html body #nvaFab{height:38px !important;padding:0 13px 0 11px !important;gap:6px !important;font-size:12px !important;font-weight:800;border:0 !important;border-bottom:4px solid #1673b8 !important;border-radius:13px !important;background:linear-gradient(180deg,#72c5fc 0%,#3aa5f3 50%,#2290e6 100%) !important;box-shadow:none !important;filter:none !important;overflow:hidden;transition:transform .1s,border-bottom-width .1s}
html body #nvaFab::before{content:"";position:absolute;left:3px;right:3px;top:2px;height:42%;border-radius:10px 10px 16px 16px;background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,.06));pointer-events:none}
html body #nvaFab i{font-size:13px !important;position:relative}
html body #nvaFab span{position:relative}
html body #nvaFab:hover{transform:none !important;box-shadow:none !important;filter:brightness(1.05)}
html body #nvaFab:active{transform:translateY(3px) !important;border-bottom-width:1px !important}
@media(max-width:1023px){html body #nvaFab{height:34px !important;font-size:11.5px !important;padding:0 11px 0 9px !important}}
@media(min-width:1024px){html body #nvaFab{left:20px;bottom:20px}}

/* ==== NOANN-v1: remove the top announcement bar everywhere ==== */
html body .nival-announcement{display:none !important}

/* ==== BTN3D-v1: smaller 3D "key" buttons, no shadows (all pages) ==== */
html body .raw-btn-primary,html body .btn-pill-black,html body #checkout-button,html body #apply-filters,html body #addBtn,html body #app button.bg-black{
  background:linear-gradient(180deg,#72c5fc 0%,#3aa5f3 50%,#2290e6 100%) !important;color:#fff !important;border:0 !important;border-bottom:3px solid #1673b8 !important;border-radius:11px !important;box-shadow:none !important;filter:none !important;
  padding:7px 14px !important;font-size:12px !important;font-weight:800 !important;min-height:0 !important;line-height:1.6;transition:transform .08s,border-bottom-width .08s,filter .15s}
html body .raw-btn-primary:hover,html body .btn-pill-black:hover,html body #checkout-button:hover,html body #apply-filters:hover,html body #addBtn:hover{filter:brightness(1.06) !important;transform:none !important;box-shadow:none !important}
html body .raw-btn-primary:active,html body .btn-pill-black:active,html body #checkout-button:active,html body #apply-filters:active,html body #addBtn:active,html body #app button.bg-black:active{transform:translateY(2px) !important;border-bottom-width:1px !important}
html body .raw-btn:not(.raw-btn-primary){background:linear-gradient(180deg,#ffffff,#f3f5f8) !important;color:#23254e !important;border:1px solid #d9dde3 !important;border-bottom:3px solid #c5cad3 !important;border-radius:11px !important;box-shadow:none !important;padding:6px 12px !important;font-size:12px !important;font-weight:700 !important;min-height:0 !important}
html body .raw-btn:not(.raw-btn-primary):active{transform:translateY(2px);border-bottom-width:1px !important}
html body #addBtn{height:46px !important;font-size:14px !important;padding:0 16px !important}
html body #checkout-button{height:42px !important;font-size:13px !important}
html body #app button.bg-black{height:46px !important;font-size:14px !important}
html body .action-bar.nvd-bb2 #addBtn{height:46px !important;min-height:46px !important;font-size:14px !important}
html body .lst-btn{box-shadow:none !important;border-radius:11px !important;border-bottom:3px solid #c5cad3 !important;padding:.35rem .8rem !important;font-size:11.5px !important}

/* ==== NEWSLIDER-v1: landing "جدیدترین‌ها" slider like Digikala (flat cells, grey image tile, no pill button) ==== */
html body .new-products-slider{background:#fff;border:1px solid #e0e0e2;border-radius:16px;padding:12px 0 12px;overflow:hidden}
html body .new-products-viewport{-webkit-mask-image:none !important;mask-image:none !important}
html body .new-product-slide{border:0 !important;border-radius:0 !important;border-left:1px solid #e8e8ea !important;box-shadow:none !important;background:#fff !important;padding:10px 12px !important;transform:none !important}
html body .new-product-slide:hover{box-shadow:none !important;transform:none !important}
html body .new-product-slide > a > div:first-child{background:#f0f0f1 !important;border-radius:12px !important}
html body .new-product-slide h3{font-size:12.5px !important;font-weight:600 !important;line-height:1.9 !important;color:#23254e !important;min-height:2.4rem}
html body .new-product-slide p.font-bold{font-size:15px !important;font-weight:800 !important;margin-bottom:0 !important}
html body .new-product-slide .rounded-full.bg-black{display:none !important}
html body .new-products-slider > div:last-child,html body .new-products-slider .mt-5{padding-inline:14px}
html body .new-products-control{width:30px !important;height:30px !important;border-radius:10px !important;background:linear-gradient(180deg,#fff,#f3f5f8) !important;border:1px solid #d9dde3 !important;border-bottom:3px solid #c5cad3 !important;box-shadow:none !important;color:#23254e !important}
html body .new-products-control:active{transform:translateY(2px);border-bottom-width:1px !important}
html body .new-products-control[disabled]{opacity:.45}

/* ==== NOFADE-v1: no edge fades; keep bordered cards on the new-products slider ==== */
html body [style*="mask-image"],html body .new-products-viewport,html body .brands-track,html body .swiper{-webkit-mask-image:none !important;mask-image:none !important}
html body .new-product-slide{border:1px solid #e0e0e2 !important;border-radius:14px !important;border-left:1px solid #e0e0e2 !important}
html body .new-products-slider{border:0 !important;padding:0 !important;border-radius:0 !important;background:transparent !important}

/* ==== MOBILETYPE-v1: compact type scale on phones (matches the new-products slider: 11px titles, 12-13px prices) ==== */
@media (max-width:640px){
  html{font-size:14px}
  html body{font-size:13px}
  html body h1:not(.sr-only){font-size:17px !important;line-height:1.8 !important}
  html body h2{font-size:15px !important;line-height:1.7 !important}
  html body h3{font-size:12px !important;line-height:1.8 !important}
  html body .text-xs,html body [class*="text-[11px]"],html body [class*="text-[10px]"]{font-size:10.5px !important}
  html body .text-sm{font-size:12px !important}
  html body .text-base{font-size:13px !important}
  html body .text-lg{font-size:15px !important}
  html body .text-xl,html body .text-2xl{font-size:17px !important}
  html body .text-3xl,html body .text-4xl{font-size:20px !important}
  html body p{line-height:1.9}
  /* product cards / prices */
  html body .avant-card h3,html body .lst-title,html body .new-product-slide h3,html body .nvs-name{font-size:11px !important;line-height:1.8 !important}
  html body .avant-card .text-sm.font-bold.text-black,html body .lst-price,html body .new-product-slide p.font-bold,html body #nvSimilar .nvs-now{font-size:13px !important}
  html body .lst-price small,html body #nvSimilar .nvs-now small{font-size:9.5px !important}
  /* product page */
  html body main.stage-grid .info-area h1{font-size:15px !important;line-height:2 !important}
  html body main.stage-grid .info-area [class*="text-3xl"][class*="font-extrabold"]{font-size:20px !important}
  .nv-desc{font-size:12.5px !important;line-height:2.05 !important}
  .nv-desc h2{font-size:14px !important}.nv-desc h3{font-size:13px !important}
  .nv-spec-title{font-size:14px !important}
  .nv-spec-k{font-size:11.5px !important;padding:10px 12px !important}
  .nv-spec-v{font-size:12.5px !important;padding:10px 12px !important}
  .nv-pros li{font-size:12px !important}
  .nvm-bar-price .p{font-size:16px !important}
  html body #addBtn{height:42px !important;font-size:13px !important}
  #nvSimilar .nvs-title{font-size:14px !important}
  /* header / bars / drawer */
  #nvm-header input{font-size:12.5px !important}
  #nvm-bottom a{font-size:9.5px !important}
  #nvm-bottom a i{font-size:18px !important}
  #sidebarMenu .nvd-dr-row{font-size:13px !important;height:42px !important}
  #sidebarMenu .nvd-dr-cats a{font-size:12px !important;height:36px !important}
  /* tiles */
  html body .brand-card > :not(.brand-logo-wrap),html body .category-card > :not(.category-icon-wrap){font-size:10px !important}
  /* sheets / chat */
  #nvaSheet .m{font-size:12.5px !important}
  #nvaSheet .h b{font-size:14px !important}
}

/* ==== NOSUPPORTIMG-v1: remove the support illustration from the support block ==== */
html body div:has(> img[src*="nivalsupport"]),html body img[src*="nivalsupport"]{display:none !important}

/* ==== WHITE-v2: no grey left anywhere (page transition overlay, translucent white cards, product image) ==== */
html body #nival-transition-overlay,html body [style*="F3F3F1"],html body [style*="f3f3f1"]{background:#fff !important;background-color:#fff !important}
html body .bento-card,html body .glass-card,html body [class*="bg-white/"],html body .nsk-card,html body .nsk-row{background:#fff !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important}
html body main.stage-grid #mainProductImg{background:#fff !important}
html body .nsk{background:#f0f0f1}

/* ==== STICKYFOOT-v1: copyright strip is white, and the footer sits at the very bottom (never floats mid-page on short pages) ==== */
@media (min-width:1024px){
  html body:has(#nvd-footer){min-height:100vh;display:flex !important;flex-direction:column}
  html body:has(#nvd-footer) > main,html body:has(#nvd-footer) > div:not(#nvd-header):not(#nvd-footer):not(#nvaOv):not(#nvaSheet){flex:0 0 auto}
  html body:has(#nvd-footer) #nvd-footer{margin-top:auto !important;position:static !important;width:100%}
  html body #nvd-footer .nvf-copy{background:#fff !important;border-top:1px solid #e0e0e2;color:#81858b}
}

/* ==== HERO-v1: new landing hero image shown at the very top (desktop too) ==== */
@media (min-width:1024px){
  html body main.relative.z-10.pt-24 > section:first-of-type{display:block !important;padding-top:8px}
  html body main.relative.z-10.pt-24 > section:first-of-type > div{background:#fff !important;border:0 !important;border-radius:0 !important;padding:0 !important;box-shadow:none !important}
  html body main.relative.z-10.pt-24 > section:first-of-type img{max-width:460px !important;width:100% !important;height:auto;margin:0 auto 16px !important;display:block}
}

/* ==== SERVICES-v1: "خدمات تخصصی" cards: white, flat, Digikala-like (no black cards) ==== */
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\]{background:#fff !important;border:1px solid #e0e0e2 !important;border-radius:16px !important;box-shadow:none !important;opacity:1 !important;padding:14px !important;transition:border-color .15s,transform .1s}
html body section:has(a.group[href="/skintest"]) a.bg-\[\#111111\]:hover{border-color:#2d9cf0 !important}
html body section:has(a.group[href="/skintest"]) a.bg-\[\#111111\]:active{transform:translateY(1px)}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] h3{color:#0c0c0c !important;font-size:14px !important;font-weight:800 !important;margin-bottom:2px !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] p{color:#62666d !important;font-size:11px !important;line-height:1.8 !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] .bg-zinc-800{background:#e6f3fe !important;color:#1b86da !important;width:36px !important;height:36px !important;border-radius:11px !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] .fa-arrow-left{color:#2d9cf0 !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] span.border{border-color:#d9dde3 !important;color:#81858b !important}
html body section:has(a.group[href="/skintest"]) h2{color:#0c0c0c !important;letter-spacing:0 !important;font-size:15px !important;font-weight:800 !important;text-transform:none !important;text-align:right !important;margin-bottom:14px !important}
@media (min-width:1024px){html body section:has(a.group[href="/skintest"]) .grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}

/* ==== SERVICES-3D-v1: services cards gray + 3D (pressable key look, no shadows) ==== */
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\]{background:linear-gradient(180deg,#f7f8fa 0%,#eceef2 100%) !important;border:1px solid #d3d8e0 !important;border-bottom:5px solid #bcc3ce !important;border-radius:18px !important;box-shadow:none !important}
html body section:has(a.group[href="/skintest"]) a.bg-\[\#111111\]:hover{border-color:#c3c9d3 !important;border-bottom-color:#a9b2bf !important;filter:brightness(1.02)}
html body section:has(a.group[href="/skintest"]) a.bg-\[\#111111\]:active{transform:translateY(4px) !important;border-bottom-width:1px !important}
html body section:has(a.group[href="/skintest"]) div.bg-\[\#111111\]{opacity:.8 !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] .bg-zinc-800{background:linear-gradient(180deg,#ffffff,#f1f3f6) !important;border:1px solid #d3d8e0 !important;border-bottom:3px solid #bcc3ce !important;color:#3f4a5c !important;box-shadow:none !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] .bg-zinc-800 i{color:#3f4a5c !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] h3{color:#1d2433 !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] p{color:#5b6475 !important}
html body section:has(a.group[href="/skintest"]) .bg-\[\#111111\] span.border{background:#fff !important;border-color:#d3d8e0 !important;color:#6b7385 !important}

/* ==== HEROFADE-v1: white -> light blue fade under the hero image (behind the button), all sizes ==== */
html body main.relative.z-10.pt-24 > section:first-of-type > div{
  background:linear-gradient(180deg,#ffffff 0%,#ffffff 52%,#eaf5ff 82%,#d6ecff 100%) !important;
  border:0 !important;border-radius:0 0 36px 36px !important;box-shadow:none !important;padding-bottom:26px !important}
html body main.relative.z-10.pt-24 > section:first-of-type > div > div.relative{padding-bottom:0}

/* ==== LOGO2X-v1: Nival logo 2x bigger everywhere (headers, drawer, footer, login) ==== */
@media (min-width:1024px){
  #nvd-header .nvd-row1{height:auto !important;min-height:96px}
  #nvd-header .nvd-logo img{height:88px !important}
  #nvd-footer .nvf-top img{height:92px !important}
}
@media (max-width:1023px){
  #nvm-header .nvm-logo img{height:72px !important}
  #nvm-header{row-gap:4px}
  #sidebarMenu .nvd-dr-head img{height:68px !important}
}
html body:has(#app .animate-float) #app .mb-3.text-center img{height:88px !important}

/* ==== ALL3D-v1: every button is a 3D key (no shadows). Secondary = light gray key, primary = blue key ==== */
html body :is(#nvmMenu,.nvm-btn,button[id^="close-"],.add-to-cart-action-btn,#filter-button,#sort-button,#mainWishlistBtn,#shareProductBtn,a.raw-btn:not(.raw-btn-primary):not(.raw-btn-orange),button.raw-btn:not(.raw-btn-primary):not(.raw-btn-orange),.nvd-login,#nvaX,#nvfUp,.nvs-arrow,.dk-nav-btn,a.inline-block.rounded-full,.nvh-all,#nvdLogout,.nvf-up){
  background:linear-gradient(180deg,#ffffff 0%,#f1f3f6 100%) !important;border:1px solid #d9dde3 !important;border-bottom:3px solid #c5cad3 !important;border-radius:11px !important;box-shadow:none !important;filter:none !important;transition:transform .08s,border-bottom-width .08s}
html body :is(#nvmMenu,.nvm-btn,button[id^="close-"],.add-to-cart-action-btn,#filter-button,#sort-button,#mainWishlistBtn,#shareProductBtn,a.raw-btn:not(.raw-btn-primary):not(.raw-btn-orange),button.raw-btn:not(.raw-btn-primary):not(.raw-btn-orange),.nvd-login,#nvaX,#nvfUp,.nvs-arrow,.dk-nav-btn,a.inline-block.rounded-full):active{transform:translateY(2px) !important;border-bottom-width:1px !important}
html body :is(#submitCommentBtn,.raw-btn-orange,.action-bar #addBtn,.action-bar.nvd-bb2 #addBtn,.action-bar #addBtn:hover){
  background:linear-gradient(180deg,#72c5fc 0%,#3aa5f3 50%,#2290e6 100%) !important;color:#fff !important;border:0 !important;border-bottom:3px solid #1673b8 !important;border-radius:11px !important;box-shadow:none !important}
html body :is(#submitCommentBtn,.raw-btn-orange,.action-bar #addBtn):active{transform:translateY(2px) !important;border-bottom-width:1px !important}
html body a.inline-block.rounded-full{border-bottom-width:2px !important;padding-top:.3rem;padding-bottom:.3rem}
html body :is(.tab.tab-active){border-bottom:3px solid #1673b8 !important;border-radius:10px !important}

/* ==== HEROFADE-v2: card is pure white; the fade starts white right under the picture and turns light blue behind the button ==== */
html body main.relative.z-10.pt-24 > section:first-of-type > div{background:#ffffff !important;position:relative !important;padding-bottom:30px !important}
html body main.relative.z-10.pt-24 > section:first-of-type > div::after{content:"";position:absolute;left:0;right:0;bottom:0;height:104px;background:linear-gradient(180deg,#ffffff 0%,#eaf5ff 55%,#d2eaff 100%);z-index:0;pointer-events:none}
html body main.relative.z-10.pt-24 > section:first-of-type > div > div.relative{position:relative;z-index:1}
html body main.relative.z-10.pt-24 > section:first-of-type img{margin-bottom:12px !important}

/* ==== HEROFADE-v3: stronger fade; the picture's own bottom dissolves into the blue ==== */
html body main.relative.z-10.pt-24 > section:first-of-type > div::after{height:190px !important;background:linear-gradient(180deg,#ffffff 0%,#eef7ff 35%,#d9edff 70%,#c4e2ff 100%) !important}
html body main.relative.z-10.pt-24 > section:first-of-type img{-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 70%,rgba(0,0,0,.55) 86%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 70%,rgba(0,0,0,.55) 86%,transparent 100%);margin-bottom:-54px !important;position:relative;z-index:1}
html body main.relative.z-10.pt-24 > section:first-of-type a.raw-btn{position:relative;z-index:2}
html body main.relative.z-10.pt-24 > section:first-of-type > div{padding-bottom:34px !important}

/* ==== HEROFADE-v4: picture's white box disappears into the fade (multiply blend; no visible edges left/right) ==== */
html body main.relative.z-10.pt-24 > section:first-of-type > div > div.relative{z-index:auto !important}
html body main.relative.z-10.pt-24 > section:first-of-type img{mix-blend-mode:multiply !important;z-index:1}

/* ==== NOHEROFADE-v1: blue fade removed; hero is plain white ==== */
html body main.relative.z-10.pt-24 > section:first-of-type > div::after{display:none !important;content:none !important}
html body main.relative.z-10.pt-24 > section:first-of-type > div{background:#ffffff !important;border-radius:0 !important;padding-bottom:12px !important}
html body main.relative.z-10.pt-24 > section:first-of-type img{-webkit-mask-image:none !important;mask-image:none !important;margin-bottom:14px !important;mix-blend-mode:normal !important}

/* ==== CALC-v1: new calculator banner (desktop landscape + mobile portrait) with the rotating message on its screen ==== */
.calc-wrap{position:relative;width:100%;max-width:420px}
.calc-img{display:block;width:100%;height:auto}
.calc-screen{position:absolute;top:38.9%;left:25.4%;right:26.9%;height:14.5%;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0 8px}
.calc-text{font-size:13px;color:#4a5560;text-align:center;line-height:1.55;word-break:break-word;width:100%}
@media (min-width:768px){
  .calc-wrap{max-width:1000px}
  .calc-screen{top:26.6%;left:54.1%;right:24.9%;height:14%}
  .calc-text{font-size:16px}
}

/* ==== CARD3D-v1: brand + category cards are 3D keys (gray-white tile, thick bottom edge, no shadow) ==== */
html body :is(.brand-logo-wrap,.category-icon-wrap){background:linear-gradient(180deg,#ffffff 0%,#f1f3f6 100%) !important;border:1px solid #d9dde3 !important;border-bottom:5px solid #c5cad3 !important;box-shadow:none !important;transition:transform .1s,border-bottom-width .1s,border-bottom-color .15s}
html body :is(.brand-card,.category-card):hover :is(.brand-logo-wrap,.category-icon-wrap){border-bottom-color:#aab3c0 !important;transform:none !important}
html body :is(.brand-card,.category-card):active :is(.brand-logo-wrap,.category-icon-wrap){transform:translateY(3px) !important;border-bottom-width:2px !important}

/* ==== SEARCHDK-v1: Digikala-style header search (desktop): grey pill, focus panel with recent searches + popular categories, dimmed page ==== */
@media (min-width:1024px){
  #nvdDim{position:fixed;inset:0;background:rgba(15,22,38,.45);z-index:88;opacity:0;pointer-events:none;transition:opacity .18s}
  #nvdDim.on{opacity:1;pointer-events:auto}
  #nvd-header .nvd-search{max-width:820px}
  #nvd-header .nvd-search form{height:48px;border-radius:12px;background:#f0f0f1;border:1px solid transparent;padding:0 16px;gap:12px}
  #nvd-header .nvd-search form:focus-within{background:#fff;border-color:#d9dde3;box-shadow:none !important}
  #nvd-header .nvd-search form i.fa-search{order:-1;color:#81858b;font-size:17px}
  #nvd-header .nvd-search input{font-size:14.5px;font-weight:500}
  #nvd-header .nvd-search .nvd-clear{display:none;border:0;background:#e6e8ec;color:#62666d;width:24px;height:24px;border-radius:50%;cursor:pointer;font-size:11px;align-items:center;justify-content:center;flex:0 0 24px}
  #nvd-header .nvd-search .nvd-clear.on{display:flex}
  #nvd-header .nvd-sug{top:54px;border-radius:14px;border:1px solid #e0e0e2;box-shadow:none !important;padding:10px 12px 14px;max-height:540px}
  #nvd-header .nvd-sug .nvd-sec{padding:6px 6px 2px}
  #nvd-header .nvd-sug .nvd-sug-h{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:800;color:#23254e;padding:8px 6px}
  #nvd-header .nvd-sug .nvd-sug-h button{border:0;background:none;color:#2d9cf0;font-weight:700;font-size:12px;cursor:pointer;font-family:inherit}
  #nvd-header .nvd-sug .nvd-chips{display:flex;flex-wrap:wrap;gap:8px;padding:2px 6px 8px}
  #nvd-header .nvd-sug .nvd-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #e0e0e2;background:#fff;color:#3f4064;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600;text-decoration:none}
  #nvd-header .nvd-sug .nvd-chip:hover{border-color:#2d9cf0;color:#1b86da;background:#f3f9ff}
  #nvd-header .nvd-sug .nvd-chip i{color:#a1a3a8;font-size:12px}
  #nvd-header .nvd-sug .nvd-tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;padding:2px 6px 6px}
  #nvd-header .nvd-sug .nvd-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:12px;text-decoration:none;color:#23254e;font-size:12px;font-weight:600;text-align:center}
  #nvd-header .nvd-sug .nvd-tile:hover{background:#f4f6f9}
  #nvd-header .nvd-sug .nvd-tile img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#f0f0f1;border:1px solid #eceef1}
}
@media (max-width:1023px){#nvdDim{display:none}}

/* ==== ACCSPACE-v1: account menu (desktop) breathes: more top margin + row spacing, small 3D logout button ==== */
@media (min-width:1024px){
  html body main.nvd-acc{padding-top:48px !important;column-gap:32px !important}
  html body .nvd-acc-menu{margin-top:14px}
  html body .nvd-acc-menu > *:not(a):not(button){padding:22px 24px !important}
  html body .nvd-acc-menu .who{padding:28px 24px !important;gap:14px !important}
  html body .nvd-acc-menu a{padding:18px 24px !important;gap:14px !important;font-size:14px !important}
  html body .nvd-acc-menu button.out,html body .nvd-acc-menu #nvdLogout{width:auto !important;display:inline-flex !important;align-items:center;gap:8px !important;margin:16px 24px 22px !important;padding:7px 16px !important;font-size:12px !important;font-weight:800 !important;color:#d92d4a !important;background:linear-gradient(180deg,#ffffff,#f1f3f6) !important;border:1px solid #d9dde3 !important;border-bottom:3px solid #c5cad3 !important;border-radius:11px !important;box-shadow:none !important}
  html body .nvd-acc-menu #nvdLogout i{font-size:12px !important;width:auto !important}
  html body .nvd-acc-menu #nvdLogout:active{transform:translateY(2px);border-bottom-width:1px !important}
}

/* ==== ASKFULL-v1: Ask-AI is a full sheet with a close button on phones (not a bottom sheet); product images inside; drawer above everything ==== */
@media (max-width:1023px){
  html body #nvaSheet{left:0 !important;right:0 !important;top:0 !important;bottom:0 !important;height:100% !important;max-height:none !important;border-radius:0 !important;transform:translateY(100%);z-index:9990 !important}
  html body #nvaSheet.on{transform:none}
  html body #nvaOv{z-index:9989 !important}
  #nvaSheet .h{padding:calc(12px + env(safe-area-inset-top)) 14px 12px;position:sticky;top:0;background:#fff;z-index:2}
  #nvaSheet .h #nvaX{width:42px;height:42px;font-size:17px;order:3}
}
@media (min-width:1024px){html body #nvaSheet{z-index:9990 !important}html body #nvaOv{z-index:9989 !important}}
#nvaSheet .ctx{display:none;align-items:center;gap:12px;padding:10px 12px}
#nvaSheet .ctx.on{display:flex}
#nvaSheet .ctx img{width:56px;height:56px;object-fit:contain;background:#f0f0f1;border-radius:10px;flex:0 0 56px}
#nvaSheet .ctx b{color:#0c0c0c;font-weight:800}
#nvaSheet .prods a{flex:0 0 132px}
#nvaSheet .prods img{background:#f0f0f1}
/* sidebar / drawer sits above every header, navbar, tab bar and floating button */
html body #sidebarOverlay{z-index:9998 !important}
html body #sidebarMenu{z-index:9999 !important}

/* ==== PLAAZA-v1: shiny designer credit in every footer ==== */
.plaaza-credit{display:inline-block;margin-top:4px;font-size:11px;font-weight:800;text-decoration:none;background:linear-gradient(100deg,#1b86da 0%,#7fd0ff 28%,#bfe6ff 40%,#7fd0ff 52%,#1b86da 70%,#1b86da 100%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent !important;-webkit-text-fill-color:transparent;animation:plaazaShine 3.2s linear infinite}
.plaaza-credit:hover{text-decoration:underline;text-decoration-color:#2d9cf0}
@keyframes plaazaShine{0%{background-position:160% 0}100%{background-position:-60% 0}}
@media (prefers-reduced-motion:reduce){.plaaza-credit{animation:none;background:none;color:#1b86da !important;-webkit-text-fill-color:#1b86da}}

/* ==== PILLNAV-v1: floating pill tab bar (outline icons, active item in a gray circle) + support circle, phones only ==== */
@media (max-width:1023px){
  html body #nvm-bottom{background:transparent !important;border:0 !important;box-shadow:none !important;display:flex !important;align-items:center;gap:10px;padding:0 12px calc(12px + env(safe-area-inset-bottom)) !important;grid-template-columns:none}
  #nvm-bottom .nvm-pill{flex:1 1 auto;display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e3e6ea;border-radius:999px;padding:8px 10px;min-width:0}
  #nvm-bottom .nvm-pill a{position:relative;width:52px;height:52px;border-radius:50%;display:flex !important;align-items:center;justify-content:center;color:#8b9099;padding:0;transition:background .15s,color .15s}
  #nvm-bottom .nvm-pill a.on{background:#f0f1f3;color:#111}
  #nvm-bottom .nvm-pill a:before{display:none !important}
  #nvm-bottom .nvm-pill a .nvd-badge{position:absolute;top:6px;left:6px;right:auto;width:11px;height:11px;min-width:11px;padding:0;border:2px solid #fff;box-sizing:content-box;background:#ef394e;font-size:0;border-radius:50%}
  #nvm-bottom .nvm-support{flex:0 0 62px;width:62px;height:62px;border-radius:50%;display:flex !important;align-items:center;justify-content:center;background:linear-gradient(135deg,#8b5cf6 0%,#5b8cff 55%,#3b82f6 100%);border:0}
  #nvm-bottom .nvm-support:before{display:none !important}
  html body.nvm-has-nav{padding-bottom:96px}
  html body #nvaFab{bottom:calc(98px + env(safe-area-inset-bottom)) !important}
  html body:has(.action-bar) #nvaFab,html body:has(#checkout-bar-container) #nvaFab{bottom:calc(84px + env(safe-area-inset-bottom)) !important}
}

/* ==== CONTACTSHEET-v1: bottom sheet opened by the support circle: green 3D WhatsApp, Telegram, call, SMS ==== */
@media (max-width:1023px){
  #nvmContactOv{position:fixed;inset:0;z-index:9996;background:rgba(15,22,38,.5);opacity:0;pointer-events:none;transition:opacity .22s}
  #nvmContactOv.on{opacity:1;pointer-events:auto}
  #nvmContact{position:fixed;left:0;right:0;bottom:0;z-index:9997;direction:rtl;background:#fff;border-radius:22px 22px 0 0;padding:8px 16px calc(18px + env(safe-area-inset-bottom));transform:translateY(105%);transition:transform .3s cubic-bezier(.2,.8,.2,1);max-height:88vh;overflow:auto}
  #nvmContact.on{transform:none}
  #nvmContact .grab{width:42px;height:4px;border-radius:4px;background:#d9dde3;margin:4px auto 10px}
  #nvmContact .hd{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 2px}
  #nvmContact .hd b{font-size:16px;font-weight:800;color:#0c0c0c}
  #nvmContact .hd button{width:36px;height:36px;border-radius:11px;border:1px solid #d9dde3;border-bottom:3px solid #c5cad3;background:linear-gradient(180deg,#fff,#f1f3f6);color:#23254e;font-size:14px;cursor:pointer}
  #nvmContact .sub{margin:2px 2px 14px;font-size:12px;color:#81858b;font-weight:500}
  #nvmContact .k{display:flex;align-items:center;gap:14px;padding:12px 14px;margin-bottom:12px;border-radius:16px;text-decoration:none;color:#fff;border:0;transition:transform .08s,border-bottom-width .08s}
  #nvmContact .k:active{transform:translateY(3px);border-bottom-width:2px !important}
  #nvmContact .k .ico{width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;flex:0 0 46px}
  #nvmContact .k .tx{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
  #nvmContact .k .tx b{font-size:15px;font-weight:800}
  #nvmContact .k .tx small{font-size:13px;opacity:.92;font-weight:600;letter-spacing:.3px;text-align:right}
  #nvmContact .k > i{opacity:.85;font-size:13px}
  #nvmContact .k-wa{background:linear-gradient(180deg,#4be58a 0%,#25d366 55%,#1fb85a 100%);border-bottom:5px solid #12934a}
  #nvmContact .k-tg{background:linear-gradient(180deg,#5fc2fb 0%,#2aabee 55%,#1d93d2 100%);border-bottom:5px solid #1678ac}
  #nvmContact .k-tel{background:linear-gradient(180deg,#7a8699 0%,#5b6678 60%,#4c5667 100%);border-bottom:5px solid #3a4352}
  #nvmContact .k-sms{background:linear-gradient(180deg,#9a8cf7 0%,#7c6cf0 60%,#6556d6 100%);border-bottom:5px solid #4d40b0}
  #nvm-bottom button.nvm-support{border:0;cursor:pointer;padding:0}
}
@media (min-width:1024px){#nvmContact,#nvmContactOv{display:none !important}}

/* ==== SUPPORT3D-v1: the support/contact circle is a 3D key too (thick bottom edge + gloss, no shadow) ==== */
@media (max-width:1023px){
  #nvm-bottom .nvm-support{position:relative;border:0 !important;border-bottom:6px solid #4a3fb5 !important;background:linear-gradient(180deg,#a58cff 0%,#7b6cf6 48%,#5a7cf7 100%) !important;box-shadow:none !important;overflow:hidden;transition:transform .08s,border-bottom-width .08s}
  #nvm-bottom .nvm-support::before{content:"" !important;display:block !important;position:absolute;left:10%;right:10%;top:5%;height:38%;border-radius:50% 50% 60% 60%;background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0));pointer-events:none}
  #nvm-bottom .nvm-support svg{position:relative;z-index:1;margin-top:-2px}
  #nvm-bottom .nvm-support:active{transform:translateY(4px);border-bottom-width:2px !important}
}

/* ==== TOPGAP-v1: no leftover top padding above the sticky header on phones (profile and every page with body pt-24) ==== */
@media (max-width:1023px){
  html body:has(#nvm-header){padding-top:0 !important;margin-top:0 !important}
  html body:has(#nvm-header) > main:first-of-type{margin-top:0}
}
