/* Header & footer — parity with rabor.store */
.rabor-header,
.rabor-footer,
.rabor-topbar {
	font-family: "Yekan Bakh FaNum", Tahoma, sans-serif;
}

.rabor-header {
	position: sticky;
	top: 0;
	z-index: 5000;
	background: #fff;
	box-shadow: none;
	isolation: isolate;
}

.rabor-header__bar {
	border-bottom: 0;
}

.rabor-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 90px;
	flex-wrap: wrap;
}

.rabor-header__brand {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

/* Explicit header-logo height so it never collapses before the image decodes
   (avoids layout shift and keeps the brand cell from shrinking to 0). */
.rabor-header__brand .rabor-logo img,
.rabor-header__brand .custom-logo-link img {
	height: 48px;
	max-height: 48px;
	width: auto;
}

.rabor-logo img,
.rabor-footer__brand-logo img,
.rabor-footer__brand-logo .custom-logo--footer {
	max-height: 56px;
	width: auto;
	display: block;
	transition: opacity 0.25s ease;
}

.rabor-logo a:hover img,
.rabor-footer__brand-logo a:hover img {
	opacity: 0.88;
}

.rabor-header__nav--desktop {
	display: none;
	min-width: 0;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
	background-color: unset;
}

.rabor-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.35rem 1.25rem;
}

.rabor-menu--primary>li>a {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0;
	color: #201c70;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	transition: color 0.25s ease;
}

.rabor-menu--primary>li>a:hover,
.rabor-menu--primary>.current-menu-item>a {
	color: #f15921;
}

.rabor-menu--primary>li>a:focus-visible,
.rabor-header__action:focus-visible,
.rabor-header__toggle:focus-visible,
.rabor-header__search-submit:focus-visible,
.rabor-scroll-top:focus-visible {
	outline: 2px solid var(--rabor-color-accent, #f15921);
	outline-offset: 2px;
}

.rabor-menu-item--mega > .rabor-mega-trigger {
	background: transparent;
	border-radius: 8px;
	padding: 0.35rem 0.15rem;
	color: #f15921;
}

.rabor-menu-item--mega > a {
	background: transparent;
	border-radius: 0;
	padding: 0.35rem 0 !important;
	color: #f15921 !important;
}

.rabor-menu-item--mega > a::before {
	content: "";
	display: inline-block;
	flex-shrink: 0;
	width: 18px;
	height: 14px;
	margin-inline-end: 8px;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}

.rabor-menu-item--mega > a::after {
	content: none;
}

.rabor-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	flex-shrink: 0;
	min-width: 0;
}

.rabor-header__search-wrap {
	display: none;
	flex: 0 1 100%;
	max-width: 100%;
	min-width: 0;
	position: relative;
}

.rabor-header__search-wrap .rabor-header__search {
	width: 100%;
}

.rabor-header__search {
	position: relative;
	display: block;
	width: 100%;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 999px;
}

.rabor-header__search .search-field {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	height: 46px;
	padding-block: 0;
	padding-inline: 46px 1rem;
	font-family: inherit;
	font-size: 0.9rem;
	color: #333;
	min-width: 0;
	border-radius: 999px;
}

.rabor-header__search .search-field:focus {
	outline: none;
}

.rabor-header__search-submit {
	position: absolute;
	inset-inline-start: 4px;
	top: 50%;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: #f15921;
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}

.rabor-header__search-submit:hover {
	background: #e04e18;
}

/* Live search dropdown */
.rabor-header__search-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 1200;
	background: #fff;
	border: 1px solid #ececf4;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(32, 28, 112, 0.12);
	overflow: hidden;
}

.rabor-header__search-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 360px;
	overflow-y: auto;
}

.rabor-header__search-item+.rabor-header__search-item {
	border-top: 1px solid #f0f0f5;
}

.rabor-header__search-item-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: inherit;
	transition: background 0.2s ease;
}

.rabor-header__search-item-link:hover {
	background: #fafafe;
}

.rabor-header__search-item-thumb {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	overflow: hidden;
	background: #f7f7fb;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rabor-header__search-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.rabor-header__search-item-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: start;
}

.rabor-header__search-item-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: #201c70;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rabor-header__search-item-price {
	font-size: 0.88rem;
	font-weight: 700;
	color: #f15921;
}

.rabor-header__search-item-price .price-label {
	display: none;
}

.rabor-header__search-item-price a {
	color: #6966a3;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.85rem;
}

.rabor-header__search-empty {
	padding: 1rem 1.1rem;
	color: #777;
	font-size: 0.9rem;
	text-align: center;
}

.rabor-header__search-more {
	display: block;
	padding: 0.85rem 1rem;
	text-align: center;
	font-weight: 700;
	font-size: 0.9rem;
	color: #201c70;
	text-decoration: none;
	border-top: 1px solid #f0f0f5;
	background: #fafafe;
	transition: background 0.2s ease, color 0.2s ease;
}

.rabor-header__search-more:hover {
	background: #f3f3fa;
	color: #f15921;
}

/* Mini cart */
.rabor-mini-cart {
	position: relative;
	flex-shrink: 0;
}

.rabor-header__cart-toggle {
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.rabor-header__cart-icon-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #201c70;
}

.rabor-header__cart-svg {
	display: block;
}

.rabor-header__cart-count {
	position: absolute;
	top: -4px;
	inset-inline-end: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: linear-gradient(135deg, #f37344, #f15921);
	color: #fff;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
	box-shadow: 0 0 0 2px #fff;
	z-index: 2;
}

.rabor-header__cart-count.is-empty {
	display: none;
}

.rabor-mini-cart__backdrop {
	position: fixed;
	inset: 0;
	z-index: 1290;
	background: rgba(15, 14, 40, 0.45);
}

.rabor-mini-cart__panel {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1300;
	width: min(100%, 400px);
	height: 100vh;
	height: 100dvh;
	background: #fff;
	box-shadow: 8px 0 32px rgba(32, 28, 112, 0.14);
	display: flex;
	flex-direction: column;
	transform: translateX(-105%);
	transition: transform 0.3s ease;
}

.rabor-mini-cart__panel.is-open {
	transform: translateX(0);
}

.rabor-mini-cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid #eee;
}

.rabor-mini-cart__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: #201c70;
}

.rabor-mini-cart__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f3f3fa;
	color: #201c70;
	cursor: pointer;
}

.rabor-mini-cart__body {
	flex: 1;
	overflow-y: auto;
	padding: 0.85rem 1rem 1.25rem;
}

.rabor-mini-cart__body .woocommerce-mini-cart {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.rabor-mini-cart__body .woocommerce-mini-cart-item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.65rem 0.75rem;
	padding: 0.85rem;
	border: 1px solid #ececf4;
	border-radius: 14px;
	background: linear-gradient(180deg, #fafafe 0%, #fff 100%);
	box-shadow: 0 2px 10px rgba(32, 28, 112, 0.04);
}

.rabor-mini-cart__body .woocommerce-mini-cart-item a.remove {
	position: absolute;
	top: 8px;
	inset-inline-end: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f3f3fa;
	color: #8a8aa8 !important;
	font-size: 1.15rem;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.rabor-mini-cart__body .woocommerce-mini-cart-item a.remove:hover {
	background: #fff0eb;
	color: #f15921 !important;
}

.rabor-mini-cart__body .woocommerce-mini-cart-item>a:not(.remove) {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	flex: 1 1 calc(100% - 36px);
	min-width: 0;
	padding-inline-end: 1.75rem;
	text-decoration: none;
	color: #201c70;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-weight: 700;
	font-size: 0.88rem;
	line-height: 1.5;
}

.rabor-mini-cart__body .woocommerce-mini-cart-item>a:not(.remove):hover {
	color: #f15921;
}

.rabor-mini-cart__body .woocommerce-mini-cart-item img {
	flex-shrink: 0;
	width: 68px;
	height: 68px;
	object-fit: contain;
	border-radius: 12px;
	background: #f7f7fb;
	border: 1px solid #ececf4;
}

.rabor-mini-cart__body .woocommerce-mini-cart-item .quantity {
	flex: 1 1 100%;
	margin: 0;
	padding-inline-start: calc(68px + 0.75rem);
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: #8a8aa8;
}

.rabor-mini-cart__body .woocommerce-mini-cart-item .variation,
.rabor-mini-cart__body .woocommerce-mini-cart-item dl {
	width: 100%;
	margin: 0;
	padding-inline-start: calc(68px + 0.75rem);
	font-size: 0.78rem;
	color: #9a9ab0;
}

.rabor-mini-cart__body .woocommerce-mini-cart__empty-message {
	margin: 2rem 0;
	padding: 1.25rem 1rem;
	border: 1px dashed #e0e0ec;
	border-radius: 14px;
	background: #fafafe;
	color: #8a8aa8;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: 0.92rem;
	text-align: center;
	line-height: 1.7;
}

.rabor-mini-cart__body .woocommerce-mini-cart__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border: 1px solid #ececf4;
	border-radius: 12px;
	background: #f7f7fb;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-weight: 700;
	color: #201c70;
}

.rabor-mini-cart__body .woocommerce-mini-cart__total strong {
	font-weight: 700;
	color: #646484;
}

/* Elementor menu-cart markup (Woo fragments on this site) */
.rabor-mini-cart__body .elementor-menu-cart__products {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
}

.rabor-mini-cart__body .elementor-menu-cart__product {
	position: relative;
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr) 28px;
	grid-template-areas:
		"image name remove"
		"image price remove";
	gap: 0.35rem 0.75rem;
	align-items: start;
	padding: 0.85rem;
	border: 1px solid #ececf4;
	border-radius: 14px;
	background: linear-gradient(180deg, #fafafe 0%, #fff 100%);
	box-shadow: 0 2px 10px rgba(32, 28, 112, 0.04);
}

.rabor-mini-cart__body .elementor-menu-cart__product-image {
	grid-area: image;
}

.rabor-mini-cart__body .elementor-menu-cart__product-image img {
	display: block;
	width: 68px;
	height: 68px;
	object-fit: contain;
	border-radius: 12px;
	background: #f7f7fb;
	border: 1px solid #ececf4;
}

.rabor-mini-cart__body .elementor-menu-cart__product-name {
	grid-area: name;
	min-width: 0;
}

.rabor-mini-cart__body .elementor-menu-cart__product-name a {
	display: block;
	text-decoration: none;
	color: #201c70;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-weight: 700;
	font-size: 0.88rem;
	line-height: 1.5;
}

.rabor-mini-cart__body .elementor-menu-cart__product-name a:hover {
	color: #f15921;
}

.rabor-mini-cart__body .elementor-menu-cart__product-price {
	grid-area: price;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: #8a8aa8;
}

.rabor-mini-cart__body .elementor-menu-cart__product-price .woocommerce-Price-amount {
	color: #201c70;
	font-weight: 700;
}

.rabor-mini-cart__body .elementor-menu-cart__product-remove {
	grid-area: remove;
	align-self: start;
}

.rabor-mini-cart__body .elementor-menu-cart__product-remove .remove_from_cart_button {
	display: none;
}

.rabor-mini-cart__body .elementor-menu-cart__product-remove a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #f3f3fa;
	color: #8a8aa8 !important;
	font-size: 1.15rem;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.rabor-mini-cart__body .elementor-menu-cart__product-remove a::before {
	content: "×";
}

.rabor-mini-cart__body .elementor-menu-cart__product-remove a:hover {
	background: #fff0eb;
	color: #f15921 !important;
}

.rabor-mini-cart__body .elementor-menu-cart__subtotal {
	position: static;
	bottom: auto;
	width: 100%;
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border: 1px solid #ececf4;
	border-radius: 12px;
	background: #f7f7fb;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-weight: 700;
	color: #201c70;
}

.rabor-mini-cart__body .elementor-menu-cart__subtotal strong {
	font-weight: 700;
	color: #646484;
}

.rabor-mini-cart__body .elementor-menu-cart__footer-buttons {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.55rem;
	margin-top: 0.85rem;
	padding: 0.25rem 1rem 0;
	width: 100%;
}

.rabor-mini-cart__body .elementor-menu-cart__footer-buttons .elementor-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 44px;
	padding: 0.7rem 1rem !important;
	border-radius: 12px !important;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1.35;
	text-decoration: none;
	box-sizing: border-box;
	white-space: nowrap;
}

.rabor-mini-cart__body .elementor-menu-cart__footer-buttons .elementor-button-content-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.rabor-mini-cart__body .elementor-menu-cart__footer-buttons .elementor-button--view-cart {
	border: 1px solid #e0e0ec !important;
	background: #fff !important;
	color: #201c70 !important;
}

.rabor-mini-cart__body .elementor-menu-cart__footer-buttons .elementor-button--view-cart:hover {
	border-color: #f9d5c8 !important;
	color: #f15921 !important;
}

.rabor-mini-cart__body .elementor-menu-cart__footer-buttons .elementor-button--checkout {
	background: linear-gradient(135deg, #f37344, #f15921) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: 0 4px 12px rgba(241, 89, 33, 0.22);
}

.rabor-mini-cart__body .elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
	background: linear-gradient(135deg, #201c70, #2d2889) !important;
	color: #fff !important;
}

.rabor-mini-cart__body .woocommerce-mini-cart__buttons {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.55rem;
	margin-top: 0.85rem;
	width: 100%;
}

.rabor-mini-cart__body .woocommerce-mini-cart__buttons .button,
.rabor-mini-cart__body .woocommerce-mini-cart__buttons a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100%;
	min-height: 44px;
	padding: 0.7rem 1rem;
	border-radius: 12px;
	font-family: "Yekan Bakh FaNum", sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid #e0e0ec;
	background: #fff;
	color: #201c70 !important;
	box-sizing: border-box;
}

.rabor-mini-cart__body .woocommerce-mini-cart__buttons .button:hover {
	border-color: #f9d5c8;
	color: #f15921 !important;
}

.rabor-mini-cart__body .woocommerce-mini-cart__buttons .checkout {
	background: linear-gradient(135deg, #f37344, #f15921);
	color: #fff !important;
	border: 0;
	box-shadow: 0 4px 12px rgba(241, 89, 33, 0.22);
}

.rabor-mini-cart__body .woocommerce-mini-cart__buttons .checkout:hover {
	background: linear-gradient(135deg, #201c70, #2d2889);
	color: #fff !important;
}

body.rabor-mini-cart-open {
	overflow: hidden;
}

.rabor-header__search-wrap .wd-search-form {
	width: 100%;
}

.rabor-header__search-wrap .searchform {
	--wd-form-height: 46px;
	--wd-form-brd-radius: 999px;
	--wd-form-bg: #fff;
	--wd-form-brd-color: #e0e0e0;
	--wd-form-placeholder-color: #9a9a9a;
	--wd-form-color: #333;
	width: 100%;
	margin: 0;
}

.rabor-header__search-wrap .searchform input[type="text"] {
	font-family: inherit;
	font-size: 0.9rem;
}

.rabor-header__cart-wrap {
	flex-shrink: 0;
}

.rabor-header__cart-wrap>a {
	color: #201c70;
}

.rabor-header__cart-wrap .wd-cart-number,
.rabor-header__cart-wrap .wd-tools-count {
	background: #f15921 !important;
	color: #fff !important;
	font-family: inherit;
}

.rabor-header__cart-wrap:hover>a {
	color: #f15921;
}

.rabor-header__action {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #201c70;
	text-decoration: none;
	flex-shrink: 0;
	transition: color 0.25s ease, transform 0.25s ease;
}

.rabor-header__action:hover {
	color: #f15921;
	transform: translateY(-1px);
}

.rabor-header__account--pill {
	border-radius: 999px;
	background: #f15921;
	color: #fff !important;
	padding: 0.55rem 1.1rem;
	min-width: auto;
	height: auto;
}

.rabor-header__account--pill:hover {
	background: #e04e18;
	color: #fff !important;
	transform: translateY(-1px);
}

.rabor-header__account--pill .rabor-header__icon {
	stroke: #fff;
}

.rabor-header__toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	background: #fafafa;
	cursor: pointer;
	flex-shrink: 0;
}

.rabor-header__toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin-inline: auto;
	background: #333;
	transition: transform 0.28s ease, opacity 0.2s ease;
}

.rabor-header__toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.rabor-header__toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.rabor-header__toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer — base (hidden on desktop) */
.rabor-mobile-nav {
	display: none;
}

.rabor-mobile-nav__backdrop {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 5150;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(18, 16, 48, 0.5);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.32s ease, visibility 0.32s ease;
}

.rabor-mobile-nav__backdrop.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.rabor-mobile-nav-open {
	overflow: hidden;
}

/* Top bar */
.rabor-topbar {
	background: #f15921;
	color: #fff;
	font-size: 0.875rem;
}

.rabor-topbar__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 48px;
    justify-content: space-evenly;
}

.rabor-topbar__text {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	text-align: center;
	justify-content: space-evenly;
}

.rabor-topbar__btn {
	flex: 0 0 auto;
	width: fit-content;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	background: #201c70;
	color: #fff;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	white-space: nowrap;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{
    float: left;
    left: 28px;
    top: -7px;
}



.rabor-topbar__btn:hover {
	background: #2d2889;
	transform: translateY(-1px);
	color: #fff;
}

.rabor-topbar__btn-icon {
	flex-shrink: 0;
}

/* Mega menu trigger — panel styles in mega-menu.css */
.rabor-header__nav--desktop {
	position: relative;
}

.rabor-header__action-label {
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Footer */
.rabor-footer {
	position: relative;
	margin-top: 50px;
	background: #201c70;
	color: #fff;
}

.rabor-footer a {
	color: #fff;
	text-decoration: none;
	transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.rabor-footer__contact-item a:hover,
.rabor-footer__contact-item a:focus-visible {
	color: #ffb347;
}

.rabor-footer__widgets {
	padding: 60px 0 50px;
}

.rabor-footer__main-grid {
	display: grid;
	gap: 2rem 1.5rem;
	grid-template-columns: 1fr;
	direction: rtl;
}

.rabor-footer__brand,
.rabor-footer__col {
	direction: rtl;
	text-align: right;
}

.rabor-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	min-width: 0;
}

.rabor-footer__title {
	display: block;
	width: 100%;
	color: #fdfdfd;
	margin: 0 0 1.15rem;
	font-size: 1.2rem;
	font-weight: 800;
	padding: 0 0 0.7rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	text-align: right;
	position: relative;
	line-height: 1.45;
}

.rabor-footer__title::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	width: 2.75rem;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f15921, #ffb347);
}

.rabor-menu--footer-col {
	flex-direction: column;
	flex-wrap: wrap;
	align-items: stretch;
	align-content: flex-start;
	width: 100%;
	gap: 0;
	text-align: right;
}

.rabor-menu--footer-col li {
	width: 100%;
	text-align: right;
}

.rabor-menu--footer-col li+li {
	margin-top: 0.85rem;
}

.rabor-menu--footer-col a {
	color: rgba(255, 255, 255, 0.82);
	font-weight: 500;
	font-size: 1rem;
	font-family: "Yekan Bakh FaNum", Tahoma, sans-serif;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	text-decoration: none !important;
	line-height: 1.65;
	padding: 0.15rem 0;
	position: relative;
	transition:
		color 0.25s ease,
		transform 0.25s ease,
		padding-inline 0.25s ease;
}

.rabor-menu--footer-col a::before {
	content: "";
	flex-shrink: 0;
	width: 0;
	height: 5px;
	border-radius: 50%;
	background: #f15921;
	opacity: 0;
	transition:
		width 0.22s ease,
		opacity 0.22s ease,
		margin 0.22s ease;
	margin-inline-end: 0;
}

.rabor-menu--footer-col a:hover,
.rabor-menu--footer-col a:focus-visible {
	color: #fff;
	transform: translateX(-3px);
	padding-inline-start: 2px;
}

.rabor-menu--footer-col a:hover::before,
.rabor-menu--footer-col a:focus-visible::before {
	width: 5px;
	opacity: 1;
	margin-inline-end: 0.45rem;
}

.rabor-menu--footer-col a:focus-visible {
	outline: 2px solid rgba(241, 89, 33, 0.55);
	outline-offset: 3px;
	border-radius: 4px;
}

.rabor-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	text-align: right;
	max-width: 34rem;
}

.rabor-footer__brand-logo img,
.rabor-footer__brand-logo .custom-logo--footer {
	max-height: 72px;
}

.rabor-footer__about {
	margin: 0;
	color: #fff;
	line-height: 1.9;
	font-size: 1rem;
	max-width: none;
}

.rabor-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
}

.rabor-footer__contact-item p {
	margin: 0;
	color: #fff;
	line-height: 1.85;
	font-size: 0.95rem;
}

.rabor-footer__contact-icon {
	flex-shrink: 0;
	line-height: 0;
}

.rabor-footer__contact-icon svg {
	display: block;
}

.rabor-footer__social {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}

.rabor-footer__social-link {
	display: inline-flex;
	border-radius: 50%;
	transition: transform 0.25s ease, filter 0.25s ease;
}

.rabor-footer__social-link:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.rabor-footer__social-link img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	display: block;
}

.rabor-footer__meta {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: #181560;
	padding: 1.35rem 0 1.5rem;
}

.rabor-footer__meta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	direction: rtl;
}

.rabor-footer__trust {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem 1.25rem;
}

.rabor-footer__trust img {
	width: auto;
	height: auto;
	display: block;
	max-height: 72px;
	object-fit: contain;
}

.rabor-footer__trust-img--enamad {
	width: 100px;
	max-height: 72px;
}

.rabor-footer__trust-img--samandehi {
	width: 60px;
	max-height: 72px;
}

.rabor-footer__trust-img--sep {
	width: 100px;
	max-height: 56px;
	filter: brightness(1.75) contrast(1.15);
}

.rabor-footer__trust-link,
.rabor-footer__trust-item {
	display: block;
	line-height: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.rabor-footer__trust-link:hover,
.rabor-footer__trust-item:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.rabor-scroll-top {
	position: fixed;
	inset-inline-start: 1.25rem;
	bottom: 1.25rem;
	z-index: 900;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #666;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.rabor-scroll-top:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
	color: #f15921;
}

.rabor-content-area--elementor {
	padding: 0;
}

.rabor-content-area--elementor .rabor-entry-content {
	max-width: none;
	padding: 0;
}


a.button.rabor-thankyou__btn.rabor-thankyou__btn--primary, a.button.rabor-thankyou__btn.rabor-thankyou__btn--secondary {
    display: flex;
    justify-content: center;
    align-items: center;
}



@media (min-width: 768px) and (max-width: 991px) {
	.rabor-footer__main-grid {
		grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
	}
}

@media (min-width: 1200px) {

	.rabor-header__search,
	.rabor-header__search-wrap {
		flex-basis: 460px;
		max-width: 460px;
	}

	.rabor-menu--primary {
		gap: 0.35rem 1.35rem;
	}
}

@media (min-width: 992px) {
	.rabor-header__inner {
		display: grid;
		/* brand | nav | search | actions (search is now its own column). */
		grid-template-columns: auto minmax(0, 1fr) minmax(0, 420px) auto;
		grid-template-areas: "brand nav search actions";
		align-items: center;
		gap: 1.25rem 1.5rem;
		flex-wrap: nowrap;
		min-height: 90px;
	}

	.rabor-header__brand { grid-area: brand; }
	.rabor-header__nav--desktop { grid-area: nav; }
	.rabor-header__search-wrap { grid-area: search; }
	.rabor-header__actions { grid-area: actions; }

	.rabor-header__nav--desktop {
		display: block;
	}

	.rabor-header__search,
	.rabor-header__search-wrap {
	    display: block;
        max-width: 280px;
        width: 78%;
        margin-right: auto;
	}

	.rabor-header__toggle {
		display: none !important;
	}

	.rabor-mobile-nav,
	.rabor-mobile-nav__backdrop {
		display: none !important;
	}

	.rabor-header__actions {
		justify-self: end;
	}

	.rabor-footer__main-grid {
		grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(0, 1fr));
		align-items: start;
		gap: 2rem 1.25rem;
	}
}

@media (max-width: 991px) {
	/* Compact two-row header.
	   Row 1: [logo + hamburger] ........ [cart + account].
	   Row 2: full-width search.
	   Previously brand and actions were each forced to 100% width, which pushed
	   the header to three stacked rows (~305px tall) and — because the header is
	   sticky — permanently ate ~37% of a phone viewport. */
	.rabor-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"brand actions"
			"search search";
		align-items: center;
		gap: 0.5rem 0.65rem;
		min-height: auto;
		padding-block: 0.6rem;
	}

	.rabor-header__brand {
		grid-area: brand;
		width: auto;
		justify-content: flex-start;
		align-items: center;
		gap: 0.5rem;
		min-width: 0;
	}

	.rabor-header__nav--desktop {
		display: none;
	}

	.rabor-header__actions {
		grid-area: actions;
		width: auto;
		justify-content: flex-end;
		flex-wrap: nowrap;
		gap: 0.4rem;
	}

	.rabor-header__search,
	.rabor-header__search-wrap {
		grid-area: search;
		display: block;
		max-width: none;
		width: 100%;
	}

	/* Logo must not collapse: the grid removed the flex sizing it relied on. */
	.rabor-header__brand .rabor-logo,
	.rabor-header__brand .custom-logo-link {
		display: inline-flex;
		align-items: center;
	}

	.rabor-header__brand .rabor-logo img,
	.rabor-header__brand .custom-logo-link img {
		display: block;
		width: auto;
		height: 40px;
		max-height: 40px;
	}

	/* Account label is redundant next to the icon on a phone. */
	.rabor-header__account .rabor-header__action-label {
		display: none;
	}

	.rabor-header__account--pill {
		padding-inline: 0.6rem;
	}

	/* Top bar: keep the promo on one compact row instead of stacking. */
	.rabor-topbar__inner {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 0.6rem;
		min-height: 0;
		padding-block: 0.45rem;
	}

	.rabor-topbar__text {
		flex: 0 1 auto;
		width: auto;
		font-size: 0.72rem;
		line-height: 1.45;
	}

	.rabor-topbar__btn {
		flex: 0 0 auto;
		width: fit-content;
		align-self: center;
		white-space: nowrap;
	}

	.rabor-header__search-submit {
		display: none;
	}

	.rabor-header__search {
		padding-inline: 0.85rem;
	}

	.rabor-header__search .search-field {
		padding-inline: 0.25rem;
	}

	/* Mobile off-canvas navigation */
	.rabor-mobile-nav {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset-block: 0;
		inset-inline-start: 0;
		inset-inline-end: auto;
		top: 0;
		z-index: 5200;
		width: min(340px, 88vw);
		max-width: 340px;
		height: 100dvh;
		margin: 0;
		padding: 0;
		background: #fff;
		box-shadow: -10px 0 40px rgba(18, 16, 48, 0.2);
		visibility: hidden;
		pointer-events: none;
		transform: translate3d(100%, 0, 0);
		transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.34s;
		will-change: transform;
		overflow-x: hidden;
		overflow-y: hidden;
	}

	.rabor-mobile-nav.is-open {
		visibility: visible;
		pointer-events: auto;
		transform: translate3d(0, 0, 0);
	}

	.rabor-mobile-nav[hidden]:not(.is-open) {
		display: flex;
	}

	.rabor-mobile-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		flex: 0 0 auto;
		padding: max(0.9rem, env(safe-area-inset-top)) 1rem 0.85rem;
		border-bottom: 1px solid #ececf4;
		background: linear-gradient(180deg, #fafafe 0%, #fff 100%);
	}

	.rabor-mobile-nav__title {
		margin: 0;
		color: #201c70;
		font-size: 1.05rem;
		font-weight: 800;
		font-family: "Yekan Bakh FaNum", sans-serif;
		line-height: 1.35;
	}

	.rabor-mobile-nav__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 38px;
		height: 38px;
		margin: 0;
		padding: 0;
		border: 1px solid #e0e0ec;
		border-radius: 50%;
		background: #fff;
		color: #201c70;
		font-size: 1.5rem;
		line-height: 1;
		cursor: pointer;
		transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	}

	.rabor-mobile-nav__close:hover,
	.rabor-mobile-nav__close:focus-visible {
		border-color: #f9d5c8;
		background: #fff8f5;
		color: #f15921;
	}

	.rabor-mobile-nav__body {
		flex: 1 1 auto;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		padding: 0.5rem 1rem max(1.25rem, env(safe-area-inset-bottom));
		-webkit-overflow-scrolling: touch;
	}

	.rabor-menu--mobile {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.rabor-menu--mobile>li,
	.rabor-menu--mobile .sub-menu>li {
		list-style: none;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #f0f0f8;
	}

	.rabor-menu--mobile>li:last-child,
	.rabor-menu--mobile .sub-menu>li:last-child {
		border-bottom: 0;
	}

	.rabor-menu--mobile .sub-menu {
		list-style: none;
		margin: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.32s ease;
		background: #fafafe;
		border-radius: 0 0 12px 12px;
	}

	.rabor-menu--mobile .menu-item-has-children.is-expanded>.sub-menu {
		/* Prefer natural height so deep trees are not clipped mid-panel. */
		max-height: none;
		overflow: visible;
		padding-block: 0.15rem 0.5rem;
	}

	.rabor-mobile-nav__body {
		overscroll-behavior: contain;
	}

	.rabor-mobile-nav .rabor-menu-item--mega,
	.rabor-mobile-nav .rabor-menu--mobile > li {
		min-width: 0;
		max-width: 100%;
	}

	.rabor-menu--mobile .sub-menu .sub-menu {
		margin-inline: 0.75rem 0;
		border-inline-start: 2px solid #ececf4;
		border-radius: 0;
		background: transparent;
	}

	.rabor-mobile-nav__row {
		display: flex;
		align-items: center;
		gap: 0.35rem;
		min-height: 48px;
	}

	.rabor-menu--mobile a {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		min-width: 0;
		padding: 0.7rem 0;
		color: #201c70;
		text-decoration: none;
		font-weight: 600;
		font-size: 0.92rem;
		line-height: 1.45;
		transition: color 0.2s ease;
	}

	.rabor-menu--mobile a:hover,
	.rabor-menu--mobile a:focus-visible,
	.rabor-menu--mobile .current-menu-item>.rabor-mobile-nav__row>a,
	.rabor-menu--mobile .current-menu-item>a {
		color: #f15921;
	}

	.rabor-menu--mobile .sub-menu a {
		padding: 0.55rem 0.75rem;
		font-size: 0.86rem;
		font-weight: 500;
		color: #4a4a68;
	}

	.rabor-menu--mobile .sub-menu a:hover,
	.rabor-menu--mobile .sub-menu a:focus-visible {
		color: #f15921;
	}

	.rabor-mobile-submenu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: 36px;
		height: 36px;
		margin: 0;
		padding: 0;
		border: 1px solid #e8e8f0;
		border-radius: 10px;
		background: #fff;
		color: #201c70;
		cursor: pointer;
		transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.25s ease;
	}

	.rabor-mobile-submenu-toggle::before {
		content: "";
		width: 7px;
		height: 7px;
		border-inline-end: 2px solid currentColor;
		border-block-end: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.25s ease;
	}

	.rabor-menu--mobile .menu-item-has-children.is-expanded>.rabor-mobile-nav__row .rabor-mobile-submenu-toggle {
		background: #fff8f5;
		border-color: #f9d5c8;
		color: #f15921;
	}

	.rabor-menu--mobile .menu-item-has-children.is-expanded>.rabor-mobile-nav__row .rabor-mobile-submenu-toggle::before {
		transform: rotate(-135deg);
	}

	.rabor-footer__meta-inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.rabor-footer__trust,
	.rabor-footer__social {
		justify-content: center;
	}

	.rabor-footer__trust {
		flex-wrap: wrap;
	}
}

/* Shop layout */
.rabor-wc-page-content .woocommerce,
.rabor-wc-page-content .wp-block-woocommerce-cart,
.rabor-wc-page-content .wp-block-woocommerce-checkout {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: self-start;
	flex-wrap: wrap;

	.woocommerce-notices-wrapper {
		width: 100%;
	}
}

.rabor-container--checkout {
	max-width: min(100% - 2rem, 1100px);
}

.rabor-shop-layout--has-sidebar {
	display: grid;
	gap: 1.5rem;
}

.rabor-shop-main {
	min-width: 0;
}

@media (min-width: 992px) {
	.rabor-shop-layout--has-sidebar {
		grid-template-columns: 280px 1fr;
	}

	.rabor-shop-layout:has(.rabor-shop-sidebar) {
		grid-template-columns: 280px 1fr;
	}
}

body.rabor-custom-shell .elementor-location-header,
body.rabor-custom-shell .elementor-location-footer {
	display: none !important;
}

@media (max-width: 991px) {

	.rabor-header__search-submit,
	.rabor-header__toggle,
	.rabor-header__action,
	.rabor-header__cart-icon-wrap,
	.rabor-mini-cart__close,
	.rabor-mobile-nav__close,
	.rabor-mobile-submenu-toggle,
	.rabor-shop-filters-toggle {
		min-width: 44px;
		min-height: 44px;
	}

	.rabor-mini-cart__body .woocommerce-mini-cart-item a.remove,
	.rabor-mini-cart__body .elementor-menu-cart__product-remove a {
		width: 44px;
		height: 44px;
	}
}