/* Pejvaq theme: mirrors the pejvaq.com homepage */
@font-face {
	font-family: "yekan";
	src: local("yekan"), url("fonts/iransans.woff") format("woff");
	font-display: swap;
}

:root {
	--pq-navy: #0e2839;
	--pq-orange: #fc6e20;
	--pq-ink: #212529;
	--pq-muted: #a6acac;
	--pq-line: #eef3fa;
	--pq-head-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: yekan, "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--pq-ink);
	background: #fff;
	direction: rtl;
	text-align: right;
}

:where(h1, h2, h3, h4, h5, h6, p, ul, figure) { margin: 0; }
:where(h1, h2, h3, h4, h5, h6) { font-weight: 500; line-height: 1.2; }
:where(ul) { padding: 0; list-style: none; }
a { color: var(--pq-navy); text-decoration: none; }
img, video { max-width: 100%; }
img { display: block; height: auto; }
button, input { font: inherit; }

.pq-i { display: inline-block; vertical-align: -0.125em; flex: none; }

.pq-container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 12px;
}

/* ---------- Header ---------- */
.pq-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1030;
}
.admin-bar .pq-header { top: 32px; }

.pq-top {
	background: var(--pq-navy);
	padding: 6px 0;
	height: 64px;
}
.pq-top__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 52px;
}
.pq-brand { display: flex; align-items: center; height: 52px; }
.pq-logo { width: 62px; height: 52px; object-fit: contain; margin-right: 16px; }

.pq-actions { display: flex; align-items: center; gap: 0; }
.pq-login {
	display: flex;
	align-items: center;
	padding: 0.5em;
	color: #fafafa;
	font-size: 12.8px;
}
.pq-login .pq-i { font-size: 25.6px; width: 32px; margin: 5px; margin-left: 2px; }
.pq-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 6px;
	color: #fafafa;
}
.pq-ico--wish .pq-i { font-size: 20px; }
.pq-ico--cart { width: 49px; height: 49px; }
.pq-ico--cart .pq-i { font-size: 23px; }
.pq-login:hover, .pq-ico:hover { color: var(--pq-orange); }

.pq-bottom {
	background: #fff;
	border-bottom: 1px solid var(--pq-line);
	height: 48px;
	padding: 8px 0;
}
.pq-menu {
	display: flex;
	align-items: center;
	height: 31px;
	padding: 0 0;
}
.pq-menu__link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.6em 0.5em;
	font-size: 12.96px;
	font-weight: 700;
	color: var(--pq-navy);
	border-bottom: 1px solid transparent;
	white-space: nowrap;
}
.pq-menu__link--lead { font-size: 14.4px; padding: 0.5em 0.6em; }
.pq-menu__link:hover { color: var(--pq-orange); border-bottom-color: var(--pq-orange); }
.pq-menu__link--lead:hover { border-bottom-color: transparent; }

.pq-main { padding-top: calc(var(--pq-head-h) + 48px); }

/* ---------- Search ---------- */
.pq-search { margin-bottom: 48px; }
.pq-search__box {
	margin: 0 48px 0 -48px;
	padding: 25px 48px 24px;
	background: var(--pq-navy);
	border-radius: 10px;
}
.pq-search__field {
	display: flex;
	align-items: center;
	height: 47px;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
}
.pq-search__btn {
	flex: 0 0 auto;
	width: 110px;
	height: 100%;
	border: 0;
	padding: 7px;
	background: var(--pq-orange);
	color: #000;
	font-size: 21.6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pq-search__input {
	flex: 1;
	min-width: 0;
	height: 43px;
	border: 0;
	outline: 0;
	padding: 0 0.6em;
	font-size: 25.92px;
	color: #000;
	background: #fff;
}
.pq-search__input::placeholder { color: #6c757d; }
.pq-search__input::-webkit-search-cancel-button { display: none; }

/* ---------- Sliders ---------- */
.pq-slider { position: relative; height: 500px; overflow: hidden; background: #fff; }
.pq-slider__track { position: relative; height: 100%; }
.pq-slide {
	position: absolute;
	inset: 0 0 auto 0;
	display: block;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.pq-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s ease; z-index: 1; }
.pq-slide img { width: 100%; height: auto; }
.pq-slider__dots {
	position: absolute;
	bottom: 32px;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	direction: ltr;
	line-height: 0;
}
.pq-slider__dot {
	width: 10px;
	height: 10px;
	margin: 7px 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #000;
	opacity: 0.2;
	cursor: pointer;
}
.pq-slider__dot.is-active { background: #007aff; opacity: 1; }

/* ---------- Categories ---------- */
.pq-cats { padding: 16px 12px; }
.pq-cats__list { display: flex; flex-wrap: wrap; justify-content: center; }
.pq-cat { width: 160px; display: flex; }
.pq-cat__in {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 152px;
	margin: 16px 4px;
	color: var(--pq-navy);
}
.pq-cat__badge {
	position: absolute;
	top: 9.5px;
	right: 15%;
	width: 48px;
	height: 48px;
	padding-top: 11px;
	z-index: 2;
	text-align: center;
	background: center / cover no-repeat;
	color: var(--pq-orange);
	font-size: 16px;
	line-height: 1.5;
}
.pq-cat__pic { display: flex; justify-content: center; padding: 16px 0; }
.pq-cat__pic img {
	width: 120px;
	height: 122px;
	object-fit: fill;
	border: 2px solid var(--pq-muted);
	border-radius: 80px 80px 20px 20px;
}
.pq-cat__txt { display: block; text-align: center; }
.pq-cat__title { display: block; font-size: 12.8px; font-weight: 600; line-height: 1.2; color: var(--pq-navy); }
.pq-cat__title:hover { color: var(--pq-orange); }
.pq-cat__desc { display: block; margin-top: 7px; font-size: 9.6px; line-height: 1.4; color: #959595; }

/* ---------- Promo cards ---------- */
.pq-promo .pq-container { padding: 0 12px; }
.pq-promo__row { display: flex; flex-wrap: wrap; padding-top: 16px; }
.pq-promo__col { flex: 0 0 50%; max-width: 50%; display: flex; }
.pq-promo__card {
	flex: 1;
	display: flex;
	justify-content: center;
	margin: 0 8px;
	transition: transform 0.35s cubic-bezier(0.1, 0.72, 0.4, 0.97);
}
.pq-promo__card img { width: 85%; height: auto; align-self: stretch; object-fit: fill; border-radius: 10px; }
.pq-promo__card:hover { transform: translateY(10%); }

/* ---------- Services slider ---------- */
.pq-services__gap { height: 32px; }

/* ---------- Features ---------- */
.pq-features { margin: 24px 0; }
.pq-features__title {
	text-align: center;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 32px;
	color: var(--pq-ink);
}
.pq-features__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.pq-feature {
	width: 160px;
	height: 144px;
	margin: 16px;
	padding: 16px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.pq-feature .pq-i {
	font-size: 32px;
	color: var(--pq-orange);
	filter: drop-shadow(5px 2px 20px #000);
}
.pq-feature__title { margin: 16px 8px; font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--pq-ink); }

/* ---------- Blog ---------- */
.pq-blog { padding: 12px 0; }
.pq-blog__in { max-width: 1200px; margin: 0 auto; padding: 80px 20px; background: #fff; }
.pq-blog__title { text-align: center; font-size: 40px; font-weight: 500; line-height: 1.2; color: #0d2e4d; }
.pq-blog__more { display: flex; justify-content: center; margin-top: 90px; }
.pq-blog__posts { margin-top: 48px; }
.pq-blog__posts + .pq-blog__more { margin-top: 42px; }
.pq-btn {
	display: inline-block;
	width: 160px;
	padding: 12px 24px;
	border-radius: 8px;
	background: var(--pq-orange);
	color: var(--pq-navy);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	white-space: nowrap;
	transition: transform 0.3s;
}
.pq-btn:hover { transform: translateY(-2px); }

.pq-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pq-post {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(14, 40, 57, 0.08);
	transition: transform 0.3s;
}
.pq-post:hover { transform: translateY(-4px); }
.pq-post__img { display: block; aspect-ratio: 16 / 10; background: var(--pq-line); }
.pq-post__img img { width: 100%; height: 100%; object-fit: cover; }
.pq-post__body { display: block; padding: 14px 16px 18px; }
.pq-post__title { display: block; font-weight: 700; font-size: 15px; color: var(--pq-navy); }
.pq-post:hover .pq-post__title { color: var(--pq-orange); }
.pq-post__date { display: block; margin-top: 6px; font-size: 12px; color: #959595; }

/* ---------- Video ---------- */
.pq-video { margin: 9px 0 32px; }
.pq-video__frame { padding: 10px; }
.pq-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 15px; background: #000; object-fit: cover; }

/* ---------- Footer ---------- */
.pq-footer { background: var(--pq-navy); color: var(--pq-muted); font-size: 14px; padding: 28px 0 48px; }
.pq-footer a { color: var(--pq-muted); }
.pq-footer a:hover { color: var(--pq-orange); }
.pq-footer__in { padding: 0 48px; }
.pq-footer__row { display: flex; flex-wrap: wrap; margin: 0 -24px; }
.pq-footer__col { padding: 0 24px; }
.pq-footer__info { flex: 0 0 25%; min-height: 258px; }\n.pq-footer__row { min-height: 258px; }
.pq-footer__links { flex: 0 0 50%; }
.pq-footer__app { flex: 0 0 25%; }
.pq-footer__brand { font-size: 19.2px; font-weight: 700; line-height: 1.5; }
.pq-footer__brand a { color: #fff; }
.pq-footer__phone { margin: 4px 0 16px; }
.pq-footer__social { display: flex; gap: 8px; }
.pq-footer__social a { display: flex; align-items: center; height: 30px; font-size: 20px; color: var(--pq-orange); }
.pq-footer__social a:hover { color: #fff; }
.pq-footer__lists { display: flex; margin: 0 -8px; }
.pq-footer__list { flex: 0 0 25%; padding: 0 8px; }
.pq-footer__title { color: #fff; font-size: 18.2px; line-height: 1.5; margin-bottom: 16px; }
.pq-footer__list li { margin-bottom: 8px; }
.pq-badge { width: 168px; height: 50px; object-fit: contain; }
.pq-footer__hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); margin: 48px 0 47px; }
.pq-footer__copy { display: flex; justify-content: space-between; direction: ltr; text-align: left; font-size: 12.25px; line-height: 1.5; padding: 0 0; }
.pq-footer__copy a + a { margin-left: 0; }

/* ---------- Back to top ---------- */
.pq-totop {
	position: fixed;
	right: 27px;
	bottom: 43px;
	z-index: 1020;
	width: 40px;
	height: 40px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: var(--pq-navy);
	color: #fff;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	box-shadow: 0 0 0 1px var(--pq-navy);
}
.pq-totop.is-visible { opacity: 1; visibility: visible; }

/* ---------- Inner pages ---------- */
.pq-page { padding-bottom: 64px; }
.pq-page__title { font-size: 32px; font-weight: 500; color: #0d2e4d; margin-bottom: 24px; }
.pq-article { max-width: 860px; margin: 0 auto; }
.pq-article__meta { color: #959595; font-size: 13px; margin: -12px 0 20px; }
.pq-article__img { width: 100%; border-radius: 10px; margin-bottom: 24px; }
.pq-article__body { line-height: 2; }
.pq-article__body p { margin-bottom: 1em; }
.pq-pager { margin-top: 32px; text-align: center; }
.pq-pager .page-numbers { display: inline-block; padding: 4px 12px; margin: 0 2px; border-radius: 6px; color: var(--pq-navy); }
.pq-pager .page-numbers.current { background: var(--pq-orange); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) { .pq-container { max-width: 1140px; } }
@media (max-width: 1199.98px) {
	.pq-container { max-width: 960px; }
	.pq-slider { height: auto; aspect-ratio: 1440 / 500; }
	.pq-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
	.pq-container { max-width: 720px; }
	.pq-search__box { margin: 0; padding: 20px; }
	.pq-search__input { font-size: 18px; }
	.pq-footer__info, .pq-footer__links, .pq-footer__app { flex-basis: 100%; min-height: 0; margin-bottom: 32px; }
	.pq-footer__list { flex-basis: 50%; }
	.pq-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	.pq-container { max-width: 540px; }
	.pq-menu { overflow-x: auto; scrollbar-width: none; }
	.pq-login span { display: none; }
	.pq-login { margin-left: 8px; }
	.pq-promo__col { flex-basis: 100%; max-width: 100%; margin-bottom: 16px; }
	.pq-cat { width: 33.333%; }
	.pq-cat__in { width: auto; flex: 1; }
	.pq-feature { width: 140px; height: 130px; margin: 8px; }
	.pq-blog__in { padding: 48px 16px; }
	.pq-blog__title { font-size: 30px; }
	.pq-footer__in { padding: 0 16px; }
	.pq-footer__row { margin: 0; }
	.pq-footer__col { padding: 0; }
	.pq-footer__copy { flex-direction: column; gap: 8px; }
}
@media (max-width: 575.98px) {
	.pq-container { max-width: none; }
	.pq-posts { grid-template-columns: 1fr; }
	.pq-search__btn { width: 64px; }
}
@media (max-width: 782px) { .admin-bar .pq-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	.pq-slide, .pq-promo__card, .pq-btn, .pq-post { transition: none; }
}

/* Enamad seal */
.pq-footer__app{display:flex;flex-direction:column;align-items:center;gap:16px}
.pq-enamad{display:inline-block;line-height:0}
.pq-enamad img{max-width:110px;height:auto;cursor:pointer}

/* ---------- "ثبت" dropdown (onboarding pages) ---------- */
.pq-bottom .pq-container { position: relative; }
.pq-drop__btn { gap: 4px; border: 0; border-bottom: 1px solid transparent; background: none; font-family: inherit; cursor: pointer; }
.pq-drop__btn svg { width: 12px; height: 12px; transition: transform .2s ease; }
.pq-drop__btn[aria-expanded="true"] { color: var(--pq-orange); }
.pq-drop__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.pq-drop {
	position: absolute; top: 100%; right: 12px; z-index: 20;
	width: 300px; padding: 8px; margin-top: 4px;
	background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(14, 40, 57, .18);
}
.pq-drop[hidden] { display: none; }
.pq-drop__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--pq-navy); text-decoration: none; }
.pq-drop__item:hover, .pq-drop__item:focus-visible { background: #fff1e8; }
.pq-drop__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff1e8; color: var(--pq-orange); }
.pq-drop__ic svg { width: 20px; height: 20px; }
.pq-drop__item strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; }
.pq-drop__item small { display: block; font-size: 12.5px; color: #6b7780; line-height: 1.5; }
@media (max-width: 575.98px) { .pq-drop { right: 8px; left: 8px; width: auto; } }