/* Dialogs and drawers take precedence over persistent help controls. */
body:has(.mfp-wrap) .ssc-widget,
body:has(.mobile-nav.wd-opened) .ssc-widget,
body:has(.wd-side-hidden.wd-opened) .ssc-widget {
	display: none !important;
}

.sirbal-support-entry { display: none; }

@media (max-width: 768px) {
	body.sirbal-support-in-flow .ssc-launcher { display: none; }
	body .sirbal-support-entry {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		margin: 0 0 16px;
		padding: 10px 16px;
		border: 1px solid var(--sirbal-color-line);
		border-radius: var(--sirbal-radius-sm);
		background: var(--sirbal-color-surface);
		color: var(--sirbal-color-petrol);
		font-size: 13px;
		font-weight: 600;
	}
	.sirbal-contact__actions .sirbal-support-entry { margin: 0; }
	/* The docked panel remains viewport-sized even on wider phones. */
	body.sirbal-support-in-flow .ssc-panel {
		position: fixed;
		inset: 8px;
		width: auto;
		height: calc(100dvh - 16px);
	}
	.whb-header :is(input[type="search"], input.s),
	.sirbal-search-spotlight input { font-size: 16px; }
}

:root {
	--sirbal-header-ink: var(--sirbal-color-ink, #10222b);
	--sirbal-header-muted: var(--sirbal-color-muted, #607078);
	--sirbal-header-surface: var(--sirbal-color-canvas, #f7f8f7);
	--sirbal-header-line: var(--sirbal-color-line, #e4e8e9);
	--sirbal-header-navy: #0b1117;
	--sirbal-header-petrol: var(--sirbal-color-petrol, #0b3f50);
	--sirbal-header-accent: var(--sirbal-color-gold, #c9a96e);
	--sirbal-header-radius: 14px;
}

html:root {
	--wd-header-banner-h: 36px;
	--wd-header-general-h: 92px;
	--wd-header-general-sm-h: 60px;
	--wd-header-general-sticky-h: 68px;
}

.header-banner {
	box-shadow: inset 0 0 0 999px rgba(5, 47, 71, .2);
}

.header-banner .close-header-banner > a {
	width: 44px;
}

.whb-header {
	position: relative;
	z-index: 390;
	font-family: iranyekan, Arial, Helvetica, sans-serif;
}

.whb-general-header {
	background: rgba(255, 255, 255, .97);
	border-color: var(--sirbal-header-line) !important;
	box-shadow: 0 1px 0 rgba(17, 24, 32, .025);
	backdrop-filter: blur(14px);
}

.whb-general-header .whb-general-header-inner {
	height: 92px !important;
}

.whb-header.whb-sticked .whb-general-header,
.whb-sticky-header .whb-general-header {
	box-shadow: 0 12px 34px rgba(11, 17, 23, .1);
}

.whb-header.whb-sticked .whb-general-header-inner,
.whb-sticky-header .whb-general-header-inner {
	height: 68px !important;
}

.whb-general-header .site-logo .wd-logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.whb-general-header .site-logo img {
	display: block;
	width: auto;
	max-height: 80px;
	object-fit: contain;
	transition: max-height .25s ease;
}

.whb-header.whb-sticked .site-logo img,
.whb-sticky-header .site-logo img {
	max-height: 60px;
}

@media (min-width: 1025px) {
	.whb-general-header .wd-header-cats {
		margin-inline: 4px 6px;
	}

	.whb-general-header .wd-header-cats.wd-style-1 .menu-opener {
		width: auto;
		min-width: 136px;
		height: 46px;
		padding-inline: 14px;
		gap: 8px;
		background: var(--sirbal-header-surface) !important;
		border: 1px solid var(--sirbal-header-line);
		border-radius: var(--sirbal-header-radius);
		color: var(--sirbal-header-ink);
		cursor: pointer;
	}

	.whb-general-header .wd-header-cats.wd-style-1 .menu-opener:hover,
	.whb-general-header .wd-header-cats.wd-style-1 .menu-opener:focus-visible,
	.whb-general-header .wd-header-cats.sirbal-cats-open .menu-opener {
		background: #fff !important;
		border-color: rgba(6, 61, 90, .42);
		box-shadow: 0 9px 24px rgba(6, 61, 90, .1);
		outline: none;
	}

	.whb-general-header .wd-header-cats .menu-open-label {
		font-family: iranyekan, Arial, Helvetica, sans-serif !important;
		font-size: 13.5px;
		font-weight: 700;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.whb-general-header .wd-header-cats .menu-opener-icon {
		margin-inline-end: 0;
		color: var(--sirbal-header-petrol);
	}

	.whb-general-header .wd-header-cats.wd-style-1 .menu-opener:after {
		margin-inline-start: 5px;
		transition: transform .22s ease;
	}

	.whb-general-header .wd-header-cats.sirbal-cats-open .menu-opener:after {
		transform: rotate(180deg);
	}

	.whb-general-header .wd-dropdown-cats {
		min-width: 315px;
		margin-top: 10px !important;
		padding: 8px;
		background: rgba(255, 255, 255, .985);
		border: 1px solid var(--sirbal-header-line);
		border-radius: 16px;
		box-shadow: 0 22px 60px rgba(11, 17, 23, .16);
		transform: translateY(10px);
	}

	.whb-general-header .wd-header-cats.sirbal-cats-open .wd-dropdown-cats {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.whb-general-header .wd-dropdown-cats .wd-nav-vertical {
		border: 0;
		border-radius: 11px;
	}

	.whb-general-header .wd-dropdown-cats .wd-nav-vertical > li > a {
		min-height: 43px;
		padding: 9px 12px;
		border-radius: 10px;
		font-size: 13px;
		font-weight: 500;
		line-height: 1.7;
	}

	.whb-general-header .wd-dropdown-cats .wd-nav-vertical > li > a:hover,
	.whb-general-header .wd-dropdown-cats .wd-nav-vertical > li.current-menu-item > a {
		background: rgba(6, 61, 90, .07);
		color: var(--sirbal-header-petrol);
	}
}

.whb-general-header .wd-header-main-nav .wd-nav-main {
	gap: 2px;
}

.whb-general-header .wd-header-main-nav .wd-nav-main > li {
	flex: 0 0 auto;
}

.whb-general-header .wd-header-main-nav .wd-nav-main > li > a {
	position: relative;
	min-height: 46px;
	padding-inline: 12px;
	color: #303840;
	font-family: iranyekan, Arial, Helvetica, sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
}

.whb-general-header .wd-header-main-nav .wd-nav-main > li > a .nav-link-text {
	display: inline-block;
	white-space: nowrap;
}

.whb-general-header .wd-header-main-nav .wd-nav-main > li > a:before {
	position: absolute;
	right: 12px;
	bottom: 5px;
	left: 12px;
	height: 2px;
	background: var(--sirbal-header-accent);
	border-radius: 999px;
	content: "";
	opacity: 0;
	transform: scaleX(.35);
	transition: opacity .2s ease, transform .24s ease;
}

.whb-general-header .wd-header-main-nav .wd-nav-main > li > a:hover,
.whb-general-header .wd-header-main-nav .wd-nav-main > li.current-menu-item > a,
.whb-general-header .wd-header-main-nav .wd-nav-main > li.current-menu-ancestor > a {
	color: var(--sirbal-header-petrol);
}

.whb-general-header .wd-header-main-nav .wd-nav-main > li > a:hover:before,
.whb-general-header .wd-header-main-nav .wd-nav-main > li.current-menu-item > a:before,
.whb-general-header .wd-header-main-nav .wd-nav-main > li.current-menu-ancestor > a:before {
	opacity: 1;
	transform: scaleX(1);
}

.whb-general-header .wd-header-search-form {
	width: clamp(250px, 24vw, 350px);
	min-width: 0;
}

/*
 * Woodmart gives desktop search inputs a 290px minimum width. Safari keeps
 * that intrinsic size when the header gets tighter, allowing the search to
 * escape its flex column and overlap the last navigation item.
 */
.whb-general-header .wd-header-search-form form.searchform,
.whb-general-header .wd-header-search-form input.s {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.whb-general-header .wd-header-search-form form.searchform,
.sirbal-mobile-search form.searchform {
	--wd-form-height: 48px;
	overflow: hidden;
	background: var(--sirbal-header-surface);
	border: 1px solid var(--sirbal-header-line);
	border-radius: var(--sirbal-header-radius);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
	transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.whb-general-header .wd-header-search-form form.searchform:focus-within,
.sirbal-mobile-search form.searchform:focus-within {
	background: #fff;
	border-color: rgba(6, 61, 90, .52);
	box-shadow: 0 0 0 3px rgba(6, 61, 90, .09), 0 10px 26px rgba(11, 17, 23, .07);
}

.whb-general-header .wd-header-search-form input.s,
.sirbal-mobile-search input.s {
	padding-inline: 16px 8px;
	color: var(--sirbal-header-ink);
	font-family: iranyekan, Arial, Helvetica, sans-serif;
	font-size: 13.5px;
}

.sirbal-mobile-search input.s,
.mobile-nav .searchform input[name="s"] {
	font-size: 16px;
}

.whb-general-header .wd-header-search-form input.s::placeholder,
.sirbal-mobile-search input.s::placeholder {
	color: #7b858e;
	opacity: 1;
}

.whb-general-header .wd-header-search-form .searchsubmit,
.sirbal-mobile-search .searchsubmit {
	width: 50px;
	min-width: 50px;
	color: var(--sirbal-header-petrol);
}

@media (min-width: 1025px) {
	.whb-general-header .whb-col-right {
		gap: 4px;
	}

	.whb-general-header .wd-tools-element > a {
		min-height: 46px;
		padding-inline: 11px;
		border: 1px solid transparent;
		border-radius: 12px;
		color: var(--sirbal-header-ink);
	}

	.whb-general-header .wd-tools-element > a:hover,
	.whb-general-header .wd-tools-element > a:focus-visible {
		background: var(--sirbal-header-surface);
		border-color: var(--sirbal-header-line);
		color: var(--sirbal-header-petrol);
		outline: none;
	}

	.whb-general-header .wd-header-my-account.wd-account-style-icon:not(.wd-with-username) .wd-tools-text {
		display: block !important;
		font-size: 12.5px;
		font-weight: 600;
	}

	.whb-general-header .wd-header-cart {
		margin-inline-start: 2px;
	}

	.whb-general-header .wd-header-cart .wd-cart-subtotal {
		font-size: 12px;
		font-weight: 600;
	}

	.whb-general-header .wd-tools-element .wd-tools-count {
		background: var(--sirbal-header-petrol) !important;
	}
}

.whb-general-header a:focus-visible,
.header-banner a:focus-visible,
.sirbal-mobile-search a:focus-visible,
.sirbal-mobile-search button:focus-visible,
.sirbal-mobile-search input:focus-visible {
	outline: 2px solid var(--sirbal-header-accent);
	outline-offset: 3px;
}

.sirbal-mobile-search {
	display: none;
}

/* Search Spotlight: reuse Woodmart's AJAX results in a focused, branded layer. */
.sirbal-spotlight-heading {
	display: none;
}

.sirbal-search-backdrop {
	position: fixed;
	inset: 0;
	z-index: 10010;
	visibility: hidden;
	background: rgba(7, 17, 23, .56);
	-webkit-backdrop-filter: blur(12px) saturate(.82);
	backdrop-filter: blur(12px) saturate(.82);
	opacity: 0;
	transition: visibility .24s ease, opacity .24s ease;
	pointer-events: none;
}

html.sirbal-spotlight-open,
body.sirbal-spotlight-open {
	overflow: hidden;
}

.sirbal-spotlight-open .sirbal-search-backdrop {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.sirbal-search-origin-placeholder {
	box-sizing: border-box;
	flex: 0 0 auto;
}

.sirbal-search-spotlight {
	position: fixed !important;
	top: clamp(24px, 7vh, 76px) !important;
	left: 50% !important;
	z-index: 10011 !important;
	display: flex !important;
	flex-direction: column;
	box-sizing: border-box;
	width: min(920px, calc(100vw - 32px)) !important;
	max-width: 920px !important;
	max-height: calc(100vh - clamp(48px, 14vh, 152px));
	max-height: calc(100dvh - clamp(48px, 14vh, 152px));
	margin: 0 !important;
	padding: 20px 20px 0 !important;
	background: #f8faf9;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 24px;
	box-shadow: 0 36px 100px rgba(4, 13, 18, .28), 0 8px 24px rgba(4, 13, 18, .12);
	font-family: iranyekan, Arial, Helvetica, sans-serif;
	direction: rtl;
	opacity: 1;
	transform: translateX(-50%) translateY(0) scale(1);
	transform-origin: 50% 0;
	animation: sirbal-spotlight-enter .28s cubic-bezier(.22, 1, .36, 1) both;
	-webkit-font-smoothing: antialiased;
}

.sirbal-search-spotlight:before {
	position: absolute;
	top: 0;
	right: 50%;
	width: min(132px, 28%);
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--sirbal-header-accent), transparent);
	border-radius: 0 0 999px 999px;
	content: "";
	transform: translateX(50%);
}

@keyframes sirbal-spotlight-enter {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-12px) scale(.975);
	}
}

.sirbal-search-spotlight .sirbal-spotlight-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
	padding-inline: 2px;
}

.sirbal-spotlight-heading-copy {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.sirbal-spotlight-eyebrow {
	color: #728087;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.6;
}

.sirbal-spotlight-title {
	overflow: hidden;
	color: var(--sirbal-header-ink);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.55;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sirbal-spotlight-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sirbal-spotlight-escape {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 28px;
	padding-inline: 8px;
	color: #68747b;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .08em;
	background: #fff;
	border: 1px solid var(--sirbal-header-line);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(11, 17, 23, .05);
}

.sirbal-spotlight-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	color: var(--sirbal-header-ink);
	background: #fff;
	border: 1px solid var(--sirbal-header-line);
	border-radius: 12px;
	box-shadow: none;
	cursor: pointer;
	transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.sirbal-spotlight-close:hover,
.sirbal-spotlight-close:focus-visible {
	color: #fff;
	background: var(--sirbal-header-petrol);
	border-color: var(--sirbal-header-petrol);
	outline: none;
	transform: scale(1.035);
}

.sirbal-search-spotlight form.searchform {
	position: relative;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	height: 58px;
	margin: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(11, 63, 80, .24);
	border-radius: 16px;
	box-shadow: 0 8px 26px rgba(10, 36, 47, .07);
	--wd-form-height: 58px;
}

.sirbal-search-spotlight form.searchform:focus-within {
	border-color: rgba(11, 63, 80, .66);
	box-shadow: 0 0 0 4px rgba(11, 63, 80, .09), 0 12px 30px rgba(10, 36, 47, .09);
}

.sirbal-search-spotlight form.searchform input.s,
.sirbal-search-spotlight form.searchform input[type="text"] {
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	height: 100%;
	padding-inline: 20px 94px;
	color: var(--sirbal-header-ink);
	font-family: iranyekan, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	background: transparent;
	border: 0;
}

.sirbal-search-spotlight form.searchform input.s::placeholder {
	color: #7d888e;
	opacity: 1;
}

.sirbal-search-spotlight form.searchform .searchsubmit {
	width: 58px;
	min-width: 58px;
	color: var(--sirbal-header-petrol);
}

.sirbal-search-spotlight form.searchform .wd-clear-search {
	inset-inline-end: 58px;
	width: 36px;
	height: 36px;
	top: 11px;
}

.sirbal-search-spotlight .wd-search-results-wrapper {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	flex: 1 1 auto;
	min-height: 104px;
	overflow: hidden;
}

.sirbal-search-spotlight .wd-search-results-wrapper:before {
	position: absolute;
	top: 42px;
	right: 50%;
	width: 100%;
	padding-inline: 20px;
	color: #77838a;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.9;
	text-align: center;
	content: "نام محصول یا عبارت موردنظرتان را بنویسید";
	transform: translateX(50%);
}

.sirbal-search-spotlight.sirbal-search-is-loading .wd-search-results-wrapper:before {
	content: "در حال جستجو میان محصولات…";
}

.sirbal-search-spotlight.sirbal-search-has-results .wd-search-results-wrapper:before {
	display: none;
}

.sirbal-search-spotlight .wd-search-results,
.sirbal-search-spotlight .wd-dropdown-results {
	position: static !important;
	visibility: visible !important;
	width: 100% !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: none !important;
	pointer-events: auto !important;
}

.sirbal-search-spotlight .wd-search-results > .wd-scroll-content {
	box-sizing: border-box;
	max-height: min(58dvh, 560px);
	padding: 18px 2px 20px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: rgba(11, 63, 80, .35) transparent;
	scrollbar-width: thin;
}

.sirbal-search-spotlight .wd-search-suggestions {
	position: static !important;
	width: auto !important;
	max-height: none !important;
	margin: 0 !important;
}

.sirbal-search-spotlight .wd-suggestions-group.wd-type-product {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.sirbal-search-spotlight .wd-search-title,
.sirbal-search-spotlight .suggestion-divider-title {
	grid-column: 1 / -1;
}

.sirbal-search-spotlight .wd-suggestion {
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-width: 0;
	min-height: 106px;
	margin: 0 !important;
	padding: 10px !important;
	overflow: hidden;
	background: #fff !important;
	border: 1px solid #e5e9e9 !important;
	border-radius: 16px;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sirbal-search-spotlight .wd-suggestion:hover,
.sirbal-search-spotlight .wd-suggestion.wd-active {
	background: #fff !important;
	border-color: rgba(11, 63, 80, .3) !important;
	box-shadow: 0 10px 28px rgba(10, 36, 47, .09);
	transform: translateY(-2px);
}

.sirbal-search-spotlight .wd-suggestion-thumb {
	flex: 0 0 76px;
	width: 76px;
	max-width: 76px;
	height: 88px;
	margin-inline-end: 13px;
	overflow: hidden;
	background: #f0f2f1;
	border-radius: 12px;
}

.sirbal-search-spotlight .wd-suggestion-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.sirbal-search-spotlight .wd-suggestion-content {
	min-width: 0;
	text-align: right;
}

.sirbal-search-spotlight .wd-entities-title {
	margin-bottom: 7px;
	color: #24343c;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.75;
}

.sirbal-search-spotlight .wd-entities-title strong {
	color: var(--sirbal-header-petrol);
	font-weight: 600;
}

.sirbal-search-spotlight .price {
	margin: 0;
	color: var(--sirbal-header-petrol);
	font-size: 13px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.sirbal-search-spotlight .price del {
	margin-inline-end: 6px;
	color: #929b9f;
	font-size: 11.5px;
	opacity: 1;
}

.sirbal-search-spotlight .price ins {
	color: var(--sirbal-header-petrol);
	text-decoration: none;
}

.sirbal-search-spotlight .wd-not-found {
	grid-column: 1 / -1;
	justify-content: center;
	min-height: 112px;
	color: #66747b;
	text-align: center;
}

.sirbal-search-spotlight .wd-all-results {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 12px;
	padding: 10px 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	background: var(--sirbal-header-petrol) !important;
	border-radius: 13px;
	transition: background-color .18s ease, transform .18s ease;
}

.sirbal-search-spotlight .wd-all-results:hover,
.sirbal-search-spotlight .wd-all-results:focus-visible {
	color: #fff;
	background: #07546a !important;
	outline: none;
	transform: translateY(-1px);
}

@media (max-width: 640px) {
	.sirbal-search-spotlight {
		top: max(10px, env(safe-area-inset-top)) !important;
		width: calc(100vw - 20px) !important;
		max-height: calc(100vh - 20px) !important;
		max-height: calc(100dvh - max(20px, env(safe-area-inset-top)) - max(10px, env(safe-area-inset-bottom))) !important;
		padding: 16px 14px 0 !important;
		border-radius: 20px;
	}

	.sirbal-search-spotlight .sirbal-spotlight-heading {
		margin-bottom: 12px;
	}

	.sirbal-spotlight-eyebrow,
	.sirbal-spotlight-escape {
		display: none;
	}

	.sirbal-spotlight-title {
		font-size: 16px;
	}

	.sirbal-search-spotlight form.searchform {
		height: 54px;
		--wd-form-height: 54px;
	}

	.sirbal-search-spotlight form.searchform input.s,
	.sirbal-search-spotlight form.searchform input[type="text"] {
		padding-inline: 15px 86px;
		font-size: 16px;
	}

	.sirbal-search-spotlight form.searchform .searchsubmit {
		width: 54px;
		min-width: 54px;
	}

	.sirbal-search-spotlight form.searchform .wd-clear-search {
		top: 9px;
		inset-inline-end: 52px;
	}

	.sirbal-search-spotlight .wd-search-results > .wd-scroll-content {
		max-height: calc(100vh - 164px);
		max-height: calc(100dvh - 164px);
		padding-top: 14px;
	}

	.sirbal-search-spotlight .wd-suggestions-group.wd-type-product {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.sirbal-search-spotlight .wd-suggestion {
		min-height: 90px;
		border-radius: 14px;
	}

	.sirbal-search-spotlight .wd-suggestion-thumb {
		flex-basis: 62px;
		width: 62px;
		max-width: 62px;
		height: 70px;
		margin-inline-end: 11px;
		border-radius: 10px;
	}
}

@media (max-width: 1024px) {
	#torobpay-topbar {
		--torobpay-topbar-h: 34px !important;
		--torobpay-topbar-fs: 12px !important;
		--torobpay-topbar-logo: 20px !important;
		height: 34px !important;
	}

	#torobpay-topbar .torobpay-topbar-inner,
	#torobpay-topbar .torobpay-topbar-ticker-wrap {
		height: 34px !important;
	}

	#torobpay-topbar .torobpay-topbar-inner {
		gap: 8px;
		padding-inline: 10px;
	}

	#torobpay-topbar:not(.sirbal-topbar-ready) .torobpay-topbar-ticker-item:first-child {
		opacity: 1 !important;
		transform: none !important;
	}

	html:root {
		--wd-header-general-sm-h: 54px;
		--wd-header-general-sticky-h: 52px;
	}

	.whb-general-header .whb-general-header-inner {
		height: 54px !important;
	}

	.whb-header.whb-sticked .whb-general-header-inner,
	.whb-sticky-header .whb-general-header-inner {
		height: 52px !important;
	}

	.whb-general-header .whb-mobile-left,
	.whb-general-header .whb-mobile-right {
		flex: 0 0 54px;
		max-width: 54px;
	}

	.whb-general-header .whb-mobile-center {
		flex: 1 1 auto;
		max-width: none;
	}

	.whb-general-header .whb-mobile-center .site-logo img {
		width: auto;
		max-height: 46px;
	}

	.whb-general-header .wd-tools-element > a {
		width: 44px;
		height: 44px;
		padding: 0;
		border-radius: 12px;
	}

	.whb-general-header .wd-tools-element > a:active {
		background: var(--sirbal-header-surface);
		color: var(--sirbal-header-petrol);
	}

	.whb-general-header .wd-tools-element .wd-tools-count {
		background: var(--sirbal-header-petrol) !important;
	}

	.sirbal-mobile-search {
		position: relative;
		z-index: 35;
		display: block;
		padding: 5px 10px;
		background: rgba(255, 255, 255, .98);
		border-bottom: 1px solid var(--sirbal-header-line);
		font-family: iranyekan, Arial, Helvetica, sans-serif;
	}

	.sirbal-mobile-search form.searchform {
		height: 44px;
		--wd-form-height: 44px;
	}

	.sirbal-mobile-search .container {
		position: relative;
		padding-inline: 0;
	}

	.sirbal-mobile-search .wd-search-results-wrapper {
		position: absolute;
		top: calc(100% + 6px);
		right: 0;
		left: 0;
	}

	.sirbal-mobile-search .wd-dropdown-results {
		border: 1px solid var(--sirbal-header-line);
		border-radius: 14px;
		box-shadow: 0 18px 44px rgba(11, 17, 23, .15);
	}
}

@media (max-width: 480px) {
	.sirbal-mobile-search {
		padding-inline: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#torobpay-topbar :is(.torobpay-topbar-ticker-item, .torobpay-topbar-bg-blob, .torobpay-topbar-spread-group, .torobpay-topbar-spread-middle) {
		animation: none !important;
	}

	#torobpay-topbar .torobpay-topbar-ticker-item {
		display: none !important;
	}

	#torobpay-topbar .torobpay-topbar-ticker-item:first-child {
		display: flex !important;
		opacity: 1 !important;
		transform: none !important;
	}

	.whb-header *,
	.sirbal-mobile-search * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Final desktop density pass: keep the whole navigation on one line. */
@media (min-width: 1025px) {
	.whb-general-header .whb-general-header-inner {
		column-gap: 16px;
	}

	.whb-general-header .whb-col-left {
		flex: 0 0 178px;
		max-width: 178px;
	}

	.whb-general-header .whb-col-center {
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
		flex-wrap: nowrap;
	}

	.whb-general-header .whb-col-right {
		flex: 0 0 450px;
		width: 450px;
		max-width: 450px;
		min-width: 0;
		flex-wrap: nowrap;
	}

	.whb-general-header .wd-header-main-nav {
		flex: 0 0 auto;
		min-width: 0;
	}

	.whb-general-header .wd-header-main-nav .wd-nav-main {
		flex-wrap: nowrap;
	}

	.whb-general-header .wd-header-cats.wd-style-1 .menu-opener {
		min-width: 132px;
	}

	.whb-general-header .wd-header-main-nav .wd-nav-main > li > a {
		padding-inline: 9px;
	}

	.whb-general-header .wd-header-search-form {
		box-sizing: border-box;
		flex: 0 0 260px;
		width: 260px;
		min-width: 0;
		max-width: 260px;
		padding-inline: 6px;
	}

	.whb-general-header .wd-header-search-form input.s {
		overflow: hidden;
		font-size: 13px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (min-width: 1025px) and (max-width: 1440px) {
	.whb-general-header .whb-col-right {
		flex-basis: 400px;
		width: 400px;
		max-width: 400px;
	}

	.whb-general-header .wd-header-search-form {
		flex-basis: 245px;
		width: 245px;
		min-width: 0;
		max-width: 245px;
	}

	.whb-general-header .wd-header-my-account.wd-account-style-icon:not(.wd-with-username) .wd-tools-text {
		display: none !important;
	}

	.whb-general-header .wd-header-cats.wd-style-1 .menu-opener {
		min-width: 132px;
		padding-inline: 11px;
	}

	.whb-general-header .wd-header-main-nav .wd-nav-main > li > a {
		padding-inline: 7px;
		font-size: 13px;
	}
}

@media (min-width: 1025px) and (max-width: 1120px) {
	.whb-general-header .whb-col-right {
		flex-basis: 320px;
		width: 320px;
		max-width: 320px;
	}

	.whb-general-header .whb-col-left {
		flex-basis: 140px;
		max-width: 140px;
	}

	.whb-general-header .wd-header-cats.wd-style-1 .menu-opener {
		min-width: 118px;
		padding-inline: 8px;
	}

	.whb-general-header .wd-header-main-nav .wd-nav-main > li > a {
		padding-inline: 6px;
		font-size: 12.5px;
	}

	.whb-general-header .wd-header-search-form {
		flex-basis: 180px;
		width: 180px;
		min-width: 0;
		max-width: 180px;
	}

	.whb-general-header .wd-header-cart .wd-cart-subtotal {
		display: none;
	}
}

/* Shared fixed UI contract: toolbar, support chat and conversion actions. */
@media (max-width: 1024px) {
	body.sticky-toolbar-on {
		padding-bottom: calc(var(--sirbal-mobile-toolbar-h) + var(--sirbal-mobile-safe-bottom));
	}

	body .wd-toolbar {
		height: calc(var(--sirbal-mobile-toolbar-h) + var(--sirbal-mobile-safe-bottom));
		padding: 5px 6px calc(5px + var(--sirbal-mobile-safe-bottom));
		border-top: 1px solid rgba(16, 34, 43, .08);
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 -8px 28px rgba(16, 34, 43, .09);
		overflow: hidden;
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
	}

	body .wd-toolbar > a,
	body .wd-toolbar > div {
		flex: 1 1 25%;
		min-width: 0;
	}

	body .wd-toolbar > a,
	body .wd-toolbar > div > a {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 50px;
		border-radius: 14px;
		color: var(--sirbal-color-muted);
		transition: color var(--sirbal-motion-fast) var(--sirbal-ease), background-color var(--sirbal-motion-fast) var(--sirbal-ease);
	}

	body .wd-toolbar .wd-toolbar-label {
		position: absolute;
		display: block;
		inset-inline: 3px;
		bottom: 2px;
		font-size: var(--sirbal-type-meta, 12px);
		font-weight: 650;
	}

	body .wd-toolbar [aria-current="page"],
	body .wd-toolbar .sirbal-is-active > a,
	body .wd-toolbar .wd-header-search.wd-opened > a {
		background: rgba(11, 63, 80, .08);
		color: var(--sirbal-color-petrol);
	}

	body .wd-toolbar [aria-current="page"]::after,
	body .wd-toolbar .sirbal-is-active > a::after {
		position: absolute;
		top: 2px;
		inset-inline-start: 50%;
		width: 18px;
		height: 2px;
		border-radius: 999px;
		background: var(--sirbal-color-gold);
		content: "";
		transform: translateX(50%);
	}

	.ssc-widget.ssc-widget--left,
	.ssc-widget.ssc-widget--right {
		--ssc-offset: calc(var(--sirbal-mobile-toolbar-h) + var(--sirbal-mobile-safe-bottom) + 12px);
	}

	body:is(.single-product, .woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .ssc-widget {
		display: none !important;
	}

	body.sirbal-filter-open .ssc-widget {
		display: none !important;
	}

	body.sirbal-spotlight-open .wd-toolbar,
	body.sirbal-spotlight-open .ssc-widget {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	body.sirbal-footer-visible .ssc-widget {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

/* Keep the mobile mini-cart thumbnail, title and remove action in separate areas. */
@media (max-width: 768px) {
	.cart-widget-side {
		width: min(92vw, 360px) !important;
		max-width: min(92vw, 360px) !important;
	}

	.cart-widget-side .woocommerce-mini-cart .mini_cart_item {
		display: grid !important;
		grid-template-columns: 72px minmax(0, 1fr) 40px;
		grid-template-areas: "image info remove";
		align-items: start;
		gap: 10px;
		min-height: 104px;
		padding-block: 14px !important;
		padding-inline: 12px !important;
	}

	.cart-widget-side .mini_cart_item .cart-item-image {
		grid-area: image;
		float: none;
		display: block;
		width: 72px;
		height: 72px;
		margin: 0;
	}

	.cart-widget-side .mini_cart_item .cart-item-image img {
		display: block;
		width: 72px !important;
		min-width: 0 !important;
		max-width: 72px !important;
		height: 72px;
		margin: 0;
		border-radius: 12px;
		object-fit: cover;
	}

	.cart-widget-side .mini_cart_item .cart-info {
		grid-area: info;
		display: grid;
		min-width: 0;
		gap: 8px;
		padding: 0;
	}

	.cart-widget-side .mini_cart_item .wd-entities-title {
		display: -webkit-box;
		overflow: hidden;
		margin: 0;
		font-size: 12.5px;
		line-height: 1.7;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.cart-widget-side .woocommerce-mini-cart .mini_cart_item .remove {
		grid-area: remove;
		position: relative !important;
		top: auto;
		inset: auto;
		display: inline-flex;
		width: 40px;
		height: 40px;
		align-items: center;
		justify-content: center;
		justify-self: end;
	}
}
