/*
Theme Name: Pexir Stabilizer Theme V4 Modern
Theme URI: https://pexir.ir
Author: Pexir
Description: قالب شرکتی مدرن RTL برای پایدار اکسیر سبلان؛ مناسب معرفی استابلایزرهای PVC با حس نوآورانه، شیمی و فناوری.
Version: 1.4.0
Text Domain: pexir
*/

:root {
  --pexir-blue-990: #021226;
  --pexir-blue-970: #031a35;
  --pexir-blue-950: #05234a;
  --pexir-blue-900: #06366f;
  --pexir-blue-800: #0758aa;
  --pexir-blue-700: #0874d1;
  --pexir-blue-500: #21a4ff;
  --pexir-blue-100: #e8f4ff;
  --pexir-green-800: #08723a;
  --pexir-green-700: #0a8e4a;
  --pexir-green-600: #13b765;
  --pexir-green-500: #38d984;
  --pexir-green-100: #e9fbf1;
  --pexir-cyan-500: #12c8e8;
  --pexir-cyan-100: #e9fbff;
  --pexir-gold: #f3c14b;
  --pexir-ink: #102033;
  --pexir-text: #22364f;
  --pexir-muted: #60718a;
  --pexir-border: rgba(7, 88, 170, .14);
  --pexir-border-strong: rgba(7, 88, 170, .24);
  --pexir-card: rgba(255, 255, 255, .78);
  --pexir-card-strong: rgba(255, 255, 255, .92);
  --pexir-shadow: 0 26px 80px rgba(3, 34, 70, .14);
  --pexir-shadow-hover: 0 34px 90px rgba(3, 34, 70, .20);
  --pexir-shadow-soft: 0 16px 44px rgba(3, 34, 70, .09);
  --pexir-radius-xl: 42px;
  --pexir-radius-lg: 34px;
  --pexir-radius-md: 24px;
  --pexir-radius-sm: 18px;
  --pexir-container: 1200px;
  --pexir-font: "Vazirmatn", "IRANSansX", "Dana", "Yekan Bakh", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  margin: 0;
  color: var(--pexir-ink);
  background:
    radial-gradient(circle at 9% 4%, rgba(56, 217, 132, .18), transparent 25rem),
    radial-gradient(circle at 92% 6%, rgba(33, 164, 255, .17), transparent 29rem),
    radial-gradient(circle at 50% 28%, rgba(18, 200, 232, .08), transparent 30rem),
    linear-gradient(180deg, #fafdff 0%, #f5fbff 36%, #ffffff 72%, #f7fbff 100%);
  font-family: var(--pexir-font);
  font-size: 15.5px;
  line-height: 1.95;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 88, 170, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 88, 170, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .12) 70%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -16rem 10rem auto;
  width: 34rem;
  height: 34rem;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(19, 183, 101, .16), transparent 58%),
    conic-gradient(from 180deg, rgba(8, 116, 209, .10), rgba(18, 200, 232, .12), rgba(19, 183, 101, .10), rgba(8, 116, 209, .10));
  filter: blur(.5px);
}

body.admin-bar .pexir-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #fff;
  background: var(--pexir-blue-800);
}

code {
  display: inline-block;
  direction: ltr;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--pexir-blue-800);
  background: rgba(232, 244, 255, .92);
  border: 1px solid rgba(7, 88, 170, .10);
  font-family: Consolas, Monaco, monospace;
  font-size: .92em;
}

.pexir-container {
  width: min(var(--pexir-container), calc(100% - 36px));
  margin-inline: auto;
}

.pexir-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pexir-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 253, 255, .78);
  border-bottom: 1px solid rgba(7, 88, 170, .12);
  backdrop-filter: blur(22px) saturate(135%);
  box-shadow: 0 10px 34px rgba(3, 34, 70, .05);
}

.pexir-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 24px;
}

.pexir-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}

.pexir-brand__logo,
.pexir-brand .custom-logo {
  width: 214px;
  max-height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(3, 34, 70, .10));
}

.pexir-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pexir-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pexir-nav a,
.pexir-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 999px;
  color: #1e3a5c;
  font-size: 14px;
  font-weight: 800;
  transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.pexir-nav a::before,
.pexir-nav__link::before {
  content: "";
  position: absolute;
  inset: auto 16px 6px 16px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pexir-green-600), var(--pexir-blue-500));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.pexir-nav a:hover,
.pexir-nav a:focus-visible,
.pexir-nav__link:hover,
.pexir-nav__link:focus-visible {
  color: var(--pexir-blue-800);
  background: rgba(232, 244, 255, .74);
  box-shadow: inset 0 0 0 1px rgba(7, 88, 170, .08);
  transform: translateY(-1px);
}

.pexir-nav a:hover::before,
.pexir-nav__link:hover::before {
  transform: scaleX(1);
}

.pexir-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pexir-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -.015em;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}

.pexir-btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  z-index: -1;
  width: 55%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transition: left .55s ease;
}

.pexir-btn:hover,
.pexir-btn:focus-visible {
  transform: translateY(-3px);
}

.pexir-btn:hover::after,
.pexir-btn:focus-visible::after {
  left: 125%;
}

.pexir-btn--primary {
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 217, 132, .36), transparent 34%),
    linear-gradient(135deg, var(--pexir-blue-700), var(--pexir-blue-950));
  box-shadow: 0 18px 44px rgba(7, 88, 170, .27);
}

.pexir-btn--primary:hover,
.pexir-btn--primary:focus-visible {
  box-shadow: 0 24px 58px rgba(7, 88, 170, .34);
}

.pexir-btn--ghost {
  color: var(--pexir-blue-800);
  background: rgba(255, 255, 255, .72);
  border-color: var(--pexir-border);
  box-shadow: 0 12px 34px rgba(3, 34, 70, .06);
}

.pexir-btn--ghost:hover,
.pexir-btn--ghost:focus-visible {
  color: var(--pexir-blue-950);
  background: rgba(232, 244, 255, .90);
  border-color: var(--pexir-border-strong);
}

.pexir-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--pexir-border);
  border-radius: 17px;
  background: rgba(255, 255, 255, .82);
  color: var(--pexir-blue-800);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(3, 34, 70, .08);
}

.pexir-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.pexir-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
}

.pexir-hero::before {
  content: "";
  position: absolute;
  inset: 7% auto auto 4%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(56, 217, 132, .24), transparent 56%),
    repeating-conic-gradient(from 10deg, rgba(8, 116, 209, .10) 0 7deg, transparent 7deg 18deg);
  opacity: .82;
  pointer-events: none;
}

.pexir-hero::after {
  content: "";
  position: absolute;
  inset: 42px 6% auto auto;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(8, 116, 209, .14);
  border-radius: 42% 58% 51% 49%;
  background: radial-gradient(circle, rgba(18, 200, 232, .10), transparent 67%);
  transform: rotate(22deg);
  pointer-events: none;
}

.pexir-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 48px;
}

.pexir-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(19, 183, 101, .24);
  border-radius: 999px;
  color: var(--pexir-green-800);
  background: rgba(233, 251, 241, .82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.80), 0 10px 24px rgba(19, 183, 101, .07);
  font-size: 13px;
  font-weight: 900;
}

.pexir-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pexir-green-600);
  box-shadow: 0 0 0 7px rgba(19, 183, 101, .12);
}

.pexir-hero h1 {
  max-width: 760px;
  margin: 18px 0 18px;
  color: var(--pexir-blue-950);
  font-size: clamp(28px, 3.35vw, 48px);
  font-weight: 900;
  line-height: 1.36;
  letter-spacing: -.02em;
  text-wrap: balance;
}

/* Fix hero title size and remove the visible punctuation without editing PHP.
   For the permanent/content-level fix, update the h1 text in index.php later. */
#pexir-hero-title {
  font-size: 0 !important;
  line-height: 0 !important;
}

#pexir-hero-title::after {
  content: "پایدار اکسیر سبلان پایداری دقیق برای تولید پایدار";
  display: block;
  color: var(--pexir-blue-950);
  font-size: clamp(29px, 3.45vw, 49px);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.pexir-hero__lead {
  max-width: 680px;
  margin: 0;
  color: var(--pexir-muted);
  font-size: clamp(15.5px, 1.25vw, 17.2px);
  font-weight: 500;
}

.pexir-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pexir-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.pexir-quick-facts li {
  position: relative;
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(7, 88, 170, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 38px rgba(3, 34, 70, .065);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pexir-quick-facts li::after {
  content: "";
  position: absolute;
  inset: auto -30px -34px auto;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(18, 200, 232, .12);
}

.pexir-quick-facts li:hover {
  transform: translateY(-5px);
  border-color: var(--pexir-border-strong);
  box-shadow: var(--pexir-shadow-soft);
}

.pexir-quick-facts strong {
  display: block;
  margin-bottom: 7px;
  color: var(--pexir-blue-800);
  font-size: 22px;
  line-height: 1.2;
}

.pexir-quick-facts span {
  color: var(--pexir-muted);
  font-size: 13px;
}

.pexir-hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--pexir-radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,.90), rgba(255,255,255,.70)),
    radial-gradient(circle at 22% 16%, rgba(56, 217, 132, .20), transparent 18rem),
    radial-gradient(circle at 80% 82%, rgba(33, 164, 255, .19), transparent 18rem);
  box-shadow: var(--pexir-shadow);
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(135%);
}

.pexir-hero-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(8, 116, 209, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(8, 116, 209, .035),
    0 0 0 38px rgba(19, 183, 101, .035);
}

.pexir-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -58px -58px auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(8, 116, 209, .08);
}

.pexir-hero-card__logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 284px;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.92), rgba(247,251,255,.86)),
    linear-gradient(180deg, #f7fbff, #fff);
  border: 1px solid rgba(7, 88, 170, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

.pexir-hero-card__logo img {
  width: 100%;
  max-width: 470px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(3, 34, 70, .12));
}

.pexir-product-mini {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 20px;
  border-radius: 25px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 0%, rgba(56, 217, 132, .32), transparent 36%),
    linear-gradient(135deg, var(--pexir-blue-800), var(--pexir-blue-970));
  box-shadow: 0 18px 42px rgba(3, 34, 70, .18);
}

.pexir-product-mini__code {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  color: var(--pexir-blue-900);
  background: #fff;
  direction: ltr;
  font-weight: 950;
}

.pexir-product-mini p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
}

.pexir-hero-card__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.pexir-hero-card__stats span {
  padding: 14px;
  border-radius: 19px;
  color: var(--pexir-blue-950);
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(7, 88, 170, .12);
  font-size: 13px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.pexir-hero-card__stats b {
  display: block;
  color: var(--pexir-green-800);
  font-size: 20px;
  line-height: 1.2;
}

.pexir-section {
  position: relative;
  padding: 86px 0;
}

.pexir-section--soft {
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 217, 132, .10), transparent 25rem),
    linear-gradient(180deg, rgba(232, 244, 255, .62), rgba(255, 255, 255, .92));
  border-block: 1px solid rgba(7, 88, 170, .07);
}

.pexir-section-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.pexir-section-head--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.pexir-section-title,
.pexir-product-detail h2 {
  margin: 14px 0 10px;
  color: var(--pexir-blue-950);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 950;
  line-height: 1.30;
  letter-spacing: -.04em;
}

.pexir-section-head p,
.pexir-product-detail p,
.pexir-card p,
.pexir-contact-card p,
.pexir-contact-panel p {
  color: var(--pexir-muted);
  margin: 0;
}

.pexir-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}

.pexir-card,
.pexir-post-card,
.pexir-product-card,
.pexir-product-detail,
.pexir-contact-card,
.pexir-contact-panel,
.pexir-faq-item,
.pexir-ai-panel {
  border: 1px solid var(--pexir-border);
  border-radius: var(--pexir-radius-md);
  background: var(--pexir-card);
  box-shadow: var(--pexir-shadow-soft);
  backdrop-filter: blur(15px) saturate(128%);
}

.pexir-card {
  position: relative;
  padding: 27px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pexir-card::after {
  content: "";
  position: absolute;
  inset: auto -36px -42px auto;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(33, 164, 255, .10);
}

.pexir-card:hover {
  transform: translateY(-6px);
  border-color: var(--pexir-border-strong);
  box-shadow: var(--pexir-shadow-hover);
}

.pexir-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,.34), transparent 34%),
    linear-gradient(135deg, var(--pexir-green-600), var(--pexir-blue-700));
  box-shadow: 0 16px 30px rgba(7, 88, 170, .17);
  font-size: 22px;
  font-weight: 950;
}

.pexir-card h3 {
  margin: 0 0 8px;
  color: var(--pexir-blue-950);
  font-size: 20px;
  font-weight: 950;
}

.pexir-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
}

.pexir-product-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.82);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.pexir-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(56, 217, 132, .14), rgba(33, 164, 255, .12));
  transition: opacity .24s ease;
}

.pexir-product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(8, 116, 209, .28);
  box-shadow: var(--pexir-shadow-hover);
}

.pexir-product-card:hover::before {
  opacity: 1;
}

.pexir-product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 194px;
  padding: 22px;
  background:
    radial-gradient(circle at 32% 18%, rgba(56, 217, 132, .22), transparent 12rem),
    radial-gradient(circle at 86% 78%, rgba(33, 164, 255, .14), transparent 11rem),
    linear-gradient(135deg, #f7fbff, #fff);
  border-bottom: 1px solid rgba(7, 88, 170, .11);
}

.pexir-product-card__media::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(7, 88, 170, .18);
  border-radius: 999px;
  transform: rotate(-14deg);
}

.pexir-product-card__media img {
  position: relative;
  z-index: 1;
  width: 166px;
  height: 166px;
  object-fit: contain;
  transition: transform .26s ease, filter .26s ease;
  filter: drop-shadow(0 16px 18px rgba(3, 34, 70, .12));
}

.pexir-product-card:hover .pexir-product-card__media img {
  transform: translateY(-4px) scale(1.035) rotate(-1deg);
}

.pexir-product-card__body {
  position: relative;
  z-index: 1;
  padding: 19px;
}

.pexir-product-card__badge,
.pexir-product-code {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 950;
}

.pexir-product-card__badge {
  padding: 5px 11px;
  color: var(--pexir-green-800);
  background: rgba(233, 251, 241, .92);
  border: 1px solid rgba(19, 183, 101, .14);
  font-size: 12px;
}

.pexir-product-card h3 {
  direction: ltr;
  text-align: right;
  margin: 12px 0 7px;
  color: var(--pexir-blue-950);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.pexir-product-card p {
  min-height: 72px;
  margin: 0;
  color: var(--pexir-muted);
  font-size: 13px;
  line-height: 1.85;
}

.pexir-product-card ul,
.pexir-contact-list,
.pexir-footer ul {
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.pexir-product-card li {
  position: relative;
  padding-inline-start: 19px;
  color: #304962;
  font-size: 12.5px;
}

.pexir-product-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .82em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pexir-green-600), var(--pexir-cyan-500));
  box-shadow: 0 0 0 4px rgba(19, 183, 101, .09);
}

.pexir-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: var(--pexir-blue-800);
  font-weight: 950;
  font-size: 13px;
  transition: color .2s ease, transform .2s ease;
}

.pexir-link::after {
  content: "←";
  font-size: 15px;
  transition: transform .2s ease;
}

.pexir-link:hover {
  color: var(--pexir-green-800);
  transform: translateX(-2px);
}

.pexir-link:hover::after {
  transform: translateX(-3px);
}

.pexir-product-details {
  display: grid;
  gap: 23px;
}

.pexir-product-detail {
  position: relative;
  scroll-margin-top: 112px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.82);
}

.pexir-product-detail::before {
  content: "";
  position: absolute;
  inset: -110px auto auto -90px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(33, 164, 255, .09);
}

.pexir-product-detail__intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 25px;
  align-items: center;
  margin-bottom: 25px;
}

.pexir-product-detail__image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 262px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 22%, rgba(56, 217, 132, .21), transparent 12rem),
    radial-gradient(circle at 75% 90%, rgba(33, 164, 255, .17), transparent 12rem),
    #fff;
  border: 1px solid rgba(7, 88, 170, .12);
  overflow: hidden;
}

.pexir-product-detail__image::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px dashed rgba(7, 88, 170, .20);
  border-radius: 999px;
  transform: rotate(23deg);
}

.pexir-product-detail__image img {
  position: relative;
  z-index: 1;
  width: 212px;
  height: 212px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(3, 34, 70, .12));
}

.pexir-product-code {
  direction: ltr;
  padding: 8px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 217, 132, .30), transparent 40%),
    linear-gradient(135deg, var(--pexir-blue-700), var(--pexir-blue-970));
  letter-spacing: .02em;
  box-shadow: 0 14px 28px rgba(7, 88, 170, .18);
}

.pexir-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pexir-chip-row span {
  padding: 7px 13px;
  border: 1px solid rgba(7, 88, 170, .12);
  border-radius: 999px;
  color: var(--pexir-blue-800);
  background: rgba(255,255,255,.80);
  font-size: 13px;
  font-weight: 900;
}

.pexir-note {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 15px 17px;
  border-radius: 19px;
  color: #26415f;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.85), transparent 28%),
    linear-gradient(135deg, var(--pexir-cyan-100), var(--pexir-green-100));
  border: 1px solid rgba(8, 116, 209, .12);
}

.pexir-note strong {
  flex: 0 0 auto;
  color: var(--pexir-blue-950);
}

.pexir-table-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pexir-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(7, 88, 170, .12);
  border-radius: 23px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 12px 32px rgba(3, 34, 70, .045);
}

.pexir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pexir-table caption {
  padding: 15px 18px;
  color: var(--pexir-blue-950);
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 217, 132, .12), transparent 42%),
    linear-gradient(135deg, #f7fbff, #fff);
  border-bottom: 1px solid rgba(7, 88, 170, .10);
  text-align: right;
  font-size: 16px;
  font-weight: 950;
}

.pexir-table th,
.pexir-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(7, 88, 170, .085);
  text-align: right;
  vertical-align: top;
}

.pexir-table th {
  color: var(--pexir-blue-950);
  background: rgba(232, 244, 255, .76);
  font-weight: 950;
}

.pexir-table td:first-child {
  color: #2a435e;
  font-weight: 900;
}

.pexir-table tr:last-child td {
  border-bottom: 0;
}

.pexir-contact {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 19px;
  align-items: start;
}

.pexir-contact-card,
.pexir-contact-panel {
  padding: 29px;
  background: rgba(255,255,255,.82);
}

.pexir-contact-card h2,
.pexir-contact-panel h3 {
  margin: 14px 0 10px;
  color: var(--pexir-blue-950);
  line-height: 1.35;
  font-weight: 950;
}

.pexir-contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(7, 88, 170, .10);
  color: #30465f;
}

.pexir-contact-list li:last-child {
  border-bottom: 0;
}

.pexir-contact-list a {
  direction: ltr;
  display: inline-flex;
  color: var(--pexir-blue-800);
  font-weight: 950;
}

.pexir-field {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  color: #273f5a;
  font-size: 14px;
  font-weight: 900;
}

.pexir-field input,
.pexir-field textarea {
  width: 100%;
  border: 1px solid rgba(7, 88, 170, .14);
  border-radius: 17px;
  padding: 12px 14px;
  color: var(--pexir-ink);
  background: rgba(255,255,255,.86);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.pexir-field input:focus,
.pexir-field textarea:focus {
  border-color: rgba(8, 116, 209, .40);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8, 116, 209, .08);
}

.pexir-contact-panel .pexir-btn {
  margin-top: 16px;
  width: 100%;
}

.pexir-post-card {
  overflow: hidden;
}

.pexir-post-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf6ff;
}

.pexir-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pexir-post-card__body {
  padding: 20px;
}

.pexir-post-card h3 {
  margin: 0 0 8px;
  color: var(--pexir-blue-950);
  font-weight: 950;
}

/* بخش‌های پیشنهادی آینده: سوالات متداول و دستیار هوشمند */
.pexir-faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 20px;
  align-items: start;
}

.pexir-faq-list {
  display: grid;
  gap: 12px;
}

.pexir-faq-item {
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,.84);
}

.pexir-faq-item summary {
  position: relative;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  color: var(--pexir-blue-950);
  font-weight: 950;
  list-style: none;
}

.pexir-faq-item summary::-webkit-details-marker {
  display: none;
}

.pexir-faq-item summary::before {
  content: "+";
  position: absolute;
  inset-inline-start: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pexir-green-600), var(--pexir-blue-700));
}

.pexir-faq-item[open] summary::before {
  content: "−";
}

.pexir-faq-item p {
  padding: 0 52px 18px 20px;
  margin: 0;
  color: var(--pexir-muted);
}

.pexir-ai-panel {
  position: relative;
  padding: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 6%, rgba(56, 217, 132, .34), transparent 34%),
    radial-gradient(circle at 94% 74%, rgba(18, 200, 232, .22), transparent 36%),
    linear-gradient(135deg, var(--pexir-blue-970), var(--pexir-blue-990));
  box-shadow: 0 30px 86px rgba(3, 18, 38, .24);
}

.pexir-ai-panel::before {
  content: "";
  position: absolute;
  inset: 24px auto auto 24px;
  width: 120px;
  height: 120px;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.pexir-ai-panel h3,
.pexir-ai-panel p {
  position: relative;
  z-index: 1;
}

.pexir-ai-panel h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
}

.pexir-ai-panel p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.pexir-ai-bubbles {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.pexir-ai-bubbles span {
  display: inline-flex;
  width: fit-content;
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 18px 18px 4px 18px;
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}

.pexir-ai-bubbles span:nth-child(even) {
  justify-self: end;
  border-radius: 18px 18px 18px 4px;
  background: rgba(56, 217, 132, .18);
}

.pexir-footer {
  position: relative;
  padding: 58px 0 27px;
  color: rgba(255, 255, 255, .80);
  background:
    radial-gradient(circle at 15% 12%, rgba(56, 217, 132, .25), transparent 25rem),
    radial-gradient(circle at 88% 0%, rgba(33, 164, 255, .18), transparent 28rem),
    linear-gradient(135deg, var(--pexir-blue-970), var(--pexir-blue-990) 72%);
  overflow: hidden;
}

.pexir-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.pexir-footer__grid,
.pexir-footer__bottom {
  position: relative;
  z-index: 1;
}

.pexir-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr .8fr .8fr 1.05fr;
  gap: 26px;
}

.pexir-footer__logo {
  display: inline-flex;
  padding: 10px;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,.16);
}

.pexir-footer__logo img {
  width: 210px;
  max-height: 80px;
  object-fit: contain;
}

.pexir-footer h3,
.pexir-footer h4 {
  margin: 16px 0 10px;
  color: #fff;
  font-weight: 950;
}

.pexir-footer p {
  margin: 0;
}

.pexir-footer li {
  margin-top: 8px;
}

.pexir-footer a {
  transition: color .2s ease;
}

.pexir-footer a:hover {
  color: #88e9ae;
}

.pexir-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .pexir-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pexir-header__actions {
    display: none;
  }
}

@media (max-width: 920px) {
  body.admin-bar .pexir-header {
    top: 46px;
  }

  body {
    font-size: 15px;
  }

  .pexir-header__inner {
    min-height: 78px;
  }

  .pexir-brand {
    min-width: auto;
  }

  .pexir-brand__logo,
  .pexir-brand .custom-logo {
    width: 184px;
    max-height: 68px;
  }

  .pexir-menu-toggle {
    display: inline-block;
  }

  .pexir-nav {
    position: absolute;
    inset-inline: 16px;
    top: calc(100% + 10px);
    display: none;
    padding: 12px;
    border: 1px solid var(--pexir-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--pexir-shadow-soft);
    backdrop-filter: blur(18px);
  }

  .pexir-nav.is-open {
    display: block;
  }

  .pexir-nav ul {
    display: grid;
    gap: 4px;
  }

  .pexir-nav a {
    justify-content: center;
  }

  .pexir-nav a::before,
  .pexir-nav__link::before {
    display: none;
  }

  .pexir-hero__grid,
  .pexir-contact,
  .pexir-product-detail__intro,
  .pexir-faq-grid {
    grid-template-columns: 1fr;
  }

  .pexir-quick-facts,
  .pexir-grid-3,
  .pexir-table-grid,
  .pexir-footer__grid {
    grid-template-columns: 1fr;
  }

  .pexir-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pexir-section-head--split {
    display: block;
  }

  .pexir-section-head--split .pexir-btn {
    margin-top: 18px;
  }

  #pexir-hero-title::after {
    font-size: clamp(30px, 5.2vw, 42px);
    line-height: 1.42;
  }
}

@media (max-width: 560px) {
  .pexir-container {
    width: min(100% - 22px, var(--pexir-container));
  }

  .pexir-hero,
  .pexir-section {
    padding: 56px 0;
  }

  .pexir-hero h1 {
    letter-spacing: -.015em;
  }

  #pexir-hero-title::after {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.46;
    letter-spacing: -.01em;
  }

  .pexir-product-grid {
    grid-template-columns: 1fr;
  }

  .pexir-hero-card,
  .pexir-product-detail,
  .pexir-contact-card,
  .pexir-contact-panel,
  .pexir-card,
  .pexir-ai-panel {
    border-radius: 23px;
    padding: 21px;
  }

  .pexir-hero-card__logo {
    min-height: 212px;
  }

  .pexir-hero-card__stats {
    grid-template-columns: 1fr;
  }

  .pexir-note {
    display: block;
  }

  .pexir-faq-item summary {
    padding-inline-start: 50px;
    padding-inline-end: 18px;
  }

  .pexir-faq-item p {
    padding-inline-start: 50px;
    padding-inline-end: 18px;
  }

  .pexir-footer__bottom {
    display: block;
  }
}
