/**
 * VNP Theme — استایل اصلی (راست‌به‌چپ، موبایل‌محور، ویژگی‌های منطقی CSS).
 * رنگ‌ها و اندازه‌ها از tokens.css می‌آیند.
 *
 * فهرست: ۱. پایه  ۲. دکمه‌ها  ۳. اطلاعیه و هدر  ۴. جستجو  ۵. ناوبری و مگامنو
 *        ۶. منوی کشویی  ۷. صفحه اصلی  ۸. صفحه‌ها و نوشته‌ها  ۹. فوتر  ۱۰. منوی پایین  ۱۱. واکنش‌گرا
 */

/* ۱. پایه ------------------------------------------------------------ */
.vnp-container {
	width: 100%;
	max-width: var(--vnp-container);
	margin-inline: auto;
	padding-inline: var(--vnp-gutter);
}
img, svg, video { max-width: 100%; height: auto; }
.vnp-icon { flex: none; }
h1, h2, h3, h4 { color: var(--vnp-ink); line-height: var(--vnp-lh-heading); font-weight: 800; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.vnp-site-main { outline: none; min-height: 50vh; }

.vnp-skip-link:focus {
	position: fixed !important; top: 12px; inset-inline-start: 12px; z-index: 1000;
	width: auto; height: auto; clip: auto; clip-path: none; white-space: normal;
	padding: 10px 16px; background: var(--vnp-surface); color: var(--vnp-primary); border-radius: var(--vnp-r-control);
	box-shadow: var(--vnp-shadow-float); font-weight: 700;
}

.vnp-card-surface {
	background: var(--vnp-surface);
	border: 1px solid var(--vnp-line);
	border-radius: var(--vnp-r-section);
	padding: clamp(18px, 3vw, 28px);
}

/* ۲. دکمه‌ها --------------------------------------------------------- */
.vnp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: var(--vnp-tap); padding: 0 18px;
	border: 1px solid transparent; border-radius: var(--vnp-r-control);
	font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.vnp-btn--primary { background: var(--vnp-primary); color: var(--vnp-on-primary); font-weight: 800; }
.vnp-btn--primary:hover { background: var(--vnp-primary-strong); color: var(--vnp-on-primary); }
.vnp-btn--outline { background: var(--vnp-surface); border-color: var(--vnp-line); color: var(--vnp-text); }
.vnp-btn--outline:hover { border-color: var(--vnp-primary); color: var(--vnp-primary); }
.vnp-btn--soft { background: var(--vnp-primary-soft); color: var(--vnp-primary-strong); }
.vnp-btn--soft:hover { color: var(--vnp-primary-strong); background: var(--vnp-surface-2); }

.vnp-icon-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: var(--vnp-tap); height: var(--vnp-tap); flex: none;
	border: 1px solid var(--vnp-line); border-radius: var(--vnp-r-control);
	background: var(--vnp-surface); color: var(--vnp-text); cursor: pointer; padding: 0;
}
.vnp-icon-btn:hover { border-color: var(--vnp-primary); color: var(--vnp-primary); }
.vnp-icon-btn--primary { background: var(--vnp-primary); border-color: var(--vnp-primary); color: var(--vnp-on-primary); }
.vnp-icon-btn--primary:hover { background: var(--vnp-primary-strong); border-color: var(--vnp-primary-strong); color: var(--vnp-on-primary); }

.vnp-cart-count {
	position: absolute; top: -7px; inset-inline-end: -7px;
	min-width: 22px; height: 22px; padding: 0 5px; border-radius: var(--vnp-r-pill);
	background: var(--vnp-sale); color: var(--vnp-on-sale);
	border: 2px solid var(--vnp-surface);
	font-size: 12px; font-weight: 800; line-height: 18px; text-align: center;
}
.vnp-cart-count[hidden] { display: none; }

/* ۳. اطلاعیه و هدر --------------------------------------------------- */
.vnp-announcement { background: var(--vnp-navy); color: var(--vnp-on-navy); font-size: var(--vnp-fs-sm); text-align: center; }
.vnp-announcement .vnp-container { padding-block: 7px; }
.vnp-announcement p { margin: 0; }
.vnp-announcement a { color: var(--vnp-on-navy); text-decoration: underline; text-underline-offset: 3px; }

.vnp-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--vnp-surface);
	border-bottom: 1px solid var(--vnp-line);
	transition: box-shadow .2s;
}
.admin-bar .vnp-header { top: 32px; }
.vnp-header.is-stuck { box-shadow: var(--vnp-shadow-float); }
.vnp-header-main { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.vnp-header-menu-btn { display: none; }
.vnp-header-search { flex: 1 1 420px; min-width: 0; }
.vnp-header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.vnp-header-account { white-space: nowrap; }

/* دکمه حالت تیره: یکی از دو آیکون */
.vnp-theme-toggle .vnp-theme-toggle-moon { display: inline-flex; }
.vnp-theme-toggle .vnp-theme-toggle-sun { display: none; }
[data-theme="dark"] .vnp-theme-toggle .vnp-theme-toggle-sun { display: inline-flex; }
[data-theme="dark"] .vnp-theme-toggle .vnp-theme-toggle-moon { display: none; }

/* لوگو */
.vnp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--vnp-ink); text-decoration: none; flex: none; }
.vnp-logo:hover { color: var(--vnp-ink); }
.vnp-logo-mark {
	width: 44px; height: 44px; border-radius: var(--vnp-r-control);
	background: var(--vnp-primary); color: var(--vnp-on-primary);
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 22px;
}
.vnp-logo-text { display: flex; flex-direction: column; line-height: 1.35; }
.vnp-logo-name { margin: 0; font-size: 20px; font-weight: 800; color: inherit; line-height: 1.35; }
.vnp-logo-tagline { font-size: var(--vnp-fs-xs); color: var(--vnp-muted); }
.vnp-logo-img { display: block; max-height: 48px; width: auto; }
.vnp-logo-img--dark { display: none; }
[data-theme="dark"] .vnp-logo-img--light { display: none; }
[data-theme="dark"] .vnp-logo-img--dark { display: block; }

/* ۴. جستجو ----------------------------------------------------------- */
.vnp-search {
	position: relative;
	display: flex; align-items: center; gap: 10px;
	height: 48px; padding-inline: 14px 6px;
	background: var(--vnp-surface-2);
	border: 1px solid var(--vnp-line);
	border-radius: var(--vnp-r-control);
	color: var(--vnp-muted);
}
.vnp-search:focus-within { border-color: var(--vnp-primary); box-shadow: 0 0 0 1px var(--vnp-primary); }
.vnp-search-input {
	flex: 1; min-width: 0; height: 46px;
	border: 0; background: transparent; color: var(--vnp-text); outline: none;
	font-size: 15px;
}
.vnp-search-input::placeholder { color: var(--vnp-muted); opacity: 1; }
.vnp-search-input::-webkit-search-cancel-button { cursor: pointer; }
.vnp-search-submit {
	height: 36px; padding: 0 14px; border: 0; border-radius: 9px;
	background: var(--vnp-primary); color: var(--vnp-on-primary); font-weight: 700; cursor: pointer;
}
.vnp-search-submit:hover { background: var(--vnp-primary-strong); }

.vnp-search-results {
	position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 60;
	max-height: min(70vh, 520px); overflow-y: auto;
	background: var(--vnp-surface); color: var(--vnp-text);
	border: 1px solid var(--vnp-line); border-radius: var(--vnp-r-card);
	box-shadow: var(--vnp-shadow-float);
	padding: 6px;
}
.vnp-search-results[hidden] { display: none; }
.vnp-sr-status { padding: 14px; color: var(--vnp-muted); font-size: var(--vnp-fs-sm); margin: 0; }
.vnp-sr-group { padding: 8px 10px 4px; font-size: var(--vnp-fs-xs); color: var(--vnp-muted); font-weight: 700; }
.vnp-sr-item {
	display: flex; align-items: center; gap: 12px;
	padding: 8px 10px; border-radius: 10px; color: var(--vnp-text); text-decoration: none;
}
.vnp-sr-item:hover, .vnp-sr-item[aria-selected="true"] { background: var(--vnp-surface-2); color: var(--vnp-text); }
.vnp-sr-thumb {
	width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--vnp-tile);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vnp-sr-thumb img { width: 100%; height: 100%; object-fit: contain; }
.vnp-sr-body { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.6; }
.vnp-sr-title { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vnp-sr-meta { font-size: 12px; color: var(--vnp-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.vnp-sr-price { font-weight: 800; color: var(--vnp-ink); font-size: 14px; white-space: nowrap; }
.vnp-sr-out { color: var(--vnp-muted); font-size: 12px; }
.vnp-sr-term { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; color: var(--vnp-text); }
.vnp-sr-term:hover, .vnp-sr-term[aria-selected="true"] { background: var(--vnp-surface-2); }
.vnp-sr-more {
	display: block; margin-top: 4px; padding: 10px; text-align: center; border-top: 1px solid var(--vnp-line);
	font-weight: 700; color: var(--vnp-primary);
}
.vnp-sr-more[aria-selected="true"] { background: var(--vnp-primary-soft); border-radius: 10px; }

/* ۵. ناوبری و مگامنو ------------------------------------------------- */
.vnp-nav { border-top: 1px solid var(--vnp-line); }
.vnp-nav-inner { display: flex; align-items: center; gap: 4px; min-height: 52px; }
.vnp-nav-sep { width: 1px; height: 22px; background: var(--vnp-line); margin-inline: 10px; flex: none; }
.vnp-nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.vnp-nav-links::-webkit-scrollbar { display: none; }
.vnp-nav-links a {
	display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 10px;
	color: var(--vnp-text); white-space: nowrap; text-decoration: none;
}
.vnp-nav-links a:hover, .vnp-nav-links .current-menu-item > a { color: var(--vnp-primary); background: var(--vnp-surface-2); }
.vnp-nav-links a.is-model { font-family: var(--vnp-font-latin); font-weight: 600; letter-spacing: .04em; direction: ltr; }

.vnp-mega { position: static; flex: none; }
.vnp-mega-toggle {
	display: inline-flex; align-items: center; gap: 8px;
	height: 40px; padding: 0 14px; border: 0; border-radius: 10px;
	background: var(--vnp-primary-soft); color: var(--vnp-primary-strong);
	font-weight: 700; cursor: pointer;
}
.vnp-mega-toggle[aria-expanded="true"] { background: var(--vnp-primary); color: var(--vnp-on-primary); }
.vnp-mega-toggle[aria-expanded="true"] .vnp-icon--chevron-down { transform: rotate(180deg); }
.vnp-mega-panel {
	position: absolute; inset-inline: 0; top: 100%; z-index: 55;
	display: grid; grid-template-columns: 280px minmax(0, 1fr);
	max-width: var(--vnp-container); margin-inline: auto;
	max-height: min(70vh, 560px);
	background: var(--vnp-surface);
	border: 1px solid var(--vnp-line); border-top: 0;
	border-radius: 0 0 var(--vnp-r-card) var(--vnp-r-card);
	box-shadow: var(--vnp-shadow-float);
	overflow: hidden;
}
.vnp-mega-panel[hidden] { display: none; }
.vnp-mega-roots { margin: 0; padding: 8px; list-style: none; overflow-y: auto; background: var(--vnp-surface-2); border-inline-end: 1px solid var(--vnp-line); }
.vnp-mega-root {
	display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px;
	color: var(--vnp-text); text-decoration: none; font-weight: 600;
}
.vnp-mega-root img { width: 28px; height: 28px; }
.vnp-mega-root > span { flex: 1; }
.vnp-mega-root:hover, .vnp-mega-root.is-active { background: var(--vnp-surface); color: var(--vnp-primary); }
.vnp-mega-subs { padding: 20px 24px; overflow-y: auto; }
.vnp-mega-sub[hidden] { display: none; }
.vnp-mega-sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.vnp-mega-sub-title { font-size: 18px; font-weight: 800; color: var(--vnp-ink); }
.vnp-mega-children { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.vnp-mega-children > li > a { display: block; padding: 6px 0; font-weight: 700; color: var(--vnp-text); }
.vnp-mega-children > li > a:hover { color: var(--vnp-primary); }
.vnp-mega-children ul { margin: 0 0 8px; padding: 0; list-style: none; }
.vnp-mega-children ul a { display: block; padding: 3px 0; font-size: var(--vnp-fs-sm); color: var(--vnp-muted); }
.vnp-mega-children ul a:hover { color: var(--vnp-primary); }
.vnp-mega-empty { color: var(--vnp-muted); }
.vnp-nav-inner { position: relative; }
.vnp-nav { position: relative; }

/* ۶. منوی کشویی ------------------------------------------------------ */
.vnp-drawer { position: fixed; inset: 0; z-index: 100; }
.vnp-drawer[hidden] { display: none; }
.vnp-drawer-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 32, .55); }
.vnp-drawer-panel {
	position: absolute; top: 0; bottom: 0; inset-inline-start: 0;
	width: min(88vw, 360px); overflow-y: auto; overscroll-behavior: contain;
	background: var(--vnp-surface); padding: 14px 16px 32px;
	display: flex; flex-direction: column; gap: 6px;
	outline: none;
	animation: vnp-drawer-in .22s ease-out;
}
@keyframes vnp-drawer-in { from { transform: translateX(100%); } to { transform: none; } }
[dir="ltr"] .vnp-drawer-panel { animation-name: vnp-drawer-in-ltr; }
@keyframes vnp-drawer-in-ltr { from { transform: translateX(-100%); } to { transform: none; } }
.vnp-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--vnp-line); margin-bottom: 6px; }
.vnp-drawer-head .vnp-logo-mark { width: 38px; height: 38px; font-size: 18px; }
.vnp-drawer-head .vnp-logo-name { font-size: 18px; }
.vnp-drawer-title { margin: 12px 0 4px; font-size: var(--vnp-fs-xs); font-weight: 700; color: var(--vnp-muted); }
.vnp-drawer-cats, .vnp-drawer-links { margin: 0; padding: 0; list-style: none; }
.vnp-drawer-cats summary, .vnp-drawer-cat-link {
	display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px; border-radius: 10px;
	color: var(--vnp-text); font-weight: 600; cursor: pointer; list-style: none; text-decoration: none;
}
.vnp-drawer-cats summary::-webkit-details-marker { display: none; }
.vnp-drawer-cats summary > span { flex: 1; }
.vnp-drawer-cats summary:hover, .vnp-drawer-cat-link:hover { background: var(--vnp-surface-2); }
.vnp-drawer-cats details[open] summary { color: var(--vnp-primary); }
.vnp-drawer-cats details[open] .vnp-icon--chevron-down { transform: rotate(180deg); }
.vnp-drawer-cats details ul { margin: 0 0 6px; padding: 0 46px 0 0; list-style: none; border-inline-start: 2px solid var(--vnp-line); margin-inline-start: 22px; padding-inline-start: 12px; }
.vnp-drawer-cats details ul a { display: block; padding: 8px 0; color: var(--vnp-text); font-size: 14px; }
.vnp-drawer-links a { display: flex; align-items: center; min-height: 44px; padding: 0 8px; border-radius: 10px; color: var(--vnp-text); }
.vnp-drawer-links a:hover { background: var(--vnp-surface-2); }
.vnp-drawer-links a.is-model { font-family: var(--vnp-font-latin); font-weight: 600; letter-spacing: .04em; }
.vnp-drawer-call { margin-top: 16px; justify-content: flex-start; }
body.vnp-lock { overflow: hidden; }

/* ۷. صفحه اصلی ------------------------------------------------------- */
.vnp-home { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px); padding-block: 24px 48px; }
.vnp-section { display: flex; flex-direction: column; gap: 16px; }
.vnp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vnp-section-title { margin: 0; font-size: var(--vnp-fs-xl); }
.vnp-section-link { font-weight: 600; white-space: nowrap; }

/* استوری‌ها */
.vnp-stories-list { display: flex; gap: 18px; margin: 0; padding: 4px 2px 8px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.vnp-stories-list::-webkit-scrollbar { display: none; }
.vnp-story { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; color: var(--vnp-text); text-decoration: none; }
.vnp-story-ring { width: 80px; height: 80px; padding: 3px; border-radius: var(--vnp-r-pill); background: var(--vnp-primary); display: flex; }
.vnp-story.is-seen .vnp-story-ring { background: var(--vnp-line); }
.vnp-story-img { flex: 1; border-radius: var(--vnp-r-pill); border: 3px solid var(--vnp-surface); background: var(--vnp-tile); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vnp-story-img img { width: 100%; height: 100%; object-fit: cover; }
.vnp-story-label { font-size: 12px; text-align: center; line-height: 1.5; }

/* انتخاب خودرو */
.vnp-finder { background: var(--vnp-navy); color: var(--vnp-on-navy); border-radius: var(--vnp-r-section); }
.vnp-finder-form { display: flex; flex-wrap: wrap; gap: 32px 40px; padding: clamp(20px, 4vw, 40px); }
.vnp-finder-intro { flex: 1 1 320px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.vnp-finder-title { margin: 0; color: #FFFFFF; font-size: var(--vnp-fs-3xl); }
.vnp-finder-text { margin: 0; color: var(--vnp-on-navy-muted); max-width: 420px; }
.vnp-finder-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.vnp-finder-field { flex: 1 1 160px; display: flex; flex-direction: column; gap: 6px; font-size: var(--vnp-fs-sm); color: var(--vnp-on-navy-muted); }
.vnp-finder-field select {
	height: 48px; border-radius: var(--vnp-r-control); border: 1px solid var(--vnp-navy-2);
	background: var(--vnp-navy-2); color: #FFFFFF; padding: 0 12px;
}
.vnp-finder-submit {
	height: 52px; border: 0; border-radius: var(--vnp-r-control); cursor: pointer;
	background: #FFFFFF; color: #0E2A4A; font-weight: 800; font-size: 16px;
}
.vnp-finder-submit:hover { background: var(--vnp-on-navy); }
.vnp-finder-models { flex: 2 1 520px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.vnp-model-tile {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
	min-height: 128px; padding: 16px; border-radius: var(--vnp-r-card);
	background: var(--vnp-navy-2); border: 1px solid var(--vnp-navy-2); color: #FFFFFF; cursor: pointer;
	transition: background-color .15s, border-color .15s;
}
.vnp-model-tile:hover { border-color: var(--vnp-on-navy-muted); }
.vnp-model-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vnp-model-name { font-size: clamp(26px, 2.6vw, 34px); line-height: 1; }
.vnp-model-years { font-size: 12px; color: var(--vnp-on-navy-muted); }
.vnp-model-tile:has(input:checked) { background: #FFFFFF; border: 2px solid #FFFFFF; color: #0E2A4A; }
.vnp-model-tile:has(input:checked) .vnp-model-years { color: #3E536D; }
.vnp-model-tile:has(input:focus-visible) { outline: 3px solid var(--vnp-primary); outline-offset: 2px; }

/* دسته‌بندی‌ها */
.vnp-cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.vnp-cat-card {
	display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%;
	padding: 18px 12px; border-radius: var(--vnp-r-card);
	background: var(--vnp-surface); border: 1px solid var(--vnp-line);
	color: var(--vnp-text); text-align: center; text-decoration: none;
}
.vnp-cat-card:hover { border-color: var(--vnp-primary); color: var(--vnp-text); }
.vnp-cat-img { width: 72px; height: 72px; border-radius: var(--vnp-r-pill); background: var(--vnp-tile); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vnp-cat-img img { width: 48px; height: 48px; object-fit: contain; }
.vnp-cat-name { font-weight: 600; font-size: 14px; line-height: 1.6; }
.vnp-cat-count { font-size: 12px; color: var(--vnp-muted); }

/* مزیت‌ها */
.vnp-trust ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 24px; list-style: none; background: var(--vnp-surface); border: 1px solid var(--vnp-line); border-radius: var(--vnp-r-section); }
.vnp-trust-item { display: flex; gap: 14px; align-items: flex-start; }
.vnp-trust-item .vnp-icon { color: var(--vnp-primary); }
.vnp-trust-title { margin: 0; font-weight: 700; color: var(--vnp-ink); }
.vnp-trust-text { margin: 0; font-size: var(--vnp-fs-sm); color: var(--vnp-muted); }

/* متن معرفی */
.vnp-about .vnp-prose { color: var(--vnp-muted); max-width: 900px; }
.vnp-about-more summary { cursor: pointer; color: var(--vnp-primary); font-weight: 700; list-style: none; padding: 6px 0; display: inline-block; }
.vnp-about-more summary::-webkit-details-marker { display: none; }
.vnp-about-more-close { display: none; }
.vnp-about-more[open] .vnp-about-more-open { display: none; }
.vnp-about-more[open] .vnp-about-more-close { display: inline; }
.vnp-about-more[open] summary { order: 2; }
.vnp-about-more { display: flex; flex-direction: column; }

/* ۸. صفحه‌ها و نوشته‌ها ---------------------------------------------- */
.vnp-page { padding-block: 20px 56px; }
.vnp-breadcrumb { margin-bottom: 16px; font-size: var(--vnp-fs-sm); color: var(--vnp-muted); }
.vnp-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vnp-breadcrumb li:not(:last-child)::after { content: '/'; margin-inline-start: 6px; color: var(--vnp-line); }
.vnp-breadcrumb [aria-current] { color: var(--vnp-text); }
.vnp-crumb-sep { margin-inline: 6px; color: var(--vnp-line); }
.vnp-page-head { margin-bottom: 20px; }
.vnp-page-title { font-size: var(--vnp-fs-2xl); margin: 0; }
.vnp-page-desc { color: var(--vnp-muted); margin-top: 4px; }
.vnp-article { max-width: 860px; margin-inline: auto; }
.vnp-article-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--vnp-muted); font-size: var(--vnp-fs-sm); margin-top: 6px; }
.vnp-article-cover { margin: 0 0 20px; }
.vnp-article-cover img { border-radius: var(--vnp-r-card); width: 100%; }

.vnp-prose { max-width: 72ch; }
.vnp-article .vnp-prose { max-width: none; }
.vnp-prose > * + * { margin-top: 1em; }
.vnp-prose p { margin: 0; }
.vnp-prose h2 { font-size: 22px; margin-top: 1.6em; }
.vnp-prose h3 { font-size: 18px; margin-top: 1.4em; }
.vnp-prose ul, .vnp-prose ol { padding-inline-start: 1.4em; }
.vnp-prose li + li { margin-top: .3em; }
.vnp-prose a { text-decoration: underline; text-underline-offset: 3px; }
.vnp-prose img { border-radius: var(--vnp-r-control); }
.vnp-prose blockquote { margin: 1em 0; padding: 12px 18px; border-inline-start: 4px solid var(--vnp-primary); background: var(--vnp-surface-2); border-radius: var(--vnp-r-control); }
.vnp-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.vnp-prose th, .vnp-prose td { padding: 10px 12px; border-bottom: 1px solid var(--vnp-line); text-align: start; }
.vnp-prose code { font-family: var(--vnp-font-latin); background: var(--vnp-surface-2); padding: 1px 6px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }

.vnp-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vnp-post-card { display: flex; flex-direction: column; background: var(--vnp-surface); border: 1px solid var(--vnp-line); border-radius: var(--vnp-r-card); overflow: hidden; }
.vnp-post-card-media { display: block; aspect-ratio: 16 / 9; background: var(--vnp-tile); overflow: hidden; }
.vnp-post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.vnp-post-card-media img.is-placeholder { object-fit: contain; padding: 24px; opacity: .8; }
.vnp-post-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.vnp-post-card-title { font-size: 17px; margin: 0; }
.vnp-post-card-title a { color: var(--vnp-ink); }
.vnp-post-card-title a:hover { color: var(--vnp-primary); }
.vnp-post-card-excerpt { margin: 0; color: var(--vnp-muted); font-size: 14px; }
.vnp-post-card-meta { margin-top: auto; font-size: 12px; color: var(--vnp-muted); }

.vnp-post-nav { display: flex; justify-content: space-between; gap: 12px; max-width: 860px; margin: 20px auto 0; }
.vnp-post-nav a { display: flex; flex-direction: column; color: var(--vnp-ink); font-weight: 700; }
.vnp-post-nav a > span:first-child { font-size: 12px; color: var(--vnp-muted); font-weight: 400; }
.vnp-post-nav-next { text-align: end; margin-inline-start: auto; }
.vnp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; padding: 0; list-style: none; }
.vnp-tags a { display: inline-block; padding: 2px 12px; border-radius: var(--vnp-r-pill); background: var(--vnp-surface-2); font-size: 13px; }

.vnp-pagination ul { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 28px 0 0; padding: 0; list-style: none; }
.vnp-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: 10px; background: var(--vnp-surface); border: 1px solid var(--vnp-line); color: var(--vnp-text);
}
.vnp-pagination .page-numbers.current { background: var(--vnp-primary); border-color: var(--vnp-primary); color: var(--vnp-on-primary); font-weight: 800; }
.vnp-pagination .page-numbers.dots { border: 0; background: transparent; }

.vnp-empty, .vnp-404 { max-width: 640px; margin: 24px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vnp-empty img { opacity: .8; }
.vnp-empty h2 { font-size: 20px; margin: 0; }
.vnp-empty p, .vnp-404 p { color: var(--vnp-muted); margin: 0; }
.vnp-empty-search, .vnp-404-search { width: 100%; margin-top: 8px; }
.vnp-404-code { font-size: 96px; font-weight: 800; line-height: 1; color: var(--vnp-primary-soft); margin: 0; -webkit-text-stroke: 2px var(--vnp-primary); }
.vnp-404-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.vnp-comments { max-width: 860px; margin: 20px auto 0; }
.vnp-comment-list { margin: 0 0 20px; padding: 0; list-style: none; }
.vnp-comment-list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--vnp-line); }
.vnp-comment-list .children { list-style: none; padding-inline-start: 24px; }
.vnp-help { color: var(--vnp-muted); font-size: var(--vnp-fs-sm); }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea,
.vnp-prose input[type=text], .vnp-prose input[type=email], .vnp-prose textarea {
	width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--vnp-line); border-radius: var(--vnp-r-control);
	background: var(--vnp-surface-2); color: var(--vnp-text);
}
.comment-form textarea { min-height: 120px; }

/* ۹. فوتر ------------------------------------------------------------ */
.vnp-footer { background: var(--vnp-navy); color: var(--vnp-on-navy); margin-top: 24px; }
.vnp-footer a { color: var(--vnp-on-navy-muted); }
.vnp-footer a:hover { color: #FFFFFF; }
.vnp-footer-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-block: 48px 28px; }
.vnp-footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1 1 200px; }
.vnp-footer-about { flex: 1.6 1 300px; max-width: 460px; }
.vnp-footer-about p { color: var(--vnp-on-navy-muted); font-size: 14px; margin: 0; }
.vnp-footer .vnp-logo, .vnp-footer .vnp-logo:hover { color: #FFFFFF; }
.vnp-footer .vnp-logo-mark { background: #FFFFFF; color: var(--vnp-navy); }
.vnp-footer-title { margin: 0 0 4px; font-size: 16px; color: #FFFFFF; }
.vnp-footer-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.vnp-contact-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--vnp-on-navy-muted); font-size: 14px; }
.vnp-contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.vnp-contact-list .vnp-icon { margin-top: 3px; color: var(--vnp-on-navy); }
.vnp-chat-link { padding: 0; border: 0; background: none; font: inherit; color: var(--vnp-on-navy); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.vnp-chat-link:hover, .vnp-chat-link:focus-visible { color: #fff; }
.vnp-chat-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
.vnp-socials { display: flex; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.vnp-socials a {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 10px; background: var(--vnp-navy-2); color: var(--vnp-on-navy);
}
.vnp-socials a:hover { background: var(--vnp-primary); color: #FFFFFF; }
.vnp-trust-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.vnp-trust-badges a { display: inline-flex; line-height: 0; }
.vnp-trust-badges a[hidden], .vnp-trust-badges img[hidden] { display: none; }
.vnp-trust-badges img { background: #FFFFFF; border-radius: 10px; padding: 4px; max-height: 96px; width: auto; height: auto; }
.vnp-trust-badges { align-items: center; }
.vnp-badge-bp img { max-width: 96px; object-fit: contain; }
.vnp-badge-text { display: inline-flex; align-items: center; gap: 8px; min-height: 64px; padding: 8px 12px; border-radius: 10px; background: #FFFFFF; color: #B3001B; font-size: 12px; line-height: 1.5; text-decoration: none; }
.vnp-badge-text > span { display: flex; flex-direction: column; color: #3D4C60; }
.vnp-badge-text b { color: #B3001B; font-size: 13px; }
.vnp-footer-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
	padding-block: 16px 24px; color: var(--vnp-on-navy-muted); font-size: 13px;
	background: linear-gradient(var(--vnp-navy-2), var(--vnp-navy-2)) top center / calc(100% - 2 * var(--vnp-gutter)) 1px no-repeat;
}
.vnp-footer-bottom p { margin: 0; }
.vnp-to-top { display: inline-flex; align-items: center; gap: 6px; }

/* ۱۰. منوی پایین موبایل ---------------------------------------------- */
.vnp-bottom-nav { display: none; }

/* ۱۱. واکنش‌گرا ------------------------------------------------------- */
@media (max-width: 1100px) {
	.vnp-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.vnp-finder-models { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.vnp-mega-children { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.vnp-nav { display: none; }
	.vnp-header-menu-btn { display: inline-flex; }
	.vnp-header-account-label { display: none; }
	.vnp-header-account { width: var(--vnp-tap); padding: 0; }
	.vnp-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vnp-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); font-size: 14px; }
	.vnp-header-main { flex-wrap: wrap; gap: 10px 8px; padding-block: 10px 12px; }
	.vnp-logo { margin-inline-end: auto; }
	.vnp-logo-tagline { display: none; }
	.vnp-logo-mark { width: 38px; height: 38px; font-size: 18px; }
	.vnp-logo-name { font-size: 18px; }
	.vnp-header-search { order: 10; flex-basis: 100%; }
	.vnp-header-account, .vnp-header-cart { display: none; }
	.vnp-search { height: 46px; }
	.vnp-search-submit { display: none; }

	.vnp-home { gap: 28px; padding-block: 16px 32px; }
	.vnp-section-title { font-size: 18px; }
	.vnp-finder-form { gap: 18px; padding: 20px; }
	.vnp-finder-intro { order: 2; }
	.vnp-finder-models {
		order: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
		margin-inline: -20px; padding-inline: 20px; gap: 8px; scrollbar-width: none;
	}
	.vnp-finder-models::-webkit-scrollbar { display: none; }
	.vnp-model-tile { flex: 0 0 108px; min-height: 86px; padding: 12px; scroll-snap-align: start; }
	.vnp-model-name { font-size: 24px; }
	.vnp-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.vnp-cat-card { padding: 12px 6px; gap: 6px; }
	.vnp-cat-img { width: 56px; height: 56px; }
	.vnp-cat-img img { width: 38px; height: 38px; }
	.vnp-cat-name { font-size: 12px; }
	.vnp-cat-count { display: none; }
	.vnp-trust ul { padding: 12px; gap: 8px; background: transparent; border: 0; }
	.vnp-trust-item { flex-direction: column; gap: 6px; padding: 12px; background: var(--vnp-surface); border: 1px solid var(--vnp-line); border-radius: var(--vnp-r-card); }
	.vnp-trust-text { display: none; }
	.vnp-trust-item .vnp-icon { width: 28px; height: 28px; }
	.vnp-post-grid { grid-template-columns: minmax(0, 1fr); }
	.vnp-footer-grid { flex-direction: column; gap: 24px; padding-block: 28px 16px; }
	.vnp-footer-col, .vnp-footer-about { flex: 0 0 auto; max-width: none; }
	.vnp-stories-list { gap: 14px; }
	.vnp-story { width: 68px; }
	.vnp-story-ring { width: 66px; height: 66px; }

	.vnp-bottom-nav {
		position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
		height: calc(68px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
		background: var(--vnp-surface); border-top: 1px solid var(--vnp-line);
		box-shadow: 0 -6px 24px rgba(14, 42, 74, .10);
	}
	.vnp-bottom-nav-item {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		border: 0; background: transparent; color: var(--vnp-muted); font-size: 11px; font-family: inherit; cursor: pointer; text-decoration: none;
	}
	.vnp-bottom-nav-item.is-current { color: var(--vnp-primary); font-weight: 700; }
	.vnp-bottom-nav-item:hover { color: var(--vnp-primary); }
	.vnp-cart-count--nav { top: 6px; inset-inline-end: calc(50% - 22px); min-width: 18px; height: 18px; font-size: 10px; line-height: 14px; }
}

@media (max-width: 782px) {
	.admin-bar .vnp-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.vnp-drawer-panel { animation: none; }
}

@media print {
	.vnp-header, .vnp-nav, .vnp-footer, .vnp-bottom-nav, .vnp-announcement, .vnp-drawer { display: none !important; }
	body { padding: 0; background: #fff; color: #000; }
}
.vnp-sr-thumb img.is-placeholder { width: 70%; height: 70%; opacity: .75; }

/* ۱۲. نمایشگر استوری (فاز ۶) ----------------------------------------- */
.vnp-story-ring { background: linear-gradient(135deg, var(--vnp-primary) 0%, #4C8FE0 100%); }
.vnp-story:focus-visible .vnp-story-ring { outline: 3px solid var(--vnp-primary); outline-offset: 2px; }
html.vnp-sv-open { overflow: hidden; }
.vnp-sv { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 20px; background: rgba(5, 12, 22, .94); color: #fff; }
.vnp-sv[hidden] { display: none; }
.vnp-sv-frame { position: relative; width: min(420px, 100vw); height: min(100dvh, 760px); border-radius: 18px; overflow: hidden; background: #000; touch-action: none; }
.vnp-sv-frame.is-swap { animation: vnp-sv-in .25s ease; }
@keyframes vnp-sv-in { from { opacity: .3; transform: scale(.98); } to { opacity: 1; transform: none; } }
.vnp-sv-media { position: absolute; inset: 0; }
.vnp-sv-media img, .vnp-sv-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vnp-sv-frame::before, .vnp-sv-frame::after { content: ''; position: absolute; inset-inline: 0; z-index: 1; pointer-events: none; }
.vnp-sv-frame::before { top: 0; height: 120px; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }
.vnp-sv-frame::after { bottom: 0; height: 220px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.7)); }
.vnp-sv-tap { position: absolute; inset: 0; z-index: 2; cursor: pointer; -webkit-user-select: none; user-select: none; }
.vnp-sv-bars { position: absolute; z-index: 3; top: 10px; inset-inline: 10px; display: flex; gap: 4px; direction: rtl; }
.vnp-sv-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.vnp-sv-bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: right center; }
.vnp-sv-head { position: absolute; z-index: 3; top: 22px; inset-inline: 10px; display: flex; align-items: center; gap: 8px; }
.vnp-sv-avatar { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; flex: none; background: var(--vnp-navy-2); }
.vnp-sv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vnp-sv-title { flex: 1; min-width: 0; font-size: var(--vnp-fs-sm); text-shadow: 0 1px 3px rgba(0,0,0,.5); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vnp-sv-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.vnp-sv-btn:hover, .vnp-sv-btn:focus-visible { background: rgba(255,255,255,.18); outline: none; }
.vnp-sv-btn[hidden] { display: none; }
.vnp-sv-foot { position: absolute; z-index: 3; bottom: 0; inset-inline: 0; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.vnp-sv-caption { margin: 0; font-size: var(--vnp-fs-md); font-weight: 700; line-height: 1.8; text-shadow: 0 1px 4px rgba(0,0,0,.6); white-space: pre-line; }
.vnp-sv-product { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.96); color: #0F2540; text-decoration: none; }
.vnp-sv-product img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #EEF3F9; flex: none; }
.vnp-sv-product-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vnp-sv-product-name { font-weight: 700; font-size: var(--vnp-fs-sm); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vnp-sv-product-price { font-size: var(--vnp-fs-sm); }
.vnp-sv-product-price del { color: #5A6779; font-size: var(--vnp-fs-xs); }
.vnp-sv-product-price del[hidden] { display: none; }
.vnp-sv-product-price b { color: #0F2540; }
.vnp-sv-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--vnp-primary); color: #fff; font-weight: 800; font-size: var(--vnp-fs-sm); white-space: nowrap; }
.vnp-sv-cta--solo { min-height: 48px; text-decoration: none; }
.vnp-sv-cta--solo:hover, .vnp-sv-product:hover .vnp-sv-cta { background: var(--vnp-primary-strong); color: #fff; }
.vnp-sv-side { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; flex: none; }
.vnp-sv-side:hover, .vnp-sv-side:focus-visible { background: rgba(255,255,255,.28); outline: none; }
.vnp-sv-side[hidden] { visibility: hidden; display: grid; }
.vnp-sv-loading { position: absolute; z-index: 2; inset: 0; margin: auto; width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; animation: vnp-spin .8s linear infinite; display: none; }
.vnp-sv.is-loading .vnp-sv-loading { display: block; }
@keyframes vnp-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
	.vnp-sv { background: #000; }
	.vnp-sv-frame { width: 100vw; height: 100dvh; border-radius: 0; }
	.vnp-sv-side { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.vnp-sv-frame.is-swap { animation: none; }
}

/* ۱۳. بنرها و اسلایدر صفحه اصلی (فاز ۶) ------------------------------- */
.vnp-banners { display: flex; flex-direction: column; gap: 12px; }
.vnp-banner { display: block; overflow: hidden; border-radius: var(--vnp-r-card); background: var(--vnp-tile); }
.vnp-banner picture, .vnp-banner-img { display: block; width: 100%; height: auto; }
a.vnp-banner { transition: transform .2s ease, box-shadow .2s ease; }
a.vnp-banner:hover { box-shadow: 0 10px 24px rgba(14, 42, 74, .14); }
a.vnp-banner:focus-visible { outline: 3px solid var(--vnp-primary); outline-offset: 3px; }
.vnp-banner-grid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.vnp-banners--two .vnp-banner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vnp-banners--three .vnp-banner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vnp-slider { position: relative; }
.vnp-slider-track { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--vnp-r-card); }
.vnp-slider-track::-webkit-scrollbar { display: none; }
.vnp-slider-slide { flex: 0 0 100%; scroll-snap-align: start; }
.vnp-slider-slide .vnp-banner { border-radius: 0; }
.vnp-slider-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--vnp-ink); box-shadow: 0 4px 12px rgba(14,42,74,.18); cursor: pointer; opacity: 0; transition: opacity .2s; }
.vnp-slider-nav--prev { right: 12px; }
.vnp-slider-nav--next { left: 12px; }
.vnp-slider:hover .vnp-slider-nav, .vnp-slider-nav:focus-visible { opacity: 1; }
.vnp-slider-dots { position: absolute; bottom: 12px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; }
.vnp-slider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(14,42,74,.15); cursor: pointer; transition: width .2s, background .2s; }
.vnp-slider-dot.is-active { width: 22px; background: #fff; }
@media (max-width: 600px) {
	.vnp-banners--two .vnp-banner-grid { grid-template-columns: minmax(0, 1fr); }
	.vnp-banners--three .vnp-banner-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.vnp-banners--three .vnp-banner-grid > li { scroll-snap-align: start; }
	.vnp-slider-nav { display: none; }
}
@media (hover: none) { .vnp-slider-nav { display: none; } }

/* بنر تمام‌عرض بالای صفحه اصلی ------------------------------------- */
.vnp-hero { position: relative; background: var(--vnp-navy); }
.vnp-hero .vnp-slider-track { border-radius: 0; }
.vnp-hero-slide-inner { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.vnp-hero-media, .vnp-hero-img { display: block; width: 100%; height: 100%; }
.vnp-hero-slide-inner { aspect-ratio: 16 / 5; max-height: 72vh; }
.vnp-hero-img { object-fit: cover; object-position: center; }
.vnp-hero-slide-inner.has-copy::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(14,42,74,.78) 0%, rgba(14,42,74,.35) 45%, rgba(14,42,74,0) 75%); pointer-events: none; }
.vnp-hero-copy { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.vnp-hero-copy .vnp-container { width: 100%; }
.vnp-hero-copy .vnp-container > * { max-width: min(520px, 60%); }
.vnp-hero-title { margin: 0 0 8px; font-size: var(--vnp-fs-3xl); font-weight: 800; line-height: var(--vnp-lh-heading); text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.vnp-hero-text { margin: 0 0 16px; font-size: clamp(.9375rem, .85rem + .4vw, 1.125rem); color: #EAF1F9; }
.vnp-hero-btn { pointer-events: none; }
a.vnp-hero-slide-inner:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.vnp-hero .vnp-slider-nav { width: 48px; height: 48px; background: rgba(255,255,255,.9); }
.vnp-hero .vnp-slider-nav--prev { right: max(16px, calc((100vw - 1280px) / 2)); }
.vnp-hero .vnp-slider-nav--next { left: max(16px, calc((100vw - 1280px) / 2)); }
.vnp-hero-dots { bottom: 18px; gap: 8px; }
.vnp-hero-dots .vnp-slider-dot { position: relative; width: 10px; height: 10px; overflow: hidden; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(14,42,74,.25); }
.vnp-hero-dots .vnp-slider-dot.is-active { width: 34px; background: rgba(255,255,255,.55); }
.vnp-hero-dots .vnp-slider-dot span { position: absolute; inset: 0; transform: scaleX(0); transform-origin: right; background: #fff; border-radius: inherit; }
.vnp-hero-dots .vnp-slider-dot.is-active span { transform: scaleX(1); }
.vnp-hero-slider.is-playing .vnp-slider-dot.is-active span { animation: vnp-hero-progress var(--vnp-hero-interval, 6s) linear both; }
@keyframes vnp-hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vnp-hero + .vnp-home { padding-top: clamp(20px, 3vw, 32px); }
@media (max-width: 600px) {
	.vnp-hero-slide-inner { aspect-ratio: 4 / 5; max-height: 78vh; }
	.vnp-hero-slide-inner.has-copy::after { background: linear-gradient(to top, rgba(14,42,74,.85) 0%, rgba(14,42,74,.25) 55%, rgba(14,42,74,0) 80%); }
	.vnp-hero-copy { align-items: flex-end; padding-bottom: 48px; }
	.vnp-hero-copy .vnp-container > * { max-width: 100%; }
	.vnp-hero-dots { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.vnp-hero-slider.is-playing .vnp-slider-dot.is-active span { animation: none; }
}

/* نوار لوگوی برندها ------------------------------------------------ */
.vnp-brands-viewport { position: relative; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-block: 4px; }
.vnp-brands-viewport::-webkit-scrollbar { display: none; }
.vnp-brands-list { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.vnp-brands-viewport:not(.is-marquee) .vnp-brands-list { justify-content: safe center; }
.vnp-brand { flex: 0 0 auto; scroll-snap-align: start; }
.vnp-brand-tile { display: grid; place-items: center; width: 148px; height: 76px; padding: 12px 16px; border: 1px solid var(--vnp-line); border-radius: var(--vnp-r-card); background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.vnp-brand-tile img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.vnp-brand-name { font-family: var(--vnp-font-latin); font-weight: 800; font-size: 15px; letter-spacing: .02em; color: #3D4C60; text-align: center; line-height: 1.3; }
a.vnp-brand-tile:hover, a.vnp-brand-tile:focus-visible { border-color: var(--vnp-primary); box-shadow: 0 6px 16px rgba(14,42,74,.1); transform: translateY(-2px); }
a.vnp-brand-tile:hover img, a.vnp-brand-tile:focus-visible img { filter: none; opacity: 1; }
a.vnp-brand-tile:hover .vnp-brand-name { color: var(--vnp-primary); }
a.vnp-brand-tile:focus-visible { outline: 3px solid var(--vnp-primary); outline-offset: 2px; }
.vnp-brands-viewport.is-marquee { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.vnp-brands-marquee { display: flex; gap: 12px; width: max-content; animation: vnp-brands-scroll var(--vnp-brands-duration, 40s) linear infinite; }
.vnp-brands-viewport.is-marquee:hover .vnp-brands-marquee, .vnp-brands-viewport.is-marquee:focus-within .vnp-brands-marquee { animation-play-state: paused; }
@keyframes vnp-brands-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@media (max-width: 600px) {
	.vnp-brand-tile { width: 120px; height: 64px; padding: 10px 12px; }
	.vnp-brand-tile img { max-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.vnp-brands-viewport.is-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.vnp-brands-marquee { animation: none; }
	.vnp-brands-marquee > [aria-hidden="true"] { display: none; }
}
[data-theme="dark"] .vnp-brand-tile { border-color: transparent; }

/* برگه تماس: کد کوتاه [vnp_contact] */
.vnp-contact-card { margin: 1.5em 0; padding: 20px; border: 1px solid var(--vnp-line); border-radius: var(--vnp-radius-lg, 16px); background: var(--vnp-surface); }
.vnp-contact-rows { margin: 0; display: grid; gap: 14px; }
.vnp-contact-row { display: grid; grid-template-columns: minmax(120px, 160px) 1fr; gap: 12px; align-items: center; }
.vnp-contact-row dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--vnp-ink); }
.vnp-contact-row dt .vnp-icon { color: var(--vnp-primary); }
.vnp-contact-row dd { margin: 0; color: var(--vnp-text); }
.vnp-contact-row dd a { color: var(--vnp-primary); }
.vnp-contact-card .vnp-socials { margin-top: 16px; }
@media (max-width: 600px) { .vnp-contact-row { grid-template-columns: 1fr; gap: 4px; } }
.vnp-contact-card .vnp-socials a { background: var(--vnp-primary-soft); color: var(--vnp-primary); }
.vnp-contact-card .vnp-socials a:hover { background: var(--vnp-primary); color: #FFFFFF; }
