/* فونت اختصاصی پروژه؛ نسخه Farsi Numerals برای نمایش یکدست اعداد فارسی استفاده می‌شود. */
@font-face { font-family: 'Peyda'; src: url("../fonts/PeydaFaNum-Regular.834c1f672281.woff2") format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url("../fonts/PeydaFaNum-SemiBold.c1535164616f.woff2") format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url("../fonts/PeydaFaNum-Bold.d098c9ee6202.woff2") format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url("../fonts/PeydaFaNum-Black.8224d72b6dff.woff2") format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --assessment-accordion-active:#ecfdf5;
  --primary: seagreen;
  --primary-strong: #1a422f;
  --bg: whitesmoke;
  --surface: white;
  --surface-soft: ghostwhite;
  --text: darkslategray;
  --muted: slategray;
  --line: lightgray;
  --danger: crimson;
  --on-primary: white;
  --button-dark: black;
  --shop-hero-herbs-ink: #166534;
  --shop-hero-spices-ink: #92400e;
  --shop-hero-oils-bg: #faf5ff;
  --shop-hero-oils-ink: #6b21a8;
  --product-label-mint: #e9f9ea;
  --product-label-peach: #fff0df;
  --product-label-peach-dot: #f4b183;
  --product-label-lavender: #f3ecff;
  --product-label-lavender-dot: #b99be8;
  --product-label-sky: #e5f6ff;
  --product-label-sky-dot: #82c8e8;
  --product-label-lemon: #fff9dc;
  --product-label-lemon-dot: #e3bd4e;
  --product-label-rose: #ffe9ee;
  --product-label-rose-dot: #e99aae;
  --product-label-butter: #fffce8;
  --product-label-aqua: #e8fbfa;
  --product-label-lilac: #f7f0ff;
  --product-label-cream: #fff8ef;
  --product-label-indigo: #eef2ff;
  --product-label-indigo-dot: #a5b4fc;
  --product-label-indigo-text: #312e81;
  --product-label-cyan: #ecfeff;
  --product-label-cyan-dot: #67e8f9;
  --product-label-cyan-text: #164e63;
  --product-label-amber: #fffbeb;
  --product-label-amber-dot: #fcd34d;
  --product-label-amber-text: #78350f;
  --product-label-rose: #fff1f2;
  --product-label-rose-dot: #fda4af;
  --product-label-rose-text: #881337;
  --product-label-sage: #f0fdf4;
  --product-label-sage-dot: #86efac;
  --product-label-sage-text: #14532d;
  --product-label-coral: #fff7ed;
  --product-label-coral-dot: #fdba74;
  --product-label-coral-text: #9a3412;
  --product-label-mist: #f8fafc;
  --product-label-mist-dot: #cbd5e1;
  --product-label-mist-text: #334155;
}

:root .presentation.presentation-bg-mint { background-color:var(--product-label-mint); }
:root .presentation.presentation-bg-peach { background-color:var(--product-label-peach); }
:root .presentation.presentation-bg-lavender { background-color:var(--product-label-lavender); }
:root .presentation.presentation-bg-sky { background-color:var(--product-label-sky); }
:root .presentation.presentation-bg-lemon { background-color:var(--product-label-lemon); }
:root .presentation.presentation-bg-rose { background-color:var(--product-label-rose); }
:root .presentation.presentation-bg-butter { background-color:var(--product-label-butter); }
:root .presentation.presentation-bg-aqua { background-color:var(--product-label-aqua); }
:root .presentation.presentation-bg-lilac { background-color:var(--product-label-lilac); }
:root .presentation.presentation-bg-cream { background-color:var(--product-label-cream); }
:root .presentation.presentation-bg-indigo { background-color:var(--product-label-indigo); }
:root .presentation.presentation-bg-cyan { background-color:var(--product-label-cyan); }
:root .presentation.presentation-bg-amber { background-color:var(--product-label-amber); }
:root .presentation.presentation-bg-sage { background-color:var(--product-label-sage); }
:root .presentation.presentation-bg-coral { background-color:var(--product-label-coral); }
:root .presentation.presentation-bg-mist { background-color:var(--product-label-mist); }
:root .presentation.presentation-weight-400 { font-weight:400; }
:root .presentation.presentation-weight-600 { font-weight:600; }
:root .presentation.presentation-weight-700 { font-weight:700; }
:root .presentation.presentation-weight-900 { font-weight:900; }
:root .presentation.presentation-width-0 { width:0%; }
.presentation-star-0 { clip-path:inset(0 100% 0 0); }
:root .presentation.presentation-width-1 { width:1%; }
.presentation-star-1 { clip-path:inset(0 99% 0 0); }
:root .presentation.presentation-width-2 { width:2%; }
.presentation-star-2 { clip-path:inset(0 98% 0 0); }
:root .presentation.presentation-width-3 { width:3%; }
.presentation-star-3 { clip-path:inset(0 97% 0 0); }
:root .presentation.presentation-width-4 { width:4%; }
.presentation-star-4 { clip-path:inset(0 96% 0 0); }
:root .presentation.presentation-width-5 { width:5%; }
.presentation-star-5 { clip-path:inset(0 95% 0 0); }
:root .presentation.presentation-width-6 { width:6%; }
.presentation-star-6 { clip-path:inset(0 94% 0 0); }
:root .presentation.presentation-width-7 { width:7%; }
.presentation-star-7 { clip-path:inset(0 93% 0 0); }
:root .presentation.presentation-width-8 { width:8%; }
.presentation-star-8 { clip-path:inset(0 92% 0 0); }
:root .presentation.presentation-width-9 { width:9%; }
.presentation-star-9 { clip-path:inset(0 91% 0 0); }
:root .presentation.presentation-width-10 { width:10%; }
.presentation-star-10 { clip-path:inset(0 90% 0 0); }
:root .presentation.presentation-width-11 { width:11%; }
.presentation-star-11 { clip-path:inset(0 89% 0 0); }
:root .presentation.presentation-width-12 { width:12%; }
.presentation-star-12 { clip-path:inset(0 88% 0 0); }
:root .presentation.presentation-width-13 { width:13%; }
.presentation-star-13 { clip-path:inset(0 87% 0 0); }
:root .presentation.presentation-width-14 { width:14%; }
.presentation-star-14 { clip-path:inset(0 86% 0 0); }
:root .presentation.presentation-width-15 { width:15%; }
.presentation-star-15 { clip-path:inset(0 85% 0 0); }
:root .presentation.presentation-width-16 { width:16%; }
.presentation-star-16 { clip-path:inset(0 84% 0 0); }
:root .presentation.presentation-width-17 { width:17%; }
.presentation-star-17 { clip-path:inset(0 83% 0 0); }
:root .presentation.presentation-width-18 { width:18%; }
.presentation-star-18 { clip-path:inset(0 82% 0 0); }
:root .presentation.presentation-width-19 { width:19%; }
.presentation-star-19 { clip-path:inset(0 81% 0 0); }
:root .presentation.presentation-width-20 { width:20%; }
.presentation-star-20 { clip-path:inset(0 80% 0 0); }
:root .presentation.presentation-width-21 { width:21%; }
.presentation-star-21 { clip-path:inset(0 79% 0 0); }
:root .presentation.presentation-width-22 { width:22%; }
.presentation-star-22 { clip-path:inset(0 78% 0 0); }
:root .presentation.presentation-width-23 { width:23%; }
.presentation-star-23 { clip-path:inset(0 77% 0 0); }
:root .presentation.presentation-width-24 { width:24%; }
.presentation-star-24 { clip-path:inset(0 76% 0 0); }
:root .presentation.presentation-width-25 { width:25%; }
.presentation-star-25 { clip-path:inset(0 75% 0 0); }
:root .presentation.presentation-width-26 { width:26%; }
.presentation-star-26 { clip-path:inset(0 74% 0 0); }
:root .presentation.presentation-width-27 { width:27%; }
.presentation-star-27 { clip-path:inset(0 73% 0 0); }
:root .presentation.presentation-width-28 { width:28%; }
.presentation-star-28 { clip-path:inset(0 72% 0 0); }
:root .presentation.presentation-width-29 { width:29%; }
.presentation-star-29 { clip-path:inset(0 71% 0 0); }
:root .presentation.presentation-width-30 { width:30%; }
.presentation-star-30 { clip-path:inset(0 70% 0 0); }
:root .presentation.presentation-width-31 { width:31%; }
.presentation-star-31 { clip-path:inset(0 69% 0 0); }
:root .presentation.presentation-width-32 { width:32%; }
.presentation-star-32 { clip-path:inset(0 68% 0 0); }
:root .presentation.presentation-width-33 { width:33%; }
.presentation-star-33 { clip-path:inset(0 67% 0 0); }
:root .presentation.presentation-width-34 { width:34%; }
.presentation-star-34 { clip-path:inset(0 66% 0 0); }
:root .presentation.presentation-width-35 { width:35%; }
.presentation-star-35 { clip-path:inset(0 65% 0 0); }
:root .presentation.presentation-width-36 { width:36%; }
.presentation-star-36 { clip-path:inset(0 64% 0 0); }
:root .presentation.presentation-width-37 { width:37%; }
.presentation-star-37 { clip-path:inset(0 63% 0 0); }
:root .presentation.presentation-width-38 { width:38%; }
.presentation-star-38 { clip-path:inset(0 62% 0 0); }
:root .presentation.presentation-width-39 { width:39%; }
.presentation-star-39 { clip-path:inset(0 61% 0 0); }
:root .presentation.presentation-width-40 { width:40%; }
.presentation-star-40 { clip-path:inset(0 60% 0 0); }
:root .presentation.presentation-width-41 { width:41%; }
.presentation-star-41 { clip-path:inset(0 59% 0 0); }
:root .presentation.presentation-width-42 { width:42%; }
.presentation-star-42 { clip-path:inset(0 58% 0 0); }
:root .presentation.presentation-width-43 { width:43%; }
.presentation-star-43 { clip-path:inset(0 57% 0 0); }
:root .presentation.presentation-width-44 { width:44%; }
.presentation-star-44 { clip-path:inset(0 56% 0 0); }
:root .presentation.presentation-width-45 { width:45%; }
.presentation-star-45 { clip-path:inset(0 55% 0 0); }
:root .presentation.presentation-width-46 { width:46%; }
.presentation-star-46 { clip-path:inset(0 54% 0 0); }
:root .presentation.presentation-width-47 { width:47%; }
.presentation-star-47 { clip-path:inset(0 53% 0 0); }
:root .presentation.presentation-width-48 { width:48%; }
.presentation-star-48 { clip-path:inset(0 52% 0 0); }
:root .presentation.presentation-width-49 { width:49%; }
.presentation-star-49 { clip-path:inset(0 51% 0 0); }
:root .presentation.presentation-width-50 { width:50%; }
.presentation-star-50 { clip-path:inset(0 50% 0 0); }
:root .presentation.presentation-width-51 { width:51%; }
.presentation-star-51 { clip-path:inset(0 49% 0 0); }
:root .presentation.presentation-width-52 { width:52%; }
.presentation-star-52 { clip-path:inset(0 48% 0 0); }
:root .presentation.presentation-width-53 { width:53%; }
.presentation-star-53 { clip-path:inset(0 47% 0 0); }
:root .presentation.presentation-width-54 { width:54%; }
.presentation-star-54 { clip-path:inset(0 46% 0 0); }
:root .presentation.presentation-width-55 { width:55%; }
.presentation-star-55 { clip-path:inset(0 45% 0 0); }
:root .presentation.presentation-width-56 { width:56%; }
.presentation-star-56 { clip-path:inset(0 44% 0 0); }
:root .presentation.presentation-width-57 { width:57%; }
.presentation-star-57 { clip-path:inset(0 43% 0 0); }
:root .presentation.presentation-width-58 { width:58%; }
.presentation-star-58 { clip-path:inset(0 42% 0 0); }
:root .presentation.presentation-width-59 { width:59%; }
.presentation-star-59 { clip-path:inset(0 41% 0 0); }
:root .presentation.presentation-width-60 { width:60%; }
.presentation-star-60 { clip-path:inset(0 40% 0 0); }
:root .presentation.presentation-width-61 { width:61%; }
.presentation-star-61 { clip-path:inset(0 39% 0 0); }
:root .presentation.presentation-width-62 { width:62%; }
.presentation-star-62 { clip-path:inset(0 38% 0 0); }
:root .presentation.presentation-width-63 { width:63%; }
.presentation-star-63 { clip-path:inset(0 37% 0 0); }
:root .presentation.presentation-width-64 { width:64%; }
.presentation-star-64 { clip-path:inset(0 36% 0 0); }
:root .presentation.presentation-width-65 { width:65%; }
.presentation-star-65 { clip-path:inset(0 35% 0 0); }
:root .presentation.presentation-width-66 { width:66%; }
.presentation-star-66 { clip-path:inset(0 34% 0 0); }
:root .presentation.presentation-width-67 { width:67%; }
.presentation-star-67 { clip-path:inset(0 33% 0 0); }
:root .presentation.presentation-width-68 { width:68%; }
.presentation-star-68 { clip-path:inset(0 32% 0 0); }
:root .presentation.presentation-width-69 { width:69%; }
.presentation-star-69 { clip-path:inset(0 31% 0 0); }
:root .presentation.presentation-width-70 { width:70%; }
.presentation-star-70 { clip-path:inset(0 30% 0 0); }
:root .presentation.presentation-width-71 { width:71%; }
.presentation-star-71 { clip-path:inset(0 29% 0 0); }
:root .presentation.presentation-width-72 { width:72%; }
.presentation-star-72 { clip-path:inset(0 28% 0 0); }
:root .presentation.presentation-width-73 { width:73%; }
.presentation-star-73 { clip-path:inset(0 27% 0 0); }
:root .presentation.presentation-width-74 { width:74%; }
.presentation-star-74 { clip-path:inset(0 26% 0 0); }
:root .presentation.presentation-width-75 { width:75%; }
.presentation-star-75 { clip-path:inset(0 25% 0 0); }
:root .presentation.presentation-width-76 { width:76%; }
.presentation-star-76 { clip-path:inset(0 24% 0 0); }
:root .presentation.presentation-width-77 { width:77%; }
.presentation-star-77 { clip-path:inset(0 23% 0 0); }
:root .presentation.presentation-width-78 { width:78%; }
.presentation-star-78 { clip-path:inset(0 22% 0 0); }
:root .presentation.presentation-width-79 { width:79%; }
.presentation-star-79 { clip-path:inset(0 21% 0 0); }
:root .presentation.presentation-width-80 { width:80%; }
.presentation-star-80 { clip-path:inset(0 20% 0 0); }
:root .presentation.presentation-width-81 { width:81%; }
.presentation-star-81 { clip-path:inset(0 19% 0 0); }
:root .presentation.presentation-width-82 { width:82%; }
.presentation-star-82 { clip-path:inset(0 18% 0 0); }
:root .presentation.presentation-width-83 { width:83%; }
.presentation-star-83 { clip-path:inset(0 17% 0 0); }
:root .presentation.presentation-width-84 { width:84%; }
.presentation-star-84 { clip-path:inset(0 16% 0 0); }
:root .presentation.presentation-width-85 { width:85%; }
.presentation-star-85 { clip-path:inset(0 15% 0 0); }
:root .presentation.presentation-width-86 { width:86%; }
.presentation-star-86 { clip-path:inset(0 14% 0 0); }
:root .presentation.presentation-width-87 { width:87%; }
.presentation-star-87 { clip-path:inset(0 13% 0 0); }
:root .presentation.presentation-width-88 { width:88%; }
.presentation-star-88 { clip-path:inset(0 12% 0 0); }
:root .presentation.presentation-width-89 { width:89%; }
.presentation-star-89 { clip-path:inset(0 11% 0 0); }
:root .presentation.presentation-width-90 { width:90%; }
.presentation-star-90 { clip-path:inset(0 10% 0 0); }
:root .presentation.presentation-width-91 { width:91%; }
.presentation-star-91 { clip-path:inset(0 9% 0 0); }
:root .presentation.presentation-width-92 { width:92%; }
.presentation-star-92 { clip-path:inset(0 8% 0 0); }
:root .presentation.presentation-width-93 { width:93%; }
.presentation-star-93 { clip-path:inset(0 7% 0 0); }
:root .presentation.presentation-width-94 { width:94%; }
.presentation-star-94 { clip-path:inset(0 6% 0 0); }
:root .presentation.presentation-width-95 { width:95%; }
.presentation-star-95 { clip-path:inset(0 5% 0 0); }
:root .presentation.presentation-width-96 { width:96%; }
.presentation-star-96 { clip-path:inset(0 4% 0 0); }
:root .presentation.presentation-width-97 { width:97%; }
.presentation-star-97 { clip-path:inset(0 3% 0 0); }
:root .presentation.presentation-width-98 { width:98%; }
.presentation-star-98 { clip-path:inset(0 2% 0 0); }
:root .presentation.presentation-width-99 { width:99%; }
.presentation-star-99 { clip-path:inset(0 1% 0 0); }
:root .presentation.presentation-width-100 { width:100%; }
.presentation-star-100 { clip-path:inset(0 0% 0 0); }
[data-topic-icon="home-care"] { --topic-icon:url("../img/blog/categories/home-care.f6e5d6f2abda.svg"); }
[data-topic-icon="traditional"] { --topic-icon:url("../img/blog/categories/traditional.d775420b2b9e.svg"); }
[data-topic-icon="botany"] { --topic-icon:url("../img/blog/categories/botany.4b3e0b8a1fcf.svg"); }
[data-topic-icon="temperament"] { --topic-icon:url("../img/blog/categories/temperament.dfd5486065c9.svg"); }
[data-topic-icon="tea"] { --topic-icon:url("../img/blog/categories/tea.6c1be0fd1beb.svg"); }
[data-topic-icon="lifestyle"] { --topic-icon:url("../img/blog/categories/lifestyle.a8b17fe26b1c.svg"); }
[data-topic-icon="buying"] { --topic-icon:url("../img/blog/categories/buying.01dc64a3fb8a.svg"); }

/* توکن‌های سبک برند؛ کلاس‌های Tailwind برای چیدمان و فاصله‌گذاری به کار می‌روند. */
html, body.font-sans, button, input, textarea, select, .font-sans { font-family: 'Peyda', sans-serif !important; }
.product-label-mint { background:var(--product-label-mint); color:var(--primary-strong); }
.product-label-peach { background:var(--product-label-peach); color:var(--text); }
.product-label-lavender { background:var(--product-label-lavender); color:var(--text); }
.product-label-sky { background:var(--product-label-sky); color:var(--text); }
.product-label-lemon { background:var(--product-label-lemon); color:var(--text); }
.product-label-rose { background:var(--product-label-rose); color:var(--product-label-rose-text); }
.product-label-butter { background:var(--product-label-butter); color:var(--text); }
.product-label-aqua { background:var(--product-label-aqua); color:var(--text); }
.product-label-lilac { background:var(--product-label-lilac); color:var(--text); }
.product-label-cream { background:var(--product-label-cream); color:var(--text); }
.product-label-indigo { background:var(--product-label-indigo); color:var(--product-label-indigo-text); }
.product-label-cyan { background:var(--product-label-cyan); color:var(--product-label-cyan-text); }
.product-label-amber { background:var(--product-label-amber); color:var(--product-label-amber-text); }
.product-label-sage { background:var(--product-label-sage); color:var(--product-label-sage-text); }
.product-label-coral { background:var(--product-label-coral); color:var(--product-label-coral-text); }
.product-label-mist { background:var(--product-label-mist); color:var(--product-label-mist-text); }
.catalog-card-variant-picker { position:absolute; top:1rem; right:1rem; left:1rem; z-index:20; display:flex; aspect-ratio:1; flex-direction:column; justify-content:center; overflow:hidden; box-sizing:border-box; border-radius:1.5rem; padding:.9rem !important; background:color-mix(in srgb, var(--surface) 96%, var(--primary-soft)) !important; backdrop-filter:blur(10px); }
.catalog-card-variant-picker p { margin:0 auto .65rem !important; border-radius:.7rem; background:var(--primary-strong); color:var(--on-primary) !important; padding:.35rem .65rem; font-size:.78rem !important; line-height:1.7; text-align:center; }
.catalog-card-variant-picker > div { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.45rem !important; }
.catalog-card-variant-picker button { min-width:0; min-height:2.25rem; overflow:hidden; padding:.4rem .25rem !important; font-size:.7rem !important; white-space:nowrap; }
/* توکن‌های معنایی سطوح رابط؛ برای کارت‌های پرداخت و انتخاب پلن در حالت روشن/تیره. */
.bg-app { background-color:#f8fafc; }.bg-card { background-color:rgba(255,255,255,.82); }.text-main { color:#0f172a; }.text-muted { color:#64748b; }.border-border { border-color:#dcefe1; }.primary { color:#17643a; }
input, textarea, select { width: 100%; min-height: 3rem; border: 1px solid #cbd5e1; border-radius: 1rem; background: #fff; padding: .75rem 1.25rem; color: #1e293b; outline: none; transition: border-color .15s, box-shadow .15s; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
input[type=number] { appearance:textfield; -moz-appearance:textfield; }
.temperament-section { scroll-margin-top:5rem; }
.section-kicker { display:inline-flex; border-radius:999px; background:#dcfce7; padding:.45rem .9rem; color:#166534; font-size:.78rem; font-weight:900; }
.temperament-card { display:flex; min-height:32rem; flex-direction:column; border:1px solid; border-radius:1.5rem; padding:1.5rem; transition:transform .3s ease,box-shadow .3s ease; }
.temperament-card:hover,.temperament-card.is-active { transform:translateY(-.375rem); box-shadow:0 20px 32px rgba(15,23,42,.13); }
.temperament-card h3 { margin-top:1rem; font-size:1.35rem; font-weight:900; }.temperament-card h4 { margin-top:.65rem; font-size:1.08rem; font-weight:900; }.temperament-card p { margin-top:1rem; flex:1; font-size:1rem; font-weight:600; line-height:2.05; }
.temperament-icon { display:grid; width:3rem; height:3rem; place-items:center; border-radius:1rem; }.temperament-icon svg { width:1.65rem; height:1.65rem; }.temperament-element { margin-top:1rem; font-size:.86rem; font-weight:900; opacity:.92; }
.temperament-badges { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:1.25rem; }.temperament-badges span { border-radius:999px; padding:.35rem .65rem; font-size:.78rem; font-weight:900; }
.temperament-rose { border-color:#fecdd3; background:#fff1f2; color:#881337; }.temperament-rose .temperament-icon,.temperament-rose .temperament-badges span{background:#ffe4e6;color:#be123c;}
.temperament-amber { border-color:#fde68a; background:#fffbeb; color:#78350f; }.temperament-amber .temperament-icon,.temperament-amber .temperament-badges span{background:#fef3c7;color:#b45309;}
.temperament-cyan { border-color:#a5f3fc; background:#ecfeff; color:#164e63; }.temperament-cyan .temperament-icon,.temperament-cyan .temperament-badges span{background:#cffafe;color:#0e7490;}
.temperament-indigo { border-color:#c7d2fe; background:#eef2ff; color:#312e81; }.temperament-indigo .temperament-icon,.temperament-indigo .temperament-badges span{background:#e0e7ff;color:#4338ca;}
.temperament-cta { display:inline-flex; min-width:17rem; min-height:3.5rem; align-items:center; justify-content:center; border-radius:1rem; background:#17643a; padding:.8rem 1.4rem; color:#fff; font-family:Peyda,sans-serif; font-size:1rem; font-weight:900; transition:transform .2s,background-color .2s,box-shadow .2s; }.temperament-cta:hover{transform:translateY(-2px);background:#0c3821;box-shadow:0 12px 24px rgba(12,56,33,.2)}
.consultation-form legend { font-size:1rem; font-weight:700; line-height:2rem; }
.consultation-form button[type="submit"] { margin-right:auto; }
input:focus, textarea:focus, select:focus { border-color: #24854b; box-shadow: 0 0 0 4px #dcefe1; }
.home-hero-card { background:#145c34; }
.home-hero-card h1 { color:#fff !important; }
.home-hero-card p { color:#dcfce7 !important; }
.home-hero-card > div > span { color:#dcfce7 !important; }
.hero-description { max-width:58rem; font-size:.92rem; line-height:1.85; }
.hero-description p { display:flex; align-items:flex-start; gap:.7rem; }
.hero-description p + p { margin-top:.65rem; }
.hero-description svg { flex:none; width:1.25rem; height:1.25rem; margin-top:.2rem; color:#bbf7d0; }
.hero-description strong { display:block; color:#fff; font-weight:900; }
.hero-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.hero-actions > form, .hero-actions > a { min-width:0; }
.hero-main-cta { display:flex; min-height:3.7rem; width:100%; align-items:center; justify-content:center; border-radius:1rem; background:#fff !important; padding:.8rem 1.25rem; color:#14532d !important; font-family:PeydaBlack, Peyda, sans-serif; font-size:1rem; font-weight:900; transition:transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.hero-main-cta:hover { transform:scale(1.035); background:#dcfce7 !important; box-shadow:0 12px 22px rgba(0,0,0,.16); }
.hero-main-cta:active { transform:scale(.98); }
@media (min-width:640px){.hero-description{font-size:1rem}.hero-main-cta{font-size:1.08rem}}
@media (max-width:520px){.hero-actions{grid-template-columns:1fr}}
.trust-card { display:grid; grid-template-columns:3.3rem 8.6rem minmax(0,1fr); min-height:10rem; align-items:center; column-gap:.35rem; padding:1.8rem 1.5rem; text-align:right; opacity:0; transform:translateY(16px); transition:opacity .65s ease,transform .65s ease,background-color .2s ease; }
.trust-card + .trust-card { border-right:1px solid #e2e8f0; }
.trust-card.is-visible { opacity:1; transform:translateY(0); }
.trust-card:nth-child(2) { transition-delay:.12s; }.trust-card:nth-child(3) { transition-delay:.24s; }
.trust-card:hover { background:#f0fdf4; }
.trust-icon { display:flex; width:2.75rem; height:2.75rem; align-items:center; justify-content:center; margin-left:.55rem; border-radius:1rem; background:#dcfce7; color:#166534; }
.trust-icon svg { width:1.35rem; height:1.35rem; }
.trust-value { display:flex; align-items:baseline; justify-content:flex-start; white-space:nowrap; }
.stat-counter { color:#14532d; font-family:PeydaBlack,Peyda,sans-serif; font-size:2.1rem; font-weight:900; }
.stat-suffix { margin-right:.1rem; color:#14532d; font-family:PeydaBlack,Peyda,sans-serif; font-size:2.1rem; font-weight:900; }
.trust-card p { min-width:0; margin-right:.65rem; color:#475569; font-size:1.02rem; font-weight:800; line-height:1.9; text-align:right; }
@media (max-width:1023px){.trust-card + .trust-card{border-top:1px solid #e2e8f0;border-right:0}}
@media (min-width:768px){.hero-actions { width:min(100%,40rem); margin-inline:auto; }}
@media (min-width:1024px){
  .trust-card { grid-template-columns:2.8rem 6rem minmax(0,1fr); min-width:0; padding-right:1rem; padding-left:1rem; column-gap:.2rem; }
  .trust-icon { width:2.45rem; height:2.45rem; margin-left:.35rem; }
  .stat-counter,.stat-suffix { font-size:1.55rem; }
  .trust-card p { min-width:0; margin-right:.25rem; color:#475569; font-size:clamp(.68rem,.78vw,.84rem); line-height:1.5; white-space:nowrap; }
}
.choice-grid ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:.5rem; }
.choice-grid label { display:flex; align-items:center; gap:.45rem; min-height:2.75rem; border:1px solid #cbd5e1; border-radius:.85rem; padding:.5rem .75rem; cursor:pointer; }
.choice-grid label { position:relative; transition:background .15s,border-color .15s,color .15s; }
.choice-grid input { position:absolute; opacity:0; pointer-events:none; }
.choice-grid label:has(input:checked) { border-color:#24854b; background:#e8f5eb; color:#14532d; font-weight:700; }
.choice-grid label:has(input:checked)::after { content:'✓'; display:grid; place-items:center; width:1.35rem; height:1.35rem; margin-inline-start:auto; border-radius:999px; background:#24854b; color:#fff; font-size:.75rem; }
.choice-grid > input[type="checkbox"] { position:static; opacity:1; width:1.25rem; min-height:1.25rem; appearance:auto; border:0; border-radius:0; padding:0; cursor:pointer; accent-color:#17643a; }
.back-arrow { transition: transform .2s ease; transform-origin: right center; }
.back-button:hover .back-arrow, .back-button:active .back-arrow { transform: scaleX(1.45); }
input[aria-invalid="true"] { border-color: #e11d48; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 639px) { main { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); } }

[x-cloak] { display:none !important; }
.support-widget { position:fixed; right:1.25rem; bottom:1.25rem; z-index:60; direction:rtl; }
.support-launcher { display:grid; width:3.4rem; height:3.4rem; place-items:center; border-radius:999px; background:#17643a; color:#fff; box-shadow:0 12px 28px rgba(12,56,33,.28); transition:transform .2s,background-color .2s; }
.support-launcher:hover { transform:scale(1.08); background:#0c3821; }
.support-panel { position:absolute; right:0; bottom:4.1rem; display:flex; height:38rem; width:min(21rem,calc(100vw - 2rem)); flex-direction:column; overflow:hidden; border:1px solid #dcefe1; border-radius:1.25rem; background:#fff; box-shadow:0 18px 45px rgba(15,23,42,.2); }
.support-messages { flex:1; max-height:none; overflow-y:auto; background:#f8fafc; padding:.9rem; }
.support-bubble { max-width:90%; border-radius:1rem; padding:.65rem .8rem; font-size:.86rem; line-height:1.9; }
.support-bubble + .support-bubble { margin-top:.5rem; }.support-bubble-agent { margin-left:auto; background:#fff; color:#334155; box-shadow:0 1px 3px rgba(15,23,42,.08); }.support-bubble-user { margin-right:auto; background:#dcfce7; color:#14532d; }
.support-faqs { max-height:12rem; overflow-y:auto; padding:.7rem; }.support-faq { display:block; width:100%; border-radius:.75rem; padding:.6rem .7rem; text-align:right; color:#334155; font-size:.82rem; line-height:1.75; transition:background-color .15s,color .15s; }.support-faq:hover{background:#f0fdf4;color:#166534}
.support-input { display:flex; flex:none; gap:.4rem; border-top:1px solid #e2e8f0; padding:.65rem; }.support-input input { min-height:2.8rem; border-radius:.75rem; padding:.5rem .75rem; font-size:.85rem; }.support-input button { display:grid; width:2.8rem; flex:none; place-items:center; border-radius:.75rem; background:#17643a; color:#fff; }
.support-page-shell { display:flex; height:var(--support-chat-viewport-height,100dvh); min-height:0; align-items:stretch; }.support-page-panel { display:flex; width:100%; min-height:0; flex:1; flex-direction:column; }.support-page-messages { flex:1; min-height:0; max-height:none; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; background:#f8fafc; padding:1rem; }.support-page-messages .support-bubble{margin-bottom:.75rem;max-width:85%;font-size:1rem}.support-page-messages .support-bubble-user{margin-right:auto}.support-page-messages .support-bubble-agent{margin-left:auto}.support-faqs-in-chat{max-height:none;padding:0 0 1rem}.support-page-input{flex:none}
.support-agent-row,.support-user-row { display:flex; align-items:flex-end; gap:.55rem; margin-bottom:.8rem; }.support-user-row { direction:rtl; justify-content:flex-start; }.support-user-row > div { display:flex; flex-direction:column; align-items:flex-start; }.support-agent-row { direction:ltr; justify-content:flex-start; }.support-agent-row > div { min-width:0; direction:rtl; }.support-avatar { width:2.25rem; height:2.25rem; flex:none; border-radius:999px; object-fit:cover; }.support-avatar-initial { display:grid; place-items:center; background:#17643a; color:#fff; font-size:.8rem; font-weight:900; }.support-sender-name { margin:0 .15rem .2rem; color:#166534; font-size:.72rem; font-weight:900; }.support-user-row .support-bubble { margin-bottom:0; }.support-agent-row .support-bubble { margin-bottom:0; }.support-attachment{display:block;margin-top:.45rem;color:inherit;text-decoration:underline;font-weight:800}.support-file-button{display:grid;width:2.8rem;height:2.8rem;flex:none;place-items:center;border-radius:.75rem;color:#166534;cursor:pointer}.support-file-button:hover{background:#f0fdf4}.support-file-button input{display:none}
body:has(.support-page-shell) > .fixed.inset-x-4 { display:none; }
.typing-dots { display:inline-flex; align-items:center; gap:.22rem; padding:.15rem .2rem; }.typing-dots i{display:block;width:.35rem;height:.35rem;border-radius:999px;background:currentColor;animation:typingPulse 1s infinite ease-in-out}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes typingPulse{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}
@media (min-width:640px){.support-page-shell{height:auto;min-height:38rem}.support-page-panel{min-height:38rem}}
@media (max-width:639px){
  html:has(.support-page-shell),body:has(.support-page-shell){height:100%;overflow:hidden;overscroll-behavior:none}
  body:has(.support-page-shell) main{height:var(--support-chat-viewport-height,100dvh);padding-bottom:0;overflow:hidden}
  .support-page-shell{height:var(--support-chat-viewport-height,100dvh);max-height:var(--support-chat-viewport-height,100dvh);overflow:hidden}
  .support-page-input{padding-bottom:max(.65rem,env(safe-area-inset-bottom))}
  .support-page-input input{font-size:16px;-webkit-text-size-adjust:100%}
  .support-widget{display:none}
}
footer svg { width:1.5rem !important; height:1.5rem !important; }
footer h2 { white-space:nowrap; }
/* نوار پیوسته نظرات مراجعین: دو گروه هم‌اندازه، بدون فاصله در نقطه اتصال. */
.testimonial-marquee { direction:ltr; overflow:hidden; margin-inline:calc(50% - 50vw); padding:1rem max(1rem,calc((100vw - 72rem)/2)); user-select:none; }
.testimonial-track { display:flex; width:max-content; gap:0; will-change:transform; animation:testimonialMarquee 78s linear infinite; }
.testimonial-group { display:flex; width:max-content; flex:none; gap:1rem; padding-right:1rem; }
.testimonial-marquee:hover .testimonial-track { animation-play-state:paused; }
.testimonial-card { direction:rtl; display:flex; width:min(23.75rem,calc(100vw - 2.5rem)); min-height:15.5rem; flex-direction:column; flex:none; border:1px solid #dcefe1; border-radius:1.5rem; background:#fff; padding:1.25rem; box-shadow:0 8px 24px rgba(12,56,33,.07); transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.testimonial-card:hover { transform:translateY(-.3rem); border-color:#86efac; box-shadow:0 18px 34px rgba(12,56,33,.13); }
.testimonial-avatar { display:grid; width:2.8rem; height:2.8rem; flex:none; place-items:center; border-radius:999px; background-image:linear-gradient(135deg,var(--tw-gradient-stops)); color:#fff; font-size:1.05rem; font-weight:900; }
.testimonial-card h3 { color:#18332a; font-size:1.05rem; font-weight:900; }.testimonial-card h3 + p { margin-top:.15rem; color:#64748b; font-size:.86rem; }
.testimonial-badge { display:inline-flex; align-items:center; min-height:1.8rem; border-radius:999px; background:#dcfce7; padding:.25rem .65rem; color:#166534; font-size:.75rem; font-weight:900; white-space:nowrap; }.testimonial-badge-general { background:#f1f5f9; color:#475569; }
.testimonial-stars { display:flex; direction:ltr; gap:.15rem; margin-top:1rem; color:#d89a16; }.testimonial-stars svg { width:1rem; height:1rem; fill:currentColor; }.testimonial-stars .is-empty { fill:transparent; stroke:currentColor; stroke-width:1.7; opacity:.55; }
.testimonial-card blockquote { margin-top:1rem; color:#475569; font-size:1rem; line-height:2.05; }
@keyframes testimonialMarquee { from { transform:translate3d(-20%,0,0); } to { transform:translate3d(-70%,0,0); } }
@media (prefers-reduced-motion:reduce){.testimonial-track{animation:none!important;transform:none!important}.testimonial-marquee{overflow-x:auto;cursor:auto}}

/* دکمه مسیر واحد هیرو؛ حرکت بسیار ملایم متن و هاله سبز پیوسته. */
.hero-glow-cta {
  display:inline-flex; min-width:17rem; min-height:3.25rem; align-items:center; justify-content:center;
  border-radius:1rem; background:#f8fff9; padding:.75rem 1.6rem; color:#0d542e;
  font-family:Peyda,sans-serif; font-size:1rem; font-weight:900;
  box-shadow:0 8px 22px rgba(0,0,0,.14);
  transition:background-color .2s,color .2s,transform .2s,box-shadow .2s;
}
.hero-glow-cta:hover { background:#dcfce7; color:#08351d; transform:translateY(-2px); box-shadow:0 12px 25px rgba(74,222,128,.25); }

/* رنگ‌بندی یکپارچه گفت‌وگوی پشتیبانی */
.support-messages, .support-page-messages { background:#ecfdf5; }
.support-bubble-user { background:#fff; color:#1e293b; border:1px solid #e2e8f0; box-shadow:0 2px 8px rgba(15,23,42,.06); }
.support-bubble-agent { background:#14532d; color:#f0fdf4; box-shadow:0 2px 8px rgba(20,83,45,.18); }
.support-sender-name { color:#166534; }
.support-bubble-system { max-width:92%; margin:0 auto .85rem; border:1px solid #bef264; border-radius:1rem; background:#d9f99d; padding:.7rem .9rem; color:#365314; font-size:.86rem; font-weight:800; line-height:1.9; text-align:center; }
@media (max-width:639px){ .hero-glow-cta,.temperament-cta { min-width:min(17rem,100%); } }

/* صفحه پشتیبانی یک صفحه مستقل و تمام‌قد است. */
body:has(.support-page-shell) { background:#f8fafc; }
body:has(.support-page-shell) main { min-height:100dvh; }
.support-page-shell { height:100dvh; min-height:100dvh; padding-top:.75rem; padding-bottom:.75rem; }
.support-page-panel { border-color:#e2e8f0; background:#fff; }

/* هم‌ترازی بخش‌های صفحه اصلی با کارت هیرو در نمایش موبایل. */
.home-aligned-section { width:100%; }
@media (max-width:639px) {
  .home-aligned-section { width:100%; margin-inline:auto; }
  body:has(.support-page-shell) main { padding-bottom:calc(4rem + env(safe-area-inset-bottom)); }
  body:has(.support-page-shell) .support-page-shell {
    height:calc(100dvh - 4rem - env(safe-area-inset-bottom));
    min-height:calc(100dvh - 4rem - env(safe-area-inset-bottom));
  }
}

/* در موبایل، کارت‌های مسیر ارزیابی با قاب هیرو هم‌عرض و هم‌تراز می‌مانند. */
@media (max-width:639px) {
  .home-mobile-frame {
    width:calc(100% - 1rem);
    max-width:none;
    margin-inline:auto;
  }
}

/* گفت‌وگوی پشتیبانی: یک بوم ثابت تمام‌صفحه؛ فقط فهرست پیام‌ها اسکرول می‌شود. */
html:has(.support-page-shell),
body:has(.support-page-shell) { height:100%; overflow:hidden; }
body:has(.support-page-shell) main { height:100dvh; min-height:0; overflow:hidden; padding:0!important; }
.support-page-shell { box-sizing:border-box; display:flex; width:100%; max-width:none!important; height:100dvh!important; min-height:100dvh!important; margin:0!important; padding:0!important; overflow:hidden; }
.support-page-panel { display:flex; width:100%; height:100%; min-height:0!important; flex:1; flex-direction:column; overflow:hidden; border:0!important; border-radius:0!important; box-shadow:none!important; }
.support-chat-header { display:flex; min-height:4.75rem; flex:none; align-items:center; gap:.75rem; background:#17643a; padding:.85rem 1rem; color:#fff; }
.support-page-messages { min-height:0; flex:1; overflow-y:auto; overscroll-behavior:contain; padding:1rem; }
.support-page-input { position:relative; margin:0!important; padding:calc(.65rem + env(safe-area-inset-bottom)) .65rem .65rem; background:#fff; }
.support-close-button { display:grid; width:2.5rem; height:2.5rem; flex:none; place-items:center; border:1px solid rgba(255,255,255,.35); border-radius:.8rem; background:#dc2626; color:#fff; transition:background-color .15s,transform .15s; }
.support-close-button:hover { background:#b91c1c; transform:scale(1.03); }
@media (min-width:640px) { .support-chat-header { padding-inline:1.5rem; }.support-page-messages { padding:1.5rem; } }

/* چیدمان پیام‌ها: هر حباب بر اساس متن خودش پهنا می‌گیرد و جای فرستنده ثابت می‌ماند. */
.support-page-messages .support-agent-row { direction:ltr; justify-content:flex-start; }
.support-page-messages .support-user-row { direction:rtl; justify-content:flex-start; }
.support-page-messages .support-agent-row > div,
.support-page-messages .support-user-row > div { display:flex; min-width:0; flex-direction:column; }
.support-page-messages .support-agent-row > div { align-items:flex-start; direction:rtl; }
.support-page-messages .support-user-row > div { align-items:flex-start; }
.support-page-messages .support-bubble { display:block; width:fit-content; min-width:5.5rem; max-width:min(80vw,42rem); margin:0!important; white-space:pre-wrap; overflow-wrap:anywhere; word-break:normal; }
.support-page-messages .support-bubble small { display:block; margin-top:.25rem; font-size:.62rem; opacity:.62; }

/* هویت بصری چت و تقارن حباب‌ها مانند پیام‌رسان‌ها. */
.support-role-icon,.user-role-icon { display:grid; width:2.75rem; height:2.75rem; flex:none; place-items:center; border-radius:1rem; }
.support-role-icon { background:rgba(255,255,255,.16); color:#fff; }.support-role-icon svg,.user-role-icon svg { width:1.35rem; height:1.35rem; }
.support-page-messages .support-role-icon { width:2.25rem; height:2.25rem; border-radius:999px; background:#14532d; color:#fff; }.support-page-messages .user-role-icon { width:2.25rem; height:2.25rem; border-radius:999px; background:#dcefe1; color:#17643a; }
.support-page-messages .support-agent-row { direction:ltr; justify-content:flex-start; }.support-page-messages .support-user-row { direction:ltr; justify-content:flex-end; }
.support-page-messages .support-agent-row > div,.support-page-messages .support-user-row > div { direction:rtl; }.support-page-messages .support-bubble-agent { background:#fff; color:#1e293b; border:1px solid #dcefe1; box-shadow:0 2px 8px rgba(15,23,42,.08); }.support-page-messages .support-bubble-user { background:#17643a; color:#f0fdf4; border:1px solid #17643a; box-shadow:0 2px 8px rgba(20,83,45,.18); }
.support-chat-error { position:absolute; right:.75rem; left:.75rem; bottom:4.35rem; z-index:2; border-radius:.75rem; background:#fff1f2; padding:.55rem .7rem; color:#be123c; font-size:.75rem; font-weight:800; }

/* Safari روی iOS فیلدهای کوچک‌تر از ۱۶px را بزرگ‌نمایی می‌کند. */
@media (max-width: 639px) {
  input, select, textarea { font-size: 16px !important; }
}

/* نقشهٔ راه مزاج‌شناسی: کاملاً محدود به صفحهٔ اصلی */
.temperament-roadmap { position:relative; overflow:hidden; background:transparent; }
.temperament-roadmap::before,.temperament-roadmap::after { display:none; }
.temperament-roadmap::before { top:6rem; right:-14rem; background:radial-gradient(circle,rgba(74,222,128,.16),transparent 68%); }
.temperament-roadmap::after { bottom:4rem; left:-14rem; background:radial-gradient(circle,rgba(16,185,129,.13),transparent 70%); }
.temperament-roadmap-track { position:relative; min-height:42rem; isolation:isolate; }
.temperament-roadmap-track::before,.temperament-roadmap-track::after { position:absolute; right:1.25rem; top:1rem; width:2px; border-radius:999px; content:""; pointer-events:none; }
.temperament-roadmap-track::before { bottom:1rem; background:#cbd5d1; }
.temperament-roadmap-track::after { height:var(--roadmap-progress); background:#55db87; box-shadow:0 0 9px rgba(34,197,94,.65); transition:height .4s ease-out; }
.temperament-roadmap-path { display:none; position:absolute; inset:0; z-index:0; width:100%; height:100%; overflow:visible; }
.temperament-roadmap-path-base { fill:none; stroke:#cbd5d1; stroke-width:1.5; vector-effect:non-scaling-stroke; }
.temperament-roadmap-path-fill { fill:none; stroke:#55db87; stroke-width:2.25; stroke-linecap:round; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 6px rgba(34,197,94,.65)); transition:stroke-dasharray .45s ease-out; }
.temperament-roadmap-row { position:relative; z-index:1; display:flex; min-height:8.75rem; align-items:center; justify-content:flex-start; padding-right:3.35rem; }
.temperament-roadmap-node { position:absolute; right:.25rem; top:50%; z-index:2; display:grid; width:2.1rem; height:2.1rem; place-items:center; border:2px solid #94a3b8; border-radius:999px; background:#fff; color:#64748b; font-size:.78rem; font-weight:900; transform:translateY(-50%); transition:background-color .35s ease,border-color .35s ease,color .35s ease,box-shadow .35s ease,transform .35s ease; }
.temperament-roadmap-node.is-unlocked { border-color:#22c55e; background:#17643a; color:#fff; box-shadow:0 0 0 5px rgba(34,197,94,.13),0 0 22px rgba(34,197,94,.6); transform:translateY(-50%) scale(1.08); }
.temperament-roadmap-card { width:100%; touch-action:manipulation; -webkit-tap-highlight-color:transparent; border:1px solid rgba(22,101,52,.14); border-radius:1.4rem; background:rgba(255,255,255,.9); padding:1rem 1.05rem; text-align:right; box-shadow:0 12px 28px rgba(15,23,42,.06); backdrop-filter:blur(12px); transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease; }
.temperament-roadmap-row.is-unlocked .temperament-roadmap-card { border-color:rgba(34,197,94,.35); box-shadow:0 16px 35px rgba(22,101,52,.1); }
@media (hover:hover) and (pointer:fine) { .temperament-roadmap-card:hover { border-color:rgba(22,100,58,.45); box-shadow:0 18px 38px rgba(22,101,52,.14); transform:translateY(-2px); } }
.temperament-roadmap-card:focus-visible { outline:3px solid rgba(74,222,128,.5); outline-offset:3px; }
.temperament-roadmap-card-head { display:flex; align-items:flex-start; gap:.75rem; }
.temperament-roadmap-icon { display:grid; width:2.25rem; height:2.25rem; flex:none; place-items:center; color:#17643a; }
.temperament-roadmap-icon svg { width:1.65rem; height:1.65rem; }
.temperament-roadmap-chevron { width:1.2rem; height:1.2rem; flex:none; margin-right:auto; margin-top:.65rem; color:#94a3b8; transition:transform .2s ease,color .2s ease; }
.temperament-roadmap-subtitle { margin-top:.65rem; text-align:right; font-size:.875rem; line-height:1.75rem; color:#475569; }
.temperament-roadmap-detail { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .24s cubic-bezier(.2,.7,.2,1),opacity .16s ease; }
.temperament-roadmap-detail.is-open { grid-template-rows:1fr; opacity:1; }
.temperament-roadmap-detail-inner { min-height:0; overflow:hidden; margin-top:0; border-top:1px solid transparent; padding-top:0; text-align:right; font-size:.875rem; line-height:2rem; color:#334155; transition:margin .24s ease,border-color .24s ease,padding .24s ease; }
.temperament-roadmap-detail.is-open .temperament-roadmap-detail-inner { margin-top:1rem; border-top-color:#d1fae5; padding-top:1rem; }
@media (min-width:768px) {
  .temperament-roadmap-track { min-height:56rem; }
  .temperament-roadmap-track::before,.temperament-roadmap-track::after { display:none; }
  .temperament-roadmap-path { display:block; }
  .temperament-roadmap-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:4.75rem; min-height:8.75rem; padding:0; }
  .temperament-roadmap-row .temperament-roadmap-card { grid-column:1; }
  .temperament-roadmap-row:nth-child(even) .temperament-roadmap-card { grid-column:2; }
  .temperament-roadmap-node { right:auto; left:50%; transform:translate(-50%,-50%); }
  .temperament-roadmap-node.is-unlocked { transform:translate(-50%,-50%) scale(1.08); }
}
@media (prefers-reduced-motion:reduce) {
  .temperament-roadmap-path-fill,.temperament-roadmap-node,.temperament-roadmap-card { transition:none; }
}

@media (max-width:767px) {
  .temperament-roadmap-card { backdrop-filter:none; -webkit-backdrop-filter:none; }
}


/* فشرده‌سازی کنترل‌شدهٔ هیرو و راهنما، فقط روی موبایل. */
@media (max-width:639px){
  .home-hero-card h1{font-size:clamp(1.9rem,7vw,2.4rem);line-height:1.45;letter-spacing:-.035em}
  .guide-btn-general,.guide-btn-specialist{min-height:2.25rem!important;gap:.35rem!important;border-radius:.8rem!important;padding:.42rem .6rem!important;font-size:.68rem!important;line-height:1.2!important;white-space:nowrap}
  .guide-btn-general>span:first-child,.guide-btn-specialist>span:first-child{width:1rem!important;height:1rem!important;font-size:.68rem!important}
  .guide-modal-general>section,.guide-modal-specialist>section{max-height:calc(100dvh - 1rem)!important}
  .guide-modal-general header,.guide-modal-specialist header{gap:.7rem!important;padding:.8rem 1rem!important}
  .guide-modal-general header h2,.guide-modal-specialist header h2{font-size:.98rem!important;line-height:1.65rem!important}
  .guide-modal-general header p,.guide-modal-specialist header p{margin-top:.2rem!important;font-size:.72rem!important;line-height:1.35rem!important}
  .guide-modal-general header button,.guide-modal-specialist header button{width:2.25rem!important;height:2.25rem!important;border-radius:.85rem!important;font-size:1.35rem!important}
  .guide-modal-content{padding:.8rem 1rem!important}
  .guide-modal-content>div{gap:1rem!important;font-size:.79rem!important;line-height:1.72rem!important}
  .guide-modal-content h3{font-size:.88rem!important;line-height:1.55rem!important}
  .guide-modal-content ul{padding-right:1rem!important}
  .guide-modal-general footer,.guide-modal-specialist footer{padding:.7rem 1rem max(.7rem,env(safe-area-inset-bottom))!important}
  .guide-modal-general footer button,.guide-modal-specialist footer button{min-height:2.75rem!important;border-radius:.9rem!important;font-size:.78rem!important}
}


/* اصلاح نهایی viewport چت: متغیر روی html ثبت می‌شود و قوانین قدیمی 100dvh را خنثی می‌کند. */
@media (max-width:639px){
  body:has(.support-page-shell) main{height:var(--support-chat-viewport-height,100dvh)!important;min-height:0!important;padding:0!important}
  body:has(.support-page-shell) .support-page-shell{height:var(--support-chat-viewport-height,100dvh)!important;min-height:0!important;max-height:var(--support-chat-viewport-height,100dvh)!important}
  .specialist-assessment-phases span{font-size:8px!important;line-height:1.65rem!important;padding-inline:2px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* همگام‌سازی viewport چت با کیبورد موبایل؛ فقط در صفحه گفت‌وگو اعمال می‌شود. */
html:has(.support-page-shell),body:has(.support-page-shell){height:100%;overflow:hidden;overscroll-behavior:none}
body:has(.support-page-shell) main{height:100vh!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;padding:0!important}
.support-page-shell{position:fixed!important;inset:0!important;top:var(--support-chat-viewport-offset-top,0px)!important;bottom:auto!important;display:flex!important;width:auto!important;height:100vh!important;height:100dvh!important;height:var(--support-chat-viewport-height,100dvh)!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important}
.support-page-shell .support-page-panel{height:100%!important;min-height:0!important;overflow:hidden!important}
.support-page-shell .support-page-messages{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch}

/* پنل شناور دسکتاپ همان ساختار گفت‌وگوی تمام‌صفحه را دارد و تاریخچه را از سرور می‌خواند. */
.support-widget-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:.75rem;background:#17643a;padding:.75rem;color:#fff}.support-widget-close{display:grid;width:2rem;height:2rem;flex:none;place-items:center;border-radius:.65rem;color:rgba(255,255,255,.84);font-size:1.35rem;line-height:1;transition:background-color .15s}.support-widget-close:hover{background:rgba(255,255,255,.12)}
.support-panel .support-widget-messages{padding:.9rem;background:#f8fafc}.support-panel .support-agent-row,.support-panel .support-user-row{display:flex;align-items:flex-end;gap:.55rem;margin-bottom:.8rem}.support-panel .support-agent-row{direction:ltr;justify-content:flex-start}.support-panel .support-user-row{direction:ltr;justify-content:flex-end}.support-panel .support-agent-row>div,.support-panel .support-user-row>div{display:flex;min-width:0;flex-direction:column;direction:rtl}.support-panel .support-role-icon,.support-panel .user-role-icon{display:grid;width:2rem;height:2rem;flex:none;place-items:center;border-radius:999px}.support-panel .support-widget-header .support-role-icon{width:2.25rem;height:2.25rem;border-radius:.75rem;background:rgba(255,255,255,.16);color:#fff}.support-panel .support-widget-messages .support-role-icon{background:#14532d;color:#fff}.support-panel .support-widget-messages .user-role-icon{background:#dcefe1;color:#17643a}.support-panel .support-role-icon svg,.support-panel .user-role-icon svg{width:1.1rem;height:1.1rem}.support-panel .support-bubble{display:block;width:fit-content;min-width:4.5rem;max-width:15rem;margin:0!important;padding:.65rem .8rem;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;font-size:.86rem;line-height:1.8}.support-panel .support-bubble small{display:block;margin-top:.22rem;font-size:.6rem;opacity:.62}.support-panel .support-bubble-agent{background:#fff;color:#1e293b;border:1px solid #dcefe1;box-shadow:0 2px 8px rgba(15,23,42,.08)}.support-panel .support-bubble-user{background:#17643a;color:#f0fdf4;border:1px solid #17643a;box-shadow:0 2px 8px rgba(20,83,45,.18)}.support-widget-error{position:absolute;right:.65rem;left:.65rem;bottom:3.9rem;z-index:2;border-radius:.75rem;background:#fff1f2;padding:.5rem .65rem;color:#be123c;font-size:.72rem;font-weight:800}

/* چت شناور دسکتاپ: همان هویت و هندسه‌ی گفت‌وگوی تمام‌صفحه، در ابعاد پنل. */
@media (min-width:640px){
  .support-widget{right:1.5rem;bottom:1.5rem}
  .support-panel{width:23rem;height:min(42rem,calc(100vh - 7rem));border-radius:1.35rem;background:#f8fafc}
  .support-widget-header{min-height:4.75rem;padding:.85rem 1rem}
  .support-panel .support-widget-messages{display:flex;min-height:0;flex:1;flex-direction:column;gap:0;padding:1rem;overflow-y:auto;background:#f8fafc}
  .support-panel .support-agent-row,.support-panel .support-user-row{display:flex!important;width:100%;align-items:flex-end!important;gap:.55rem!important;margin:0 0 .8rem!important}
  .support-panel .support-agent-row{direction:ltr!important;justify-content:flex-start!important}
  .support-panel .support-user-row{direction:ltr!important;justify-content:flex-end!important}
  .support-panel .support-agent-row>div,.support-panel .support-user-row>div{display:flex!important;min-width:0!important;flex-direction:column!important;direction:rtl!important}
  .support-panel .support-bubble{width:fit-content!important;min-width:5.5rem!important;max-width:17rem!important;margin:0!important;padding:.72rem .88rem!important;border-radius:1rem!important;font-size:.91rem!important;line-height:1.85!important}
  .support-panel .support-bubble-agent{background:#fff!important;color:#1e293b!important;border:1px solid #dcefe1!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
  .support-panel .support-bubble-user{background:#17643a!important;color:#f0fdf4!important;border:1px solid #17643a!important;box-shadow:0 2px 8px rgba(20,83,45,.18)!important}
  .support-panel .support-bubble small{display:block!important;margin-top:.25rem!important;font-size:.62rem!important;opacity:.62!important}
  .support-panel .support-widget-messages .support-role-icon,.support-panel .support-widget-messages .user-role-icon{width:2.25rem!important;height:2.25rem!important;border-radius:999px!important}
  .support-panel .support-widget-messages .support-role-icon{background:#14532d!important;color:#fff!important}
  .support-panel .support-widget-messages .user-role-icon{background:#dcefe1!important;color:#17643a!important}
  .support-panel .support-input{position:relative;min-height:4.25rem;padding:.65rem;background:#fff}
}

/* Hide scrollbar for horizontal scroll containers */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Cart shake animation */
@keyframes cart-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
  75% { transform: rotate(-10deg); }
}
.animate-cart-shake {
  animation: cart-shake 0.5s ease-in-out;
}

@keyframes cart-empty-bounce {
  0%, 100% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-8px) rotate(-5deg); }
  65% { transform: translateY(-3px) rotate(5deg); }
}
.cart-empty-bounce {
  animation: cart-empty-bounce 1.8s ease-in-out infinite;
}
