/* ==========================================================================
   Rahvan Tour – Site header ([rahvan_header])
   Self-contained: loads on every page, does not depend on rahvan.css.
   Colours = the site tokens (rahvan.css). Contrast checked (WCAG AA).
   Every selector is prefixed with ".rv-hdr.rv-hdr" so global theme /
   Elementor-kit styles (button, a, img, ul …) can never override it.
   ========================================================================== */

.rv-hdr.rv-hdr {
	--h-primary: #022C3C;
	--h-primary-700: #0C3D50;
	--h-primary-50: #E6EFF2;
	--h-accent: #E8A33D;
	--h-accent-hover: #F0B354;
	--h-accent-700: #8A5A12;
	--h-accent-50: #FDF3E1;
	--h-ink: #022C3C;
	--h-ink-2: #0C3D50;
	--h-text: #1A2E38;
	--h-muted: #4A5A62;
	--h-line: #E1E7EA;
	--h-soft: #F3F6F7;
	--h-max: 1320px;
	--h-pad: clamp(16px, 2.4vw, 32px);
	--h-top: 36px;
	--h-bar: 72px;
	--h-bar-stuck: 62px;
	--h-logo: 50px;
	--h-logo-stuck: 44px;
	--h-ease: cubic-bezier(.2, .7, .3, 1);
	--h-admin: var(--wp-admin--admin-bar--height, 0px);

	position: relative;
	z-index: 1000;
	direction: rtl;
	font-family: "IRANSansXFaNum", "IRANSans", Tahoma, sans-serif;
	font-size: 15px;
	color: var(--h-ink);
	line-height: 1.5;
	text-align: right;
}

/* 0. Hard reset against theme / Elementor globals
   ------------------------------------------------------------------------ */
.rv-hdr.rv-hdr *, .rv-hdr.rv-hdr *::before, .rv-hdr.rv-hdr *::after { box-sizing: border-box; }
.rv-hdr.rv-hdr ul, .rv-hdr.rv-hdr li { list-style: none; margin: 0; padding: 0; }
.rv-hdr.rv-hdr li::before { content: none; }
.rv-hdr.rv-hdr p { margin: 0; }
.rv-hdr.rv-hdr b { font-weight: 700; }
.rv-hdr.rv-hdr small { font-size: inherit; }
.rv-hdr.rv-hdr a, .rv-hdr.rv-hdr a:hover, .rv-hdr.rv-hdr a:focus, .rv-hdr.rv-hdr a:visited { color: inherit; text-decoration: none; box-shadow: none; }
.rv-hdr.rv-hdr button {
	display: inline-block;
	width: auto; height: auto; min-width: 0; min-height: 0;
	margin: 0; padding: 0;
	font: inherit; line-height: 1; letter-spacing: 0; text-transform: none;
	border-radius: 0;
	cursor: pointer;
}
.rv-hdr.rv-hdr button, .rv-hdr.rv-hdr button:hover, .rv-hdr.rv-hdr button:focus, .rv-hdr.rv-hdr button:active {
	color: inherit; background: transparent; border: 0; box-shadow: none; text-decoration: none;
}
.rv-hdr.rv-hdr img { max-width: none; border: 0; box-shadow: none; }
.rv-hdr.rv-hdr .rv-icon { width: 1em; height: 1em; flex: 0 0 auto; display: block; }
.rv-hdr.rv-hdr :focus-visible { outline: 2px solid var(--h-primary); outline-offset: 2px; border-radius: 8px; }

.rv-hdr.rv-hdr .rv-hdr__in {
	display: flex;
	align-items: center;
	max-width: var(--h-max);
	margin-inline: auto;
	padding-inline: var(--h-pad);
}

/* 1. Top bar
   ------------------------------------------------------------------------ */
.rv-hdr.rv-hdr .rv-hdr__top {
	background: var(--h-ink);
	color: rgb(255 255 255 / 82%);       /* 11.4:1 on ink */
	font-size: 12.5px;
}
.rv-hdr.rv-hdr .rv-hdr__top .rv-hdr__in { min-height: var(--h-top); gap: 24px; justify-content: space-between; }
.rv-hdr.rv-hdr .rv-hdr__top a { transition: color .2s; }
.rv-hdr.rv-hdr .rv-hdr__top a:hover { color: #fff; }
.rv-hdr.rv-hdr .rv-hdr__top .rv-icon { font-size: 15px; color: var(--h-accent); }  /* 7.4:1 */

.rv-hdr.rv-hdr .rv-hdr__contact { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.rv-hdr.rv-hdr .rv-hdr__contact li, .rv-hdr.rv-hdr .rv-hdr__contact a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

.rv-hdr.rv-hdr .rv-hdr__msg { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; align-items: center; gap: 8px; }
.rv-hdr.rv-hdr .rv-hdr__msg > a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.rv-hdr.rv-hdr .rv-hdr__msg-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-hdr.rv-hdr .rv-hdr__msg > a:hover .rv-hdr__msg-text { text-decoration: underline; text-underline-offset: 3px; }
.rv-hdr.rv-hdr .rv-hdr__top .rv-hdr__msg-arrow { font-size: 14px; transition: transform .25s var(--h-ease); }
.rv-hdr.rv-hdr .rv-hdr__msg > a:hover .rv-hdr__msg-arrow { transform: translateX(-3px); }
.rv-hdr.rv-hdr .rv-hdr__pulse {
	position: relative; flex: 0 0 auto;
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--h-accent);
}
.rv-hdr.rv-hdr .rv-hdr__pulse::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: var(--h-accent);
	animation: rv-hdr-pulse 2.4s ease-out infinite;
}
@keyframes rv-hdr-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

.rv-hdr.rv-hdr .rv-hdr__aux { display: flex; align-items: center; flex: 0 0 auto; }
.rv-hdr.rv-hdr .rv-hdr__social { display: flex; align-items: center; gap: 4px; }
.rv-hdr.rv-hdr .rv-hdr__social a {
	display: grid; place-items: center;
	width: 28px; height: 28px; border-radius: 8px;
	transition: background-color .2s, color .2s;
}
.rv-hdr.rv-hdr .rv-hdr__top .rv-hdr__social .rv-icon { color: inherit; font-size: 16px; }
.rv-hdr.rv-hdr .rv-hdr__top .rv-hdr__social a:hover { background: rgb(255 255 255 / 10%); }

/* 2. Main bar
   ------------------------------------------------------------------------ */
.rv-hdr.rv-hdr .rv-hdr__slot { height: var(--h-bar); }
.rv-hdr.rv-hdr .rv-hdr__bar {
	position: relative;
	z-index: 2;
	background: #fff;
	border-bottom: 1px solid var(--h-line);
	transition: background-color .3s, box-shadow .3s, transform .35s var(--h-ease);
}
.rv-hdr.rv-hdr .rv-hdr__bar .rv-hdr__in { height: var(--h-bar); gap: 24px; transition: height .3s var(--h-ease); }

/* stuck: frosted glass (Telegram-like) */
.rv-hdr.rv-hdr.is-stuck .rv-hdr__bar {
	position: fixed;
	top: var(--h-admin);
	inset-inline: 0;
	background: rgb(255 255 255 / 96%);
	border-bottom-color: rgb(2 44 60 / 8%);
	box-shadow: 0 8px 28px rgb(2 44 60 / 8%);
	animation: rv-hdr-in .35s var(--h-ease);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.rv-hdr.rv-hdr.is-stuck .rv-hdr__bar {
		background: rgb(255 255 255 / 78%);
		-webkit-backdrop-filter: saturate(180%) blur(20px);
		backdrop-filter: saturate(180%) blur(20px);
	}
}
.rv-hdr.rv-hdr.is-stuck .rv-hdr__bar .rv-hdr__in { height: var(--h-bar-stuck); }
@keyframes rv-hdr-in { from { transform: translateY(-100%); } to { transform: none; } }

/* logo (mark + «رهوان تور» + tagline) */
.rv-hdr.rv-hdr .rv-hdr__logo { display: block; flex: 0 0 auto; line-height: 0; }
.rv-hdr.rv-hdr .rv-hdr__logo img {
	display: block; width: auto; height: var(--h-logo); max-width: none;
	transition: height .3s var(--h-ease);
}
.rv-hdr.rv-hdr.is-stuck .rv-hdr__logo img { height: var(--h-logo-stuck); }

/* nav: centred between logo and actions */
.rv-hdr.rv-hdr .rv-hdr__nav { flex: 1 1 auto; display: flex; justify-content: center; align-items: center; min-width: 0; }
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu { display: flex; align-items: center; gap: 4px; }
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li { position: relative; }
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li > a {
	position: relative;
	display: flex; align-items: center; gap: 6px;
	height: 44px; padding: 0 13px;
	font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
	color: var(--h-text);
	transition: color .2s;
}
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li > a::before {          /* short saffron bar */
	content: ""; position: absolute; left: 50%; bottom: 4px;
	width: 18px; height: 3px; margin-left: -9px; border-radius: 3px;
	background: var(--h-accent);
	transform: scaleX(0); transition: transform .3s var(--h-ease);
}
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li:hover > a,
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li:focus-within > a,
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li.is-open > a,
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li.current-menu-item > a,
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li.current-menu-ancestor > a { color: var(--h-primary-700); }
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li:hover > a::before,
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li.is-open > a::before,
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li.current-menu-item > a::before,
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li.current-menu-ancestor > a::before { transform: scaleX(1); }
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li.current-menu-item > a,
.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li.current-menu-ancestor > a { font-weight: 700; }

.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children > a::after {   /* chevron ˅ */
	content: ""; width: 5px; height: 5px; margin-top: -3px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg); opacity: .7;
	transition: transform .25s var(--h-ease);
}
.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children:hover > a::after,
.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children:focus-within > a::after,
.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children.is-open > a::after { transform: translateY(3px) rotate(225deg); }

/* dropdown */
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu {
	position: absolute; top: calc(100% + 12px); inset-inline-start: 0;
	min-width: 240px; padding: 8px;
	background: #fff; border: 1px solid var(--h-line); border-radius: 16px;
	box-shadow: 0 22px 50px rgb(2 44 60 / 14%), 0 2px 6px rgb(2 44 60 / 5%);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .25s var(--h-ease), visibility 0s .25s;
}
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu:has(> li:nth-child(6)) {       /* 5+ destinations: two columns */
	display: grid; grid-template-columns: 1fr 1fr; column-gap: 4px; min-width: 380px;
}
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu::before { content: ""; position: absolute; inset-inline: 0; top: -24px; height: 24px; } /* hover bridge */
.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children:hover > .sub-menu,
.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children:focus-within > .sub-menu,
.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children.is-open > .sub-menu {
	opacity: 1; visibility: visible; transform: none;
	transition: opacity .2s, transform .25s var(--h-ease);
}
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu a {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px; border-radius: 10px;
	font-size: 14px; font-weight: 500; line-height: 1.5; white-space: nowrap;
	color: var(--h-text);
	transition: background-color .15s, color .15s;
}
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu a::before {
	content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%;
	background: var(--h-line); transition: background-color .15s, transform .2s;
}
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu a:hover,
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu .current-menu-item > a { background: var(--h-primary-50); color: var(--h-primary-700); }
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu a:hover::before { background: var(--h-accent); transform: scale(1.3); }
/* «مشاهده همه» footer link (menu item CSS class: rv-menu-all) */
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu .rv-menu-all { grid-column: 1 / -1; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--h-line); }
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu .rv-menu-all > a { justify-content: space-between; font-weight: 700; color: var(--h-primary-700); }
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu .rv-menu-all > a::before { content: none; }
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu .rv-menu-all > a::after {
	content: ""; width: 7px; height: 7px;
	border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
	transform: rotate(225deg); transition: transform .2s;
}
.rv-hdr.rv-hdr .rv-hdr__nav .sub-menu .rv-menu-all > a:hover::after { transform: translateX(-3px) rotate(225deg); }

/* Escape pressed: keep it closed even while focus stays on the parent */
.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children.is-closed > .sub-menu { opacity: 0; visibility: hidden; transform: translateY(8px); }
.rv-hdr.rv-hdr .rv-hdr__nav .menu-item-has-children.is-closed > a::after { transform: rotate(45deg); }

/* «جدید» badge (menu item title: تور هوشمند <span class="rv-badge">جدید</span>) */
.rv-hdr.rv-hdr .rv-badge {
	display: inline-block;
	padding: 0 7px;
	font-size: 10.5px; font-weight: 700; line-height: 17px;
	color: var(--h-accent-700);           /* 5.6:1 on accent-50 */
	background: var(--h-accent-50);
	border: 1px solid #F3D9AE;
	border-radius: 999px;
}

/* actions: account · cart (icon buttons) · support */
.rv-hdr.rv-hdr .rv-hdr__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.rv-hdr.rv-hdr .rv-hdr__icon {
	position: relative;
	display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 14px;
	font-size: 21px; color: var(--h-text);
	background: #fff; border: 1px solid var(--h-line);
	transition: border-color .2s, color .2s, box-shadow .2s;
}
.rv-hdr.rv-hdr .rv-hdr__icon:hover { border-color: #C5D5DC; color: var(--h-primary-700); box-shadow: 0 4px 14px rgb(2 44 60 / 10%); }
.rv-hdr.rv-hdr .rv-hdr__count {
	position: absolute; top: -6px; inset-inline-end: -6px;
	min-width: 18px; height: 18px; padding: 0 4px;
	display: grid; place-items: center;
	font-size: 10.5px; font-weight: 700; line-height: 1;
	color: var(--h-ink); background: var(--h-accent);
	border: 2px solid #fff; border-radius: 999px;
}
.rv-hdr.rv-hdr .rv-hdr__count[hidden] { display: none; }

/* support button: dark pill, saffron icon disc, optional 2nd line */
.rv-hdr.rv-hdr .rv-hdr__cta {
	position: relative;
	display: inline-flex; align-items: center; gap: 10px;
	height: 46px; padding-block: 0; padding-inline: 5px 18px;
	color: #fff; background: var(--h-ink);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgb(2 44 60 / 18%);
	white-space: nowrap;
	transition: background-color .2s, transform .2s var(--h-ease), box-shadow .2s;
}
.rv-hdr.rv-hdr .rv-hdr__cta, .rv-hdr.rv-hdr .rv-hdr__cta:hover, .rv-hdr.rv-hdr .rv-hdr__cta:focus, .rv-hdr.rv-hdr .rv-hdr__cta:visited { color: #fff; }
.rv-hdr.rv-hdr .rv-hdr__cta:hover { background: var(--h-ink-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgb(2 44 60 / 24%); }
.rv-hdr.rv-hdr .rv-hdr__cta-ic {
	display: grid; place-items: center; flex: 0 0 auto;
	width: 36px; height: 36px; border-radius: 50%;
	font-size: 19px; color: var(--h-ink); background: var(--h-accent);
	transition: transform .3s var(--h-ease);
}
.rv-hdr.rv-hdr .rv-hdr__cta:hover .rv-hdr__cta-ic { transform: rotate(-12deg); }
.rv-hdr.rv-hdr .rv-hdr__cta-tx { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.rv-hdr.rv-hdr .rv-hdr__cta-tx b { font-size: 14px; font-weight: 700; }
.rv-hdr.rv-hdr .rv-hdr__cta-tx small { font-size: 11.5px; font-weight: 500; color: rgb(255 255 255 / 72%); letter-spacing: .2px; }

/* mobile-only controls: hidden on desktop */
.rv-hdr.rv-hdr .rv-hdr__burger, .rv-hdr.rv-hdr .rv-hdr__call { display: none; }
.rv-hdr.rv-hdr .rv-hdr__burger { position: relative; width: 44px; height: 44px; border-radius: 12px; }
.rv-hdr.rv-hdr .rv-hdr__burger span {
	position: absolute; inset-inline-start: 11px; height: 2px; border-radius: 2px;
	background: var(--h-ink);
}
.rv-hdr.rv-hdr .rv-hdr__burger span:nth-child(1) { top: 15px; width: 22px; }
.rv-hdr.rv-hdr .rv-hdr__burger span:nth-child(2) { top: 21px; width: 16px; }
.rv-hdr.rv-hdr .rv-hdr__burger span:nth-child(3) { top: 27px; width: 22px; }
.rv-hdr.rv-hdr .rv-hdr__burger:hover { background: var(--h-soft); }

/* 3. Drawer (mobile menu)
   ------------------------------------------------------------------------ */
.rv-hdr.rv-hdr .rv-drawer { position: fixed; inset: 0; z-index: 100000; }
.rv-hdr.rv-hdr .rv-drawer[hidden] { display: none; }
.rv-hdr.rv-hdr .rv-drawer__overlay {
	position: absolute; inset: 0;
	background: rgb(2 44 60 / 55%);
	opacity: 0; transition: opacity .3s;
}
.rv-hdr.rv-hdr .rv-drawer__panel {
	position: absolute; inset-block: 0; inset-inline-start: 0;
	display: flex; flex-direction: column;
	width: min(88vw, 380px);
	background: #fff;
	box-shadow: -20px 0 50px rgb(2 44 60 / 20%);
	transform: translateX(100%);
	transition: transform .35s var(--h-ease);
	overflow-y: auto; overscroll-behavior: contain;
	outline: 0;
}
.rv-hdr.rv-hdr .rv-drawer.is-open .rv-drawer__overlay { opacity: 1; }
.rv-hdr.rv-hdr .rv-drawer.is-open .rv-drawer__panel { transform: none; }

.rv-hdr.rv-hdr .rv-drawer__head {
	position: sticky; top: 0; z-index: 1;
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--h-line);
}
.rv-hdr.rv-hdr .rv-drawer__logo img { display: block; height: 44px; width: auto; }
.rv-hdr.rv-hdr .rv-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 22px; background: var(--h-soft); }
.rv-hdr.rv-hdr .rv-drawer__close:hover { color: var(--h-primary-700); background: var(--h-primary-50); }

.rv-hdr.rv-hdr .rv-drawer__nav { padding: 6px 18px; }
.rv-hdr.rv-hdr .rv-drawer__nav .rv-menu > li { position: relative; border-bottom: 1px solid var(--h-line); }
.rv-hdr.rv-hdr .rv-drawer__nav .rv-menu > li > a {
	display: flex; align-items: center; gap: 8px;
	min-height: 54px; padding-inline-end: 52px;
	font-size: 16px; font-weight: 600; line-height: 1.5;
}
.rv-hdr.rv-hdr .rv-drawer__nav .current-menu-item > a { color: var(--h-primary-700); }
.rv-hdr.rv-hdr .rv-sub-toggle {
	position: absolute; top: 5px; inset-inline-end: -6px;
	display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 12px;
}
.rv-hdr.rv-hdr .rv-sub-toggle::before {
	content: ""; width: 8px; height: 8px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); transition: transform .25s var(--h-ease);
}
.rv-hdr.rv-hdr .rv-sub-toggle[aria-expanded="true"]::before { transform: translateY(4px) rotate(225deg); }
.rv-hdr.rv-hdr .rv-sub-toggle:hover { background: var(--h-soft); }
.rv-hdr.rv-hdr .rv-drawer__nav .sub-menu { display: none; padding: 0 0 12px; }
.rv-hdr.rv-hdr .rv-drawer__nav li.is-open > .sub-menu { display: block; }
.rv-hdr.rv-hdr .rv-drawer__nav .sub-menu a {
	display: block; padding: 9px 14px; margin-inline-start: 6px;
	font-size: 15px; line-height: 1.5; color: var(--h-muted);
	border-inline-start: 2px solid var(--h-line);
}
.rv-hdr.rv-hdr .rv-drawer__nav .sub-menu a:hover { color: var(--h-primary-700); border-color: var(--h-accent); }
.rv-hdr.rv-hdr .rv-drawer__nav .sub-menu .rv-menu-all > a { font-weight: 700; color: var(--h-primary-700); }

.rv-hdr.rv-hdr .rv-drawer__foot { margin-top: auto; padding: 18px; display: grid; gap: 16px; background: var(--h-soft); }
.rv-hdr.rv-hdr .rv-hdr__cta--block { width: 100%; height: 54px; justify-content: flex-start; padding-inline: 7px 18px; }
.rv-hdr.rv-hdr .rv-hdr__cta--block .rv-hdr__cta-ic { width: 40px; height: 40px; }
.rv-hdr.rv-hdr .rv-drawer__info { display: grid; gap: 4px; font-size: 14px; color: var(--h-muted); }
.rv-hdr.rv-hdr .rv-drawer__info li, .rv-hdr.rv-hdr .rv-drawer__info a { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.rv-hdr.rv-hdr .rv-drawer__info .rv-icon { font-size: 18px; color: var(--h-primary); }
.rv-hdr.rv-hdr .rv-drawer__info a:hover { color: var(--h-primary-700); }
.rv-hdr.rv-hdr .rv-drawer__social { gap: 8px; }
.rv-hdr.rv-hdr .rv-drawer__social a { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--h-line); font-size: 20px; color: var(--h-ink); }
.rv-hdr.rv-hdr .rv-drawer__social a:hover { color: var(--h-primary-700); border-color: var(--h-primary); }

/* 4. Responsive
   ------------------------------------------------------------------------ */
@media (max-width: 1279px) {
	.rv-hdr.rv-hdr { --h-logo: 46px; --h-logo-stuck: 42px; }
	.rv-hdr.rv-hdr .rv-hdr__bar .rv-hdr__in { gap: 16px; }
	.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li > a { padding: 0 10px; font-size: 14.5px; }
	.rv-hdr.rv-hdr .rv-hdr__cta { padding-inline: 5px 14px; gap: 8px; }
}
@media (max-width: 1199px) {       /* laptops with display scaling: compact desktop */
	.rv-hdr.rv-hdr { --h-logo: 42px; --h-logo-stuck: 40px; }
	.rv-hdr.rv-hdr .rv-hdr__contact li + li { display: none; }
	.rv-hdr.rv-hdr .rv-hdr__bar .rv-hdr__in { gap: 10px; }
	.rv-hdr.rv-hdr .rv-hdr__nav .rv-menu > li > a { padding: 0 8px; font-size: 14px; gap: 5px; }
	.rv-hdr.rv-hdr .rv-hdr__actions { gap: 6px; }
	.rv-hdr.rv-hdr .rv-hdr__actions > .rv-hdr__cta { width: 46px; padding: 0; justify-content: center; }   /* icon-only */
	.rv-hdr.rv-hdr .rv-hdr__actions > .rv-hdr__cta .rv-hdr__cta-tx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1023px) {       /* tablet & mobile */
	.rv-hdr.rv-hdr { --h-bar: 62px; --h-bar-stuck: 58px; --h-logo: 42px; --h-logo-stuck: 38px; --h-top: 34px; }
	.rv-hdr.rv-hdr .rv-hdr__contact, .rv-hdr.rv-hdr .rv-hdr__aux { display: none; }
	.rv-hdr.rv-hdr .rv-hdr__top { font-size: 12px; }
	.rv-hdr.rv-hdr .rv-hdr__top .rv-hdr__in { justify-content: center; }
	.rv-hdr.rv-hdr .rv-hdr__nav, .rv-hdr.rv-hdr .rv-hdr__account, .rv-hdr.rv-hdr .rv-hdr__actions > .rv-hdr__cta { display: none; }
	.rv-hdr.rv-hdr .rv-hdr__burger { display: block; }
	.rv-hdr.rv-hdr .rv-hdr__call { display: grid; }
	.rv-hdr.rv-hdr .rv-hdr__bar .rv-hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
	.rv-hdr.rv-hdr .rv-hdr__logo { justify-self: center; }
	.rv-hdr.rv-hdr .rv-hdr__actions { justify-self: end; }
	.rv-hdr.rv-hdr .rv-hdr__icon { width: 40px; height: 40px; border-color: transparent; }
	.rv-hdr.rv-hdr .rv-hdr__actions { gap: 2px; }
	/* hide on scroll down, show on scroll up */
	.rv-hdr.rv-hdr.is-stuck.is-away .rv-hdr__bar { transform: translateY(calc(-100% - var(--h-admin))); box-shadow: none; }
}
@media (max-width: 380px) {
	.rv-hdr.rv-hdr { --h-logo: 38px; }
	.rv-hdr.rv-hdr .rv-hdr__icon { width: 36px; }
}
@media (max-width: 600px) {
	.rv-hdr.rv-hdr { --h-admin: 0px; }             /* WP admin bar is not fixed here */
}
@media (min-width: 1024px) {
	.rv-hdr.rv-hdr .rv-drawer { display: none; }
	.rv-hdr.rv-hdr .rv-hdr__burger, .rv-hdr.rv-hdr .rv-hdr__call { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.rv-hdr.rv-hdr *, .rv-hdr.rv-hdr *::before, .rv-hdr.rv-hdr *::after { animation: none !important; transition: none !important; }
}
@media print {
	.rv-hdr.rv-hdr .rv-hdr__top, .rv-hdr.rv-hdr .rv-drawer, .rv-hdr.rv-hdr .rv-hdr__actions, .rv-hdr.rv-hdr .rv-hdr__burger, .rv-hdr.rv-hdr .rv-hdr__nav { display: none !important; }
	.rv-hdr.rv-hdr.is-stuck .rv-hdr__bar { position: static; }
}
@media (max-width: 340px) {
	/* v32: at 320px the three icons stuck out 2px past the left edge */
	.rv-hdr.rv-hdr .rv-hdr__icon { width: 34px; }
	.rv-hdr.rv-hdr .rv-hdr__bar .rv-hdr__in { gap: 4px; }
}

/* v33 — bottom toolbar: full labels (no "حساب کاربری …") and a tours icon instead of Woodmart's default gear */
.wd-toolbar .wd-toolbar-label { max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; padding-inline: 0; }
.wd-toolbar .wd-toolbar-link .wd-toolbar-icon.wd-custom-icon:not(:has(img, svg, i))::before {
	content: ""; display: inline-block; width: 22px; height: 22px; font-family: inherit; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Cpath d='M8.5 18H16a3 3 0 0 0 0-6H8a3 3 0 0 1 0-6h7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Cpath d='M8.5 18H16a3 3 0 0 0 0-6H8a3 3 0 0 1 0-6h7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
