/* ==================================================================
   هوشیار پارسی‌نگر — سبک‌نامه‌ی سایت
   ۱) متغیرها و پایه    ۲) چیدمان    ۳) سربرگ/پاصفحه
   ۴) بلوک‌ها و اجزا   ۵) صفحه‌ها    ۶) افکت‌ها و واکنش‌گرایی
   ================================================================== */

/* ------------------------------ ۱. پایه --------------------------- */
:root {
	--hy-brand: #6d5cff;
	--hy-accent: #00b8d9;
	--hy-radius: 18px;
	--hy-container: 1200px;
	--hy-ink: #14162b;
	--hy-ink-soft: #4a4f6a;
	--hy-muted: #7b8199;
	--hy-line: #e8eaf4;
	--hy-bg: #ffffff;
	--hy-bg-soft: #f6f7fc;
	--hy-bg-deep: #0f1124;
	--hy-success: #12a48b;
	--hy-danger: #e5484d;
	--hy-warn: #d98a00;
	--hy-font-body: "Vazirmatn", Tahoma, system-ui, sans-serif;
	--hy-font-heading: var(--hy-font-body);
	--hy-shadow-sm: 0 2px 10px -6px rgba(20, 22, 43, .25);
	--hy-shadow: 0 18px 40px -28px rgba(20, 22, 43, .45);
	--hy-shadow-lg: 0 40px 90px -50px rgba(20, 22, 43, .55);
	--hy-heading-weight: 800;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body.hy-site {
	font-family: var(--hy-font-body);
	font-size: 1rem;
	line-height: 1.95;
	color: var(--hy-ink);
	background: var(--hy-bg);
	direction: rtl;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-family: var(--hy-font-heading); font-weight: var(--hy-heading-weight); line-height: 1.5; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1rem; }
a { color: var(--hy-brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: color-mix(in srgb, var(--hy-brand) 70%, #000); }
img, svg, video { max-width: 100%; height: auto; }
ul, ol { margin: 0 0 1rem; padding-inline-start: 1.3rem; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
code, pre { font-family: "JetBrains Mono", "Fira Code", Consolas, monospace; direction: ltr; text-align: left; }
pre { background: var(--hy-bg-deep); color: #e6e8f4; padding: 1rem 1.2rem; border-radius: 14px; overflow-x: auto; font-size: .86rem; }
code { background: color-mix(in srgb, var(--hy-brand) 10%, #fff); padding: .1em .4em; border-radius: 6px; font-size: .88em; }
pre code { background: none; padding: 0; color: inherit; }
blockquote { margin: 1.4rem 0; padding: .8rem 1.2rem; border-inline-start: 4px solid var(--hy-brand); background: var(--hy-bg-soft); border-radius: 0 14px 14px 0; color: var(--hy-ink-soft); }
hr { border: 0; border-top: 1px solid var(--hy-line); margin: 2rem 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--hy-brand) 45%, transparent); outline-offset: 2px; border-radius: 8px; }
.hy-skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--hy-brand); color: #fff; padding: .6rem 1rem; z-index: 999; }
.hy-skip:focus { inset-inline-start: 0; }
.hy-icon { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
[hidden] { display: none !important; }

/* ---------------------------- ۲. چیدمان --------------------------- */
.hy-container { width: min(100% - 2.4rem, var(--hy-container)); margin-inline: auto; }
.hy-container-narrow { width: min(100% - 2.4rem, 900px); margin-inline: auto; }
.hy-main-wide { width: 100%; }
.hy-grid { display: grid; gap: 1.4rem; }
.hy-cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.hy-cols-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.hy-cols-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hy-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; }
.hy-block { padding: clamp(2.6rem, 6vw, 5rem) 0; position: relative; }
.hy-block + .hy-block { padding-top: 0; }
.hy-block-soft { background: var(--hy-bg-soft); }
.hy-block-dark { background: var(--hy-bg-deep); color: #e9ebf7; }
.hy-block-dark h1, .hy-block-dark h2, .hy-block-dark h3 { color: #fff; }
.hy-block-title { text-align: center; margin-bottom: .6rem; }
.hy-block-subtitle { text-align: center; color: var(--hy-muted); max-width: 720px; margin: 0 auto 2.2rem; }
.hy-block-head { margin-bottom: 2.2rem; }
.hy-block-head .hy-eyebrow { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .9rem; border-radius: 999px; background: color-mix(in srgb, var(--hy-brand) 10%, #fff); color: color-mix(in srgb, var(--hy-brand) 75%, #000); font-size: .8rem; font-weight: 600; margin-bottom: .7rem; }
.hy-section-tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--hy-brand); text-transform: uppercase; }

.hy-card { background: #fff; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); padding: 1.5rem; box-shadow: var(--hy-shadow-sm); transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease; }
.hy-card:hover { transform: translateY(-6px); box-shadow: var(--hy-shadow); border-color: color-mix(in srgb, var(--hy-brand) 30%, var(--hy-line)); }
.hy-card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(140deg, color-mix(in srgb, var(--hy-brand) 18%, #fff), color-mix(in srgb, var(--hy-accent) 16%, #fff)); color: color-mix(in srgb, var(--hy-brand) 80%, #000); margin-bottom: .9rem; }
.hy-card-title { font-size: 1.1rem; margin-bottom: .4rem; }
.hy-card-text { color: var(--hy-ink-soft); font-size: .95rem; margin: 0; }
.hy-card-media { border-radius: calc(var(--hy-radius) - 6px); overflow: hidden; margin-bottom: 1rem; aspect-ratio: 16/10; background: var(--hy-bg-soft); }
.hy-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.hy-card:hover .hy-card-media img { transform: scale(1.05); }
.hy-card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-weight: 600; font-size: .92rem; }

/* ------------------------------ دکمه ------------------------------ */
.hy-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.4rem; border: 1px solid transparent; border-radius: calc(var(--hy-radius) - 6px); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease; }
.hy-btn:hover { transform: translateY(-2px); }
.hy-btn-primary { background: linear-gradient(135deg, var(--hy-brand), color-mix(in srgb, var(--hy-accent) 55%, var(--hy-brand))); color: #fff; box-shadow: 0 18px 34px -24px var(--hy-brand); }
.hy-btn-primary:hover { color: #fff; box-shadow: 0 24px 40px -22px var(--hy-brand); }
.hy-btn-soft { background: color-mix(in srgb, var(--hy-brand) 12%, #fff); color: color-mix(in srgb, var(--hy-brand) 80%, #000); }
.hy-btn-soft:hover { color: color-mix(in srgb, var(--hy-brand) 85%, #000); background: color-mix(in srgb, var(--hy-brand) 18%, #fff); }
.hy-btn-ghost { background: transparent; color: var(--hy-ink); border-color: var(--hy-line); }
.hy-btn-ghost:hover { color: var(--hy-brand); border-color: var(--hy-brand); }
.hy-btn-dark { background: var(--hy-ink); color: #fff; }
.hy-btn-white { background: #fff; color: var(--hy-ink); }
.hy-btn-sm { padding: .45rem .9rem; font-size: .86rem; }
.hy-btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.hy-btn[disabled] { opacity: .6; pointer-events: none; }
.hy-icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--hy-line); background: #fff; color: var(--hy-ink); cursor: pointer; transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease; }
.hy-icon-btn:hover { transform: translateY(-2px); color: var(--hy-brand); border-color: color-mix(in srgb, var(--hy-brand) 40%, var(--hy-line)); }

.hy-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .7rem; border-radius: 999px; background: var(--hy-bg-soft); border: 1px solid var(--hy-line); font-size: .78rem; font-weight: 600; color: var(--hy-muted); }
.hy-chip-brand { background: color-mix(in srgb, var(--hy-brand) 12%, #fff); color: color-mix(in srgb, var(--hy-brand) 80%, #000); border-color: color-mix(in srgb, var(--hy-brand) 25%, transparent); }
.hy-chip-success { background: color-mix(in srgb, var(--hy-success) 12%, #fff); color: var(--hy-success); }
.hy-chip-warn { background: color-mix(in srgb, var(--hy-warn) 14%, #fff); color: var(--hy-warn); }
.hy-chip-danger { background: color-mix(in srgb, var(--hy-danger) 12%, #fff); color: var(--hy-danger); }

.hy-badge { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; z-index: 2; }

/* --------------------------- ۳. سربرگ ---------------------------- */
.hy-topbar { background: var(--hy-bg-deep); color: #c9cde6; font-size: .82rem; }
.hy-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.hy-topbar-text { display: inline-flex; align-items: center; gap: .4rem; }
.hy-topbar-links { display: flex; align-items: center; gap: 1rem; }
.hy-topbar-links a { display: inline-flex; align-items: center; gap: .35rem; color: #c9cde6; }
.hy-topbar-links a:hover { color: #fff; }

.hy-header { position: relative; z-index: 60; background: #fff; border-bottom: 1px solid var(--hy-line); }
.hy-header.is-sticky { position: sticky; top: 0; backdrop-filter: saturate(160%) blur(14px); }
.hy-header-glass { background: color-mix(in srgb, #fff 82%, transparent); backdrop-filter: blur(16px) saturate(160%); }
.hy-header-dark { background: var(--hy-bg-deep); border-color: rgba(255,255,255,.08); color: #fff; }
.hy-header-dark .hy-brand-text strong { color: #fff; }
.hy-header-dark .hy-nav > li > a { color: #d5d9ee; }
.hy-header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: var(--hy-header-height, 72px); }
.hy-header-progress { position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--hy-brand), var(--hy-accent)); transition: width .1s linear; }

.hy-brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--hy-ink); }
.hy-brand:hover { color: var(--hy-ink); }
.hy-brand img { max-height: 46px; width: auto; }
.hy-brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, var(--hy-brand), var(--hy-accent)); color: #fff; }
.hy-brand-text { display: grid; line-height: 1.3; }
.hy-brand-text strong { font-size: 1.05rem; font-weight: 800; }
.hy-brand-text em { font-style: normal; font-size: .74rem; color: var(--hy-muted); max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hy-nav-wrap { flex: 1; display: flex; justify-content: center; }
.hy-nav { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.hy-nav-item { position: relative; }
.hy-nav-item > a { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .85rem; border-radius: 11px; color: var(--hy-ink-soft); font-size: .95rem; font-weight: 600; transition: background .2s ease, color .2s ease; }
.hy-nav-item > a:hover, .hy-nav-item.is-active > a { color: var(--hy-brand); background: color-mix(in srgb, var(--hy-brand) 9%, transparent); }
.hy-nav-item.is-active > a::after { content: ""; position: absolute; inset-inline: .9rem; bottom: .1rem; height: 2px; border-radius: 2px; background: var(--hy-brand); }
.hy-nav-toggle { display: none; border: 0; background: transparent; color: inherit; cursor: pointer; }
.hy-nav-badge { font-style: normal; font-size: .68rem; background: var(--hy-accent); color: #fff; border-radius: 999px; padding: 0 .4rem; margin-inline-start: .3rem; }
.hy-submenu { position: absolute; top: calc(100% + .4rem); inset-inline-start: 0; min-width: 240px; background: #fff; border: 1px solid var(--hy-line); border-radius: 16px; box-shadow: var(--hy-shadow); padding: .5rem; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(.5rem); transition: opacity .22s ease, transform .22s ease, visibility .22s; z-index: 70; }
.hy-nav-item:hover > .hy-submenu, .hy-nav-item:focus-within > .hy-submenu, .hy-nav-item.is-open > .hy-submenu { opacity: 1; visibility: visible; transform: none; }
.hy-submenu .hy-sub-item > a { display: block; padding: .5rem .75rem; border-radius: 10px; font-size: .9rem; color: var(--hy-ink-soft); }
.hy-submenu .hy-sub-item > a:hover { background: var(--hy-bg-soft); color: var(--hy-brand); }
.hy-submenu .hy-submenu { top: 0; inset-inline-start: 100%; }

.hy-header-tools { display: flex; align-items: center; gap: .5rem; }
.hy-cart-count { position: absolute; inset-block-start: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: var(--hy-brand); color: #fff; font-size: .7rem; font-weight: 700; }
.hy-header-tools .hy-icon-btn { position: relative; }
.hy-nav-toggle-mobile { display: none; }

.hy-search-panel { background: var(--hy-bg-soft); border-bottom: 1px solid var(--hy-line); padding: 1rem 0; }
.hy-search-form { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--hy-line); border-radius: 999px; padding: .4rem .6rem .4rem 1.1rem; }
.hy-search-form input { flex: 1; border: 0; background: transparent; font: inherit; padding: .5rem .3rem; }
.hy-search-form input:focus { outline: none; }

/* --------------------------- پاصفحه ----------------------------- */
.hy-footer { background: var(--hy-bg-deep); color: #b9bedb; padding: 3.4rem 0 1.4rem; margin-top: 4rem; position: relative; overflow: hidden; }
.hy-footer::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hy-brand) 45%, transparent), transparent 65%); inset-block-start: -220px; inset-inline-start: -120px; opacity: .5; }
.hy-footer h3, .hy-footer h4 { color: #fff; margin-bottom: .9rem; font-size: 1.02rem; }
.hy-footer-grid { display: grid; gap: 2rem; position: relative; }
.hy-footer-grid.hy-cols-4 { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
.hy-footer-grid.hy-cols-3 { grid-template-columns: 1.5fr 1fr 1.4fr; }
.hy-footer-grid.hy-cols-2 { grid-template-columns: 1.5fr 1.4fr; }
.hy-footer-about p { font-size: .92rem; line-height: 2; }
.hy-footer-nav, .hy-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.hy-footer-nav a, .hy-footer-contact a, .hy-footer-contact span { display: inline-flex; align-items: center; gap: .45rem; color: #b9bedb; font-size: .9rem; }
.hy-footer-nav a:hover, .hy-footer-contact a:hover { color: #fff; padding-inline-start: .3rem; }
.hy-footer-nav a { transition: padding .2s ease, color .2s ease; }
.hy-footer-contact .hy-icon { color: var(--hy-accent); }
.hy-socials { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.hy-socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.07); color: #dfe2f3; }
.hy-socials a:hover { background: var(--hy-brand); color: #fff; transform: translateY(-3px); }
.hy-news-form { display: flex; gap: .4rem; margin-top: 1rem; }
.hy-news-form .hy-input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.hy-news-form .hy-input::placeholder { color: #8f95bb; }
.hy-footer-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }
.hy-footer-badges .hy-chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #cfd3ec; }
.hy-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.hy-footer-note { color: #8f95bb; }
.hy-bale-float { position: fixed; inset-block-end: 1.4rem; inset-inline-start: 1.4rem; z-index: 80; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; background: linear-gradient(135deg, var(--hy-brand), var(--hy-accent)); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: var(--hy-shadow); }
.hy-bale-float:hover { color: #fff; transform: translateY(-3px); }

.hy-flash-wrap { margin-top: 1.2rem; }
.hy-crumbs-wrap { margin-top: 1.4rem; }
.hy-crumbs { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: .84rem; color: var(--hy-muted); }
.hy-crumbs a { color: var(--hy-muted); }
.hy-crumbs a:hover { color: var(--hy-brand); }

/* --------------------------- ۴. اجزا ----------------------------- */
.hy-page-head { padding: 3rem 0 1.4rem; background: linear-gradient(180deg, var(--hy-bg-soft), transparent); }
.hy-page-head h1 { margin-bottom: .4rem; }
.hy-page-head p { color: var(--hy-muted); max-width: 760px; }
.hy-page-body { padding-bottom: 3rem; }
.hy-prose { max-width: 860px; }
.hy-prose > * + * { margin-top: 1rem; }
.hy-prose img { border-radius: var(--hy-radius); }
.hy-prose h2 { margin-top: 2.2rem; padding-inline-start: .7rem; border-inline-start: 4px solid var(--hy-brand); }
.hy-prose h3 { margin-top: 1.6rem; }
.hy-prose ul li, .hy-prose ol li { margin-bottom: .4rem; }

.hy-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0; }
.hy-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; }
.hy-hero-highlight { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .9rem; border-radius: 999px; background: color-mix(in srgb, var(--hy-brand) 12%, #fff); border: 1px solid color-mix(in srgb, var(--hy-brand) 22%, transparent); color: color-mix(in srgb, var(--hy-brand) 80%, #000); font-size: .82rem; font-weight: 600; margin-bottom: 1.1rem; }
.hy-hero-title { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.35; margin-bottom: .9rem; }
.hy-hero-sub { color: var(--hy-ink-soft); font-size: 1.06rem; max-width: 620px; }
.hy-hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hy-hero-badges { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px dashed var(--hy-line); }
.hy-hero-badge { display: grid; gap: .1rem; }
.hy-hero-badge strong { font-size: 1.4rem; color: var(--hy-brand); }
.hy-hero-badge span { font-size: .82rem; color: var(--hy-muted); }
.hy-hero-media { position: relative; }
.hy-hero-media img { border-radius: calc(var(--hy-radius) + 8px); box-shadow: var(--hy-shadow-lg); }
.hy-hero-visual { position: relative; aspect-ratio: 4/3.4; border-radius: calc(var(--hy-radius) + 10px); background: linear-gradient(140deg, color-mix(in srgb, var(--hy-brand) 18%, #fff), color-mix(in srgb, var(--hy-accent) 22%, #fff)); display: grid; place-items: center; overflow: hidden; }
.hy-hero-orb { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .75; }
.hy-hero-orb-1 { width: 220px; height: 220px; background: radial-gradient(circle at 30% 30%, var(--hy-brand), transparent 70%); inset-block-start: 12%; inset-inline-start: 10%; animation: hy-float 9s ease-in-out infinite; }
.hy-hero-orb-2 { width: 180px; height: 180px; background: radial-gradient(circle at 60% 40%, var(--hy-accent), transparent 70%); inset-block-end: 14%; inset-inline-end: 12%; animation: hy-float 11s ease-in-out infinite reverse; }
.hy-hero-card { position: relative; z-index: 2; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); border-radius: 20px; padding: 1.1rem 1.3rem; box-shadow: var(--hy-shadow); display: grid; gap: .5rem; min-width: 240px; }
.hy-hero-card-row { display: flex; align-items: center; gap: .6rem; font-size: .88rem; }
.hy-hero-card-row .hy-icon { color: var(--hy-success); }
.hy-hero-dark { background: var(--hy-bg-deep); color: #e7e9f7; }
.hy-hero-dark .hy-hero-sub { color: #b6bbdc; }
.hy-hero-dark .hy-hero-badges { border-color: rgba(255,255,255,.12); }
.hy-hero-center .hy-hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hy-hero-center .hy-hero-actions { justify-content: center; }
.hy-hero-center .hy-hero-sub { margin-inline: auto; }
.hy-hero-image-bg { position: absolute; inset: 0; z-index: 0; }
.hy-hero-image-bg img { width: 100%; height: 100%; object-fit: cover; }
.hy-hero-image-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,17,36,.92), rgba(15,17,36,.6)); }
.hy-hero > .hy-container { position: relative; z-index: 1; }

@keyframes hy-float { 0%, 100% { transform: translate3d(0,0,0) } 50% { transform: translate3d(14px,-18px,0) } }

.hy-feature { display: grid; gap: .5rem; padding: 1.4rem; border-radius: var(--hy-radius); border: 1px solid var(--hy-line); background: #fff; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.hy-feature:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--hy-brand) 28%, var(--hy-line)); box-shadow: var(--hy-shadow); }
.hy-feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(140deg, color-mix(in srgb, var(--hy-brand) 16%, #fff), color-mix(in srgb, var(--hy-accent) 14%, #fff)); color: color-mix(in srgb, var(--hy-brand) 78%, #000); }
.hy-feature h3 { margin: .3rem 0 .2rem; font-size: 1.06rem; }
.hy-feature p { margin: 0; color: var(--hy-ink-soft); font-size: .93rem; }

.hy-stat { text-align: center; padding: 1.4rem 1rem; border-radius: var(--hy-radius); background: #fff; border: 1px solid var(--hy-line); }
.hy-stat strong { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--hy-brand); line-height: 1.4; }
.hy-stat span { color: var(--hy-muted); font-size: .9rem; }
.hy-block-dark .hy-stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.hy-block-dark .hy-stat strong { color: #fff; }

.hy-steps { display: grid; gap: 1.4rem; counter-reset: hy-step; }
.hy-step { position: relative; padding: 1.2rem 1.4rem 1.2rem 1.4rem; border-radius: var(--hy-radius); background: var(--hy-bg-soft); border: 1px solid var(--hy-line); }
.hy-step::before { counter-increment: hy-step; content: counter(hy-step, persian); position: absolute; inset-block-start: -16px; inset-inline-start: 1.2rem; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--hy-brand), var(--hy-accent)); color: #fff; font-weight: 700; }
.hy-step h3 { margin: .6rem 0 .3rem; font-size: 1.05rem; }
.hy-step p { margin: 0; color: var(--hy-ink-soft); font-size: .93rem; }

.hy-cta { border-radius: calc(var(--hy-radius) + 8px); padding: clamp(2rem, 4vw, 3.2rem); background: linear-gradient(135deg, color-mix(in srgb, var(--hy-brand) 92%, #000), color-mix(in srgb, var(--hy-accent) 60%, var(--hy-brand))); color: #fff; display: grid; gap: .7rem; text-align: center; box-shadow: var(--hy-shadow-lg); }
.hy-cta h2, .hy-cta h3 { color: #fff; margin: 0; }
.hy-cta p { margin: 0; color: rgba(255,255,255,.85); }
.hy-cta-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: .6rem; }

.hy-service-card { position: relative; display: grid; gap: .5rem; }
.hy-service-card .hy-chip { justify-self: start; }
.hy-service-features { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; font-size: .9rem; color: var(--hy-ink-soft); }
.hy-service-features li { display: flex; align-items: flex-start; gap: .45rem; }
.hy-service-features .hy-icon { color: var(--hy-success); margin-top: .35rem; }
.hy-price { font-weight: 800; color: var(--hy-ink); }

.hy-product-card { position: relative; display: grid; gap: .5rem; }
.hy-price-row { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.hy-price-old { color: var(--hy-muted); text-decoration: line-through; font-size: .88rem; }
.hy-stock { font-size: .82rem; }
.hy-stock.is-out { color: var(--hy-danger); }
.hy-stock.is-low { color: var(--hy-warn); }

.hy-article-card { display: grid; gap: .5rem; }
.hy-article-meta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: .8rem; color: var(--hy-muted); }
.hy-article-meta span { display: inline-flex; align-items: center; gap: .3rem; }

.hy-faq { display: grid; gap: .7rem; max-width: 880px; margin-inline: auto; }
.hy-faq-item { border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: #fff; overflow: hidden; }
.hy-faq-item summary { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; list-style: none; }
.hy-faq-item summary::-webkit-details-marker { display: none; }
.hy-faq-item summary .hy-icon:first-child { color: var(--hy-brand); }
.hy-faq-item summary .hy-icon:last-child { margin-inline-start: auto; transition: transform .25s ease; }
.hy-faq-item[open] summary .hy-icon:last-child { transform: rotate(180deg); }
.hy-faq-item[open] summary { color: var(--hy-brand); }
.hy-faq-body { padding: 0 1.2rem 1.2rem; color: var(--hy-ink-soft); }

.hy-testimonial { display: grid; gap: .7rem; }
.hy-stars { display: flex; gap: .15rem; color: #f5a524; }
.hy-testimonial-text { margin: 0; color: var(--hy-ink-soft); font-size: .95rem; line-height: 2.05; }
.hy-testimonial-author { display: flex; align-items: center; gap: .7rem; margin-top: .4rem; }
.hy-testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.hy-testimonial-author strong { display: block; font-size: .92rem; }
.hy-testimonial-author span { color: var(--hy-muted); font-size: .8rem; }

.hy-team-card { text-align: center; display: grid; gap: .35rem; justify-items: center; }
.hy-team-photo { display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; overflow: hidden; background: var(--hy-bg-soft); border: 3px solid color-mix(in srgb, var(--hy-brand) 22%, #fff); }
.hy-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.hy-team-role { color: var(--hy-brand); font-size: .86rem; font-weight: 600; }
.hy-team-social { display: flex; gap: .4rem; }
.hy-team-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--hy-bg-soft); color: var(--hy-ink-soft); }
.hy-team-social a:hover { background: var(--hy-brand); color: #fff; }

.hy-price-card { display: grid; gap: .8rem; align-content: start; }
.hy-price-card.is-featured { border-color: var(--hy-brand); box-shadow: 0 30px 60px -40px var(--hy-brand); transform: translateY(-6px); }
.hy-price-value { display: flex; align-items: baseline; gap: .5rem; }
.hy-price-value strong { font-size: 1.7rem; }
.hy-price-value span { color: var(--hy-muted); font-size: .84rem; }
.hy-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .93rem; color: var(--hy-ink-soft); }
.hy-check-list li { display: flex; gap: .5rem; align-items: flex-start; }
.hy-check-list .hy-icon { color: var(--hy-success); margin-top: .35rem; }

.hy-contact-card { text-align: center; }
.hy-contact-mini { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .5rem; }
.hy-contact-mini li { display: flex; align-items: center; gap: .5rem; font-size: .93rem; color: var(--hy-ink-soft); }
.hy-contact-mini .hy-icon { color: var(--hy-brand); }
.hy-map-frame { border-radius: var(--hy-radius); overflow: hidden; border: 1px solid var(--hy-line); margin-top: 1.4rem; }
.hy-map-frame iframe { width: 100%; min-height: 320px; border: 0; display: block; }

.hy-gallery { display: grid; gap: .8rem; }
.hy-gallery.hy-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hy-gallery.hy-cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hy-gallery.hy-cols-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hy-gallery-item { position: relative; border-radius: var(--hy-radius); overflow: hidden; aspect-ratio: 4/3; background: var(--hy-bg-soft); }
.hy-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hy-gallery-item:hover img { transform: scale(1.06); }
.hy-gallery-item a { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,17,36,.35); color: #fff; opacity: 0; transition: opacity .25s ease; }
.hy-gallery-item:hover a { opacity: 1; }

.hy-logos { display: flex; align-items: center; justify-content: center; gap: 2.2rem; flex-wrap: wrap; }
.hy-logos img { max-height: 56px; width: auto; opacity: .8; transition: opacity .25s ease, transform .25s ease; }
.hy-logos img:hover { opacity: 1; transform: translateY(-3px); }
.is-grayscale .hy-logos img { filter: grayscale(1); }

.hy-video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--hy-radius); overflow: hidden; box-shadow: var(--hy-shadow); }
.hy-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hy-video { width: 100%; border-radius: var(--hy-radius); }

.hy-table-wrap { overflow-x: auto; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); }
.hy-compare { min-width: 620px; }
.hy-compare th, .hy-compare td { padding: .85rem 1rem; border-bottom: 1px solid var(--hy-line); text-align: start; }
.hy-compare thead th { background: var(--hy-bg-soft); font-size: .9rem; }
.hy-compare tbody tr:hover { background: color-mix(in srgb, var(--hy-brand) 4%, transparent); }

.hy-banner { padding: 0; }
.hy-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: .9rem; }
.hy-banner-inner > span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.hy-banner-info { background: color-mix(in srgb, var(--hy-accent) 12%, #fff); color: color-mix(in srgb, var(--hy-accent) 55%, #000); }
.hy-banner-brand { background: linear-gradient(135deg, var(--hy-brand), var(--hy-accent)); color: #fff; }
.hy-banner-dark { background: var(--hy-bg-deep); color: #fff; }
.hy-banner-warn { background: color-mix(in srgb, var(--hy-warn) 14%, #fff); color: color-mix(in srgb, var(--hy-warn) 70%, #000); }
.hy-divider-line { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--hy-line) 20%, var(--hy-line) 80%, transparent); }
.hy-space-sm { padding: .8rem 0; }
.hy-space-md { padding: 1.8rem 0; }
.hy-space-lg { padding: 3.4rem 0; }

.hy-image-text { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.hy-image-text.is-reverse .hy-image-text-media { order: 2; }
.hy-image-text-media img { border-radius: calc(var(--hy-radius) + 4px); box-shadow: var(--hy-shadow); }
.hy-image-text-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.hy-image-text-list li { display: flex; gap: .5rem; align-items: flex-start; }
.hy-image-text-list .hy-icon { color: var(--hy-success); margin-top: .35rem; }

/* --------------------------- فرم‌ها ------------------------------ */
.hy-form { display: grid; gap: 1rem; }
.hy-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hy-form-field.is-full { grid-column: 1 / -1; }
.hy-form-field { display: grid; gap: .35rem; }
.hy-form-field label { font-weight: 600; font-size: .92rem; }
.hy-form-field .hy-req { color: var(--hy-danger); margin-inline-start: .2rem; }
.hy-form-field small { color: var(--hy-muted); font-size: .8rem; }
.hy-input, .hy-select, .hy-textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--hy-line); border-radius: 13px; background: #fff; font: inherit; font-size: .95rem; color: var(--hy-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.hy-input:focus, .hy-select:focus, .hy-textarea:focus { outline: none; border-color: var(--hy-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hy-brand) 14%, transparent); }
.hy-textarea { min-height: 130px; resize: vertical; }
.hy-form-field.has-error .hy-input, .hy-form-field.has-error .hy-select, .hy-form-field.has-error .hy-textarea { border-color: var(--hy-danger); }
.hy-field-error { color: var(--hy-danger); font-size: .8rem; }
.hy-checkbox, .hy-radio { display: flex; align-items: center; gap: .5rem; font-size: .93rem; }
.hy-range { display: flex; align-items: center; gap: .7rem; }
.hy-range output { font-weight: 700; color: var(--hy-brand); }
.hy-file { border: 1px dashed var(--hy-line); padding: .8rem; border-radius: 13px; background: var(--hy-bg-soft); }
.hy-form-steps { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hy-form-step { display: flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; background: var(--hy-bg-soft); font-size: .84rem; color: var(--hy-muted); }
.hy-form-step.is-active { background: var(--hy-brand); color: #fff; }
.hy-form-actions { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: .4rem; }
.hy-captcha { display: flex; align-items: center; gap: .7rem; }
.hy-captcha-q { font-weight: 700; background: var(--hy-bg-soft); padding: .5rem .9rem; border-radius: 11px; direction: ltr; }
.hy-hp { position: absolute !important; inset-inline-start: -9999px !important; opacity: 0; }
.hy-form-success { background: color-mix(in srgb, var(--hy-success) 10%, #fff); border: 1px solid color-mix(in srgb, var(--hy-success) 25%, transparent); color: color-mix(in srgb, var(--hy-success) 70%, #000); padding: .9rem 1.1rem; border-radius: var(--hy-radius); }

.hy-alert { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.1rem; border-radius: var(--hy-radius); border: 1px solid var(--hy-line); background: #fff; font-size: .93rem; }
.hy-alert + .hy-alert { margin-top: .6rem; }
.hy-alert-success { background: color-mix(in srgb, var(--hy-success) 10%, #fff); border-color: color-mix(in srgb, var(--hy-success) 28%, transparent); color: color-mix(in srgb, var(--hy-success) 72%, #000); }
.hy-alert-error { background: color-mix(in srgb, var(--hy-danger) 10%, #fff); border-color: color-mix(in srgb, var(--hy-danger) 28%, transparent); color: color-mix(in srgb, var(--hy-danger) 78%, #000); }
.hy-alert-warn { background: color-mix(in srgb, var(--hy-warn) 12%, #fff); border-color: color-mix(in srgb, var(--hy-warn) 28%, transparent); color: color-mix(in srgb, var(--hy-warn) 75%, #000); }
.hy-alert-info { background: color-mix(in srgb, var(--hy-accent) 10%, #fff); border-color: color-mix(in srgb, var(--hy-accent) 25%, transparent); color: color-mix(in srgb, var(--hy-accent) 60%, #000); }

/* ------------------------- ۵. صفحه‌ها ---------------------------- */
.hy-archive-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; padding: 2rem 0 1rem; }
.hy-filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; padding-bottom: 1.2rem; }
.hy-filter-bar a { padding: .35rem .9rem; border-radius: 999px; background: var(--hy-bg-soft); border: 1px solid var(--hy-line); font-size: .85rem; color: var(--hy-ink-soft); }
.hy-filter-bar a.is-active { background: var(--hy-brand); border-color: var(--hy-brand); color: #fff; }

.hy-single { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.4rem; padding: 2rem 0 4rem; align-items: start; }
.hy-single.is-full { grid-template-columns: 1fr; }
.hy-single-head { margin-bottom: 1.6rem; }
.hy-single-head h1 { margin-bottom: .6rem; }
.hy-single-cover { border-radius: calc(var(--hy-radius) + 4px); overflow: hidden; margin-bottom: 1.8rem; box-shadow: var(--hy-shadow); }
.hy-single-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--hy-line); }
.hy-share { display: flex; gap: .4rem; margin-inline-start: auto; }
.hy-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.hy-sidebar { display: grid; gap: 1.2rem; position: sticky; top: 90px; }
.hy-widget { background: #fff; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); padding: 1.2rem; }
.hy-widget h3 { font-size: 1rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .4rem; }
.hy-widget-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.hy-widget-list a { display: grid; gap: .15rem; color: var(--hy-ink); }
.hy-widget-list a:hover { color: var(--hy-brand); }
.hy-widget-list small { color: var(--hy-muted); font-size: .78rem; }
.hy-cta-widget { background: linear-gradient(135deg, var(--hy-brand), var(--hy-accent)); color: #fff; border: 0; }
.hy-cta-widget h3, .hy-cta-widget p { color: #fff; }
.hy-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.hy-specs li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--hy-line); font-size: .92rem; }
.hy-specs span { color: var(--hy-muted); }
.hy-specs strong { font-weight: 600; }

.hy-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.4rem; padding: 2rem 0 3rem; align-items: start; }
.hy-product-gallery { display: grid; gap: .7rem; }
.hy-product-main-img { border-radius: calc(var(--hy-radius) + 4px); overflow: hidden; background: var(--hy-bg-soft); aspect-ratio: 4/3; }
.hy-product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.hy-product-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.hy-product-thumbs button { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--hy-bg-soft); cursor: pointer; }
.hy-product-thumbs button.is-active { border-color: var(--hy-brand); }
.hy-product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hy-product-buy { display: grid; gap: .9rem; }
.hy-product-price { display: flex; align-items: baseline; gap: .8rem; }
.hy-product-price strong { font-size: 1.9rem; color: var(--hy-ink); }
.hy-qty { display: inline-flex; align-items: center; border: 1px solid var(--hy-line); border-radius: 12px; overflow: hidden; }
.hy-qty button { width: 40px; height: 44px; border: 0; background: var(--hy-bg-soft); font: inherit; font-size: 1.1rem; cursor: pointer; }
.hy-qty input { width: 64px; height: 44px; border: 0; text-align: center; font: inherit; }
.hy-buy-row { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.hy-product-meta { display: grid; gap: .4rem; font-size: .9rem; color: var(--hy-muted); }
.hy-tabs { border: 1px solid var(--hy-line); border-radius: var(--hy-radius); overflow: hidden; margin-top: 2.4rem; }
.hy-tabs-head { display: flex; gap: .2rem; background: var(--hy-bg-soft); padding: .4rem; flex-wrap: wrap; }
.hy-tabs-head button { border: 0; background: transparent; padding: .5rem 1rem; border-radius: 11px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--hy-muted); cursor: pointer; }
.hy-tabs-head button.is-active { background: #fff; color: var(--hy-brand); box-shadow: var(--hy-shadow-sm); }
.hy-tab-panel { display: none; padding: 1.4rem; }
.hy-tab-panel.is-active { display: block; }

.hy-cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
.hy-cart-row { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: #fff; margin-bottom: .8rem; }
.hy-cart-thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--hy-bg-soft); }
.hy-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hy-summary { background: #fff; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); padding: 1.3rem; position: sticky; top: 90px; }
.hy-summary-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .94rem; }
.hy-summary-row.is-total { border-top: 1px solid var(--hy-line); margin-top: .6rem; padding-top: .9rem; font-size: 1.08rem; font-weight: 700; }
.hy-coupon-form { display: flex; gap: .4rem; margin: .8rem 0; }
.hy-empty-cart { text-align: center; padding: 3rem 1rem; color: var(--hy-muted); display: grid; gap: .6rem; justify-items: center; }

.hy-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
.hy-pay-methods { display: grid; gap: .6rem; }
.hy-pay-method { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.hy-pay-method:hover { border-color: var(--hy-brand); }
.hy-pay-method input { accent-color: var(--hy-brand); }
.hy-pay-method img { height: 30px; width: auto; }

.hy-account { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
.hy-account-nav { display: grid; gap: .3rem; background: #fff; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); padding: .7rem; position: sticky; top: 90px; }
.hy-account-nav a { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 12px; color: var(--hy-ink-soft); font-size: .92rem; }
.hy-account-nav a.is-active, .hy-account-nav a:hover { background: color-mix(in srgb, var(--hy-brand) 10%, #fff); color: var(--hy-brand); }
.hy-account-card { background: #fff; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); padding: 1.5rem; }
.hy-order-status { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }

.hy-login { max-width: 460px; margin: 3rem auto; background: #fff; border: 1px solid var(--hy-line); border-radius: calc(var(--hy-radius) + 6px); padding: 2rem; box-shadow: var(--hy-shadow); }
.hy-login h1 { font-size: 1.4rem; }
.hy-otp-inputs { display: flex; gap: .5rem; direction: ltr; justify-content: center; }
.hy-otp-inputs input { width: 48px; height: 56px; text-align: center; font-size: 1.3rem; font-weight: 700; border: 1px solid var(--hy-line); border-radius: 13px; }
.hy-otp-inputs input:focus { outline: none; border-color: var(--hy-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hy-brand) 14%, transparent); }
.hy-login-stage { display: none; }
.hy-login-stage.is-active { display: block; }

.hy-pagination { display: flex; justify-content: center; gap: .4rem; margin: 2.4rem 0; flex-wrap: wrap; }
.hy-pagination a, .hy-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 .6rem; border-radius: 12px; border: 1px solid var(--hy-line); background: #fff; font-size: .9rem; color: var(--hy-ink-soft); }
.hy-pagination a:hover { border-color: var(--hy-brand); color: var(--hy-brand); }
.hy-pagination .is-active { background: var(--hy-brand); border-color: var(--hy-brand); color: #fff; }
.hy-pagination .is-disabled { opacity: .45; }

.hy-error-page { text-align: center; padding: 4rem 1rem; display: grid; gap: .8rem; justify-items: center; }
.hy-error-code { font-size: clamp(4rem, 14vw, 9rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--hy-brand), var(--hy-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hy-search-hit { display: grid; gap: .2rem; padding: 1rem; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: #fff; }
.hy-search-hit mark { background: color-mix(in srgb, var(--hy-accent) 30%, #fff); color: inherit; border-radius: 4px; }

/* ----------------------- ۶. افکت‌ها و واکنش‌گرایی ------------------ */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.hy-stagger > * { transition-delay: calc(var(--hy-i, 0) * 70ms); }

.hy-marquee { overflow: hidden; }
.hy-marquee-track { display: flex; gap: 2.4rem; width: max-content; animation: hy-marquee 26s linear infinite; }
@keyframes hy-marquee { from { transform: translateX(-50%) } to { transform: translateX(0) } }

.hy-shine { position: relative; overflow: hidden; }
.hy-shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5), transparent 70%); transform: translateX(-120%); transition: transform .8s ease; }
.hy-shine:hover::after { transform: translateX(120%); }

.hy-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,17,36,.92); display: grid; place-items: center; padding: 2rem; }
.hy-lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 14px; }
.hy-lightbox button { position: absolute; inset-block-start: 1.4rem; inset-inline-end: 1.4rem; }

@media (max-width: 1080px) {
	.hy-single, .hy-cart, .hy-checkout, .hy-account, .hy-product { grid-template-columns: 1fr; }
	.hy-sidebar, .hy-summary, .hy-account-nav { position: static; }
	.hy-footer-grid.hy-cols-4, .hy-footer-grid.hy-cols-3, .hy-footer-grid.hy-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.hy-nav-wrap { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(88vw, 360px); background: #fff; box-shadow: var(--hy-shadow-lg); padding: 4.6rem 1.2rem 2rem; overflow-y: auto; transform: translateX(-105%); transition: transform .3s cubic-bezier(.2,.7,.3,1); z-index: 100; }
	.hy-nav-wrap.is-open { transform: none; }
	.hy-nav { flex-direction: column; align-items: stretch; gap: .2rem; }
	.hy-nav-item > a { padding: .8rem 1rem; border-radius: 12px; font-size: 1rem; }
	.hy-nav-toggle { display: inline-grid; place-items: center; position: absolute; inset-inline-end: .4rem; top: .5rem; width: 36px; height: 36px; border-radius: 10px; }
	.hy-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 1rem; min-width: auto; display: none; }
	.hy-nav-item.is-open > .hy-submenu { display: block; }
	.hy-nav-toggle-mobile { display: grid; }
	.hy-hero-grid, .hy-image-text, .hy-split { grid-template-columns: 1fr; }
	.hy-header-cta { display: none; }
	.hy-cart-row { grid-template-columns: 64px 1fr; }
	.hy-cart-row > *:nth-child(3), .hy-cart-row > *:nth-child(4) { grid-column: 2; }
}

@media (max-width: 560px) {
	.hy-form-grid { grid-template-columns: 1fr; }
	.hy-footer-grid.hy-cols-4, .hy-footer-grid.hy-cols-3, .hy-footer-grid.hy-cols-2 { grid-template-columns: 1fr; }
	.hy-block { padding: 2.4rem 0; }
	.hy-topbar-links a:not(:first-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.hy-header, .hy-topbar, .hy-footer, .hy-bale-float, .hy-search-panel, .hy-sidebar, .hy-summary { display: none !important; }
	.hy-single, .hy-cart, .hy-checkout { grid-template-columns: 1fr; }
}

/* ==================================================================
   ۷. لایه‌ی سازگاری و اجزای صفحه‌ای (قالب‌ها، حساب کاربری، فروشگاه)
   ================================================================== */

/* اجزای کارت — نام‌گذاری‌های قالب */
.hy-card > .hy-card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hy-card-list { list-style: none; margin: .7rem 0 .9rem; padding: 0; display: grid; gap: .4rem; font-size: .92rem; color: var(--hy-ink-soft); }
.hy-card-list li { display: flex; align-items: flex-start; gap: .45rem; }
.hy-card-list .hy-icon { color: var(--hy-success); margin-top: .35rem; }
.hy-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .8rem; }
.hy-card-foot .hy-btn { white-space: nowrap; }
.hy-card { display: flex; flex-direction: column; }
.hy-chip-soft { background: color-mix(in srgb, var(--hy-accent) 12%, #fff); color: color-mix(in srgb, var(--hy-accent) 62%, #000); border-color: color-mix(in srgb, var(--hy-accent) 22%, transparent); }
.hy-price { display: inline-flex; align-items: baseline; gap: .4rem; font-weight: 800; color: var(--hy-ink); }
.hy-price del, .hy-price s { color: var(--hy-muted); font-weight: 500; font-size: .85em; }
.hy-duration { display: inline-flex; align-items: center; gap: .3rem; color: var(--hy-muted); font-size: .82rem; }
.hy-btn-block { display: flex; width: 100%; }

/* کارت مقاله */
.hy-post-card { overflow: hidden; padding: 0; }
.hy-post-media { position: relative; aspect-ratio: 16/10; background: var(--hy-bg-soft); overflow: hidden; }
.hy-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.hy-post-card:hover .hy-post-media img { transform: scale(1.05); }
.hy-post-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--hy-muted); background: linear-gradient(140deg, color-mix(in srgb, var(--hy-brand) 8%, #fff), color-mix(in srgb, var(--hy-accent) 10%, #fff)); }
.hy-post-body { padding: 1.1rem 1.3rem 1.3rem; display: grid; gap: .45rem; }
.hy-post-body .hy-card-title { margin: 0; }
.hy-post-meta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: .78rem; color: var(--hy-muted); }
.hy-post-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.hy-post-card .hy-chip { justify-self: start; }

/* کارت محصول */
.hy-product-card { overflow: hidden; padding: 0; }
.hy-product-media { position: relative; aspect-ratio: 4/3; background: var(--hy-bg-soft); overflow: hidden; }
.hy-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hy-product-card:hover .hy-product-media img { transform: scale(1.05); }
.hy-product-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--hy-muted); background: linear-gradient(140deg, color-mix(in srgb, var(--hy-brand) 8%, #fff), color-mix(in srgb, var(--hy-accent) 10%, #fff)); }
.hy-product-body { padding: 1rem 1.2rem 1.2rem; display: grid; gap: .45rem; }
.hy-product-body .hy-card-title { margin: 0; }
.hy-product-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 0 1.2rem 1.2rem; }
.hy-add-cart { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border: 0; border-radius: 11px; background: color-mix(in srgb, var(--hy-brand) 12%, #fff); color: color-mix(in srgb, var(--hy-brand) 80%, #000); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hy-add-cart:hover { background: var(--hy-brand); color: #fff; transform: translateY(-2px); }
.hy-add-cart[disabled] { opacity: .5; pointer-events: none; }

/* سربرگ بلوک hero */
.hy-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; }
.hy-hero-copy { display: grid; gap: .6rem; justify-items: start; }
.hy-hero-text { color: var(--hy-ink-soft); font-size: 1.05rem; max-width: 620px; }
.hy-hero-inner .hy-hero-title { margin-bottom: .4rem; }
.hy-hero-media img { border-radius: calc(var(--hy-radius) + 8px); box-shadow: var(--hy-shadow-lg); }
.hy-hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .8rem; }
.hy-hero-badges { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--hy-line); align-items: center; }
.hy-hero-badges span { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: var(--hy-ink-soft); }
.hy-hero-badges .hy-icon { color: var(--hy-success); }
.hy-block-more { text-align: center; margin-top: 2rem; }

/* بلوک‌های آماری و گام‌ها */
.hy-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; }
.hy-stat-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin: 0 auto .6rem; background: linear-gradient(140deg, color-mix(in srgb, var(--hy-brand) 16%, #fff), color-mix(in srgb, var(--hy-accent) 14%, #fff)); color: color-mix(in srgb, var(--hy-brand) 78%, #000); }
.hy-step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(135deg, var(--hy-brand), var(--hy-accent)); color: #fff; font-weight: 800; }

/* بلوک‌های دوقسمتی */
.hy-split-copy { display: grid; gap: .8rem; align-content: center; }
.hy-split-media img { border-radius: calc(var(--hy-radius) + 4px); box-shadow: var(--hy-shadow); }
.hy-split-form { background: #fff; border: 1px solid var(--hy-line); border-radius: calc(var(--hy-radius) + 4px); padding: 1.6rem; box-shadow: var(--hy-shadow); }

/* نمونه‌کارها و شبکه‌ی فروشگاه */
.hy-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.hy-filter, .hy-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hy-filter a, .hy-filters a { padding: .35rem .9rem; border-radius: 999px; background: var(--hy-bg-soft); border: 1px solid var(--hy-line); font-size: .85rem; color: var(--hy-ink-soft); }
.hy-filter a.is-active, .hy-filters a.is-active { background: var(--hy-brand); border-color: var(--hy-brand); color: #fff; }
.hy-table { width: 100%; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); overflow: hidden; }
.hy-table th, .hy-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--hy-line); text-align: start; font-size: .92rem; }
.hy-table thead th { background: var(--hy-bg-soft); }
.hy-cta-inner { display: grid; gap: .6rem; text-align: center; justify-items: center; }
.hy-cta-copy { margin: 0; color: rgba(255,255,255,.88); }

/* سبد و پرداخت */
.hy-cart-product { display: flex; align-items: center; gap: .7rem; }
.hy-coupon { display: flex; gap: .4rem; margin: .6rem 0; }
.hy-summary-total { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0 0; margin-top: .6rem; border-top: 1px solid var(--hy-line); font-size: 1.05rem; font-weight: 800; }
.hy-gateways { display: grid; gap: .6rem; }
.hy-gateway { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.hy-gateway:hover { border-color: var(--hy-brand); box-shadow: var(--hy-shadow-sm); }
.hy-gateway.is-active { border-color: var(--hy-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hy-brand) 14%, transparent); }
.hy-gateway-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--hy-bg-soft); color: var(--hy-brand); }
.hy-gateway-text { display: grid; line-height: 1.5; }
.hy-gateway-text strong { font-size: .95rem; }
.hy-gateway-text small { color: var(--hy-muted); font-size: .8rem; }
.hy-choice { display: flex; align-items: flex-start; gap: .6rem; padding: .8rem; border: 1px solid var(--hy-line); border-radius: 14px; background: #fff; cursor: pointer; }
.hy-choice input { margin-top: .5rem; accent-color: var(--hy-brand); }
.hy-hint, .hy-form-note { color: var(--hy-muted); font-size: .82rem; }
.hy-field { display: grid; gap: .35rem; }

/* حساب کاربری */
.hy-auth-card { background: #fff; border: 1px solid var(--hy-line); border-radius: calc(var(--hy-radius) + 6px); padding: 1.6rem; box-shadow: var(--hy-shadow); }
.hy-center-page { max-width: 520px; margin: 3rem auto; }
.hy-dash-nav { display: grid; gap: .3rem; background: #fff; border: 1px solid var(--hy-line); border-radius: var(--hy-radius); padding: .6rem; position: sticky; top: 90px; }
.hy-dash-nav a { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 12px; color: var(--hy-ink-soft); font-size: .92rem; }
.hy-dash-nav a.is-active, .hy-dash-nav a:hover { background: color-mix(in srgb, var(--hy-brand) 10%, #fff); color: var(--hy-brand); }
.hy-dash-grid { display: grid; gap: 1rem; }
.hy-widget-title { display: flex; align-items: center; gap: .45rem; font-size: 1rem; margin-bottom: .9rem; }
.hy-loader { display: grid; place-items: center; padding: 2.4rem; color: var(--hy-muted); gap: .6rem; }
.hy-loader::before { content: ""; width: 34px; height: 34px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--hy-brand) 25%, transparent); border-top-color: var(--hy-brand); animation: hy-spin .8s linear infinite; }
@keyframes hy-spin { to { transform: rotate(360deg) } }

/* صفحه‌های خطا و نگه‌داری */
.hy-error { text-align: center; padding: 3.4rem 1rem; display: grid; gap: .8rem; justify-items: center; }
.hy-maintenance { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(150deg, #10132a, color-mix(in srgb, var(--hy-brand) 45%, #10132a)); color: #e9ebf7; padding: 2rem; }
.hy-maintenance-card { width: min(94vw, 620px); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 2.4rem; text-align: center; backdrop-filter: blur(12px); }
.hy-maintenance-card h1 { color: #fff; }
.hy-nav-secondary { margin-inline-start: .6rem; padding-inline-start: .6rem; border-inline-start: 1px solid var(--hy-line); }
.hy-archive { padding-bottom: 3rem; }

@media (max-width: 860px) {
	.hy-hero-inner { grid-template-columns: 1fr; }
	.hy-dash-nav { position: static; }
	.hy-nav-secondary { margin: 0; padding: 0; border: 0; }
}

.hy-footer-col { min-width: 0; }
.hy-buy-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: 1rem; }
.hy-block[class*="hy-block-"] { scroll-margin-top: 96px; }
.hy-block-catalog, .hy-block-products, .hy-block-services, .hy-block-articles, .hy-block-team, .hy-block-pricing, .hy-block-gallery, .hy-block-testimonials, .hy-block-logos, .hy-block-faq, .hy-block-table, .hy-block-contact, .hy-block-stats, .hy-block-steps, .hy-block-features { display: block; }

/* ----------------------- فرم‌های حرفه‌ای ----------------------- */
.hy-form{position:relative;padding:clamp(1rem,2.5vw,1.6rem);border:1px solid var(--hy-line);border-radius:calc(var(--hy-radius) + 4px);background:#fff;box-shadow:var(--hy-shadow);overflow:hidden}
.hy-form::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--hy-brand),var(--hy-accent));opacity:.95}
.hy-form-cols-1{display:grid;grid-template-columns:1fr}.hy-form-cols-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.hy-form-cols-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.hy-form-field{min-width:0;padding:.15rem}.hy-form-field>label{display:flex;align-items:center;gap:.25rem;color:var(--hy-ink);margin-bottom:.05rem}.hy-form-field>label em{font-style:normal;color:var(--hy-danger)}
.hy-form-card{background:#fff}.hy-form-plain{padding:0;border:0;box-shadow:none;background:transparent}.hy-form-glass{background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,255,255,.58));backdrop-filter:blur(16px);border-color:rgba(255,255,255,.65);box-shadow:0 25px 70px -40px rgba(20,22,43,.6)}
.hy-form .hy-input,.hy-form .hy-select,.hy-form .hy-textarea{min-height:48px;border-radius:14px;background:linear-gradient(180deg,#fff,#fafbff);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 2px 8px -7px rgba(20,22,43,.45)}
.hy-form .hy-textarea{min-height:135px}.hy-form .hy-input:hover,.hy-form .hy-select:hover,.hy-form .hy-textarea:hover{border-color:color-mix(in srgb,var(--hy-brand) 28%,var(--hy-line))}.hy-form .hy-input:focus,.hy-form .hy-select:focus,.hy-form .hy-textarea:focus{transform:translateY(-1px);box-shadow:0 0 0 4px color-mix(in srgb,var(--hy-brand) 12%,transparent),0 12px 28px -22px var(--hy-brand)}
.hy-form .hy-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.55rem}.hy-form .hy-choice{position:relative;align-items:center;min-height:50px;padding:.7rem .8rem;border-radius:14px;background:#fff;border-color:var(--hy-line);transition:border-color .18s,box-shadow .18s,transform .18s}.hy-form .hy-choice:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--hy-brand) 35%,var(--hy-line));box-shadow:var(--hy-shadow-sm)}.hy-form .hy-choice input{accent-color:var(--hy-brand)}.hy-form .hy-choice:has(input:checked){border-color:var(--hy-brand);background:color-mix(in srgb,var(--hy-brand) 6%,#fff);box-shadow:0 0 0 3px color-mix(in srgb,var(--hy-brand) 10%,transparent)}
.hy-form select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--hy-muted) 50%),linear-gradient(135deg,var(--hy-muted) 50%,transparent 50%);background-position:calc(1rem) 52%,calc(.72rem) 52%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-inline-end:2.4rem}.hy-form .hy-range{padding:.65rem .8rem;border:1px solid var(--hy-line);border-radius:14px;background:var(--hy-bg-soft)}.hy-form input[type=range]{accent-color:var(--hy-brand);width:100%}.hy-form .hy-range output{min-width:46px;text-align:center;padding:.25rem .45rem;border-radius:9px;background:#fff;border:1px solid var(--hy-line)}
.hy-form .hy-file-drop{display:grid;justify-items:center;gap:.45rem;padding:1.4rem;border:1.5px dashed color-mix(in srgb,var(--hy-brand) 32%,var(--hy-line));border-radius:16px;background:linear-gradient(180deg,color-mix(in srgb,var(--hy-brand) 5%,#fff),#fff);color:var(--hy-brand);cursor:pointer}.hy-form .hy-file-drop span{color:var(--hy-muted);font-size:.82rem}.hy-form .hy-file-drop input{display:none}.hy-form .hy-form-section{grid-column:1/-1;padding:1rem 1.1rem;margin-top:.25rem;border-radius:16px;background:linear-gradient(90deg,color-mix(in srgb,var(--hy-brand) 8%,#fff),transparent);border-inline-start:4px solid var(--hy-brand)}.hy-form-section h3{margin:0;font-size:1.05rem}.hy-form-section p{margin:.25rem 0 0;color:var(--hy-muted);font-size:.82rem}.hy-form .hy-form-note{grid-column:1/-1;padding:.8rem 1rem;border-radius:13px;background:var(--hy-bg-soft);border:1px dashed var(--hy-line)}.hy-form .hy-form-actions{grid-column:1/-1;padding-top:.35rem}.hy-form .hy-btn-lg{min-height:50px;padding-inline:1.7rem}.hy-form .hy-captcha{padding:.55rem;border:1px solid var(--hy-line);border-radius:14px;background:var(--hy-bg-soft)}
@media(max-width:820px){.hy-form-cols-2,.hy-form-cols-3{grid-template-columns:1fr}.hy-form-field.is-half,.hy-form-field.is-third{grid-column:auto}.hy-form{padding:1rem}.hy-form .hy-choices{grid-template-columns:1fr}}
.hy-form .hy-width-full{grid-column:1/-1}.hy-form .hy-width-half{grid-column:span 1}.hy-form .hy-width-third{grid-column:span 1}
.hy-form-cols-3 .hy-width-half{grid-column:span 2}.hy-form-cols-3 .hy-width-third{grid-column:span 1}
