/* ==========================================================================
   Arcopet v2 · برگه‌های محتوایی (templates/page.php) و صفحه‌ی ۴۰۴ (templates/404.php)
   متن برگه با .v2-prose (prose.css) همان تایپوگرافی مقاله‌ها را دارد.
   ========================================================================== */

.v2-page{ padding-bottom:48px; }
.v2-page-wrap{ max-width:calc(var(--v2-article) + 32px); }
.v2-page-article{ margin-top:8px; }
.v2-page-head{ margin:8px 0 18px; padding-bottom:14px; border-bottom:1px solid var(--v2-border); }
.v2-page-title{ margin:0; font-size:var(--v2-fs-28); font-weight:800; line-height:1.5; color:var(--v2-heading); }
.v2-page-content{ min-width:0; overflow-wrap:anywhere; }
.v2-page-content img{ max-width:100%; height:auto; border-radius:var(--v2-radius-m); }
.v2-page-content table{ display:block; max-width:100%; overflow-x:auto; }

/* فرم‌های داخل برگه (مثل [order_tracking] در پیگیری سفارش) */
.v2-page-content form{ display:grid; gap:12px; max-width:440px; margin:8px 0 16px; padding:18px; border-radius:var(--v2-radius-l); background:var(--v2-surface-subtle); direction:rtl; text-align:start; }
.v2-page-content form p{ margin:0; }
.v2-page-content form > div{ margin:0 !important; }
.v2-page-content :is(input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="search"], select, textarea){
  width:100%; min-height:48px; padding:10px 14px; border-radius:var(--v2-radius-m); border:1px solid var(--v2-border-strong);
  background:var(--v2-surface); color:var(--v2-text); font:inherit; font-size:var(--v2-fs-16);
}
.v2-page-content :is(input, select, textarea):focus{ outline:none; border-color:var(--v2-brand); box-shadow:0 0 0 3px var(--v2-brand-ring); }
.v2-page-content :is(button, input[type="submit"]){
  display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 24px; border:0; border-radius:var(--v2-radius-m);
  background:var(--v2-brand); color:var(--v2-on-brand); font:inherit; font-weight:700; cursor:pointer;
}
.v2-page-content :is(button, input[type="submit"]):hover{ background:var(--v2-brand-hover); }
/* «پیگیری سفارش» متن داخل یک <p dir=ltr> چاپ می‌شود؛ راست‌چین بماند. */
.v2-page-content p[style*="ltr"]{ direction:rtl !important; }

/* ۴۰۴ */
.v2-404{ padding:24px 0 56px; }
.v2-404-box{ display:grid; justify-items:center; gap:10px; max-width:640px; margin:0 auto; text-align:center; }
.v2-404-img{ width:100%; max-width:440px; height:auto; }
.v2-404-title{ margin:8px 0 0; font-size:var(--v2-fs-22); font-weight:800; line-height:1.6; color:var(--v2-heading); }
.v2-404-desc{ margin:0; font-size:var(--v2-fs-16); line-height:1.9; color:var(--v2-text-subtle); }
.v2-404-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:10px; }
