/* Internal pages baseline */
body:not(.home) {
	background: #ffffff !important;
}

body:not(.home) .rabeea-store {
	background: #ffffff !important;
}

body:not(.home) .rabeea-store .rb-main,
body:not(.home) .rabeea-store .rb-main > section,
body:not(.home) .rabeea-store .rb-main > article,
body:not(.home) .rabeea-store .rb-main > div {
	background: #ffffff !important;
}

body:not(.home) .rabeea-store .rb-main > section:first-child {
	padding-top: var(--rb-space-8);
}

/* Professional internal header */
body:not(.home) .rabeea-store .rb-header {
	position: relative !important;
	top: auto !important;
	inset-inline: 0 !important;
	border-bottom: 1px solid rgba(var(--rb-brand-primary-rgb), 0.1);
	background:
		radial-gradient(circle at 15% -30%, rgba(var(--rb-brand-accent-rgb), 0.18), transparent 46%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(244, 248, 252, 0.95) 100%);
	backdrop-filter: blur(12px);
	box-shadow: 0 14px 30px rgba(var(--rb-surface-contrast-rgb), 0.08);
}

body:not(.home) .rabeea-store .rb-header::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, rgba(var(--rb-brand-secondary-rgb), 0.38) 50%, transparent 100%);
}

body:not(.home) .rabeea-store .rb-header__row {
	padding-block: 0.45rem;
}

body:not(.home) .rabeea-store .rb-brand__logo {
	max-height: 74px;
	filter: drop-shadow(0 7px 14px rgba(var(--rb-brand-primary-rgb), 0.14));
}

body:not(.home) .rabeea-store .rb-menu a {
	color: var(--rb-text-strong);
}

body:not(.home) .rabeea-store .rb-menu a::after {
	background-color: var(--rb-brand-secondary);
}

body:not(.home) .rabeea-store .rb-menu a:hover,
body:not(.home) .rabeea-store .rb-menu > li.current-menu-item > a,
body:not(.home) .rabeea-store .rb-menu > li.current_page_item > a,
body:not(.home) .rabeea-store .rb-menu > li.current-menu-ancestor > a {
	color: var(--rb-brand-primary);
}

body:not(.home) .rabeea-store .rb-icon-link,
body:not(.home) .rabeea-store .rb-menu-toggle,
body:not(.home) .rabeea-store .rb-header-tools .xoo-wsc-cart-trigger.rb-icon-link {
	background: rgba(255, 255, 255, 0.9) !important;
	border-color: rgba(var(--rb-brand-primary-rgb), 0.14) !important;
	color: var(--rb-brand-primary);
	box-shadow: 0 10px 20px rgba(var(--rb-surface-contrast-rgb), 0.07);
}

body:not(.home) .rabeea-store .rb-icon-link:hover,
body:not(.home) .rabeea-store .rb-menu-toggle:hover {
	border-color: rgba(var(--rb-brand-secondary-rgb), 0.4) !important;
	color: var(--rb-brand-secondary);
	box-shadow: 0 12px 22px rgba(var(--rb-brand-primary-rgb), 0.14);
}

body:not(.home) .rabeea-store .rb-menu-toggle span {
	background-color: var(--rb-brand-primary);
}

/* Prevent gray surfaces bleeding into internal pages */
body:not(.home) .rabeea-store .rb-content,
body:not(.home) .rabeea-store .rb-shop-head,
body:not(.home) .rabeea-store .rb-shop-toolbar {
	background: #ffffff !important;
}

@media (max-width: 991px) {
	body:not(.home) .rabeea-store .rb-header__row {
		padding-block: 0.38rem;
	}

	body:not(.home) .rabeea-store .rb-brand__logo {
		max-height: 62px;
	}
}

/* Match home header to the internal-page header exactly */
body.home .rabeea-store .rb-header {
	position: relative !important;
	top: auto !important;
	inset-inline: 0 !important;
	border-bottom: 1px solid rgba(var(--rb-brand-primary-rgb), 0.1) !important;
	background:
		radial-gradient(circle at 15% -30%, rgba(var(--rb-brand-accent-rgb), 0.18), transparent 46%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(244, 248, 252, 0.95) 100%) !important;
	backdrop-filter: blur(12px) !important;
	box-shadow: 0 14px 30px rgba(var(--rb-surface-contrast-rgb), 0.08) !important;
}

body.home .rabeea-store .rb-header::before {
	content: "" !important;
	position: absolute !important;
	inset-inline: 0 !important;
	bottom: 0 !important;
	height: 2px !important;
	background: linear-gradient(90deg, transparent 0%, rgba(var(--rb-brand-secondary-rgb), 0.38) 50%, transparent 100%) !important;
}

body.home .rabeea-store .rb-header__row {
	padding-block: 0.45rem !important;
}

body.home .rabeea-store .rb-brand__logo {
	max-height: 74px !important;
	filter: drop-shadow(0 7px 14px rgba(var(--rb-brand-primary-rgb), 0.14)) !important;
}

body.home .rabeea-store .rb-menu a {
	color: var(--rb-text-strong) !important;
}

body.home .rabeea-store .rb-menu a::after {
	background-color: var(--rb-brand-secondary) !important;
}

body.home .rabeea-store .rb-menu a:hover,
body.home .rabeea-store .rb-menu > li.current-menu-item > a,
body.home .rabeea-store .rb-menu > li.current_page_item > a,
body.home .rabeea-store .rb-menu > li.current-menu-ancestor > a {
	color: var(--rb-brand-primary) !important;
}

body.home .rabeea-store .rb-icon-link,
body.home .rabeea-store .rb-menu-toggle,
body.home .rabeea-store .rb-header-tools .xoo-wsc-cart-trigger.rb-icon-link,
body.home .rabeea-store .rb-header-tools .rb-header-wishlist.rb-icon-link {
	background: rgba(255, 255, 255, 0.9) !important;
	border-color: rgba(var(--rb-brand-primary-rgb), 0.14) !important;
	color: var(--rb-brand-primary) !important;
	box-shadow: 0 10px 20px rgba(var(--rb-surface-contrast-rgb), 0.07) !important;
}

body.home .rabeea-store .rb-icon-link:hover,
body.home .rabeea-store .rb-menu-toggle:hover {
	border-color: rgba(var(--rb-brand-secondary-rgb), 0.4) !important;
	color: var(--rb-brand-secondary) !important;
	box-shadow: 0 12px 22px rgba(var(--rb-brand-primary-rgb), 0.14) !important;
}

body.home .rabeea-store .rb-menu-toggle span {
	background-color: var(--rb-brand-primary) !important;
}

@media (max-width: 991px) {
	body.home .rabeea-store .rb-header__row {
		padding-block: 0.38rem !important;
	}

	body.home .rabeea-store .rb-brand__logo {
		max-height: 62px !important;
	}
}

/* Final unified header logo size */
body.home .rabeea-store .rb-brand__logo,
body:not(.home) .rabeea-store .rb-brand__logo {
	max-height: 74px !important;
	width: auto !important;
}

@media (max-width: 991px) {
	body.home .rabeea-store .rb-brand__logo,
	body:not(.home) .rabeea-store .rb-brand__logo {
		max-height: 62px !important;
	}
}

@media (max-width: 767px) {
	body.home .rabeea-store .rb-brand__logo,
	body:not(.home) .rabeea-store .rb-brand__logo {
		max-height: 50px !important;
	}
}
