
/* ============================================================
   SHUNET DESKTOP — responsive override
   Include AFTER shunet-pages.css and shunet-detail.css
   ============================================================ */

/* ── shop detail — دسکتاپ ─────────────────────────────────── */
@media (min-width: 860px) {

  body.shunet-detail {
    background: var(--bg);
  }

  /* صفحه: از موبایل narrow به two-column */
  .shunet-detail .page {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto auto 1fr;
    column-gap: 28px;
    padding-bottom: 60px;
    align-items: start;
  }

  /* topnav: full width — هر دو ستون */
  .shunet-detail .topnav {
    grid-column: 1 / -1;
  }

  /* cover: full width */
  .shunet-detail .cover {
    grid-column: 1 / -1;
    height: 320px;
  }

  /* shop-header: full width */
  .shunet-detail .shop-header {
    grid-column: 1 / -1;
  }

  /* ستون اصلی — همه section ها */
  .shunet-detail .section,
  .shunet-detail .votes,
  .shunet-detail .reviews-empty,
  #review-section,
  #review-form-wrap {
    grid-column: 1;
  }

  /* sticky-cta روی دسکتاپ: به sidebar تبدیل میشه */
  .shunet-detail .sticky-cta {
    position: sticky;
    top: 24px;
    grid-column: 2;
    grid-row: 4 / 20;
    align-self: start;
    left: auto;
    transform: none;
    width: auto;
    max-width: none;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    padding: 16px;
    background: var(--paper);
    backdrop-filter: none;
    gap: 10px;
    margin-top: 16px;
  }

  .shunet-detail .sticky-cta .primary {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 14px;
  }

  .shunet-detail .sticky-cta .secondary {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }
}

/* ── index — دسکتاپ ──────────────────────────────────────── */
@media (min-width: 860px) {

  body.shunet {
    background: var(--bg);
  }

  /* page container گسترش */
  .shunet .page {
    max-width: 1100px;
    padding-bottom: 60px;
  }

  /* hero card کمی بزرگتر */
  .shunet .hero-card {
    margin: 0 0;
    border-radius: 20px;
  }

  /* grid شاپ‌ها: ۳ ستون */
  .shunet .home-shops {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 8px 0 0;
  }

  /* categories: wrap نه scroll */
  .shunet .cats-row {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 10px;
  }

  /* tabbar روی دسکتاپ مخفی */
  .shunet .tabbar {
    display: none;
  }

  /* nav دسکتاپ در header */
  .shunet .home-hdr {
    padding: 20px 0;
  }

  /* section head */
  .shunet .sec-h {
    padding: 20px 0 10px;
  }

  /* mode bar */
  .shunet .mode-bar {
    padding: 16px 0 0;
  }

  .shunet .cats-row {
    padding: 0;
  }
}

/* ── register — دسکتاپ ───────────────────────────────────── */
@media (min-width: 860px) {

  .shunet .page .reg-hdr {
    border-radius: 0 0 20px 20px;
  }

  .shunet .reg-body {
    max-width: 560px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  /* sticky submit به باتوم فیکس نمیمونه */
  .shunet .reg-submit {
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    max-width: 560px;
    margin: 0 auto 40px;
  }

  .shunet .reg-submit button {
    border-radius: 14px;
  }
}

/* ── 1280px — max width بزرگتر ───────────────────────────── */
@media (min-width: 1280px) {

  .shunet .page,
  .shunet-detail .page {
    max-width: 1200px;
  }

  .shunet .home-shops {
    grid-template-columns: repeat(4, 1fr);
  }
}
