/* 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-hero-canvas-primary) !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-hero-canvas-primary-rgb), 0.4) !important;
	color: var(--rb-hero-canvas-primary) !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: 100px !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: 68px !important;
	}
}

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

/* Contact page */
.rabeea-store .rb-contact-page {
	position: relative;
	padding-block: clamp(2.2rem, 4vw, 4rem);
	overflow: hidden;
}

.rabeea-store .rb-contact-page::before,
.rabeea-store .rb-contact-page::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
	filter: blur(12px);
}

.rabeea-store .rb-contact-page::before {
	inset-inline-start: -5rem;
	top: 1.5rem;
	width: 14rem;
	height: 14rem;
	background: radial-gradient(circle, rgba(var(--rb-brand-accent-rgb), 0.12) 0%, rgba(var(--rb-brand-accent-rgb), 0) 72%);
}

.rabeea-store .rb-contact-page::after {
	inset-inline-end: -4rem;
	bottom: 0;
	width: 16rem;
	height: 16rem;
	background: radial-gradient(circle, rgba(var(--rb-brand-primary-rgb), 0.08) 0%, rgba(var(--rb-brand-primary-rgb), 0) 74%);
}

.rabeea-store .rb-contact-page .container {
	position: relative;
	z-index: 1;
}

.rabeea-store .rb-contact-page .row {
	--bs-gutter-x: clamp(1.1rem, 2vw, 1.6rem);
	--bs-gutter-y: clamp(1.1rem, 2vw, 1.6rem);
}

.rabeea-store .rb-contact-page__sticky {
	display: grid;
	gap: clamp(1rem, 1.8vw, 1.3rem);
	align-content: start;
	position: relative;
	top: 0;
	width: 100%;
}

.rabeea-store .rb-contact-page .rb-content {
	position: relative;
	height: 100%;
	width: 100%;
	padding: clamp(1.4rem, 2vw, 2rem);
	border: 1px solid rgba(var(--rb-brand-primary-rgb), 0.08);
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(var(--rb-brand-accent-rgb), 0.12), transparent 28%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 250, 253, 0.98) 100%);
	box-shadow: 0 22px 46px rgba(var(--rb-surface-contrast-rgb), 0.08);
	overflow: hidden;
}

.rabeea-store .rb-contact-page__intro {
	padding-block: clamp(1.6rem, 2.4vw, 2.2rem) !important;
}

.rabeea-store .rb-contact-page__meta-card {
	padding-block: clamp(1.25rem, 2vw, 1.75rem) !important;
}

.rabeea-store .rb-contact-page .rb-content::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--rb-brand-accent) 0%, var(--rb-hero-canvas-primary) 100%);
	opacity: 0.92;
}

.rabeea-store .rb-contact-page__intro .rb-page-title {
	margin-bottom: 0.4rem;
	font-size: clamp(2rem, 4vw, 2.8rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.rabeea-store .rb-contact-page__intro .rb-section-title {
	margin-bottom: 0.55rem;
	font-size: 1.32rem;
}

.rabeea-store .rb-contact-page .rb-section-title {
	margin: 0 0 0.7rem;
	font-size: 1.18rem;
	font-weight: 800;
	color: var(--rb-brand-primary);
}

.rabeea-store .rb-contact-page .rb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 1rem;
	padding: 0.48rem 0.9rem;
	border: 1px solid rgba(var(--rb-brand-accent-rgb), 0.2);
	border-radius: 999px;
	background: rgba(var(--rb-brand-accent-rgb), 0.1);
	color: var(--rb-brand-primary);
	font-size: 0.9rem;
	font-weight: 800;
}

.rabeea-store .rb-contact-page p,
.rabeea-store .rb-contact-page li,
.rabeea-store .rb-contact-page .rb-entry-copy {
	color: var(--rb-text-body);
	line-height: 1.85;
}

.rabeea-store .rb-contact-page__intro > p {
	max-width: 34rem;
	font-size: 1.02rem;
}

.rabeea-store .rb-contact-page .rb-entry-copy {
	margin-top: 1.1rem;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(var(--rb-brand-primary-rgb), 0.08);
}

.rabeea-store .rb-contact-meta {
	display: grid;
	gap: 0.95rem;
	margin-top: 1rem;
}

.rabeea-store .rb-contact-meta p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0.95rem 1rem;
	border: 1px solid rgba(var(--rb-brand-primary-rgb), 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.rabeea-store .rb-contact-meta strong {
	color: var(--rb-text-strong);
	font-weight: 800;
}

.rabeea-store .rb-contact-meta a {
	color: var(--rb-brand-primary);
	font-weight: 700;
}

.rabeea-store .rb-contact-page__form-card {
	padding: clamp(1.55rem, 2.4vw, 2.35rem) !important;
	padding-bottom: clamp(1.5rem, 2vw, 2.2rem);
}

.rabeea-store .rb-contact-page__form-card .rb-section-title {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.95rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid rgba(var(--rb-brand-primary-rgb), 0.08);
}

.rabeea-store .rb-contact-page__form-card .rb-section-title::before {
	content: "";
	width: 0.8rem;
	height: 0.8rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--rb-brand-accent) 0%, var(--rb-hero-canvas-primary) 100%);
	box-shadow: 0 0 0 6px rgba(var(--rb-brand-accent-rgb), 0.12);
	flex: 0 0 auto;
}

.rabeea-store .rb-contact-form-wrap {
	margin-top: 0;
	width: 100%;
}

.rabeea-store .rb-contact-form-wrap .wpcf7 {
	width: 100%;
}

.rabeea-store .rb-contact-form-wrap br {
	display: none;
}

.rabeea-store .rb-contact-form-wrap .wpcf7 form {
	display: grid;
	gap: 1.15rem;
	margin: 0;
	width: 100%;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-form p {
	margin: 0;
	display: grid;
	gap: 0.5rem;
}

.rabeea-store .rb-contact-form-wrap .rb-cf7 {
	display: grid;
	gap: 1.1rem;
	width: 100%;
}

.rabeea-store .rb-contact-form-wrap .rb-cf7__grid {
	display: grid;
	gap: 1rem 1rem;
	width: 100%;
}

.rabeea-store .rb-contact-form-wrap .rb-cf7__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rabeea-store .rb-contact-form-wrap .rb-cf7__field {
	display: grid;
	gap: 0.5rem;
	margin: 0;
}

.rabeea-store .rb-contact-form-wrap .rb-cf7__field + .rb-cf7__field {
	margin-top: 0.1rem;
}

.rabeea-store .rb-contact-form-wrap .rb-cf7__check {
	margin-top: 0.15rem;
}

.rabeea-store .rb-contact-form-wrap .rb-cf7__actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 0.35rem;
	width: 100%;
}

.rabeea-store .rb-contact-form-wrap label {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	color: var(--rb-text-strong);
	font-size: 0.95rem;
	font-weight: 700;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.rabeea-store .rb-contact-form-wrap label > .wpcf7-form-control-wrap {
	margin-top: 0.2rem;
}

.rabeea-store .rb-contact-form-wrap :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="url"],
	select,
	textarea
) {
	width: 100%;
	min-height: 58px;
	padding: 0.95rem 1.1rem;
	border: 1px solid rgba(var(--rb-brand-primary-rgb), 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(245, 249, 252, 0.98) 100%);
	box-shadow:
		0 10px 22px rgba(var(--rb-surface-contrast-rgb), 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
	color: var(--rb-text-strong);
	font-size: 0.98rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
	appearance: none;
}

.rabeea-store .rb-contact-form-wrap textarea {
	min-height: 210px;
	resize: vertical;
	padding-top: 1.05rem;
}

.rabeea-store .rb-contact-form-wrap select {
	padding-inline-end: 3.4rem;
	cursor: pointer;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--rb-brand-primary) 50%),
		linear-gradient(135deg, var(--rb-brand-primary) 50%, transparent 50%),
		radial-gradient(circle, rgba(var(--rb-brand-accent-rgb), 0.16) 0%, rgba(var(--rb-brand-accent-rgb), 0.16) 58%, rgba(var(--rb-brand-accent-rgb), 0) 60%);
	background-size: 9px 9px, 9px 9px, 2.4rem 2.4rem;
	background-repeat: no-repeat;
}

html[dir="ltr"] .rabeea-store .rb-contact-form-wrap select {
	padding-inline-start: 1.1rem;
	padding-inline-end: 3.4rem;
	background-position:
		calc(100% - 1.48rem) calc(50% - 2px),
		calc(100% - 1.1rem) calc(50% - 2px),
		calc(100% - 1.3rem) 50%;
}

html[dir="rtl"] .rabeea-store .rb-contact-form-wrap select {
	padding-inline-end: 1.1rem;
	background-position:
		1.08rem calc(50% - 2px),
		1.46rem calc(50% - 2px),
		1.3rem 50%;
}

.rabeea-store .rb-contact-form-wrap :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="url"],
	select,
	textarea
)::placeholder {
	color: var(--rb-text-muted);
}

.rabeea-store .rb-contact-form-wrap :is(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="url"],
	select,
	textarea
):focus {
	border-color: rgba(var(--rb-brand-accent-rgb), 0.45);
	box-shadow:
		0 0 0 5px rgba(var(--rb-brand-accent-rgb), 0.12),
		0 16px 28px rgba(var(--rb-surface-contrast-rgb), 0.08);
	outline: none;
	transform: translateY(-1px);
}

.rabeea-store .rb-contact-form-wrap .wpcf7-not-valid {
	border-color: rgba(220, 53, 69, 0.42) !important;
	box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.09) !important;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-not-valid-tip {
	margin-top: 0.15rem;
	color: #c0392b;
	font-size: 0.82rem;
	font-weight: 700;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-spinner {
	margin: 0.35rem 0 0;
}

.rabeea-store .rb-contact-form-wrap .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 1rem 1.05rem;
	border: 1px solid rgba(var(--rb-brand-accent-rgb), 0.18);
	border-radius: 18px;
	background: rgba(var(--rb-brand-accent-rgb), 0.09);
	font-size: 0.94rem;
	font-weight: 700;
}

.rabeea-store .rb-contact-form-wrap .wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(30, 160, 95, 0.24);
	background: rgba(30, 160, 95, 0.12);
	color: #146c43;
}

.rabeea-store .rb-contact-form-wrap .wpcf7 form.invalid .wpcf7-response-output,
.rabeea-store .rb-contact-form-wrap .wpcf7 form.failed .wpcf7-response-output,
.rabeea-store .rb-contact-form-wrap .wpcf7 form.aborted .wpcf7-response-output {
	border-color: rgba(220, 53, 69, 0.2);
	background: rgba(220, 53, 69, 0.08);
	color: #b02a37;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-acceptance {
	display: block;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-acceptance label {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 0.75rem;
	padding: 0.95rem 1rem;
	border: 1px solid rgba(var(--rb-brand-primary-rgb), 0.08);
	border-radius: 18px;
	background: rgba(var(--rb-brand-accent-rgb), 0.06);
	font-size: 0.92rem;
	font-weight: 600;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-acceptance input[type="checkbox"] {
	margin: 0.18rem 0 0;
	accent-color: var(--rb-brand-accent);
	transform: scale(1.08);
}

.rabeea-store .rb-contact-form-wrap .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	min-height: 58px;
	padding: 1rem 1.9rem;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--rb-hero-canvas-primary) 0%, var(--rb-brand-accent) 100%);
	box-shadow: 0 18px 34px rgba(var(--rb-brand-primary-rgb), 0.2);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 36px rgba(var(--rb-brand-primary-rgb), 0.24);
	filter: saturate(1.06);
}

.rabeea-store .rb-contact-form-wrap .wpcf7-submit:disabled,
.rabeea-store .rb-contact-form-wrap .wpcf7-submit[disabled] {
	background: linear-gradient(135deg, rgba(var(--rb-brand-primary-rgb), 0.42) 0%, rgba(var(--rb-brand-accent-rgb), 0.4) 100%);
	box-shadow: none;
	color: rgba(255, 255, 255, 0.78);
	cursor: not-allowed;
	filter: grayscale(0.1);
	opacity: 0.78;
	transform: none;
}

.rabeea-store .rb-contact-form-wrap .wpcf7-submit:active {
	transform: translateY(0);
}

.rabeea-store .rb-contact-form-wrap .wpcf7-submit:focus-visible {
	outline: none;
	box-shadow:
		0 0 0 5px rgba(var(--rb-brand-accent-rgb), 0.14),
		0 20px 34px rgba(var(--rb-brand-primary-rgb), 0.22);
}

.rabeea-store .rb-contact-form-wrap .wpcf7 form.submitting .wpcf7-submit {
	opacity: 0.9;
	pointer-events: none;
}

@media (min-width: 992px) {
	.rabeea-store .rb-contact-page__form-card {
		min-height: 100%;
	}

	.rabeea-store .rb-contact-page .col-lg-4,
	.rabeea-store .rb-contact-page .col-lg-8 {
		display: flex;
		align-items: flex-start;
	}
}

@media (max-width: 991px) {
	.rabeea-store .rb-contact-page .rb-content {
		border-radius: 24px;
	}

	.rabeea-store .rb-contact-page__sticky {
		position: relative;
		top: 0;
	}

	.rabeea-store .rb-contact-form-wrap .rb-cf7__grid--2 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.rabeea-store .rb-contact-page {
		padding-block: 1.5rem 2.4rem;
	}

	.rabeea-store .rb-contact-page .rb-content {
		padding: 1.2rem;
		border-radius: 22px;
	}

	.rabeea-store .rb-contact-form-wrap :is(
		input[type="text"],
		input[type="email"],
		input[type="tel"],
		input[type="number"],
		input[type="url"],
		select,
		textarea
	) {
		min-height: 54px;
		border-radius: 16px;
	}

	.rabeea-store .rb-contact-form-wrap .wpcf7-submit {
		width: 100%;
		min-width: 0;
		border-radius: 16px;
	}

	.rabeea-store .rb-contact-page__form-card .rb-section-title {
		padding-bottom: 0.75rem;
	}
}
