/* dk/shop.css — صفحات بدون قالب آماده (سبد خرید، تسویه، باشگاه مشتریان، همکاری در فروش، ...)
   همهٔ اجزا از همان زبان طراحی قالب دیجی‌کالا (نسخهٔ گرادیان آبی) کپی شده‌اند:
   ptabs / btn-o / btn-main / chip / ocard / pcard / citem / agrid / fgrid / fld / form-foot / sec-t / gcards
   + ظرف‌های مخصوص صفحات فروشگاهی. */

:root {
  --ink: var(--sx-ink);
  --body: var(--sx-ink);
  --gray: var(--sx-ink-3);
  --line: var(--sx-line);
  --line2: var(--sx-surface-2);
  --blue: var(--sx-brand);
  --blue-deep: var(--sx-brand-deep);
  --az-blue: var(--sx-brand);
  --off-red: var(--sx-brand);
  --grad: linear-gradient(270deg, var(--sx-brand-2) 0%, var(--sx-brand) 55%, var(--sx-brand-deep) 100%);
}

/* ---------- ظرف صفحهٔ فروشگاهی ---------- */
.shop-wrap { width: 1318px; max-width: 100%; margin: 22px auto 40px; padding: 0 15px; }
.shop-h { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--ink); margin: 22px 0 4px; }
.shop-h .pc-bar { width: 62px; height: 3px; border-radius: 3px; background: var(--grad); }
.shop-sub { font-size: 12px; color: var(--gray); margin-top: 6px; }
.shop-grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; margin-top: 18px; }
/* چیدمان معکوس (ستون کنار در سمت راست RTL) — مثل صفحهٔ برداشت همکاری در فروش */
.shop-grid.rev { grid-template-columns: 340px 1fr; }
/* نکتهٔ پایداری موبایل: هیچ grid-template-columns درlined در صفحات استفاده نشود؛
   این قانون با !important حتی از استایل درlined هم جلوتر می‌افتد تا در موبایل هرگز ستون ثابتِ ۳۴۰px صفحه را سرریز نکند */
@media (max-width: 899px) {
  .shop-grid, .shop-grid.rev { grid-template-columns: minmax(0, 1fr) !important; }
}
.shop-card { background: var(--sx-surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.shop-card.soft { background: #f8f8f9; border-color: transparent; }
.shop-card h3 { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }

/* ---------- اجزای مشترک پنل (کپی دقیق قالب) ---------- */
.pc-sub { margin-top: 6px; font-size: 12px; color: var(--sx-ink-3); }
.ptabs { display: flex; gap: 4px; margin-top: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ptab {
  padding: 10px 14px; font-size: 12.5px; color: var(--sx-ink-2); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; user-select: none;
}
.ptab:hover { color: var(--blue); }
.ptab.on { color: var(--blue); font-weight: 700; border-bottom-color: var(--blue); }
.ptab .cnt {
  min-width: 17px; height: 17px; padding: 0 5px; border-radius: 5px;
  background: #eef1f5; color: var(--sx-ink-2); font-size: 10.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.ptab.on .cnt { background: var(--grad); color: #fff; }

.btn-o {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--blue); color: var(--blue); background: var(--sx-surface);
  border-radius: 8px; padding: 0 14px; height: 36px; font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: .15s; text-decoration: none;
}
.btn-o:hover { background: var(--sx-brand-soft); }
.btn-o.fill { background: var(--grad); color: #fff; border-color: transparent; }
.btn-o.fill:hover { filter: brightness(1.06); background: var(--grad); }
.btn-o.gray { border-color: var(--sx-line); color: var(--sx-ink-2); }
.btn-o.gray:hover { background: #f6f6f8; }
.btn-main {
  background: var(--grad); color: #fff; border: 0; border-radius: 8px;
  height: 42px; padding: 0 24px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.btn-main:hover { filter: brightness(1.06); }
.btn-main[disabled] { opacity: .55; cursor: not-allowed; }
.link-danger { color: var(--sx-err); font-size: 12px; cursor: pointer; }

.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.chip.ok   { background: #e8f6ee; color: #0f9d58; }
.chip.wait { background: #fff6e5; color: #c77c0c; }
.chip.blue { background: var(--sx-brand-soft); color: var(--blue); }
.chip.ret  { background: #fdeeee; color: var(--sx-err); }

/* ---------- کارت‌های آمار داشبورد پنل کاربری ---------- */
.dk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 22px; }
.dk-stat { background: var(--panel, #fff); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 7px; }
.dk-stat span { font-size: 12px; color: var(--sx-ink-3); }
.dk-stat b { font-size: 16.5px; font-weight: 800; color: var(--ink); }
.dk-stat b small { font-size: 11px; font-weight: 400; color: var(--sx-ink-3); margin-right: 3px; }

/* ---------- نوارهای تبلیغاتی/راهنمای داشبورد ---------- */
.dk-promos { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.dk-promo { display: flex; align-items: center; gap: 12px; background: #f7f8fa; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 12.5px; color: var(--body); }
.dk-promo i { font-size: 17px; color: var(--blue); flex: 0 0 auto; }
.dk-promo span { flex: 1; min-width: 0; }
.dk-promo b { color: var(--blue); font-size: 12px; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.dk-promo:hover { border-color: #c9d8f2; }

/* ---------- کارت سفارش ---------- */
.ocard { border: 1px solid var(--line); border-radius: 10px; margin-top: 16px; overflow: hidden; }
.oc-top { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #fafafc; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.oc-code { font-size: 12px; color: var(--ink); font-weight: 700; }
.oc-code span { color: var(--sx-ink-3); font-weight: 400; margin-right: 4px; }
.oc-date { font-size: 11.5px; color: var(--sx-ink-3); }
.ocs { display: flex; gap: 18px; padding: 16px; flex-wrap: wrap; }
.oc-item { display: flex; gap: 10px; flex: 1; min-width: 220px; }
.oc-item img { width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; flex: 0 0 auto; }
.oc-name { font-size: 12.5px; color: var(--ink); line-height: 1.8; }
.oc-name:hover { color: var(--blue); }
.oc-sub { font-size: 11px; color: var(--sx-ink-3); margin-top: 6px; }
.oc-price { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-top: 8px; }
.oc-price i { font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--sx-ink-3); margin-right: 3px; }
.oc-foot { display: flex; gap: 8px; padding: 0 16px 16px; flex-wrap: wrap; }

/* ---------- کارت محصول شبکه‌ای ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.pcard { border: 1px solid var(--line); border-radius: 10px; padding: 10px; position: relative; transition: .15s; }
.pcard:hover { box-shadow: 0 4px 14px rgba(35,37,75,.08); }
.pcard .pimg { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; }
.pcard .pt { font-size: 11.5px; color: var(--ink); line-height: 1.8; height: 41px; overflow: hidden; margin-top: 8px; }
.pcard .pp { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 8px; }
.pcard .pp i { font-style: normal; font-size: 10px; font-weight: 400; color: var(--sx-ink-3); margin-right: 3px; }
.heart {
  position: absolute; top: 16px; left: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 1px 5px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0;
}
.heart svg { width: 16px; height: 16px; fill: var(--sx-err); stroke: none; }
.heart.off svg { fill: none; stroke: var(--sx-ink-3); stroke-width: 1.6; }

.lchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.lchip {
  border: 1px solid var(--line); border-radius: 20px; padding: 8px 15px;
  font-size: 12px; color: var(--sx-ink-2); cursor: pointer; user-select: none; display: inline-flex; gap: 6px; align-items: center;
}
.lchip b { color: var(--ink); }
.lchip.on { border-color: var(--blue); color: var(--blue); background: var(--sx-brand-soft); font-weight: 700; }
.lchip.add { border-style: dashed; color: var(--blue); border-color: var(--sx-line); }
.lchip.add:hover { background: var(--sx-brand-soft); }

/* ---------- دیدگاه‌ها ---------- */
.citem { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.citem:last-child { border-bottom: 0; }
.citem img { width: 56px; height: 56px; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; flex: 0 0 auto; }
.c-body { flex: 1; min-width: 0; }
.c-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.c-title { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.stars { color: #f9a825; font-size: 13px; letter-spacing: 2px; line-height: 1; }
.c-date { font-size: 11px; color: var(--sx-ink-3); margin-right: auto; }
.c-text { font-size: 12.5px; color: var(--sx-ink); line-height: 2; margin-top: 9px; }
.c-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--sx-ink-3); }
.c-foot a { color: var(--blue); }
.qans { background: #f5f9ff; border: 1px solid var(--sx-line); border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: 12.5px; line-height: 2; color: var(--sx-ink); }
.qans .q-tag { color: var(--blue); font-weight: 700; }

/* ---------- آدرس‌ها ---------- */
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.acard { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.acard .a-top { display: flex; align-items: center; gap: 8px; }
.acard .a-name { font-size: 13.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.acard .a-name svg { flex: 0 0 auto; }
.acard .a-txt { font-size: 12px; color: var(--sx-ink-2); line-height: 2; margin-top: 10px; }
.acard .a-phone { font-size: 12px; color: var(--sx-ink-3); margin-top: 8px; direction: ltr; text-align: right; }
.abtns { display: flex; gap: 8px; margin-top: 13px; }
.abtns .btn-o { height: 32px; padding: 0 12px; font-size: 11.5px; }
.acard.add {
  border: 2px dashed var(--sx-line); background: #fafcff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: var(--blue);
  cursor: pointer; min-height: 158px; font-size: 12.5px; font-weight: 700;
}
.acard.add:hover { background: var(--sx-brand-soft); }
.acard.add .plus-ring {
  width: 42px; height: 42px; border-radius: 50%; background: var(--grad);
  color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; line-height: 0;
}

/* ---------- فرم‌ها ---------- */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 18px; }
.fld label { display: block; font-size: 12px; color: var(--sx-ink-2); margin-bottom: 7px; }
.fld label b { color: var(--sx-err); font-weight: 400; }
.fld input, .fld select, .fld textarea {
  width: 100%; height: 42px; border: 1px solid var(--sx-line); border-radius: 8px;
  padding: 0 12px; font-family: inherit; font-size: 13px; color: var(--ink);
  outline: none; background: var(--sx-surface); transition: .15s;
}
.fld textarea { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; line-height: 1.9; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(232,80,31,.12); }
.fld input[disabled] { background: #f4f4f6; color: var(--sx-ink-3); cursor: not-allowed; }
.fld .hint { font-size: 10.5px; color: var(--sx-ink-3); margin-top: 6px; }
.radios { display: flex; gap: 22px; height: 42px; align-items: center; }
.radios label { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink); cursor: pointer; margin: 0; }
.radios input[type=radio] { accent-color: var(--sx-brand); width: 16px; height: 16px; }
.form-foot { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.sec-t { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 26px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.sec-t:first-child { margin-top: 4px; }
.addr-form { display: none; border: 1px solid var(--sx-line); background: #fafcff; border-radius: 10px; padding: 16px; margin-top: 16px; }
.addr-form.open { display: block; }

/* ---------- کارت هدیه ---------- */
.gcards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.gcard {
  height: 126px; border-radius: 14px; background: var(--grad); color: #fff;
  padding: 13px 15px; display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer; position: relative; overflow: hidden; border: 0; font-family: inherit; text-align: right;
}
.gcard .g-amt { font-size: 15px; font-weight: 800; }
.gcard .g-amt i { font-style: normal; font-size: 10px; font-weight: 400; opacity: .85; margin-right: 4px; }
.gcard .g-b { font-size: 11.5px; font-weight: 600; }
.gcard .g-b span { display: block; font-size: 9.5px; font-weight: 400; opacity: .8; letter-spacing: 1px; margin-top: 3px; direction: ltr; text-align: right; }
.gcard::after {
  content: ''; position: absolute; left: -22px; top: 50%; width: 44px; height: 44px;
  background: rgba(255,255,255,.16); border-radius: 50%; transform: translateY(-50%);
}
.gcard.sel { outline: 3px solid #fff; box-shadow: 0 0 0 3px var(--blue); }
.gcard.other { background: linear-gradient(270deg, #f7a824, #e8890c 55%, #c56a00); }

/* ---------- حالت خالی ---------- */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 20px; color: var(--sx-ink-3); font-size: 12.5px; text-align: center; }
.empty .e-ring {
  width: 64px; height: 64px; border-radius: 50%; background: #f2f4f7;
  display: flex; align-items: center; justify-content: center; color: var(--sx-ink-3);
}

/* ---------- جدول ---------- */
.spec-table { border-top: 1px solid var(--line); margin-top: 6px; }
.spec-row { display: grid; grid-template-columns: 470px 1fr; border-bottom: 1px solid var(--line); }
.spec-row .lbl { padding: 13px 18px 13px 0; font-size: 12px; color: var(--sx-ink-3); }
.spec-row .val { padding: 13px 0; font-size: 12px; color: var(--ink); }
.shop-tbl { width: 100%; border-collapse: collapse; }
.shop-tbl th { text-align: right; font-size: 11.5px; color: var(--sx-ink-3); font-weight: 400; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.shop-tbl td { padding: 14px 8px; font-size: 12.5px; color: var(--ink); border-bottom: 1px solid var(--line2); vertical-align: middle; }
.shop-tbl tr:last-child td { border-bottom: 0; }
.shop-tbl .num { font-weight: 700; }
.shop-tbl .num i { font-style: normal; font-weight: 400; font-size: 10.5px; color: var(--sx-ink-3); margin-right: 3px; }
.shop-tbl .old { font-size: 11px; color: var(--sx-ink-3); text-decoration: line-through; }
.pill-off { display: inline-block; background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 70px; padding: 2px 7px; }

/* ---------- سبد خرید: ردیف کالا ---------- */
.cart-row { display: flex; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line2); align-items: flex-start; }
.cart-row:last-child { border-bottom: 0; }
.cart-row img.c-im { width: 84px; height: 84px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; flex: 0 0 auto; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-size: 12.5px; color: var(--ink); line-height: 1.9; font-weight: 600; }
.cart-name:hover { color: var(--blue); }
.cart-sub { font-size: 11px; color: var(--sx-ink-3); margin-top: 5px; }
.cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; flex: 0 0 auto; }
.cart-price { font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.cart-price i { font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--sx-ink-3); margin-right: 3px; }
.cart-price .old { display: block; font-size: 11px; color: var(--sx-ink-3); text-decoration: line-through; font-weight: 400; text-align: left; }

/* شمارنده تعداد (الگوی .dk-qty) */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--sx-line); border-radius: 8px; overflow: hidden; }
.qty button { width: 30px; height: 32px; font-size: 15px; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--sx-brand-soft); }
.qty input { width: 42px; height: 32px; border: 0; text-align: center; font-size: 13px; font-family: inherit; color: var(--ink); outline: none; }
.remove-btn { border: 0; background: none; color: var(--sx-ink-3); font-size: 11.5px; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; }
.remove-btn:hover { color: var(--sx-err); }

/* ---------- خلاصهٔ پرداخت (سبد/تسویه) ---------- */
.sumrow { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--sx-ink-2); padding: 9px 0; }
.sumrow b { color: var(--ink); font-weight: 700; }
.sumrow.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 14px; }
.sumrow.total b { font-size: 16px; font-weight: 800; }
.sumrow .off { color: var(--sx-err); }
.coupon-row { display: flex; gap: 8px; margin: 12px 0 4px; }
.coupon-row input { flex: 1; height: 40px; border: 1px solid var(--sx-line); border-radius: 8px; padding: 0 12px; font-family: inherit; font-size: 12.5px; outline: none; }
.coupon-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(232,80,31,.12); }

/* ---------- روش پرداخت / ارسال ---------- */
.pay-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 10px; cursor: pointer; transition: .15s; }
.pay-opt:hover { border-color: var(--sx-line); background: #fafcff; }
.pay-opt.sel { border-color: var(--blue); background: var(--sx-brand-soft); box-shadow: 0 0 0 3px rgba(232,80,31,.08); }
.pay-opt input { accent-color: var(--sx-brand); width: 17px; height: 17px; }
.pay-opt .p-t { font-size: 13px; font-weight: 700; color: var(--ink); }
.pay-opt .p-d { font-size: 11.5px; color: var(--sx-ink-3); margin-top: 4px; line-height: 1.9; }
.pay-opt .p-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--sx-surface-2); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 20px; color: var(--sx-ink); }

/* ---------- اعلان‌ها ---------- */
.dk-alert { padding: 12px 15px; border-radius: 10px; font-size: 12.5px; margin: 0 0 14px; line-height: 2; }
.dk-alert.ok { background: #e8f6ee; color: #0f9d58; }
.dk-alert.err { background: #fdeeee; color: #c3243a; }
.dk-alert.info { background: var(--sx-brand-soft); color: var(--sx-brand); }

/* ---------- صفحه‌بندی ---------- */
.dk-pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0; flex-wrap: wrap; }
.dk-pager a, .dk-pager span { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; border: 1px solid var(--sx-line); font-size: 12.5px; color: var(--sx-ink); background: var(--sx-surface); }
.dk-pager .on { background: var(--grad); border-color: transparent; color: #fff; }
.dk-empty-state { text-align: center; padding: 50px 20px; color: var(--sx-ink-3); font-size: 13px; }
.dk-empty-state i { font-size: 44px; color: #d0d1d9; display: block; margin-bottom: 14px; }

/* ---------- مودال ---------- */
.dk-modal { position: fixed; inset: 0; background: rgba(35,37,75,.5); z-index: 500; display: none; align-items: center; justify-content: center; padding: 16px; }
.dk-modal.open { display: flex; }
.dk-modal-box { background: var(--sx-surface); border-radius: 16px; padding: 22px; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; }
.dk-modal-box h3 { margin: 0 0 14px; font-size: 15px; color: var(--ink); }

/* ---------- آمار (داشبوردها) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.stat .s-v { font-size: 20px; font-weight: 800; color: var(--ink); }
.stat .s-l { font-size: 11.5px; color: var(--sx-ink-3); }
.stat .s-i { width: 40px; height: 40px; border-radius: 10px; background: var(--sx-brand-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 899px) {
  .shop-wrap { width: 100%; margin: 14px auto 30px; padding: 0 14px; }
  .shop-grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gcards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .agrid, .fgrid { grid-template-columns: 1fr; }
  .ptabs { overflow-x: auto; scrollbar-width: none; }
  .ptabs::-webkit-scrollbar { display: none; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-row .val { padding-top: 0; }
  .shop-tbl { display: block; overflow-x: auto; }
  .cart-row { flex-wrap: wrap; }
  .cart-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gcards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shop-grid { grid-template-columns: 1fr 320px; }
}
