/* product-pro.css — enhancer استایل برای صفحهٔ جزئیات محصول (/market/:id)
   فقط روی body.ph-mkt-detail اثر می‌گذارد. بعد از market-pro.css لود می‌شود. */

/* ---------- ۱) قاب استودیویی تصویر محصول ---------- */
body.ph-market.ph-mkt-detail .mp-stage{
  position:relative; overflow:hidden;
  background:linear-gradient(160deg,#ffffff 0%,#f4f7fc 55%,#e9eff8 100%) !important;
  border:1px solid #e4eaf3 !important;
  border-radius:26px !important;
  box-shadow:0 30px 60px -46px rgba(15,35,70,.55), inset 0 1px 0 #fff !important;
  display:flex; align-items:center; justify-content:center;
  padding:22px !important;
}
body.ph-market.ph-mkt-detail .mp-stage::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(120% 90% at 50% 8%,rgba(255,255,255,.85),rgba(255,255,255,0) 60%);
}
body.ph-market.ph-mkt-detail .mp-stage .pp-stage-bg{
  position:absolute; inset:-16%; width:132%; height:132%;
  object-fit:cover !important; filter:blur(28px) saturate(1.25); opacity:.6; z-index:0;
}
body.ph-market.ph-mkt-detail .mp-stage::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.1) 30%,rgba(255,255,255,.12) 70%,rgba(255,255,255,.6) 100%);
}
body.ph-market.ph-mkt-detail .mp-stage > img:not(.pp-stage-bg){
  position:relative; z-index:2;
  max-width:100%; max-height:100%; width:auto; height:auto;
  object-fit:contain !important;
  filter:drop-shadow(0 26px 34px rgba(12,26,60,.28));
}
body.ph-market.ph-mkt-detail .mp-stage .pp-frame{
  position:absolute; inset:10px; z-index:3; pointer-events:none;
  border:1px solid rgba(15,35,70,.07); border-radius:19px;
}
body.ph-market.ph-mkt-detail .mp-stage .pp-floor{
  position:absolute; z-index:1; left:16%; right:16%; bottom:9%; height:34px;
  background:radial-gradient(50% 50% at 50% 50%,rgba(15,35,70,.22),rgba(15,35,70,0) 72%);
  filter:blur(6px);
}
body.ph-market.ph-mkt-detail .mp-stage:hover > img:not(.pp-stage-bg){ transform:scale(1.03); }

/* ریل تصاویر کوچک */
body.ph-market.ph-mkt-detail .mp-thumbs{ gap:10px !important; }
body.ph-market.ph-mkt-detail .mp-thumbs > button,
body.ph-market.ph-mkt-detail .mp-thumbs > div{
  border:1px solid #e6ecf5 !important; border-radius:14px !important;
  background:#fff !important; box-shadow:0 10px 22px -18px rgba(15,35,70,.6);
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
body.ph-market.ph-mkt-detail .mp-thumbs > button:hover{ transform:translateY(-2px); }
body.ph-market.ph-mkt-detail .mp-thumbs > .mp-thumb--on,
body.ph-market.ph-mkt-detail .mp-thumbs > button[aria-current="true"]{
  border-color:#1d4ed8 !important; box-shadow:0 0 0 3px rgba(29,78,216,.16);
}

/* ---------- ۲) هم‌راستا شدن ستون‌ها (رفع فضاهای خالی) ---------- */
body.ph-market.ph-mkt-detail .pp-row1{ align-items:stretch !important; }
body.ph-market.ph-mkt-detail .pp-row1 > div:first-child{ display:flex; flex-direction:column; min-width:0; }
body.ph-market.ph-mkt-detail .pp-row1 .mp-gallery{
  flex:1 1 auto !important; height:100%; align-items:stretch !important;
}
body.ph-market.ph-mkt-detail .pp-row1 .mp-stage{
  flex:1 1 auto !important; aspect-ratio:auto !important; min-height:360px;
}
body.ph-market.ph-mkt-detail .pp-row1 .mp-thumbs{ height:100%; max-height:none !important; }

body.ph-market.ph-mkt-detail .pp-leftcol{
  display:flex; flex-direction:column; gap:16px; height:100%;
}
body.ph-market.ph-mkt-detail .pp-leftcol > .pp-auc{ flex:1 1 auto; min-height:250px; }

/* ---------- ۳) کارت «مزایدهٔ زنده» ---------- */
body.ph-market.ph-mkt-detail .pp-auc{
  position:relative; display:flex; flex-direction:column; overflow:hidden;
  border-radius:20px; padding:14px;
  background:linear-gradient(155deg,#0f2340 0%,#132a4d 55%,#0d1c33 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 26px 50px -40px rgba(8,20,44,.9);
  color:#eaf1ff;
}
body.ph-market.ph-mkt-detail .pp-auc::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(90% 70% at 88% 0%,rgba(96,165,250,.22),rgba(96,165,250,0) 62%);
}
body.ph-market.ph-mkt-detail .pp-auc-h{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  position:relative; z-index:2; margin-bottom:10px;
}
body.ph-market.ph-mkt-detail .pp-live{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:800; letter-spacing:.2px;
  color:#ffe3e3; background:rgba(239,68,68,.16);
  border:1px solid rgba(239,68,68,.42); border-radius:999px; padding:4px 9px;
}
body.ph-market.ph-mkt-detail .pp-live i{
  width:7px; height:7px; border-radius:50%; background:#ef4444;
  box-shadow:0 0 0 0 rgba(239,68,68,.7); animation:pp-pulse 1.9s infinite;
}
@keyframes pp-pulse{
  0%{ box-shadow:0 0 0 0 rgba(239,68,68,.65); }
  70%{ box-shadow:0 0 0 8px rgba(239,68,68,0); }
  100%{ box-shadow:0 0 0 0 rgba(239,68,68,0); }
}
body.ph-market.ph-mkt-detail .pp-auc-cd{
  font-size:11px; font-weight:800; color:#bfe0ff; direction:ltr;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14);
  border-radius:999px; padding:4px 10px; white-space:nowrap;
}
body.ph-market.ph-mkt-detail .pp-auc-media{
  position:relative; z-index:2; aspect-ratio:16/9; border-radius:14px; overflow:hidden;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.10);
}
body.ph-market.ph-mkt-detail .pp-auc-media img{
  width:100%; height:100%; object-fit:cover !important; display:block;
}
body.ph-market.ph-mkt-detail .pp-auc-shade{
  position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(6,18,38,.05),rgba(6,18,38,.72));
}
body.ph-market.ph-mkt-detail .pp-auc-chip{
  position:absolute; bottom:8px; inset-inline-start:9px;
  font-size:10.5px; font-weight:700; color:#dbeafe;
  background:rgba(6,18,38,.62); border:1px solid rgba(255,255,255,.16);
  border-radius:999px; padding:3px 9px; backdrop-filter:blur(6px);
}
body.ph-market.ph-mkt-detail .pp-auc-title{
  position:relative; z-index:2; margin:11px 0 9px;
  font-size:14.5px; font-weight:800; line-height:1.7; color:#fff;
}
body.ph-market.ph-mkt-detail .pp-auc-grid{
  position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px;
  margin-bottom:12px;
}
body.ph-market.ph-mkt-detail .pp-auc-grid > div{
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10);
  border-radius:12px; padding:7px 8px; text-align:center; min-width:0;
}
body.ph-market.ph-mkt-detail .pp-auc-grid span{
  display:block; font-size:10px; color:#9db6d8; margin-bottom:3px;
}
body.ph-market.ph-mkt-detail .pp-auc-grid b{
  display:block; font-size:12.5px; font-weight:800; color:#fff;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.ph-market.ph-mkt-detail .pp-auc-grid b.gold{ color:#ffd479; }
body.ph-market.ph-mkt-detail .pp-auc-cta{
  position:relative; z-index:2; margin-top:auto;
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  height:42px; border-radius:13px; text-decoration:none;
  font-size:13.5px; font-weight:800; color:#08203c !important;
  background:linear-gradient(135deg,#ffd479,#f0a92f);
  box-shadow:0 14px 26px -16px rgba(240,169,47,.85);
  transition:transform .18s, box-shadow .18s;
}
body.ph-market.ph-mkt-detail .pp-auc-cta:hover{ transform:translateY(-2px); box-shadow:0 18px 30px -14px rgba(240,169,47,.95); }
body.ph-market.ph-mkt-detail .pp-auc-cta svg{ width:15px; height:15px; }

/* ---------- ۴) تراز متن توضیحات ---------- */
body.ph-market.ph-mkt-detail .mp-desc,
body.ph-market.ph-mkt-detail .pp-para{
  text-align:justify !important; text-justify:inter-word;
  line-height:2.1 !important;
}

/* ---------- ۵) کاشی‌های اطلاعات ---------- */
body.ph-market.ph-mkt-detail .pp-tiles{ gap:10px !important; }
body.ph-market.ph-mkt-detail .pp-tiles > div{
  background:#f8fafc; border:1px solid #e8eef6; border-radius:14px;
  padding:9px 11px; min-width:0;
}
body.ph-market.ph-mkt-detail .pp-tiles > div span:first-child{ display:block; font-size:11px; color:#64748b; margin-bottom:3px; }
body.ph-market.ph-mkt-detail .pp-tiles > div span:last-child{ display:block; font-size:12.5px; font-weight:800; color:#0f2748; }

/* ---------- ۶) نوار اعتماد پایین ---------- */
body.ph-market.ph-mkt-detail .pp-truststrip > div > div{ gap:8px; }
body.ph-market.ph-mkt-detail .pp-truststrip svg{ color:#1d4ed8; }

/* ---------- ۷) کارت توضیحات: کاشی‌ها ته کارت ---------- */
body.ph-market.ph-mkt-detail .pp-desccard{ display:flex !important; flex-direction:column; }
body.ph-market.ph-mkt-detail .pp-desccard > .pp-tiles{ margin-top:auto; }

/* ---------- ۷.۵) شمارندهٔ تعداد ---------- */
body.ph-market.ph-mkt-detail .mp-stepper > div:first-child{
  background:#f8fafc !important; border:1px solid #e8eef6 !important; border-radius:14px !important;
}

/* ---------- ۸) حالت شب ---------- */
body.ph-market.ph-mkt-detail.mk-night .mp-stage{
  background:linear-gradient(160deg,#101c2e 0%,#0d1727 60%,#0a1320 100%) !important;
  border-color:rgba(255,255,255,.10) !important;
  box-shadow:0 30px 60px -48px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-stage::after{
  background:radial-gradient(120% 90% at 50% 6%,rgba(148,190,255,.14),rgba(148,190,255,0) 62%);
}
body.ph-market.ph-mkt-detail.mk-night .mp-stage .pp-frame{ border-color:rgba(255,255,255,.07); }
body.ph-market.ph-mkt-detail.mk-night .mp-stage .pp-stage-bg{ opacity:.5; }
body.ph-market.ph-mkt-detail.mk-night .mp-stage::before{
  background:linear-gradient(180deg,rgba(10,18,32,.55) 0%,rgba(10,18,32,.15) 32%,rgba(10,18,32,.18) 68%,rgba(10,18,32,.7) 100%);
}
body.ph-market.ph-mkt-detail.mk-night .mp-stage > img:not(.pp-stage-bg){
  filter:drop-shadow(0 26px 34px rgba(0,0,0,.6));
}
body.ph-market.ph-mkt-detail.mk-night .mp-thumbs > button,
body.ph-market.ph-mkt-detail.mk-night .mp-thumbs > div{
  background:#101b2b !important; border-color:rgba(255,255,255,.12) !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-thumbs > .mp-thumb--on,
body.ph-market.ph-mkt-detail.mk-night .mp-thumbs > button[aria-current="true"]{
  border-color:#60a5fa !important; box-shadow:0 0 0 3px rgba(96,165,250,.22);
}
body.ph-market.ph-mkt-detail.mk-night .mp-pricerow{
  background:linear-gradient(125deg,#132339,#0d1727) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-inline-start:4px solid #3b82f6 !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-pricerow span.text-xs{ color:#9db6d8 !important; }
body.ph-market.ph-mkt-detail.mk-night .mp-pricerow span.text-xl{ color:#bfdbfe !important; }
body.ph-market.ph-mkt-detail.mk-night .mp-stepper > div:first-child{
  background:#101b2b !important; border-color:rgba(255,255,255,.14) !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-stepper > div:first-child button,
body.ph-market.ph-mkt-detail.mk-night .mp-stepper > div:first-child span{ color:#e6eefc !important; }
body.ph-market.ph-mkt-detail .pp-tiles{ padding-top:14px; border-top:1px dashed #e6ecf5; }
body.ph-market.ph-mkt-detail.mk-night .pp-tiles{ border-top-color:rgba(255,255,255,.12); }
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div{
  background:#0f1b2c; border-color:rgba(255,255,255,.10);
}
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div span:first-child{ color:#93a7c4; }
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div span:last-child{ color:#e5eefc; }
body.ph-market.ph-mkt-detail.mk-night .pp-truststrip{
  background:#0d1727 !important; border-color:rgba(255,255,255,.09) !important;
}
body.ph-market.ph-mkt-detail.mk-night .pp-truststrip .text-neutral-800,
body.ph-market.ph-mkt-detail.mk-night .pp-truststrip .text-neutral-500{ color:#c7d5ea !important; }

@media (max-width:1023.98px){
  body.ph-market.ph-mkt-detail .pp-row1 .mp-stage{ min-height:280px; }
  body.ph-market.ph-mkt-detail .pp-leftcol{ height:auto; }
  body.ph-market.ph-mkt-detail .pp-leftcol > .pp-auc{ min-height:0; }
}

/* ---------- ۹) کارت‌های «محصولات مرتبط» افزوده ---------- */
body.ph-market.ph-mkt-detail .pp-rgrid{ display:flex !important; flex-wrap:wrap; gap:12px; }
body.ph-market.ph-mkt-detail .pp-rgrid > *{ flex:1 1 calc(25% - 12px); min-width:0; max-width:calc(50% - 6px); }
@media (max-width:1023.98px){ body.ph-market.ph-mkt-detail .pp-rgrid > *{ flex:1 1 calc(50% - 6px); } }
body.ph-market.ph-mkt-detail .pp-rcard{
  display:flex; flex-direction:column; overflow:hidden; text-decoration:none;
  background:#fff; border:1px solid #e8eef6; border-radius:24px;
  box-shadow:0 14px 30px -26px rgba(15,35,70,.55);
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
body.ph-market.ph-mkt-detail .pp-rcard:hover{ transform:translateY(-3px); box-shadow:0 22px 40px -26px rgba(15,35,70,.7); border-color:#cfdcf0; }
body.ph-market.ph-mkt-detail .pp-rcard-img{ position:relative; aspect-ratio:1/1; overflow:hidden; background:#f4f7fc; }
body.ph-market.ph-mkt-detail .pp-rcard-img img{ width:100%; height:100%; object-fit:cover !important; display:block; transition:transform .4s; }
body.ph-market.ph-mkt-detail .pp-rcard:hover .pp-rcard-img img{ transform:scale(1.05); }
body.ph-market.ph-mkt-detail .pp-rcard-body{ padding:14px; display:flex; flex-direction:column; gap:8px; flex:1 1 auto; }
body.ph-market.ph-mkt-detail .pp-rcard-title{
  font-size:14px; font-weight:700; color:#132339; line-height:1.7; min-height:40px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
body.ph-market.ph-mkt-detail .pp-rcard-sub{
  font-size:11px; color:#94a3b8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
body.ph-market.ph-mkt-detail .pp-rcard-foot{
  margin-top:auto; padding-top:12px; border-top:1px solid #eef2f8;
  display:flex; align-items:center; justify-content:space-between; gap:8px;
}
body.ph-market.ph-mkt-detail .pp-rcard-price{ font-size:13px; font-weight:800; color:#1240b8; direction:rtl; }
body.ph-market.ph-mkt-detail .pp-rcard-price small{ font-size:10px; font-weight:600; color:#7691b5; }
body.ph-market.ph-mkt-detail .pp-rcard-buy{
  display:inline-flex; align-items:center; gap:4px; height:36px; padding:0 14px;
  border-radius:11px; font-size:12px; font-weight:800; color:#fff !important;
  background:linear-gradient(135deg,#2f7bff,#1240b8);
}
body.ph-market.ph-mkt-detail .pp-rcard--all{
  align-items:center; justify-content:center; text-align:center; gap:8px;
  background:linear-gradient(155deg,#0f2340,#132a4d); border-color:rgba(255,255,255,.12);
  color:#fff; padding:22px 14px; min-height:220px;
}
body.ph-market.ph-mkt-detail .pp-rcard--all b{ font-size:14px; font-weight:800; }
body.ph-market.ph-mkt-detail .pp-rcard--all span{ font-size:11.5px; color:#9db6d8; line-height:1.9; }
body.ph-market.ph-mkt-detail .pp-rcard--all i{
  width:46px; height:46px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#ffd479,#f0a92f); color:#08203c;
}
body.ph-market.ph-mkt-detail.mk-night .pp-rcard{ background:#111927; border-color:rgba(255,255,255,.1); }
body.ph-market.ph-mkt-detail.mk-night .pp-rcard-sub{ color:#9dabc0; }
body.ph-market.ph-mkt-detail.mk-night .pp-rcard-foot{ border-top-color:rgba(255,255,255,.08); }
body.ph-market.ph-mkt-detail.mk-night .pp-rcard-img{ background:#0d1420; }
body.ph-market.ph-mkt-detail.mk-night .pp-rcard-title{ color:#e8f0fb; }
body.ph-market.ph-mkt-detail.mk-night .pp-rcard-price{ color:#bfdbfe; }
body.ph-market.ph-mkt-detail.mk-night .pp-rcard-price small{ color:#8fa8c8; }
/* ============================================================
   product-pro v2 (2026-10-16) — «زیباسازی حرفه‌ای صفحهٔ محصول»
   نازک، قالب‌دار، قرینه + رفع نامرئی بودن متن‌ها در حالت شب.
   فقط روی body.ph-market.ph-mkt-detail. بعد از product-pro.css لود می‌شود.
   ============================================================ */

/* ---------- ۱) کاشی‌های مشخصات: کارت‌های نازک، آیکن‌دار، قرینه ---------- */
body.ph-market.ph-mkt-detail .mp-specs,
body.ph-market.ph-mkt-detail .pp-tiles{ gap:12px !important; }

body.ph-market.ph-mkt-detail .mp-specs > *,
body.ph-market.ph-mkt-detail .pp-tiles > div{
  position:relative;
  background:linear-gradient(180deg,#fbfdff 0%,#f3f8ff 100%) !important;
  border:1px solid #e6edf8 !important;
  border-radius:16px !important;
  padding:11px 13px !important;
  min-height:62px;
  box-shadow:0 12px 26px -24px rgba(15,32,68,.55);
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
body.ph-market.ph-mkt-detail .mp-specs > *:hover,
body.ph-market.ph-mkt-detail .pp-tiles > div:hover{
  transform:translateY(-2px);
  border-color:#cfe0f8 !important;
  box-shadow:0 20px 34px -26px rgba(28,92,233,.55);
}

body.ph-market.ph-mkt-detail .pp-tile-in{ display:flex; align-items:center; gap:11px; min-width:0; }
body.ph-market.ph-mkt-detail .pp-tile-tx{ min-width:0; flex:1 1 auto; display:flex; flex-direction:column; }

body.ph-market.ph-mkt-detail .pp-tile-ic{
  flex:0 0 38px; width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center; border:1px solid transparent;
}
body.ph-market.ph-mkt-detail .pp-tile-ic svg{ width:18px; height:18px; }
body.ph-market.ph-mkt-detail .pp-tile--cat .pp-tile-ic{
  background:linear-gradient(140deg,#e8f0ff,#d7e5ff); border-color:#d3e2fb; color:#1c5ce9;
}
body.ph-market.ph-mkt-detail .pp-tile--code .pp-tile-ic{
  background:linear-gradient(140deg,#eef1f6,#e2e8f2); border-color:#dfe6f1; color:#42536f;
}

/* label */
body.ph-market.ph-mkt-detail .mp-specs > * > .pp-tile-in > .pp-tile-tx > span:first-child,
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:first-child{
  display:block !important; font-size:10.5px !important; font-weight:600 !important;
  color:#8296b4 !important; letter-spacing:.2px; margin:0 0 3px !important;
}
/* value */
body.ph-market.ph-mkt-detail .mp-specs > * > .pp-tile-in > .pp-tile-tx > span:last-child,
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:last-child{
  display:block !important; font-size:13px !important; font-weight:800 !important;
  color:#0f2748 !important; line-height:1.7;
}
body.ph-market.ph-mkt-detail .pp-tile--code .pp-tile-tx > span:last-child{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.4px;
}

/* «مرتبط»: دسته‌بندی به بازار لینک می‌شود */
body.ph-market.ph-mkt-detail .pp-tile-link{
  display:inline-flex !important; align-items:center; gap:3px;
  color:#1c5ce9 !important; text-decoration:none; font-weight:800 !important;
}
body.ph-market.ph-mkt-detail .pp-tile-link span{ text-decoration:underline; text-decoration-color:rgba(28,92,233,.35); text-underline-offset:3px; }
body.ph-market.ph-mkt-detail .pp-tile-link svg{ width:14px; height:14px; flex:none; transition:transform .2s; }
body.ph-market.ph-mkt-detail .pp-tile-link:hover svg{ transform:translateX(2px); }

/* ---------- ۲) حالت شب: متن‌ها کاملاً خوانا ---------- */
body.ph-market.ph-mkt-detail.mk-night .mp-specs > *,
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div{
  background:linear-gradient(180deg,#111e31 0%,#0c1727 100%) !important;
  border-color:rgba(255,255,255,.11) !important;
  box-shadow:0 14px 30px -26px rgba(0,0,0,.9);
}
body.ph-market.ph-mkt-detail.mk-night .mp-specs > *:hover,
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div:hover{ border-color:rgba(96,165,250,.5) !important; }
body.ph-market.ph-mkt-detail.mk-night .mp-specs > * > .pp-tile-in > .pp-tile-tx > span:first-child,
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:first-child{
  color:#93a9c8 !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-specs > * > .pp-tile-in > .pp-tile-tx > span:last-child,
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:last-child{
  color:#eef4ff !important;
}
body.ph-market.ph-mkt-detail.mk-night .pp-tile-link{ color:#7db0ff !important; }
body.ph-market.ph-mkt-detail.mk-night .pp-tile-link span{ text-decoration-color:rgba(125,176,255,.4); }
body.ph-market.ph-mkt-detail.mk-night .pp-tile--cat .pp-tile-ic{
  background:linear-gradient(140deg,#152a4b,#122340); border-color:rgba(96,165,250,.28); color:#7db0ff;
}
body.ph-market.ph-mkt-detail.mk-night .pp-tile--code .pp-tile-ic{
  background:linear-gradient(140deg,#1a2436,#141d2c); border-color:rgba(255,255,255,.12); color:#9fb4d2;
}

/* ---------- ۳) فهرست ویژگی‌ها: ردیف‌های نازک قالب‌دار ---------- */
body.ph-market.ph-mkt-detail .mp-desc .mp-ul{ display:flex !important; flex-direction:column; gap:7px; margin-top:14px !important; }
body.ph-market.ph-mkt-detail .mp-desc .mp-li{
  display:flex !important; align-items:center;
  background:#f7faff !important; border:1px solid #eaf1fb !important;
  border-radius:12px !important; padding:8px 12px !important; margin:0 !important;
  font-size:13px !important; color:#33415c !important;
  box-shadow:0 8px 20px -22px rgba(15,32,68,.6);
}
body.ph-market.ph-mkt-detail.mk-night .mp-desc .mp-li{
  background:#0f1a2b !important; border-color:rgba(255,255,255,.08) !important; color:#cfdcef !important;
}

/* ---------- ۴) نور الکتریکی چرخان دور قاب تصویر محصول ---------- */
@property --ppang{ syntax:"<angle>"; inherits:false; initial-value:0deg; }
@keyframes ppRing{ to{ --ppang:360deg } }
body.ph-market.ph-mkt-detail .mp-stage{ position:relative; }
body.ph-market.ph-mkt-detail .mp-stage::before{
  content:""; position:absolute; inset:0; z-index:6; pointer-events:none;
  border-radius:inherit; padding:2px;
  background:conic-gradient(from var(--ppang),
    rgba(34,211,238,0) 0deg, rgba(34,211,238,.9) 32deg, rgba(129,140,248,.9) 74deg,
    rgba(34,211,238,0) 122deg, rgba(34,211,238,0) 200deg, rgba(245,158,11,.85) 240deg,
    rgba(56,189,248,.9) 282deg, rgba(34,211,238,0) 326deg, rgba(34,211,238,0) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  animation:ppRing 8s linear infinite;
}
@media (prefers-reduced-motion: reduce){
  body.ph-market.ph-mkt-detail .mp-stage::before{ animation:none; }
}

/* ---------- ۵) قاب‌های تصویر: نازک و یکدست ---------- */
body.ph-market.ph-mkt-detail .mp-thumbs > button,
body.ph-market.ph-mkt-detail .mp-thumbs > div{
  border-radius:13px !important; border-width:1px !important;
}

/* ---------- ۶) موبایل باریک: کاشی‌ها تمام‌عرض تا کد محصول یک‌خطی بماند ---------- */
@media (max-width:576px){
  body.ph-market.ph-mkt-detail .mp-specs,
  body.ph-market.ph-mkt-detail .pp-tiles{ grid-template-columns:1fr !important; }
  body.ph-market.ph-mkt-detail .pp-tile--code .pp-tile-tx > span:last-child{ white-space:nowrap !important; }
}

/* ============ ۱۰) گالری مطابق قالب مرجع (تصویر بزرگ بالا + نوار بندانگشتی افقی زیر آن) ============ */
/* ساختار: صحنهٔ تصویر اول، نوار بندانگشتی دوم — در همهٔ عرض‌ها (نه ریل کنار). */
body.ph-market.ph-mkt-detail .pp-row1{ align-items:start !important; }
body.ph-market.ph-mkt-detail .pp-row1 > div:first-child{ align-self:start !important; }

body.ph-market.ph-mkt-detail .mp-gallery{
  position:relative !important;
  flex-direction:column !important; align-items:stretch !important; gap:12px !important;
  height:auto !important; flex:0 0 auto !important;
}
body.ph-market.ph-mkt-detail .mp-gallery > .mp-stage{ order:1 !important; width:100% !important; }
body.ph-market.ph-mkt-detail .mp-gallery > .mp-thumbs{
  order:2 !important; width:100% !important; flex:0 0 auto !important;
  flex-direction:row !important; flex-wrap:nowrap !important;
  overflow-x:auto !important; overflow-y:hidden !important;
  max-height:none !important; height:auto !important;
  padding:3px 3px 7px !important; gap:10px !important;
  scrollbar-width:none; -ms-overflow-style:none;
}
body.ph-market.ph-mkt-detail .mp-gallery > .mp-thumbs::-webkit-scrollbar{ display:none; }

/* صحنه: مربع، تمیز و روشن (بدون هالهٔ رنگی/قاب داخلی/سایهٔ کف) */
body.ph-market.ph-mkt-detail .pp-row1 .mp-stage{
  flex:0 0 auto !important; aspect-ratio:1/1 !important; min-height:0 !important; max-height:none !important;
}
body.ph-market.ph-mkt-detail .mp-stage{
  background:#f8fafc !important;
  border:1px solid #e8eef7 !important;
  border-radius:20px !important;
  box-shadow:0 22px 44px -40px rgba(15,35,70,.55) !important;
  padding:16px !important;
}
body.ph-market.ph-mkt-detail .mp-stage::after{ display:none !important; }
body.ph-market.ph-mkt-detail .mp-stage .pp-stage-bg{ display:none !important; }
body.ph-market.ph-mkt-detail .mp-stage .pp-frame{ display:none !important; }
body.ph-market.ph-mkt-detail .mp-stage .pp-floor{ display:none !important; }
body.ph-market.ph-mkt-detail .mp-stage > img:not(.pp-stage-bg){
  max-width:100% !important; max-height:100% !important; object-fit:contain !important;
  filter:drop-shadow(0 18px 26px rgba(12,26,60,.16)) !important;
}
body.ph-market.ph-mkt-detail .mp-stage:hover > img:not(.pp-stage-bg){ transform:scale(1.02) !important; }

/* بندانگشتی‌ها: مربع، گرد، فعال با قاب رنگی */
body.ph-market.ph-mkt-detail .mp-thumbs > button,
body.ph-market.ph-mkt-detail .mp-thumbs > div{
  flex:0 0 auto !important; width:72px !important; height:72px !important;
  border-radius:13px !important; border:1px solid #e6ecf5 !important; background:#fff !important;
  box-shadow:none !important; overflow:hidden !important;
}
body.ph-market.ph-mkt-detail .mp-thumbs > button img,
body.ph-market.ph-mkt-detail .mp-thumbs > div img{
  width:100% !important; height:100% !important; object-fit:cover !important;
}
body.ph-market.ph-mkt-detail .mp-thumbs > button.border-primary-500,
body.ph-market.ph-mkt-detail .mp-thumbs > button[aria-current="true"],
body.ph-market.ph-mkt-detail .mp-thumbs > .mp-thumb--on{
  border:2px solid #1d4ed8 !important; box-shadow:0 0 0 3px rgba(29,78,216,.15) !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-stage{
  background:#0f1a2b !important; border-color:rgba(255,255,255,.10) !important;
  box-shadow:0 22px 44px -40px rgba(0,0,0,.9) !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-thumbs > button,
body.ph-market.ph-mkt-detail .mp-thumbs > div{
  background:#101b2b !important; border-color:rgba(255,255,255,.12) !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-thumbs > button.border-primary-500,
body.ph-market.ph-mkt-detail.mk-night .mp-thumbs > button[aria-current="true"]{
  border-color:#60a5fa !important; box-shadow:0 0 0 3px rgba(96,165,250,.22) !important;
}
/* دکمهٔ بازگشت روی نوار بندانگشتی (مثل قالب مرجع) */
body.ph-market.ph-mkt-detail .pp-gback{
  position:absolute; z-index:5; left:14px; bottom:14px;
  width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%; background:rgba(255,255,255,.94);
  border:1px solid #e2e9f4; box-shadow:0 10px 22px -12px rgba(15,35,70,.5);
  color:#132339; text-decoration:none; backdrop-filter:blur(6px);
  transition:transform .18s ease, box-shadow .18s ease;
}
body.ph-market.ph-mkt-detail .pp-gback:hover{ transform:translateY(-2px); box-shadow:0 16px 26px -12px rgba(15,35,70,.6); }
body.ph-market.ph-mkt-detail .pp-gback svg{ width:19px; height:19px; }
body.ph-market.ph-mkt-detail.mk-night .pp-gback{ background:rgba(16,27,43,.94); border-color:rgba(255,255,255,.14); color:#e6eefc; }
@media (max-width:1023.98px){
  body.ph-market.ph-mkt-detail .pp-row1 .mp-stage{ min-height:0 !important; }
}

/* empty state — the live-auction slot must always exist on every product page */
body.ph-market.ph-mkt-detail .pp-auc--empty{ min-height:250px; justify-content:flex-start; }
body.ph-market.ph-mkt-detail .pp-live--off{ background:rgba(255,255,255,.10); color:#cbd5e1; }
body.ph-market.ph-mkt-detail .pp-live--off i{ background:#94a3b8; box-shadow:none; animation:none; }
body.ph-market.ph-mkt-detail .pp-auc-empty-t{ margin:8px 2px 0; font-size:13px; line-height:1.9; color:#a9b6cc; }
body.ph-market.ph-mkt-detail .pp-auc-cta--ghost{ margin-top:auto; background:transparent; color:#e7edf7; border:1px solid rgba(255,255,255,.22); box-shadow:none; }
body.ph-market.ph-mkt-detail .pp-auc-cta--ghost:hover{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.38); transform:none; box-shadow:none; }

/* ---------- ۹) کارت «درباره محصول» و کاشی‌ها: واضح‌تر (درخواست مالک) ---------- */
body.ph-market.ph-mkt-detail .pp-desccard{
  align-self:start !important;
  border:1px solid #dce6f3 !important;
  background:#fff !important;
  box-shadow:0 22px 46px -38px rgba(15,32,68,.6) !important;
}
body.ph-market.ph-mkt-detail .pp-desccard > .pp-tiles{ margin-top:16px !important; }
body.ph-market.ph-mkt-detail .pp-tiles > div{
  background:linear-gradient(180deg,#ffffff 0%,#f2f7ff 100%) !important;
  border:1px solid #cfdcee !important;
  box-shadow:0 16px 28px -26px rgba(15,32,68,.75);
}
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:first-child{ color:#5f7391 !important; }
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:last-child{ color:#0b1e38 !important; }
body.ph-market.ph-mkt-detail .pp-tile--code .pp-tile-ic{
  background:linear-gradient(140deg,#e6ecf6,#d5deec) !important; border-color:#c9d6e8 !important; color:#33465f !important;
}
body.ph-market.ph-mkt-detail.mk-night .pp-desccard{
  background:#0f1a2b !important; border-color:rgba(255,255,255,.14) !important;
  box-shadow:0 22px 46px -38px rgba(0,0,0,.9) !important;
}
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div{
  background:linear-gradient(180deg,#13223a,#0e1a2e) !important;
  border-color:rgba(255,255,255,.16) !important;
}
body.ph-market.ph-mkt-detail .pp-desccard > p,
body.ph-market.ph-mkt-detail .pp-desccard p.leading-relaxed{ color:#3f5168 !important; }
body.ph-market.ph-mkt-detail .pp-desccard h2,
body.ph-market.ph-mkt-detail .pp-desccard h3{ color:#0b1e38 !important; }
body.ph-market.ph-mkt-detail.mk-night .pp-desccard > p,
body.ph-market.ph-mkt-detail.mk-night .pp-desccard p.leading-relaxed{ color:#c3d2e6 !important; }
body.ph-market.ph-mkt-detail.mk-night .pp-desccard h2,
body.ph-market.ph-mkt-detail.mk-night .pp-desccard h3{ color:#eaf2ff !important; }

/* ---------- ۱۰) هیچ hoverی نباید کارت‌های تیره را سفید/بی‌رنگ کند ---------- */
body.ph-market.ph-mkt-detail .pp-auc:hover{
  background-image:linear-gradient(155deg,#0f2340 0%,#142a4c 100%) !important;
  border-color:rgba(255,255,255,.14) !important;
  color:#eaf1ff !important;
}
body.ph-market.ph-mkt-detail .pp-auc:hover .pp-auc-title,
body.ph-market.ph-mkt-detail .pp-auc:hover .pp-auc-h,
body.ph-market.ph-mkt-detail .pp-auc:hover .pp-auc-grid b,
body.ph-market.ph-mkt-detail .pp-auc:hover .pp-auc-grid span{ color:inherit; }
body.ph-market.ph-mkt-detail .pp-auc:hover .pp-auc-grid b.gold{ color:#ffd479 !important; }
body.ph-market.ph-mkt-detail div.bg-primary-900:hover{
  background-color:#172554 !important; color:#fff !important;
  border-color:rgba(255,255,255,.10) !important;
}
body.ph-market.ph-mkt-detail div.bg-primary-900:hover *{ color:#fff !important; }

/* ---------- ۱۱) کاشی‌های «درباره محصول»: خوانا و پررنگ ---------- */
body.ph-market.ph-mkt-detail .pp-tiles > div{ transform:none !important; }
body.ph-market.ph-mkt-detail .pp-tiles > div:hover{
  transform:none !important; border-color:#b9cfea !important;
  box-shadow:0 20px 34px -28px rgba(28,92,233,.55);
}
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:first-child{
  color:#546a8a !important; font-size:11.5px !important; font-weight:700 !important;
}
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:last-child{
  color:#08172c !important; font-size:13.5px !important; font-weight:800 !important;
}
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:first-child{ color:#a8bcd8 !important; }
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:last-child{ color:#f4f9ff !important; }

/* ---------- ۱۲) کارت اطلاعات و کاشی‌ها: کنتراست بالاتر ---------- */
body.ph-market.ph-mkt-detail .pp-desccard{
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%) !important;
  border:1px solid #c9d9ee !important;
  box-shadow:0 26px 50px -40px rgba(15,32,68,.75), 0 1px 0 rgba(255,255,255,.9) inset !important;
}
body.ph-market.ph-mkt-detail .pp-tiles > div{
  background:#ffffff !important;
  border:1px solid #bdd2ea !important;
  box-shadow:0 10px 22px -20px rgba(15,32,68,.9) !important;
}
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in{ gap:12px; }
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:first-child{
  color:#3f5a7d !important; font-size:12px !important;
}
body.ph-market.ph-mkt-detail .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:last-child{
  color:#06152a !important; font-size:14px !important; font-weight:800 !important;
}
body.ph-market.ph-mkt-detail.mk-night .pp-desccard{ background:linear-gradient(180deg,#101c30,#0c1626) !important; border-color:rgba(255,255,255,.18) !important; }
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div{ background:#0f1d33 !important; border-color:rgba(255,255,255,.22) !important; }
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:first-child{ color:#b6c9e2 !important; }
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div > .pp-tile-in > .pp-tile-tx > span:last-child{ color:#f7fbff !important; }
body.ph-market.ph-mkt-detail .pp-desccard p{ color:#33475f !important; }
body.ph-market.ph-mkt-detail.mk-night .pp-desccard p{ color:#c9d8ec !important; }

/* ---------- ۱۳) روز: قاب مستطیل‌ها واضح + ستون راست هم‌ارتفاع (بدون فضای خالی) ---------- */
body.ph-market.ph-mkt-detail .pp-desccard{ align-self:stretch !important; }
body.ph-market.ph-mkt-detail .pp-desccard > .pp-tiles{ margin-top:auto !important; }
body.ph-market.ph-mkt-detail .pp-tiles > div{
  background:#f3f8ff !important;
  border:1px solid #aec4e2 !important;
  box-shadow:0 8px 18px -18px rgba(15,32,68,.85) !important;
}
body.ph-market.ph-mkt-detail .pp-tiles > div:hover{
  border-color:#7fa3d3 !important;
  background:#eaf2fe !important;
}
body.ph-market.ph-mkt-detail.mk-night .pp-tiles > div{
  background:#0f1d33 !important;
  border-color:rgba(255,255,255,.24) !important;
}

/* ---------- ۱۴) قاب روز کاشی‌ها کاملاً واضح ---------- */
body.ph-market.ph-mkt-detail .pp-tiles > div{
  background:#eaf2fd !important;
  border:1px solid #93b1d8 !important;
}
body.ph-market.ph-mkt-detail .pp-tiles > div:hover{
  border-color:#5f88c2 !important; background:#e2ecfc !important;
}

/* ---------- ۱۵) چیدمان: توضیحات تمام‌عرض بالا، زیرش «خرید مطمئن» + «مزایده» کنار هم ---------- */
@media (min-width:1024px){
  body.ph-market.ph-mkt-detail section.grid:has(> .pp-leftcol){
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    align-items:stretch !important;
  }
  body.ph-market.ph-mkt-detail section.grid:has(> .pp-leftcol) > .pp-desccard{
    grid-column:1 / -1 !important; grid-row:1 !important; align-self:stretch !important;
  }
  body.ph-market.ph-mkt-detail section.grid:has(> .pp-leftcol) > .pp-leftcol{ display:contents !important; }
  body.ph-market.ph-mkt-detail section.grid:has(> .pp-leftcol) > .pp-leftcol > div:not(.pp-auc){
    grid-column:2 !important; grid-row:2 !important; align-self:stretch !important;
    display:flex !important; flex-direction:column; justify-content:center;
  }
  body.ph-market.ph-mkt-detail section.grid:has(> .pp-leftcol) > .pp-leftcol > .pp-auc{
    grid-column:1 !important; grid-row:2 !important; align-self:stretch !important;
  }
  body.ph-market.ph-mkt-detail .pp-desccard > .pp-tiles{ margin-top:16px !important; }
}

/* ---------- ۱۶) لیست مزایای کارت «خرید مطمئن» ---------- */
body.ph-market.ph-mkt-detail .pp-trustlist{
  list-style:none; margin:18px 0 0; padding:0; display:grid; gap:10px;
  width:100%; max-width:420px; align-self:center;
}
body.ph-market.ph-mkt-detail .pp-trustlist li{
  display:flex; align-items:center; gap:9px;
  font-size:12.5px; font-weight:600; color:rgba(255,255,255,.9);
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10);
  border-radius:12px; padding:8px 11px;
}
body.ph-market.ph-mkt-detail .pp-tl-ic{
  flex:0 0 20px; width:20px; height:20px; border-radius:50%;
  display:grid; place-items:center; background:rgba(56,189,248,.18); color:#7dd3fc;
}
body.ph-market.ph-mkt-detail .pp-tl-ic svg{ width:12px; height:12px; }

/* ---------- ۱۷) موبایل: کارت توضیحات بدون کشیدگی/فاصلهٔ اضافه ---------- */
@media (max-width:1023.98px){
  body.ph-market.ph-mkt-detail .pp-desccard{
    display:block !important; align-self:auto !important;
  }
  body.ph-market.ph-mkt-detail .pp-desccard > .pp-tiles{ margin-top:14px !important; }
  body.ph-market.ph-mkt-detail .pp-desccard > *{ flex:none !important; }
}

/* ---------- ۱۸) ردیف‌های مشخصات داخل «درباره محصول»: قاب واضح در روز ---------- */
body.ph-market.ph-mkt-detail .mp-li{
  display:block !important;
  background:#f4f8ff !important;
  border:1px solid #b9cee6 !important;
  border-radius:12px !important;
  padding:9px 13px !important;
  margin:6px 0 !important;
  color:#22354c !important;
}
body.ph-market.ph-mkt-detail.mk-night .mp-li{
  background:#13223a !important;
  border-color:rgba(255,255,255,.22) !important;
  color:#e6eefb !important;
}

/* ---------- ۱۹) override با اختصاصیت بالاتر برای ردیف‌های مشخصات ---------- */
body.ph-market.ph-mkt-detail .pp-desccard .mp-desc .mp-li{
  background:#f1f7ff !important;
  border:1px solid #a9c3e2 !important;
  border-radius:12px !important;
  padding-block:8px !important;
  color:#1e3247 !important;
}
body.ph-market.ph-mkt-detail.mk-night .pp-desccard .mp-desc .mp-li{
  background:#132340 !important;
  border-color:rgba(255,255,255,.26) !important;
  color:#e7effb !important;
}
