/* علاقه‌مندی، مقایسه، تاریخچه قیمت و یادآور موجودی */

.ny-features-scope{
  --ny-navy:#001e46;
  --ny-yellow:#ffbd00;
  --ny-red:#ec174c;
  --ny-green:#42a846;
  --ny-border:#e1e5eb;
  --ny-soft:#f7f8fa;
  --ny-text:#20242a;
  --ny-muted:#737b87;
}

.ny-wishlist,.ny-stock-alerts,.ny-compare-page,.ny-modal,.ny-compare-bar,.ny-account-cards{
  --ny-navy:#001e46;
  --ny-yellow:#ffbd00;
  --ny-red:#ec174c;
  --ny-green:#42a846;
  --ny-border:#e1e5eb;
  --ny-soft:#f7f8fa;
  --ny-text:#20242a;
  --ny-muted:#737b87;
  box-sizing:border-box;
}
.ny-wishlist *,.ny-stock-alerts *,.ny-compare-page *,.ny-modal *,.ny-compare-bar *,.ny-account-cards *{box-sizing:border-box}

/* آیکون پایه (در صفحاتی که product.css بارگذاری نمی‌شود) ------------------- */

.ny-icon{
  display:inline-grid;place-items:center;width:16px;height:16px;
  flex:0 0 auto;line-height:0;vertical-align:middle
}
.ny-icon svg{width:100%;height:100%;display:block}

/* دکمه‌های عمومی ---------------------------------------------------------- */

.ny-primary-button{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:10px 20px;border:0;border-radius:8px;cursor:pointer;
  background:var(--ny-yellow);color:var(--ny-navy);font-weight:800;font-size:13px;
  text-decoration:none;transition:.2s ease;line-height:1
}
.ny-primary-button:hover{filter:brightness(.95);color:var(--ny-navy)}
.ny-primary-button.is-ghost{background:#fff;color:var(--ny-navy);border:1px solid var(--ny-border)}
.ny-primary-button.is-ghost:hover{border-color:var(--ny-yellow)}
.ny-primary-button .ny-icon{width:16px;height:16px}
.ny-primary-button:disabled{opacity:.6;cursor:not-allowed}

.ny-link-button{
  background:none;border:0;padding:0;cursor:pointer;color:#4055bd;
  font-size:12px;font-weight:700;text-decoration:none
}
.ny-link-button:hover{text-decoration:underline}
.ny-link-button.is-danger{color:var(--ny-red)}

.ny-icon-button.is-active{border-color:var(--ny-yellow);background:#fff9e8;color:var(--ny-red)}
.ny-wishlist-button.is-active svg path{fill:currentColor}
.ny-compare-button.is-active{color:var(--ny-navy);background:#fff9e8;border-color:var(--ny-yellow)}
.ny-icon-button.is-loading{opacity:.5;pointer-events:none}

.ny-empty-state{
  text-align:center;padding:48px 20px;border:1px dashed var(--ny-border);
  border-radius:12px;background:var(--ny-soft)
}
.ny-empty-state .ny-empty-icon{
  display:inline-grid;place-items:center;width:60px;height:60px;border-radius:50%;
  background:#fff;color:var(--ny-muted);margin-bottom:14px;border:1px solid var(--ny-border)
}
.ny-empty-state .ny-empty-icon .ny-icon{width:26px;height:26px}
.ny-empty-state strong{display:block;font-size:15px;color:var(--ny-text);margin-bottom:8px}
.ny-empty-state p{color:var(--ny-muted);font-size:13px;margin:0 0 18px;line-height:2}

/* کارت‌های داشبورد -------------------------------------------------------- */

.ny-account-cards{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;margin:22px 0
}
.ny-account-card{
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  padding:16px;border:1px solid var(--ny-border);border-radius:11px;
  background:#fff;text-decoration:none;color:var(--ny-text);transition:.2s ease
}
.ny-account-card:hover{border-color:var(--ny-yellow);box-shadow:0 6px 20px rgba(3,29,65,.07);transform:translateY(-2px)}
.ny-account-card-icon{
  display:grid;place-items:center;width:34px;height:34px;border-radius:9px;
  background:#fff6dd;color:var(--ny-navy);margin-bottom:6px
}
.ny-account-card-icon .ny-icon{width:18px;height:18px}
.ny-account-card strong{font-size:22px;font-weight:800;line-height:1.2}
.ny-account-card-label{font-size:12px;color:var(--ny-muted)}
.ny-account-card-cta{margin-top:8px;font-size:11px;font-weight:700;color:#4055bd}

/* لیست علاقه‌مندی‌ها ------------------------------------------------------- */

.ny-wishlist-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px}
.ny-wishlist-head p{margin:0;font-size:13px;color:var(--ny-text)}
.ny-wishlist-note{font-size:11px;color:#b07d00;background:#fff8e3;padding:6px 11px;border-radius:6px}

.ny-wishlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.ny-wishlist-card{
  position:relative;border:1px solid var(--ny-border);border-radius:11px;background:#fff;
  padding:12px;display:flex;flex-direction:column;gap:10px;transition:.25s ease
}
.ny-wishlist-card:hover{box-shadow:0 8px 24px rgba(3,29,65,.07)}
.ny-wishlist-card-remove{
  position:absolute;top:9px;left:9px;z-index:2;width:28px;height:28px;border-radius:7px;
  border:1px solid var(--ny-border);background:#fff;color:var(--ny-muted);cursor:pointer;
  display:grid;place-items:center;padding:0;transition:.2s
}
.ny-wishlist-card-remove:hover{border-color:var(--ny-red);color:var(--ny-red)}
.ny-wishlist-card-remove .ny-icon{width:15px;height:15px}
.ny-wishlist-image{position:relative;display:block;text-align:center}
.ny-wishlist-image img{width:100%;height:150px;object-fit:contain}
.ny-wishlist-badge{
  position:absolute;top:6px;right:6px;background:var(--ny-red);color:#fff;
  font-size:11px;font-weight:800;padding:3px 8px;border-radius:20px
}
.ny-wishlist-body{display:flex;flex-direction:column;gap:8px;flex:1}
.ny-wishlist-title{
  font-size:12.5px;font-weight:700;color:var(--ny-text);text-decoration:none;line-height:1.9;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px
}
.ny-wishlist-title:hover{color:#4055bd}
.ny-wishlist-stock{font-size:11px;font-weight:700}
.ny-wishlist-stock.is-in{color:var(--ny-green)}
.ny-wishlist-stock.is-out{color:var(--ny-red)}
.ny-wishlist-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.ny-wishlist-price del{color:#a3a9b3;font-size:11px}
.ny-wishlist-price strong{font-size:16px;font-weight:800;color:var(--ny-text)}
.ny-wishlist-price span{font-size:11px;color:var(--ny-muted)}
.ny-wishlist-trend{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--ny-muted)}
.ny-wishlist-trend .ny-icon{width:14px;height:14px}
.ny-wishlist-trend.is-down{color:var(--ny-green)}
.ny-wishlist-trend.is-up{color:var(--ny-red)}
.ny-wishlist-actions{display:flex;align-items:center;gap:7px;margin-top:auto}
.ny-wishlist-actions .ny-primary-button{flex:1;font-size:12px;padding:9px 10px}
.ny-wishlist-actions .ny-icon-button{
  width:34px;height:34px;flex:0 0 34px;border:1px solid var(--ny-border);border-radius:8px;
  background:#fff;color:#53606f;display:grid;place-items:center;cursor:pointer;padding:0
}
.ny-wishlist-actions .ny-icon-button .ny-icon{width:16px;height:16px}

/* یادآورهای موجودی -------------------------------------------------------- */

.ny-stock-alerts-intro{font-size:13px;color:var(--ny-muted);margin-bottom:16px}
.ny-stock-alerts-table{width:100%;border-collapse:collapse;font-size:12.5px}
.ny-stock-alerts-table th,.ny-stock-alerts-table td{
  padding:12px 10px;border-bottom:1px solid var(--ny-border);text-align:right;vertical-align:middle
}
.ny-stock-alerts-table thead th{background:var(--ny-soft);font-size:12px;color:var(--ny-muted);font-weight:700}
.ny-alert-product a{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ny-text);font-weight:700}
.ny-alert-product img{width:46px;height:46px;object-fit:contain;border:1px solid var(--ny-border);border-radius:7px;background:#fff}
.ny-alert-stock{font-weight:700}
.ny-alert-stock.is-in{color:var(--ny-green)}
.ny-alert-stock.is-out{color:var(--ny-red)}

/* نوار شناور مقایسه ------------------------------------------------------- */

.ny-compare-bar{
  position:fixed;inset-inline:0;bottom:0;z-index:9990;
  background:#fff;border-top:1px solid var(--ny-border);
  box-shadow:0 -8px 30px rgba(3,29,65,.12);
  transform:translateY(105%);transition:transform .28s ease;direction:rtl
}
.ny-compare-bar.is-visible{transform:translateY(0)}
.ny-compare-bar-inner{
  width:min(1180px,calc(100% - 24px));margin:0 auto;
  display:flex;align-items:center;gap:16px;padding:12px 0;flex-wrap:wrap
}
.ny-compare-bar-head{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ny-navy)}
.ny-compare-bar-head .ny-icon{width:20px;height:20px}
.ny-compare-bar-head span{font-size:11px;color:var(--ny-muted);font-weight:700}
.ny-compare-bar-items{display:flex;gap:8px;flex:1;flex-wrap:wrap;min-width:0}
.ny-compare-chip{
  position:relative;display:flex;align-items:center;gap:7px;padding:6px 26px 6px 8px;
  border:1px solid var(--ny-border);border-radius:9px;background:#fff;max-width:190px
}
.ny-compare-chip img{width:34px;height:34px;object-fit:contain;flex:0 0 34px}
.ny-compare-chip span{font-size:11px;line-height:1.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ny-compare-chip.is-empty{
  justify-content:center;min-width:96px;border-style:dashed;color:#b6bcc5;
  font-size:11px;padding:6px 10px;min-height:48px
}
.ny-compare-chip-remove{
  position:absolute;top:4px;right:4px;width:18px;height:18px;border-radius:50%;
  border:0;background:#f0f2f5;color:#7a828d;cursor:pointer;font-size:13px;line-height:1;padding:0
}
.ny-compare-chip-remove:hover{background:var(--ny-red);color:#fff}
.ny-compare-bar-actions{display:flex;align-items:center;gap:10px}
.ny-compare-bar-actions .ny-compare-clear{
  background:none;border:0;color:var(--ny-muted);font-size:12px;cursor:pointer
}
.ny-compare-bar-actions .ny-compare-clear:hover{color:var(--ny-red)}
.ny-compare-go{
  display:inline-flex;align-items:center;padding:10px 22px;border-radius:8px;
  background:var(--ny-yellow);color:var(--ny-navy);font-weight:800;font-size:13px;text-decoration:none
}
.ny-compare-go:hover{filter:brightness(.95);color:var(--ny-navy)}
body.ny-has-compare-bar{padding-bottom:88px}

/* صفحه مقایسه ------------------------------------------------------------- */

.ny-compare-page{width:min(1180px,100%);margin:0 auto;color:var(--ny-text)}
.ny-compare-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}
.ny-compare-page-head h1{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:800;margin:0}
.ny-compare-page-head h1 .ny-icon{width:24px;height:24px;color:var(--ny-navy)}
.ny-compare-page-tools{display:flex;align-items:center;gap:16px}
.ny-compare-diff-toggle{display:flex;align-items:center;gap:7px;font-size:12.5px;cursor:pointer;font-weight:700}

.ny-compare-table-wrap{overflow-x:auto;border:1px solid var(--ny-border);border-radius:12px;background:#fff}
.ny-compare-table{width:100%;border-collapse:collapse;min-width:680px}
.ny-compare-table th,.ny-compare-table td{
  padding:14px 12px;border-bottom:1px solid var(--ny-border);
  border-inline-start:1px solid var(--ny-border);text-align:right;vertical-align:middle;font-size:12.5px
}
.ny-compare-table tbody th{
  width:150px;background:var(--ny-soft);color:var(--ny-muted);font-weight:700;font-size:12px;
  position:sticky;inset-inline-start:0;z-index:2
}
.ny-compare-table thead th{background:#fff;vertical-align:top;padding:18px 12px}
.ny-compare-table .ny-compare-corner{
  background:var(--ny-soft);position:sticky;inset-inline-start:0;z-index:3;
  color:var(--ny-muted);font-size:12px
}
.ny-compare-col{position:relative;width:230px;min-width:200px}
.ny-compare-col-remove{
  position:absolute;top:8px;left:8px;width:24px;height:24px;border-radius:50%;
  border:1px solid var(--ny-border);background:#fff;color:#8a9099;cursor:pointer;
  font-size:15px;line-height:1;padding:0
}
.ny-compare-col-remove:hover{background:var(--ny-red);border-color:var(--ny-red);color:#fff}
.ny-compare-flag{
  display:inline-block;background:#e8f9dd;color:#3d8f2c;font-size:10.5px;font-weight:800;
  padding:3px 9px;border-radius:20px;margin-bottom:8px
}
.ny-compare-thumb{display:block;text-align:center;margin-bottom:9px}
.ny-compare-thumb img{width:100%;max-width:135px;height:120px;object-fit:contain;margin:0 auto}
.ny-compare-name{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:12.5px;font-weight:700;color:var(--ny-text);text-decoration:none;line-height:1.9;min-height:46px
}
.ny-compare-name:hover{color:#4055bd}
.ny-compare-col-actions{display:flex;align-items:center;gap:6px;margin-top:11px}
.ny-compare-col-actions .ny-primary-button{flex:1;padding:9px 8px;font-size:11.5px}
.ny-compare-col-actions .ny-icon-button{
  width:32px;height:32px;flex:0 0 32px;border:1px solid var(--ny-border);border-radius:7px;
  background:#fff;color:#53606f;display:grid;place-items:center;cursor:pointer;padding:0
}
.ny-compare-col-actions .ny-icon-button .ny-icon{width:15px;height:15px}

.ny-compare-price{display:flex;flex-direction:column;gap:2px}
.ny-compare-price del{color:#a3a9b3;font-size:11px}
.ny-compare-price strong{font-size:16px;font-weight:800}
.ny-compare-price span{font-size:11px;color:var(--ny-muted)}
.ny-compare-discount{font-style:normal;font-size:11px;color:var(--ny-red);font-weight:700}
.ny-compare-stock{font-weight:700}
.ny-compare-stock.is-in{color:var(--ny-green)}
.ny-compare-stock.is-out{color:var(--ny-red)}
.ny-compare-rating{display:inline-flex;align-items:center;gap:5px;font-weight:700}
.ny-compare-rating .ny-icon{width:15px;height:15px;color:var(--ny-yellow)}
.ny-compare-rating small{color:var(--ny-muted);font-weight:400}
.ny-compare-empty{color:#bcc2cb}
.ny-compare-table.ny-only-diff .ny-compare-row.is-same{display:none}

.ny-compare-add{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;position:relative}
.ny-compare-add-icon{
  display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  border:1px dashed #c3c9d2;color:#98a0aa
}
.ny-compare-add-icon .ny-icon{width:22px;height:22px}
.ny-compare-add strong{font-size:12px;font-weight:700;color:var(--ny-muted)}
.ny-compare-search-input{
  width:100%;padding:8px 11px;border:1px solid var(--ny-border);border-radius:7px;
  font-size:12px;font-family:inherit
}
.ny-compare-search-results{
  position:absolute;top:100%;inset-inline:0;z-index:20;background:#fff;
  border:1px solid var(--ny-border);border-radius:9px;box-shadow:0 10px 30px rgba(3,29,65,.14);
  max-height:300px;overflow:auto;margin-top:6px
}
.ny-compare-search-item{
  display:flex;align-items:center;gap:9px;width:100%;padding:9px 11px;border:0;
  background:none;cursor:pointer;text-align:right;border-bottom:1px solid #f1f3f6
}
.ny-compare-search-item:hover{background:var(--ny-soft)}
.ny-compare-search-item img{width:36px;height:36px;object-fit:contain;flex:0 0 36px}
.ny-compare-search-item span{
  flex:1;font-size:11.5px;line-height:1.8;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.ny-compare-search-item small{font-size:10.5px;color:var(--ny-muted);white-space:nowrap}
.ny-compare-search-loading,.ny-compare-search-empty{padding:14px;font-size:12px;color:var(--ny-muted);text-align:center}

.ny-compare-share{display:flex;align-items:center;gap:9px;margin-top:16px;font-size:12px;color:var(--ny-muted);flex-wrap:wrap}
.ny-compare-share-input{
  flex:1;min-width:240px;padding:9px 12px;border:1px solid var(--ny-border);
  border-radius:8px;font-size:11.5px;background:var(--ny-soft);direction:ltr;text-align:left
}

/* مودال ------------------------------------------------------------------- */

body.ny-modal-open{overflow:hidden}
.ny-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px}
.ny-modal-backdrop{position:absolute;inset:0;background:rgba(4,18,38,.62);backdrop-filter:blur(2px)}
.ny-modal-box{
  position:relative;background:#fff;border-radius:14px;width:min(680px,100%);
  max-height:min(88vh,760px);display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 30px 70px rgba(3,29,65,.3);animation:nyModalIn .22s ease
}
@keyframes nyModalIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.ny-modal-header{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 18px;border-bottom:1px solid var(--ny-border)
}
.ny-modal-header strong{font-size:14.5px;font-weight:800;color:var(--ny-text)}
.ny-modal-x{
  width:30px;height:30px;border-radius:8px;border:1px solid var(--ny-border);background:#fff;
  color:#7a828d;font-size:19px;line-height:1;cursor:pointer;padding:0
}
.ny-modal-x:hover{background:var(--ny-red);border-color:var(--ny-red);color:#fff}
.ny-modal-content{padding:18px;overflow:auto}
.ny-loading{padding:40px;text-align:center;color:var(--ny-muted);font-size:13px}

/* نمودار قیمت ------------------------------------------------------------- */

.ny-price-ranges{display:flex;gap:7px;margin-bottom:16px}
.ny-price-range-button{
  padding:7px 15px;border:1px solid var(--ny-border);border-radius:7px;background:#fff;
  font-size:12px;cursor:pointer;font-family:inherit;color:var(--ny-muted);transition:.2s
}
.ny-price-range-button.is-active{background:var(--ny-navy);border-color:var(--ny-navy);color:#fff;font-weight:700}
.ny-price-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px}
.ny-price-stat{
  border:1px solid var(--ny-border);border-radius:9px;padding:11px 9px;text-align:center;
  display:flex;flex-direction:column;gap:3px;background:var(--ny-soft)
}
.ny-price-stat span{font-size:10.5px;color:var(--ny-muted)}
.ny-price-stat strong{font-size:14px;font-weight:800}
.ny-price-stat small{font-size:10px;color:var(--ny-muted)}
.ny-price-stat.is-current{background:#fff8e3;border-color:#ffe08a}
.ny-price-trend{
  padding:9px 13px;border-radius:8px;font-size:12px;margin-bottom:14px;
  background:var(--ny-soft);color:var(--ny-muted)
}
.ny-price-trend.is-down{background:#e8f9dd;color:#3d8f2c}
.ny-price-trend.is-up{background:#ffeaf0;color:var(--ny-red)}
.ny-price-trend b{font-weight:800}

.ny-chart-holder{position:relative;background:#fff;border:1px solid var(--ny-border);border-radius:10px;padding:6px}
.ny-price-chart{width:100%;height:260px;display:block}
.ny-chart-unit{font-size:10px;color:#9aa1ab;text-align:center;padding:4px 0 2px}
.ny-chart-grid{stroke:#eef0f4;stroke-width:1}
.ny-chart-line{fill:none;stroke:var(--ny-yellow);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.ny-chart-dot{fill:#fff;stroke:var(--ny-yellow);stroke-width:2;cursor:pointer;transition:r .15s}
.ny-chart-dot:hover{r:6;fill:var(--ny-yellow)}
.ny-chart-ylabel{font-size:9.5px;fill:#9aa1ab;text-anchor:start}
.ny-chart-xlabel{font-size:9.5px;fill:#9aa1ab;text-anchor:middle}
.ny-chart-tooltip{
  position:absolute;background:var(--ny-navy);color:#fff;padding:7px 11px;border-radius:7px;
  font-size:11px;pointer-events:none;display:flex;flex-direction:column;gap:2px;
  white-space:nowrap;z-index:5;transform:translateY(-100%)
}
.ny-chart-tooltip strong{font-size:12px;font-weight:800}
.ny-chart-tooltip span{opacity:.75;font-size:10px}
.ny-price-range{margin-top:11px;font-size:11px;color:var(--ny-muted);text-align:center}
.ny-price-empty{text-align:center;padding:32px 16px;color:var(--ny-muted)}
.ny-price-empty strong{display:block;color:var(--ny-text);font-size:14px;margin-bottom:8px}
.ny-price-empty p{font-size:12.5px;line-height:2;margin:0 0 12px}
.ny-price-current{font-size:13px;color:var(--ny-text)}

/* فرم یادآور -------------------------------------------------------------- */

.ny-alert-form{display:flex;flex-direction:column;gap:13px}
.ny-alert-intro{font-size:12.5px;line-height:2;color:var(--ny-muted);margin:0}
.ny-alert-intro strong{color:var(--ny-text);font-size:13.5px}
.ny-alert-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--ny-muted)}
.ny-alert-form input{
  padding:11px 13px;border:1px solid var(--ny-border);border-radius:8px;
  font-size:13px;font-family:inherit;background:#fff;color:var(--ny-text)
}
.ny-alert-form input:focus{outline:0;border-color:var(--ny-yellow);box-shadow:0 0 0 3px rgba(255,189,0,.15)}
.ny-alert-message{font-size:12px;min-height:18px}
.ny-alert-message.is-error{color:var(--ny-red)}
.ny-alert-message.is-success{color:var(--ny-green)}
.ny-alert-privacy{font-size:10.5px;color:#9aa1ab;line-height:1.9}
.ny-alert-form input[name="phone"]{
  letter-spacing:1px;font-size:15px;text-align:left;font-family:inherit
}

/* اشتراک‌گذاری ------------------------------------------------------------- */

.ny-share-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:14px}
.ny-share-item{
  display:grid;place-items:center;padding:16px 8px;border:1px solid var(--ny-border);
  border-radius:10px;text-decoration:none;color:var(--ny-text);font-size:12px;font-weight:700;transition:.2s
}
.ny-share-item:hover{border-color:var(--ny-yellow);background:#fffbf0;color:var(--ny-navy)}
.ny-share-copy{display:flex;gap:8px}
.ny-share-copy input{
  flex:1;padding:10px 12px;border:1px solid var(--ny-border);border-radius:8px;
  font-size:11.5px;background:var(--ny-soft);direction:ltr;text-align:left
}

/* توست -------------------------------------------------------------------- */

.ny-global-toast{
  position:fixed;bottom:26px;inset-inline-start:26px;z-index:100000;
  background:var(--ny-navy,#001e46);color:#fff;padding:13px 20px;border-radius:9px;
  font-size:12.5px;box-shadow:0 14px 40px rgba(3,29,65,.28);
  opacity:0;transform:translateY(14px);pointer-events:none;transition:.26s ease;direction:rtl;
  max-width:min(360px,calc(100% - 40px))
}
.ny-global-toast.is-visible{opacity:1;transform:none}
.ny-global-toast.is-success{background:#2f7d33}
.ny-global-toast.is-error{background:#c8143f}

/* موبایل ------------------------------------------------------------------ */

@media (max-width:782px){
  .ny-price-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ny-share-grid{grid-template-columns:repeat(2,1fr)}
  .ny-compare-bar-inner{gap:10px;padding:10px 0}
  .ny-compare-bar-head{width:100%;justify-content:space-between}
  .ny-compare-bar-items{order:3;width:100%}
  .ny-compare-bar-actions{width:100%;justify-content:space-between}
  .ny-compare-go{flex:1;justify-content:center}
  body.ny-has-compare-bar{padding-bottom:180px}
  .ny-compare-chip{max-width:none;flex:1 1 46%}
  .ny-stock-alerts-table thead{display:none}
  .ny-stock-alerts-table tr{display:block;border-bottom:1px solid var(--ny-border);padding:10px 0}
  .ny-stock-alerts-table td{display:flex;justify-content:space-between;border:0;padding:6px 4px}
  .ny-price-chart{height:220px}
}

/* دکمه‌های کارت محصول در آرشیوها ------------------------------------------ */

.ny-loop-actions{
  display:flex;align-items:center;gap:6px;margin:8px 0;justify-content:flex-start
}
.ny-loop-actions .ny-icon-button{
  width:30px;height:30px;border:1px solid var(--ny-border,#e1e5eb);border-radius:7px;
  background:#fff;color:#53606f;display:grid;place-items:center;cursor:pointer;
  padding:0;transition:.2s ease
}
.ny-loop-actions .ny-icon-button:hover{border-color:var(--ny-yellow,#ffbd00);color:var(--ny-navy,#001e46)}
.ny-loop-actions .ny-icon-button .ny-icon{width:15px;height:15px}
.ny-loop-actions .ny-icon{display:inline-grid;place-items:center}
.ny-loop-actions .ny-icon svg{width:100%;height:100%}

/* -----------------------------------------------------------------
   v1.4.0 — آیکون‌های SVG جایگزین گلیف‌های متنی (× + − ▲ ▼ ↗)
   گلیف‌ها روی سیستم‌هایی که فونت سایت آن‌ها را ندارد از فونت ایموجی
   گرفته می‌شدند و رنگی/بدقواره دیده می‌شدند.
   ----------------------------------------------------------------- */
.ny-compare-chip-remove,
.ny-compare-col-remove,
.ny-modal-x{
  display:grid;
  place-items:center;
}
.ny-compare-chip-remove .ny-icon,
.ny-compare-chip-remove > svg{width:10px;height:10px}
.ny-compare-col-remove .ny-icon,
.ny-compare-col-remove > svg{width:12px;height:12px}
.ny-modal-x .ny-icon,
.ny-modal-x > svg{width:14px;height:14px}
.ny-price-trend{
  display:inline-grid;
  place-items:center;
  vertical-align:middle;
}
.ny-price-trend .ny-icon{width:13px;height:13px}
