/* الو گجت v20 — برند نارنجی/مشکی، لوگو و شعار، رفع روی‌هم‌افتادگی‌ها */

/* ───────── لوگو و شعار ───────── */
.ag-logo-wrap{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1;gap:4px}
.ag-logo-wrap .ag-logo{height:40px;width:auto;object-fit:contain}
.ag-slogan{font-size:10.5px;font-weight:700;color:var(--mut,#6b7280);white-space:nowrap;letter-spacing:-.1px}
.sf-header.compact .ag-slogan{display:none}
.sf-footer .ag-logo-wrap .ag-logo{height:46px}
.sf-footer .ag-slogan{color:#d8d8d8;font-size:12px}
@media(max-width:760px){.ag-logo-wrap .ag-logo{height:32px}.ag-slogan{font-size:9.5px}}

/* ───────── رنگ برند ───────── */
.ag-brand .sf2,.ag-brand .sf2.skin-souq{--b:#1B1D22!important;--a:#FF6B1A!important;--ink:#1B1D22}
.ag-brand .sf2 .sf-brand,.ag-brand .sf2 .sf-more,.ag-brand .sf2 .sf-mega-all,.ag-brand .sf2 .sf-tile em,.ag-brand .sf2 .sf-bento-txt em{color:#D9480F}
.ag-brand .sf2 .sf-card h3:hover,.ag-brand .sf2 .sf-nav a:hover{color:#D9480F}
.ag-brand .sf2 .sf-badge{background:#FF6B1A}
.ag-brand .sf2 .sf-hot,.ag-brand .sf2 .l-off{background:#FF6B1A}
.ag-brand .sf2 .l-new{background:#1B1D22;color:#fff}
.ag-brand .sf2 .sf-btn.accent{color:#1B1D22!important}
.ag-brand .sf2 .sf-cats-btn{background:#1B1D22}
.ag-brand .sf2 .sf-add{color:#fff}
.ag-brand .sf2 .sf-add:hover{background:#FF6B1A!important;color:#fff}
.ag-brand .sf2.skin-souq .sf-add{color:#E8590C;border-color:#ffc9a8}
.ag-brand .sf2.skin-souq .sf-add:hover{background:#FF6B1A!important;color:#fff;border-color:#FF6B1A}
.ag-brand .sf2 .sf-add.notify{color:#1B1D22}
.ag-brand .sf2 .sf-bolt{background:#FF6B1A;color:#fff}
.ag-brand .sf2 .pg-asst-fab{background:#FF6B1A;color:#fff}
.ag-brand .sf2 .pg-asst-fab.on{background:#1B1D22}
.ag-brand .sf2 .sf-announce{background:linear-gradient(90deg,#1B1D22,#2b211c 55%,#E8590C)}
.ag-brand .sf2 .sf-announce svg{color:#FF8A47}
.ag-brand .sf2 .sf-amazing{background:linear-gradient(125deg,#FF8A3D,#F2541B 48%,#1B1D22)!important}
.ag-brand .sf2 .sf-amazing .sf-btn.accent{background:#fff!important;color:#D9480F!important}
.ag-brand .sf2 .sf-count span{color:#1B1D22}
.ag-brand .sf2 .sf-amazing-intro small{color:#ffe1cf}
.ag-brand .sf2 .sf-news{background:#1B1D22}
.ag-brand .sf2 .sf-news-ico{background:#FF6B1A;color:#fff}
.ag-brand .sf2 .sf-footer{background:#141518;color:#b9bcc3}
.ag-brand .sf2 .sf-footer li:hover,.ag-brand .sf2 .sf-contact svg{color:#FF8A47}
.ag-brand .sf2 .sf-dots button.on i{background:#FF6B1A}
.ag-brand .sf2 .sf-chips button.on{background:#1B1D22!important;border-color:#1B1D22!important}
.ag-brand .sf2 .sf-ring{background:conic-gradient(from 200deg,#FF6B1A,#FFB27A,#1B1D22,#FF6B1A)}
.ag-brand .sf2 .sf-bottom a.on,.ag-brand .sf2 .sf-bottom .on{color:#E8590C}
.ag-brand .sf2 .sf-search:focus-within{border-color:#FF6B1A;box-shadow:0 0 0 4px #ff6b1a1f}

/* ───────── پیشنهاد شگفت‌انگیز روی موبایل: عنوان، تایمر و دکمه دیگر روی هم نمی‌افتند ───────── */
@media(max-width:760px){
  .sf2 .sf-amazing{padding-top:18px!important;padding-bottom:14px!important}
  .sf2 .sf-amazing-intro{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;justify-items:start;text-align:start;gap:6px 10px;padding-inline:4px}
  .sf2 .sf-amazing-intro .sf-bolt{grid-column:1;grid-row:1/3;margin:0}
  .sf2 .sf-amazing-intro h2{grid-column:2;grid-row:1;font-size:17px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .sf2 .sf-amazing-intro .sf-count{grid-column:2;grid-row:2;justify-self:start}
  .sf2 .sf-amazing-intro .sf-count span{min-width:30px;height:30px;font-size:14px;border-radius:9px}
  .sf2 .sf-amazing-intro small{display:none}
  .sf2 .sf-amazing-intro .sf-btn{grid-column:3;grid-row:1/3;height:38px;padding:0 12px;font-size:12.5px;white-space:nowrap}
}

/* ───────── دکمه‌ی شناور دستیار دیگر روی کالاها نمی‌ماند ───────── */
.sf2 .pg-floats{transition:transform .3s cubic-bezier(.2,.75,.25,1),opacity .25s}
html.ag-fab-hide .sf2 .pg-floats{transform:translateY(160%);opacity:0;pointer-events:none}
@media(max-width:760px){
  .sf2 .pg-asst-fab{width:46px!important;height:46px!important;box-shadow:0 8px 22px #1b1d2240}
  .sf2 .pg-asst-fab svg{width:22px;height:22px}
}
/* منوی پایینِ شناور (قالب شیشه‌ای) روی کپی‌رایت فوتر نیفتد */
html.ag-bn-fixed .sf2 .sf-copy{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
/* پرش به بخش‌ها زیر هدر چسبان نرود */
.sf2 [id]{scroll-margin-top:84px}

/* ───────── پنل مشتری ───────── */
html.ag-no-fab .sf2 .pg-asst-fab{display:none!important}
@media(max-width:760px){
  .sf2 .pg-acc-side nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible!important}
  .sf2 .pg-acc-side nav button{justify-content:center;flex-direction:column;gap:3px;font-size:12px;padding:8px 4px!important;min-height:58px;border-radius:14px}
}
.ag-acc-x{display:flex;flex-direction:column;gap:12px;margin:14px auto 24px;max-width:760px}
.ag-acc-h{font-size:16px;font-weight:800;margin:4px 2px 0}
.ag-acc-card{background:#fff;border:1px solid var(--line,#eceef2);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.ag-acc-card>b{font-size:14px}
.ag-acc-card>small{color:var(--mut,#6b7280);font-size:12.5px}
.ag-cp{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed var(--line,#eceef2)}
.ag-cp:last-child{border-bottom:0}
.ag-cp small{display:block;color:var(--mut,#6b7280);font-size:12px}
.ag-cp button{border:1.5px dashed #FF6B1A!important;color:#D9480F;border-radius:12px;padding:6px 12px;font-weight:800;letter-spacing:.5px;background:#fff7f1!important;white-space:nowrap}
.ag-bd{display:flex;gap:8px;margin-top:6px}
.ag-bd select{height:40px;border-radius:12px;border:1px solid var(--line,#eceef2);padding:0 10px;background:#fff;flex:1}
.ag-bale-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
/* موبایل: دکمه‌های شناور کوچک‌تر و سمت چپ (متن فارسی از راست شروع می‌شود و دیگر زیرشان نمی‌رود) */
@media(max-width:760px){
  .sf2 .pg-floats{inset-inline-start:auto!important;inset-inline-end:12px!important;align-items:flex-end!important;gap:8px!important}
  .sf2 .pg-asst-fab{width:42px!important;height:42px!important}
  .sf2 .pg-float summary{width:42px!important;height:42px!important;min-width:0!important;padding:0!important;justify-content:center}
  .sf2 .pg-float summary span{display:none}
  .sf2 .pg-float summary svg{width:20px;height:20px}
  .sf2 .pg-float-menu{inset-inline-start:auto!important;inset-inline-end:0!important}
}

/* v20.2 — the second (hover) photo never shows on phones, and an out-of-stock card dims only its main photo
   (before: on some phones, e.g. Samsung, both photos showed on top of each other) */
.sf-card .sf-card-img img.b{opacity:0!important;visibility:hidden}
@media (hover:hover) and (pointer:fine) and (min-width:900px){
  .sf-card:hover .sf-card-img img.b{opacity:1!important;visibility:visible}
  .sf-card:hover .sf-card-img:has(img.b) img.a{opacity:0!important}
}
.sf-card.out .sf-card-img img.a{opacity:.55}
