/**
 * Single Product Page – Professional Redesign
 * Matches reference: sa.souqms.com layout
 * RTL-friendly, mobile-first
 */

/* ───────────────────────────────────────────────
   1.  PRODUCT GRID – image right, info left (RTL)
   ─────────────────────────────────────────────── */
body.single-product .rabeea-store .woocommerce div.product {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important;
	gap: clamp(1.4rem, 3.2vw, 2.8rem) !important;
	align-items: start !important;
}

/* summary comes first in DOM (left in RTL) */
body.single-product .rabeea-store .woocommerce div.product div.summary {
	order: 1 !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* gallery comes second in DOM (right in RTL) */
body.single-product .rabeea-store .woocommerce div.product div.images,
body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images {
	order: 2 !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	position: sticky !important;
	top: calc(84px + var(--rb-space-4)) !important;
}

/* ───────────────────────────────────────────────
   2.  GALLERY – main + vertical thumbs side
   ─────────────────────────────────────────────── */
body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 108px !important;
	grid-template-areas: "viewport thumbs" !important;
	gap: 14px !important;
	align-items: stretch !important;
	position: sticky !important;
	top: calc(84px + var(--rb-space-4)) !important;
	direction: ltr !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-viewport {
	grid-area: viewport !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	overflow: hidden !important;
	border: 0 !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .woocommerce-product-gallery__wrapper {
	display: flex !important;
	align-items: stretch !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .woocommerce-product-gallery__image {
	border-radius: 0 !important;
	border: 0 !important;
	background: #ffffff !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .woocommerce-product-gallery__image a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	background: #ffffff !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .woocommerce-product-gallery__image img {
	display: block !important;
	width: 100% !important;
	height: clamp(620px, 74vh, 860px) !important;
	object-fit: cover !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	transition: transform 0.5s var(--rb-ease-standard) !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .woocommerce-product-gallery__image:hover img {
	transform: scale(1.04) !important;
}

/* Sale badge on gallery */
body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images span.onsale {
	position: absolute !important;
	top: 18px !important;
	right: 18px !important;
	left: auto !important;
	z-index: 5 !important;
	min-width: auto !important;
	min-height: auto !important;
	padding: 0.5rem 1rem !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: #28364a !important;
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	box-shadow: 0 10px 20px rgba(17, 24, 39, 0.12) !important;
}

/* Zoom icon */
body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .woocommerce-product-gallery__trigger {
	position: absolute !important;
	top: 18px !important;
	left: 18px !important;
	right: auto !important;
	z-index: 6 !important;
	width: 56px !important;
	height: 56px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.98) !important;
	border: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .woocommerce-product-gallery__trigger:hover {
	transform: scale(1.1) !important;
	box-shadow: 0 14px 28px rgba(17, 24, 39, 0.2) !important;
}

/* ───────────────────────────────────────────────
   3.  THUMBNAILS – vertical strip on the side
   ─────────────────────────────────────────────── */
body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-control-thumbs {
	grid-area: thumbs !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	margin: 0 !important;
	max-height: clamp(620px, 74vh, 860px) !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	padding: 0 !important;
	list-style: none !important;
	scrollbar-width: thin !important;
	scrollbar-color: var(--rb-brand-secondary) transparent !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-control-thumbs::-webkit-scrollbar {
	width: 4px !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-control-thumbs::-webkit-scrollbar-track {
	background: transparent !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-control-thumbs::-webkit-scrollbar-thumb {
	background: var(--rb-brand-secondary) !important;
	border-radius: 8px !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-control-thumbs li {
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-control-thumbs li img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border-radius: 0 !important;
	border: 2px solid transparent !important;
	opacity: 1 !important;
	cursor: pointer !important;
	background: #ffffff !important;
	transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-control-thumbs li img:hover {
	border-color: #2b6cb0 !important;
	transform: translateY(-1px) !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-gallery.images .flex-control-thumbs li img.flex-active {
	border-color: #2b6cb0 !important;
	box-shadow: none !important;
	transform: none !important;
}

/* ───────────────────────────────────────────────
   4.  SUMMARY – product info section
   ─────────────────────────────────────────────── */

/* Category meta strip */
.rabeea-store .rb-single-intro-meta {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: var(--rb-space-3) !important;
	margin-bottom: var(--rb-space-3) !important;
}

.rabeea-store .rb-single-intro-meta__cats {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: var(--rb-space-2) !important;
}

.rabeea-store .rb-single-intro-meta__chip {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.3rem 0.72rem !important;
	border-radius: var(--rb-radius-pill) !important;
	background: linear-gradient(135deg, var(--rb-brand-primary) 0%, var(--rb-brand-secondary) 100%) !important;
	color: #fff !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.rabeea-store .rb-single-intro-meta__chip:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 16px rgba(var(--rb-brand-primary-rgb, 15, 76, 92), 0.3) !important;
	color: #fff !important;
}

.rabeea-store .rb-single-intro-meta__sku {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.35rem !important;
	padding: 0.28rem 0.65rem !important;
	border: 1px solid var(--rb-border-default) !important;
	border-radius: var(--rb-radius-pill) !important;
	background: var(--rb-surface-soft) !important;
	font-size: 0.76rem !important;
	color: var(--rb-text-muted) !important;
}

.rabeea-store .rb-single-intro-meta__sku strong {
	color: var(--rb-text-strong) !important;
}

/* Product title */
body.single-product .rabeea-store .woocommerce div.product .product_title {
	font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem) !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	color: var(--rb-text-strong) !important;
	margin-bottom: var(--rb-space-3) !important;
}

/* Rating */
body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-rating {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	margin-bottom: var(--rb-space-3) !important;
	padding: 0.35rem 0.7rem !important;
	border-radius: var(--rb-radius-pill) !important;
	border: 1px solid var(--rb-border-soft) !important;
	background: var(--rb-surface-soft) !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-rating .star-rating {
	color: #f0a540 !important;
	float: none !important;
	margin: 0 !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-rating .woocommerce-review-link,
body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-rating .count {
	display: none !important;
}

/* Price */
body.single-product .rabeea-store .woocommerce div.product p.price,
body.single-product .rabeea-store .woocommerce div.product span.price {
	font-size: clamp(2.05rem, 1.5rem + 1vw, 2.9rem) !important;
	font-weight: 900 !important;
	color: #1b3554 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.75rem !important;
	margin-bottom: var(--rb-space-4) !important;
	line-height: 1.1 !important;
}

body.single-product .rabeea-store .woocommerce div.product p.price del,
body.single-product .rabeea-store .woocommerce div.product span.price del {
	color: #9aa4b2 !important;
	font-size: 0.72em !important;
	text-decoration-thickness: 2px !important;
}

body.single-product .rabeea-store .woocommerce div.product p.price ins,
body.single-product .rabeea-store .woocommerce div.product span.price ins {
	text-decoration: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #1b3554 !important;
}

/* Short description */
body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-details__short-description {
	margin-bottom: var(--rb-space-5) !important;
	padding: var(--rb-space-4) !important;
	border: 1px solid var(--rb-border-soft) !important;
	border-radius: 14px !important;
	background: var(--rb-surface-soft) !important;
	color: var(--rb-text-body) !important;
	font-size: var(--rb-font-size-300) !important;
	line-height: 1.85 !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-details__short-description ul {
	padding-inline-start: 1.2rem !important;
	margin: 0.5rem 0 !important;
}

body.single-product .rabeea-store .woocommerce div.product .woocommerce-product-details__short-description li {
	margin-bottom: 0.4rem !important;
}

/* ───────────────────────────────────────────────
   5.  ADD TO CART FORM
   ─────────────────────────────────────────────── */
body.single-product .rabeea-store .woocommerce div.product form.cart {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: var(--rb-space-3) !important;
	margin-bottom: var(--rb-space-5) !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
}

body.single-product .rabeea-store .woocommerce div.product form.cart .quantity {
	margin: 0 !important;
	flex: 0 0 auto !important;
	position: relative !important;
}

body.single-product .rabeea-store .woocommerce .quantity .qty {
	min-width: 92px !important;
	width: 92px !important;
	height: 54px !important;
	text-align: center !important;
	font-weight: 800 !important;
	font-size: 1.05rem !important;
	color: #1b3554 !important;
	border-radius: 999px !important;
	border: 2px solid #d5dce6 !important;
	background: #ffffff !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.85) !important;
	padding: 0 0.85rem !important;
	appearance: textfield !important;
	-moz-appearance: textfield !important;
}

body.single-product .rabeea-store .woocommerce div.product form.cart .button.single_add_to_cart_button {
	flex: 0 1 auto !important;
	min-height: 54px !important;
	padding: 0.95rem 2.2rem !important;
	font-weight: 800 !important;
	font-size: 1.02rem !important;
	border-radius: 999px !important;
	background: linear-gradient(180deg, #4272c8 0%, #2f5fb7 100%) !important;
	border: 0 !important;
	color: #fff !important;
	box-shadow: 0 14px 28px rgba(47, 95, 183, 0.28) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease !important;
	position: relative !important;
	overflow: hidden !important;
	letter-spacing: 0 !important;
}

body.single-product .rabeea-store .woocommerce div.product form.cart .button.single_add_to_cart_button::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	background: linear-gradient(120deg, rgba(255,255,255,0) 28%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 72%) !important;
	transform: translateX(-120%) !important;
	transition: transform 0.65s ease !important;
}

body.single-product .rabeea-store .woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 18px 36px rgba(47, 95, 183, 0.34) !important;
	filter: brightness(1.03) !important;
}

body.single-product .rabeea-store .woocommerce div.product form.cart .button.single_add_to_cart_button:hover::before {
	transform: translateX(120%) !important;
}

body.single-product .rabeea-store .woocommerce .quantity .qty::-webkit-outer-spin-button,
body.single-product .rabeea-store .woocommerce .quantity .qty::-webkit-inner-spin-button {
	opacity: 1 !important;
	height: auto !important;
}

/* ───────────────────────────────────────────────
   6.  SUMMARY HIGHLIGHT CARDS
   ─────────────────────────────────────────────── */
.rabeea-store .rb-single-summary-highlights {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: var(--rb-space-2) !important;
	margin-bottom: var(--rb-space-4) !important;
}

.rabeea-store .rb-single-summary-highlights__item {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.2rem !important;
	padding: 0.65rem 0.85rem !important;
	border: 1px solid var(--rb-border-soft) !important;
	border-radius: 12px !important;
	background: var(--rb-surface-soft) !important;
	transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.rabeea-store .rb-single-summary-highlights__item:hover {
	transform: translateY(-2px) !important;
	border-color: var(--rb-brand-secondary) !important;
}

.rabeea-store .rb-single-summary-highlights__label {
	font-size: 0.72rem !important;
	color: var(--rb-text-muted) !important;
	font-weight: 600 !important;
}

.rabeea-store .rb-single-summary-highlights__value {
	font-size: 0.88rem !important;
	color: var(--rb-text-strong) !important;
	font-weight: 800 !important;
}

/* ───────────────────────────────────────────────
   7.  TRUST POINTS
   ─────────────────────────────────────────────── */
.rabeea-store .rb-single-trust {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: var(--rb-space-2) !important;
	margin-top: var(--rb-space-3) !important;
	margin-bottom: var(--rb-space-3) !important;
}

.rabeea-store .rb-single-trust__item {
	display: flex !important;
	align-items: center !important;
	gap: 0.45rem !important;
	padding: 0.5rem 0.65rem !important;
	border: 1px solid var(--rb-border-soft) !important;
	border-radius: 10px !important;
	background: var(--rb-surface-base) !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: var(--rb-text-body) !important;
	transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.rabeea-store .rb-single-trust__item:hover {
	transform: translateY(-2px) !important;
	border-color: var(--rb-brand-secondary) !important;
}

.rabeea-store .rb-single-trust__item i {
	color: var(--rb-brand-primary) !important;
	font-size: 1rem !important;
}

/* ───────────────────────────────────────────────
   8.  INFO CARDS (shipping, support)
   ─────────────────────────────────────────────── */
.rabeea-store .rb-single-info-cards {
	display: grid !important;
	gap: var(--rb-space-2) !important;
	margin-top: var(--rb-space-3) !important;
}

.rabeea-store .rb-single-info-card {
	display: flex !important;
	align-items: flex-start !important;
	gap: 0.7rem !important;
	padding: 0.75rem 0.9rem !important;
	border: 1px solid var(--rb-border-soft) !important;
	border-radius: 12px !important;
	background: var(--rb-surface-base) !important;
	transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.rabeea-store .rb-single-info-card:hover {
	transform: translateY(-2px) !important;
	border-color: var(--rb-brand-secondary) !important;
}

.rabeea-store .rb-single-info-card i {
	margin-top: 0.2rem !important;
	color: var(--rb-brand-primary) !important;
	font-size: 1.1rem !important;
}

.rabeea-store .rb-single-info-card strong {
	display: block !important;
	color: var(--rb-text-strong) !important;
	font-size: 0.88rem !important;
}

.rabeea-store .rb-single-info-card p {
	margin: 0.15rem 0 0 !important;
	font-size: 0.78rem !important;
	color: var(--rb-text-muted) !important;
}

/* ───────────────────────────────────────────────
   9.  PRODUCT META (SKU, categories at bottom)
   ─────────────────────────────────────────────── */
body.single-product .rabeea-store .woocommerce div.product .product_meta {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: var(--rb-space-2) !important;
	margin-top: var(--rb-space-4) !important;
	padding-top: var(--rb-space-4) !important;
	border-top: 1px solid var(--rb-border-soft) !important;
	font-size: var(--rb-font-size-200) !important;
}

body.single-product .rabeea-store .woocommerce div.product .product_meta > span {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.3rem !important;
	padding: 0.32rem 0.72rem !important;
	border: 1px solid var(--rb-border-default) !important;
	border-radius: var(--rb-radius-pill) !important;
	background: var(--rb-surface-soft) !important;
	color: var(--rb-text-body) !important;
}

body.single-product .rabeea-store .woocommerce div.product .product_meta > span a {
	color: var(--rb-brand-primary) !important;
	font-weight: 700 !important;
}

body.single-product .rabeea-store .woocommerce div.product .product_meta > span a:hover {
	color: var(--rb-brand-secondary) !important;
}

/* ───────────────────────────────────────────────
   10. TABS – full-width below both columns
   ─────────────────────────────────────────────── */
body.single-product .rabeea-store .woocommerce-tabs {
	grid-column: 1 / -1 !important;
	margin-top: clamp(1.5rem, 3vw, 2.5rem) !important;
}

body.single-product .rabeea-store .woocommerce-tabs ul.tabs {
	display: flex !important;
	gap: 0 !important;
	padding: 0 !important;
	margin: 0 0 -1px !important;
	list-style: none !important;
	border-bottom: 2px solid var(--rb-border-soft) !important;
}

body.single-product .rabeea-store .woocommerce-tabs ul.tabs::before,
body.single-product .rabeea-store .woocommerce-tabs ul.tabs::after {
	display: none !important;
}

body.single-product .rabeea-store .woocommerce-tabs ul.tabs li {
	border: none !important;
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

body.single-product .rabeea-store .woocommerce-tabs ul.tabs li::before,
body.single-product .rabeea-store .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

body.single-product .rabeea-store .woocommerce-tabs ul.tabs li a {
	display: block !important;
	padding: 0.85rem 1.4rem !important;
	font-weight: 700 !important;
	font-size: var(--rb-font-size-300) !important;
	color: var(--rb-text-muted) !important;
	border-bottom: 3px solid transparent !important;
	transition: color 0.3s ease, border-color 0.3s ease !important;
	text-decoration: none !important;
}

body.single-product .rabeea-store .woocommerce-tabs ul.tabs li a:hover {
	color: var(--rb-text-strong) !important;
}

body.single-product .rabeea-store .woocommerce-tabs ul.tabs li.active {
	background: transparent !important;
	border-bottom-color: transparent !important;
}

body.single-product .rabeea-store .woocommerce-tabs ul.tabs li.active a {
	color: var(--rb-brand-primary) !important;
	border-bottom-color: var(--rb-brand-primary) !important;
}

body.single-product .rabeea-store .woocommerce-tabs .panel {
	padding: clamp(1rem, 2.5vw, 1.8rem) !important;
	border: 1px solid var(--rb-border-soft) !important;
	border-top: none !important;
	border-radius: 0 0 16px 16px !important;
	background: var(--rb-surface-base) !important;
	color: var(--rb-text-body) !important;
	font-size: var(--rb-font-size-300) !important;
	line-height: 1.85 !important;
}

body.single-product .rabeea-store .woocommerce-tabs .panel h2 {
	font-size: clamp(1.1rem, 0.9rem + 0.5vw, 1.5rem) !important;
	margin-bottom: var(--rb-space-3) !important;
	color: var(--rb-text-strong) !important;
}

/* ───────────────────────────────────────────────
   11. RELATED PRODUCTS – full-width
   ─────────────────────────────────────────────── */
body.single-product .rabeea-store .related.products {
	grid-column: 1 / -1 !important;
	margin-top: clamp(1.5rem, 3vw, 2.8rem) !important;
	padding-top: var(--rb-space-6) !important;
	border-top: 2px solid var(--rb-border-soft) !important;
}

body.single-product .rabeea-store .related.products > h2 {
	margin-bottom: var(--rb-space-5) !important;
	font-size: clamp(1.3rem, 1rem + 0.8vw, 1.9rem) !important;
	font-weight: 800 !important;
	color: var(--rb-text-strong) !important;
}

body.single-product .rabeea-store .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: var(--rb-space-4) !important;
}

body.single-product .rabeea-store .related.products ul.products li.product {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

/* ───────────────────────────────────────────────
   12. MOBILE RESPONSIVE
   ─────────────────────────────────────────────── */
@media (max-width: 991px) {
	body.single-product .rabeea-store .woocommerce div.product {
		grid-template-columns: 1fr !important;
	}

	body.single-product .rabeea-store .woocommerce div.product div.images {
		order: 1 !important;
		position: static !important;
	}

	body.single-product .rabeea-store .woocommerce div.product div.summary {
		order: 2 !important;
	}

	body.single-product .rabeea-store .woocommerce div.product div.images {
		grid-template-columns: 1fr !important;
		gap: var(--rb-space-3) !important;
	}

	body.single-product .rabeea-store .woocommerce div.product .flex-control-thumbs {
		grid-column: 1 !important;
		grid-row: auto !important;
		flex-direction: row !important;
		max-height: none !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		padding-bottom: 4px !important;
	}

	body.single-product .rabeea-store .woocommerce div.product .flex-control-thumbs li {
		flex: 0 0 72px !important;
		max-width: 72px !important;
	}

	.rabeea-store .rb-single-trust {
		grid-template-columns: 1fr !important;
	}

	.rabeea-store .rb-single-summary-highlights {
		grid-template-columns: 1fr 1fr !important;
	}

	body.single-product .rabeea-store .related.products ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	body.single-product .rabeea-store .woocommerce-tabs ul.tabs li a {
		padding: 0.65rem 0.9rem !important;
		font-size: var(--rb-font-size-200) !important;
	}
}

@media (max-width: 575px) {
	body.single-product .rabeea-store .woocommerce div.product .flex-control-thumbs li {
		flex: 0 0 60px !important;
		max-width: 60px !important;
	}

	.rabeea-store .rb-single-summary-highlights {
		grid-template-columns: 1fr !important;
	}

	body.single-product .rabeea-store .woocommerce-tabs ul.tabs {
		overflow-x: auto !important;
		white-space: nowrap !important;
	}

	body.single-product .rabeea-store .related.products ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: var(--rb-space-3) !important;
	}
}

/* Custom single-product layout override */
body.single-product .rabeea-store .woocommerce .rb-single-product-shell--custom {
	display: block !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr) !important;
	grid-template-areas: "summary gallery" "extras extras" !important;
	gap: clamp(1.4rem, 2.5vw, 2.4rem) !important;
	align-items: start !important;
	direction: ltr !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__summary {
	grid-area: summary !important;
	direction: rtl !important;
	text-align: right !important;
	min-width: 0 !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__gallery {
	grid-area: gallery !important;
	min-width: 0 !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__extras {
	grid-area: extras !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__summary .rb-woo-breadcrumbs {
	margin-bottom: 0.9rem !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery {
	position: sticky !important;
	top: calc(84px + var(--rb-space-4)) !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 104px !important;
	grid-template-areas: "stage thumbs" !important;
	gap: 14px !important;
	align-items: stretch !important;
	direction: ltr !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__stage {
	grid-area: stage !important;
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: clamp(620px, 74vh, 860px) !important;
	background: #ffffff !important;
	overflow: hidden !important;
	text-decoration: none !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__stage img {
	display: block !important;
	width: 100% !important;
	height: clamp(620px, 74vh, 860px) !important;
	object-fit: cover !important;
	background: #ffffff !important;
	transition: transform 0.4s ease !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__stage:hover img {
	transform: scale(1.02) !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__thumbs {
	grid-area: thumbs !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	max-height: clamp(620px, 74vh, 860px) !important;
	overflow-y: auto !important;
	padding: 0 !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__thumb {
	display: block !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	cursor: pointer !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__thumb img {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border: 2px solid transparent !important;
	background: #ffffff !important;
	transition: border-color 0.25s ease, transform 0.25s ease !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__thumb:hover img,
body.single-product .rabeea-store .woocommerce .rb-single-gallery__thumb.is-active img {
	border-color: #2f5fb7 !important;
	transform: translateY(-1px) !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__badge {
	position: absolute !important;
	top: 18px !important;
	right: 18px !important;
	z-index: 3 !important;
	padding: 0.48rem 1rem !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: #28364a !important;
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	box-shadow: 0 10px 20px rgba(17, 24, 39, 0.12) !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__zoom {
	position: absolute !important;
	top: 18px !important;
	left: 18px !important;
	z-index: 3 !important;
	width: 56px !important;
	height: 56px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.98) !important;
	color: #26364a !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14) !important;
	cursor: pointer !important;
}

body.single-product .rabeea-store .woocommerce .rb-single-gallery__zoom i {
	font-size: 1.2rem !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__summary .price {
	justify-content: flex-start !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__summary .rb-single-rating {
	margin-bottom: 1.2rem !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__summary .woocommerce-product-details__short-description {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin-bottom: 1.4rem !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__summary .woocommerce-product-details__short-description p,
body.single-product .rabeea-store .woocommerce .rb-product-layout__summary .woocommerce-product-details__short-description li {
	font-size: 1rem !important;
	line-height: 1.8 !important;
	color: #23364c !important;
}

body.single-product .rabeea-store .woocommerce .rb-product-layout__summary .product_meta {
	margin-top: 1.1rem !important;
}

@media (max-width: 991px) {
	body.single-product .rabeea-store .woocommerce .rb-product-layout {
		grid-template-columns: 1fr !important;
		grid-template-areas:
			"gallery"
			"summary"
			"extras" !important;
	}

	body.single-product .rabeea-store .woocommerce .rb-single-gallery {
		position: static !important;
		grid-template-columns: 1fr !important;
		grid-template-areas:
			"stage"
			"thumbs" !important;
	}

	body.single-product .rabeea-store .woocommerce .rb-single-gallery__stage,
	body.single-product .rabeea-store .woocommerce .rb-single-gallery__stage img {
		min-height: auto !important;
		height: clamp(360px, 56vh, 560px) !important;
	}

	body.single-product .rabeea-store .woocommerce .rb-single-gallery__thumbs {
		flex-direction: row !important;
		max-height: none !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}

	body.single-product .rabeea-store .woocommerce .rb-single-gallery__thumb {
		flex: 0 0 84px !important;
	}
}

@media (max-width: 575px) {
	body.single-product .rabeea-store .woocommerce .rb-single-gallery__thumb {
		flex-basis: 68px !important;
	}
}

/* Final single-product override */
body.single-product #rabeea-store-root.rabeea-store,
body.single-product #rabeea-store-root.rabeea-store .rb-main,
body.single-product #rabeea-store-root.rabeea-store .rb-woo-shell,
body.single-product #rabeea-store-root.rabeea-store .rb-woo-shell > .container,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras,
body.single-product #rabeea-store-root.rabeea-store .woocommerce-tabs,
body.single-product #rabeea-store-root.rabeea-store .woocommerce-tabs .panel,
body.single-product #rabeea-store-root.rabeea-store .related.products {
	background: #ffffff !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-header {
	position: relative !important;
	top: auto !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-woo-shell {
	padding-top: clamp(1.25rem, 2vw, 2rem) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-woo-shell > .container {
	max-width: 1380px !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-product-shell--custom {
	padding: clamp(0.35rem, 1vw, 0.8rem) 0 clamp(2.2rem, 4vw, 3.2rem) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout {
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) !important;
	gap: clamp(1.5rem, 3vw, 3rem) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary {
	padding-top: 0.55rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary-head {
	display: grid !important;
	gap: 0.9rem !important;
	margin-bottom: 1.1rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .rb-woo-breadcrumbs,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .woocommerce-breadcrumb {
	font-size: 1rem !important;
	line-height: 1.8 !important;
	color: #8e6e4b !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-intro-meta__cats {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.55rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-intro-meta__chip {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #1e5fb3 !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .product_title {
	margin: 0 !important;
	color: #1c2d42 !important;
	font-size: clamp(2rem, 1.4rem + 1.6vw, 3.5rem) !important;
	line-height: 1.22 !important;
	font-weight: 900 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .rb-single-rating,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .woocommerce-product-rating {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.6rem !important;
	margin: 0 !important;
	color: #6f8196 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .price {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	justify-content: flex-start !important;
	gap: 0.8rem 1rem !important;
	margin: 0.05rem 0 0 !important;
	direction: rtl !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .price ins {
	order: 1 !important;
	text-decoration: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .price del {
	order: 2 !important;
	opacity: 1 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .price .amount,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .price ins .amount,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .price ins bdi {
	color: #17365c !important;
	font-size: clamp(2rem, 1.6rem + 1vw, 3rem) !important;
	font-weight: 900 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .price del .amount,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .price del bdi {
	color: #a6afba !important;
	font-size: clamp(1.35rem, 1.1rem + 0.55vw, 1.95rem) !important;
	font-weight: 500 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .woocommerce-product-details__short-description {
	margin-bottom: 1.5rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .woocommerce-product-details__short-description p,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .woocommerce-product-details__short-description li {
	color: #34485f !important;
	font-size: 1.14rem !important;
	line-height: 2.05 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-summary-highlights {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.85rem !important;
	margin-bottom: 1.35rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-summary-highlights__item,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-info-card {
	border: 1px solid #e5ebf2 !important;
	border-radius: 22px !important;
	background: #ffffff !important;
	box-shadow: 0 16px 36px rgba(24, 43, 68, 0.07) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-product-shell__purchase {
	margin-bottom: 1.15rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart {
	display: grid !important;
	gap: 0.9rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart__controls {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.9rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .stock {
	margin: 0 !important;
	color: #2f7a44 !important;
	font-weight: 700 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .quantity.rb-qty-shell {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 158px !important;
	min-width: 158px !important;
	height: 58px !important;
	padding: 0 0.55rem !important;
	border: 1px solid #d7e0eb !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	box-shadow: 0 14px 30px rgba(22, 41, 67, 0.08) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .rb-qty-shell__btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 42px !important;
	height: 42px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #f2f6fb !important;
	color: #1f3f67 !important;
	box-shadow: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .rb-qty-shell__btn:hover {
	background: #e5eef9 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .qty {
	width: 48px !important;
	min-width: 48px !important;
	height: 42px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #17365c !important;
	font-size: 1.15rem !important;
	font-weight: 800 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .qty::-webkit-outer-spin-button,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .qty::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .qty[type=number] {
	-moz-appearance: textfield !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .single_add_to_cart_button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.7rem !important;
	min-width: 240px !important;
	min-height: 58px !important;
	padding: 0 2rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--rb-brand-primary) 0%, var(--rb-brand-secondary) 100%) !important;
	color: #ffffff !important;
	font-size: 1.06rem !important;
	font-weight: 800 !important;
	box-shadow: 0 18px 34px rgba(var(--rb-brand-primary-rgb), 0.28) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .single_add_to_cart_button:hover {
	transform: translateY(-1px) !important;
	filter: brightness(1.02) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .added_to_cart {
	display: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart__note {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.6rem !important;
	margin: 0 !important;
	color: #61748a !important;
	font-size: 0.96rem !important;
	font-weight: 600 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery {
	grid-template-columns: minmax(0, 1fr) 118px !important;
	gap: 16px !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery__stage {
	min-height: auto !important;
	aspect-ratio: 1 / 1.06 !important;
	border: 1px solid #e8eef5 !important;
	border-radius: 0 !important;
	background: linear-gradient(180deg, #f8fbfe 0%, #eef4f9 100%) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery__stage img {
	height: 100% !important;
	padding: 1rem !important;
	object-fit: contain !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery__thumbs {
	gap: 14px !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery__thumb img {
	border: 1px solid #e3eaf2 !important;
	border-radius: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery__thumb.is-active img,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery__thumb:hover img {
	border-color: #1e57ad !important;
	box-shadow: 0 12px 26px rgba(30, 87, 173, 0.14) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-trust {
	gap: 0.65rem !important;
	margin-bottom: 1rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-trust__item {
	border-radius: 999px !important;
	background: #f4f8fc !important;
	color: #274465 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .product_meta {
	padding-top: 0.2rem !important;
	border-top: 0 !important;
	color: #6f8196 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-info-cards {
	margin-top: 1.2rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras {
	margin-top: 2rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras .woocommerce-tabs {
	padding: 0 !important;
	border: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras .woocommerce-tabs ul.tabs {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.8rem !important;
	padding: 0 !important;
	margin: 0 0 1.3rem !important;
	border: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras .woocommerce-tabs ul.tabs::before,
body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras .woocommerce-tabs ul.tabs::after {
	display: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras .woocommerce-tabs ul.tabs li a {
	padding: 0.9rem 1.2rem !important;
	border: 1px solid #dfE8f2 !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: #274465 !important;
	font-weight: 800 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras .woocommerce-tabs ul.tabs li.active a {
	background: #1e57ad !important;
	border-color: #1e57ad !important;
	color: #ffffff !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__extras .woocommerce-tabs .panel {
	padding: clamp(1.2rem, 2.4vw, 2rem) !important;
	border: 1px solid #e5ebf2 !important;
	border-radius: 28px !important;
	box-shadow: 0 18px 40px rgba(25, 41, 64, 0.06) !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-related-products {
	margin-top: 2rem !important;
	padding-top: 0.5rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-related-products__head h2 {
	color: #1c2d42 !important;
	font-size: clamp(1.55rem, 1.2rem + 0.7vw, 2.1rem) !important;
	font-weight: 900 !important;
}

@media (max-width: 991px) {
	body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout {
		grid-template-columns: 1fr !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery {
		grid-template-columns: 1fr !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-gallery__stage {
		aspect-ratio: 1 / 1 !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart__controls {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .single_add_to_cart_button,
	body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-cart .quantity.rb-qty-shell {
		width: 100% !important;
	}
}

@media (max-width: 575px) {
	body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-product-layout__summary .product_title {
		font-size: 1.7rem !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .woocommerce .rb-single-summary-highlights {
		grid-template-columns: 1fr !important;
	}
}

/* Final refinement: stable two-column product layout with polished cards */
body.single-product #rabeea-store-root.rabeea-store,
body.single-product #rabeea-store-root.rabeea-store .rb-main,
body.single-product #rabeea-store-root.rabeea-store .rb-main > section,
body.single-product #rabeea-store-root.rabeea-store .rb-woo-shell,
body.single-product #rabeea-store-root.rabeea-store .rb-woo-shell > .container {
	background:
		radial-gradient(circle at top right, rgba(199, 220, 246, 0.4) 0, rgba(199, 220, 246, 0) 28%),
		linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f7f9fc 100%) !important;
}

body.single-product #rabeea-store-root.rabeea-store div.product.rb-single-product-shell.rb-single-product-shell--custom {
	display: block !important;
	margin: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-product-shell--custom {
	padding: clamp(0.6rem, 1vw, 1rem) 0 clamp(2.5rem, 4vw, 3.4rem) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr) !important;
	grid-template-areas:
		"summary gallery"
		"extras extras" !important;
	gap: clamp(1.35rem, 2.7vw, 2.75rem) !important;
	align-items: start !important;
	direction: ltr !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras {
	min-width: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary {
	grid-area: summary !important;
	direction: rtl !important;
	text-align: right !important;
	padding: clamp(1.35rem, 2.6vw, 2.15rem) !important;
	border: 1px solid #e5edf7 !important;
	border-radius: 30px !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 250, 255, 0.98) 100%) !important;
	box-shadow: 0 24px 56px rgba(16, 40, 72, 0.08) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary-head {
	gap: 0.8rem !important;
	margin-bottom: 1.35rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .product_title {
	font-size: clamp(1.72rem, 1.32rem + 1.05vw, 2.55rem) !important;
	line-height: 1.3 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .price {
	margin-top: 0.15rem !important;
	margin-bottom: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .woocommerce-product-details__short-description {
	margin: 0 0 1.5rem !important;
	padding: 1.15rem 1.25rem !important;
	border: 1px solid #e7edf5 !important;
	border-radius: 22px !important;
	background: rgba(245, 249, 255, 0.88) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .woocommerce-product-details__short-description p,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .woocommerce-product-details__short-description li {
	font-size: 1.04rem !important;
	line-height: 1.95 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-summary-highlights {
	margin-bottom: 1.5rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-summary-highlights__item,
body.single-product #rabeea-store-root.rabeea-store .rb-single-info-card {
	border-radius: 24px !important;
	background: #ffffff !important;
	box-shadow: 0 18px 34px rgba(24, 43, 68, 0.06) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-product-shell__purchase {
	margin-bottom: 1.25rem !important;
	padding: 1rem 1.05rem !important;
	border: 1px solid #dce8f5 !important;
	border-radius: 26px !important;
	background: linear-gradient(180deg, #f9fbfe 0%, #f2f7fd 100%) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart {
	gap: 1rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart__controls {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 0.85rem !important;
	min-height: 60px !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart__controls > * {
	float: none !important;
	margin: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .quantity.rb-qty-shell {
	width: 164px !important;
	min-width: 164px !important;
	height: 60px !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .quantity.rb-qty-shell > .quantity {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 1 1 auto !important;
	margin: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .single_add_to_cart_button {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	min-height: 60px !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-trust {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	margin-bottom: 1.1rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-trust__item {
	justify-content: center !important;
	text-align: center !important;
	min-height: 54px !important;
}

body.single-product #rabeea-store-root.rabeea-store .product_meta {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.7rem !important;
	margin-top: 1rem !important;
	padding-top: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .product_meta > span {
	margin: 0 !important;
	padding: 0.8rem 1rem !important;
	border: 1px solid #e2e9f3 !important;
	border-radius: 18px !important;
	background: #ffffff !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery {
	grid-area: gallery !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery {
	position: sticky !important;
	top: calc(84px + var(--rb-space-4)) !important;
	padding: 1rem !important;
	border: 1px solid #e4ebf5 !important;
	border-radius: 30px !important;
	background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
	box-shadow: 0 24px 56px rgba(16, 40, 72, 0.08) !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 112px !important;
	grid-template-areas: "stage thumbs" !important;
	align-items: start !important;
	gap: 1rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__stage {
	grid-area: stage !important;
	aspect-ratio: 1 / 1 !important;
	border-radius: 24px !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__stage img {
	padding: 1.2rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__thumbs {
	grid-area: thumbs !important;
	display: flex !important;
	flex-direction: column !important;
	align-self: stretch !important;
	width: 112px !important;
	max-width: 112px !important;
	max-height: 100% !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	gap: 0.85rem !important;
	padding-inline-start: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__thumb {
	border-radius: 18px !important;
	overflow: hidden !important;
	flex: 0 0 auto !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__thumb img {
	border-radius: 18px !important;
	background: #ffffff !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras {
	grid-area: extras !important;
	margin-top: 0.15rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras .woocommerce-tabs .panel {
	background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

@media (max-width: 1199px) {
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr) !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery {
		grid-template-columns: minmax(0, 1fr) 96px !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__thumbs {
		width: 96px !important;
		max-width: 96px !important;
	}
}

@media (max-width: 991px) {
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout {
		grid-template-columns: 1fr !important;
		grid-template-areas:
			"gallery"
			"summary"
			"extras" !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary,
	body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery {
		padding: 1rem !important;
		border-radius: 24px !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery {
		position: static !important;
		grid-template-columns: 1fr !important;
		grid-template-areas:
			"stage"
			"thumbs" !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__thumbs {
		flex-direction: row !important;
		width: 100% !important;
		max-width: none !important;
		max-height: none !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__thumb {
		flex: 0 0 82px !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-trust {
		grid-template-columns: 1fr !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-cart__controls {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .quantity.rb-qty-shell,
	body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .single_add_to_cart_button {
		width: 100% !important;
		min-width: 0 !important;
	}
}

@media (max-width: 575px) {
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary {
		padding: 0.9rem !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .product_title {
		font-size: 1.65rem !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-summary-highlights {
		grid-template-columns: 1fr !important;
	}
}

/* Premium single-product polish */
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .price {
	align-items: center !important;
	gap: 0.85rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .price ins {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.65rem !important;
	padding: 0.6rem 1rem !important;
	border-radius: 20px !important;
	background: linear-gradient(180deg, rgba(226, 239, 255, 0.92) 0%, rgba(242, 247, 255, 0.98) 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .price ins::before {
	content: "الآن" !important;
	font-size: 0.86rem !important;
	font-weight: 800 !important;
	color: #57708f !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .price del {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.45rem !important;
	padding: 0.52rem 0.9rem !important;
	border-radius: 999px !important;
	background: rgba(241, 244, 248, 0.95) !important;
	text-decoration: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .price del::before {
	content: "قبل" !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	color: #7e8a98 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .price del .amount,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary .price del bdi {
	text-decoration: line-through !important;
	text-decoration-thickness: 2px !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-price-meta {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.7rem !important;
	margin-top: 0.95rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-price-meta__chip {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.58rem 0.95rem !important;
	border-radius: 999px !important;
	font-size: 0.88rem !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-price-meta__chip--saving {
	background: linear-gradient(135deg, #ffede0 0%, #fff4ea 100%) !important;
	color: #b25516 !important;
	border: 1px solid rgba(210, 118, 42, 0.2) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-price-meta__chip--offer {
	background: linear-gradient(135deg, #ebf4ff 0%, #f6faff 100%) !important;
	color: #245087 !important;
	border: 1px solid rgba(36, 80, 135, 0.12) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-product-shell__purchase {
	overflow: hidden !important;
	position: relative !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-product-shell__purchase::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 auto auto 0 !important;
	width: 100% !important;
	height: 1px !important;
	background: linear-gradient(90deg, rgba(30, 87, 173, 0) 0%, rgba(30, 87, 173, 0.2) 50%, rgba(30, 87, 173, 0) 100%) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .stock {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.45rem !important;
	padding: 0.52rem 0.85rem !important;
	border-radius: 999px !important;
	background: #eef9f1 !important;
	border: 1px solid rgba(47, 122, 68, 0.14) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .quantity.rb-qty-shell {
	border: 1px solid #d7e3f1 !important;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
	box-shadow:
		0 18px 36px rgba(17, 38, 66, 0.08) !important,
		inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .quantity.rb-qty-shell:hover,
body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .quantity.rb-qty-shell:focus-within {
	border-color: #92b5ea !important;
	box-shadow:
		0 22px 42px rgba(17, 38, 66, 0.1) !important,
		0 0 0 5px rgba(46, 104, 194, 0.08) !important;
	transform: translateY(-1px) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .rb-qty-shell__btn {
	background: linear-gradient(180deg, #f1f7ff 0%, #e7f0fc 100%) !important;
	color: #1b4d88 !important;
	box-shadow: 0 8px 18px rgba(31, 76, 137, 0.1) !important;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .rb-qty-shell__btn:hover {
	background: linear-gradient(180deg, #dfeeff 0%, #d4e7ff 100%) !important;
	transform: translateY(-1px) scale(1.02) !important;
	box-shadow: 0 12px 22px rgba(31, 76, 137, 0.14) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .rb-qty-shell__btn:active {
	transform: scale(0.98) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .qty {
	font-size: 1.18rem !important;
	letter-spacing: 0.02em !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .single_add_to_cart_button {
	position: relative !important;
	overflow: hidden !important;
	background: linear-gradient(135deg, var(--rb-brand-primary) 0%, var(--rb-brand-secondary) 100%) !important;
	box-shadow: 0 20px 40px rgba(var(--rb-brand-primary-rgb), 0.28) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .single_add_to_cart_button::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.26) 48%, rgba(255, 255, 255, 0) 72%) !important;
	transform: translateX(-130%) !important;
	transition: transform 0.8s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .single_add_to_cart_button:hover {
	transform: translateY(-2px) !important;
	filter: brightness(1.02) !important;
	box-shadow: 0 24px 46px rgba(var(--rb-brand-primary-rgb), 0.34) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart .single_add_to_cart_button:hover::before {
	transform: translateX(130%) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-cart__note {
	padding: 0.9rem 1rem !important;
	border-radius: 18px !important;
	background: rgba(243, 248, 255, 0.92) !important;
	border: 1px solid rgba(69, 115, 184, 0.12) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.45rem !important;
	padding: 0.78rem 1.15rem !important;
	border: 1px solid rgba(227, 130, 43, 0.18) !important;
	background: linear-gradient(135deg, rgba(255, 243, 229, 0.98) 0%, rgba(255, 250, 245, 0.98) 100%) !important;
	color: #ad5a1d !important;
	backdrop-filter: blur(12px) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__zoom {
	width: auto !important;
	min-width: 56px !important;
	padding: 0.78rem 1rem !important;
	gap: 0.55rem !important;
	border: 1px solid rgba(32, 60, 101, 0.08) !important;
	backdrop-filter: blur(12px) !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__zoom:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 16px 30px rgba(17, 24, 39, 0.18) !important;
	background: #ffffff !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__zoom-text {
	font-size: 0.9rem !important;
	font-weight: 800 !important;
	color: #203c65 !important;
	line-height: 1 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__stage {
	cursor: zoom-in !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .woocommerce-Reviews-title,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-reply-title {
	color: #1b2f49 !important;
	font-size: clamp(1.25rem, 1rem + 0.5vw, 1.6rem) !important;
	font-weight: 900 !important;
	line-height: 1.4 !important;
	margin: 0 0 1rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .commentlist {
	display: grid !important;
	gap: 1rem !important;
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
	list-style: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container {
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr) !important;
	gap: 1rem !important;
	padding: 1.1rem !important;
	border: 1px solid #e5edf7 !important;
	border-radius: 24px !important;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%) !important;
	box-shadow: 0 16px 34px rgba(17, 41, 70, 0.06) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container img.avatar {
	border-radius: 18px !important;
	border: 1px solid #e0e8f2 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text {
	padding: 0 !important;
	border: 0 !important;
	margin: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text .meta {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.45rem !important;
	margin: 0.6rem 0 0.75rem !important;
	color: #687b91 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text .description {
	color: #30465f !important;
	font-size: 1rem !important;
	line-height: 1.9 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .star-rating {
	color: #f1ab3d !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form_wrapper {
	margin-top: 1.35rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-respond {
	padding: clamp(1.15rem, 2vw, 1.7rem) !important;
	border: 1px solid #e2ebf6 !important;
	border-radius: 28px !important;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
	box-shadow: 0 20px 42px rgba(16, 40, 72, 0.07) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-notes,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .logged-in-as {
	margin: 0 0 0.9rem !important;
	color: #677b93 !important;
	line-height: 1.8 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 1rem 1.15rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form > p,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form > div {
	margin: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form label {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.3rem !important;
	margin-bottom: 0.55rem !important;
	color: #284461 !important;
	font-size: 0.98rem !important;
	font-weight: 800 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-comment,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-cookies-consent,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .form-submit {
	grid-column: 1 / -1 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="text"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="email"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="tel"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form select,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form textarea {
	width: 100% !important;
	border: 1.5px solid #d8e3f1 !important;
	border-radius: 20px !important;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
	color: #18314f !important;
	font-size: 1rem !important;
	line-height: 1.6 !important;
	padding: 0.95rem 1rem !important;
	transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="text"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="email"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="tel"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form select {
	min-height: 56px !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form textarea {
	min-height: 180px !important;
	resize: vertical !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input:focus,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form select:focus,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form textarea:focus {
	outline: 0 !important;
	border-color: #87afe8 !important;
	box-shadow: 0 0 0 5px rgba(42, 104, 198, 0.08) !important;
	transform: translateY(-1px) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.35rem !important;
	margin: 0.15rem 0 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars a {
	width: 42px !important;
	height: 42px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 14px !important;
	background: #f8fbff !important;
	border: 1px solid #dce7f5 !important;
	color: #9ba7b6 !important;
	text-indent: 0 !important;
	transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars:hover a,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars.selected a.active,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars a:hover,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars a.active {
	color: #eea93d !important;
	border-color: rgba(238, 169, 61, 0.34) !important;
	background: #fff8ef !important;
	transform: translateY(-1px) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-cookies-consent {
	display: flex !important;
	align-items: flex-start !important;
	gap: 0.75rem !important;
	padding: 0.95rem 1rem !important;
	border-radius: 18px !important;
	background: rgba(244, 248, 255, 0.92) !important;
	border: 1px solid rgba(75, 111, 168, 0.12) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-cookies-consent input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	margin: 0.15rem 0 0 !important;
	accent-color: #1d5ab3 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-cookies-consent label {
	margin: 0 !important;
	font-size: 0.96rem !important;
	font-weight: 600 !important;
	line-height: 1.9 !important;
	color: #53687f !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .form-submit {
	padding-top: 0.25rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input.submit,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form button.submit {
	min-width: 170px !important;
	min-height: 56px !important;
	padding: 0.95rem 1.8rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #2870d7 0%, #1d5ab3 100%) !important;
	color: #ffffff !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	box-shadow: 0 18px 36px rgba(29, 90, 179, 0.24) !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input.submit:hover,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form button.submit:hover {
	transform: translateY(-2px) !important;
	filter: brightness(1.03) !important;
	box-shadow: 0 22px 40px rgba(29, 90, 179, 0.28) !important;
}

@media (max-width: 767px) {
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form {
		grid-template-columns: 1fr !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container {
		grid-template-columns: 1fr !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__zoom {
		padding: 0.7rem 0.85rem !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-single-gallery__zoom-text {
		display: none !important;
	}
}

/* Review section stability fixes */
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews ol.commentlist li.review {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container {
	display: flex !important;
	flex-direction: row-reverse !important;
	align-items: flex-start !important;
	gap: 1rem !important;
	min-height: 0 !important;
	padding: 1.15rem !important;
	border: 1px solid #e5edf7 !important;
	border-radius: 24px !important;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%) !important;
	box-shadow: 0 16px 34px rgba(17, 41, 70, 0.06) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container img.avatar {
	flex: 0 0 60px !important;
	width: 60px !important;
	height: 60px !important;
	margin: 0 !important;
	border-radius: 18px !important;
	border: 1px solid #e0e8f2 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	text-align: right !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text .star-rating {
	float: none !important;
	display: block !important;
	margin: 0 0 0.55rem auto !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text .meta {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.45rem !important;
	justify-content: flex-start !important;
	margin: 0.45rem 0 0.8rem !important;
	row-gap: 0.35rem !important;
	color: #687b91 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text .description p {
	margin: 0 !important;
	color: #30465f !important;
	font-size: 1rem !important;
	line-height: 1.9 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating {
	display: grid !important;
	gap: 0.65rem !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars {
	display: inline-block !important;
	direction: ltr !important;
	unicode-bidi: bidi-override !important;
	line-height: 1 !important;
	width: auto !important;
	margin: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a {
	position: relative !important;
	width: 46px !important;
	height: 46px !important;
	float: left !important;
	display: inline-block !important;
	margin-inline: 0 0.45rem !important;
	border-radius: 15px !important;
	background: #f8fbff !important;
	border: 1px solid #dce7f5 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-indent: -9999px !important;
	overflow: hidden !important;
	white-space: nowrap !important;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a::before {
	position: absolute !important;
	inset: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	font-size: 1.45rem !important;
	line-height: 1 !important;
	text-indent: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars:hover a::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a.active::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a:hover::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a.active::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a:not(.active)::before {
	color: #eea93d !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars:hover a,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a.active,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a:hover,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a:not(.active) {
	border-color: rgba(238, 169, 61, 0.34) !important;
	background: #fff8ef !important;
	transform: translateY(-1px) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a:hover ~ a,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a.active ~ a {
	border-color: #dce7f5 !important;
	background: #f8fbff !important;
	transform: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text::after,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container::after {
	content: none !important;
}

@media (max-width: 767px) {
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container {
		flex-direction: column !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a {
		width: 42px !important;
		height: 42px !important;
		margin-inline: 0 0.35rem !important;
	}
}

/* Palette normalization */
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="text"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="email"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input[type="tel"],
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form select,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form textarea {
	border-color: var(--rb-border-default) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, var(--rb-surface-base) 100%) !important;
	color: var(--rb-text-strong) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input:focus,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form select:focus,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form textarea:focus {
	border-color: var(--rb-brand-secondary) !important;
	box-shadow: 0 0 0 5px rgba(var(--rb-brand-secondary-rgb), 0.14) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars a,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a {
	background: rgba(255, 255, 255, 0.98) !important;
	border-color: var(--rb-border-soft) !important;
	color: var(--rb-text-muted) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars:hover a,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars.selected a.active,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars a:hover,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars a.active,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars:hover a,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a.active,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a:hover,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a:not(.active) {
	border-color: rgba(var(--rb-brand-accent-rgb), 0.34) !important;
	background: rgba(var(--rb-brand-accent-rgb), 0.1) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars:hover a::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars.selected a.active::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars a:hover::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars a.active::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form p.stars.selected a:not(.active)::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars:hover a::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a.active::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a:hover::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a.active::before,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a:not(.active)::before {
	color: var(--rb-brand-accent) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars a:hover ~ a,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-rating p.stars.selected a.active ~ a {
	border-color: var(--rb-border-soft) !important;
	background: rgba(255, 255, 255, 0.98) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-cookies-consent {
	background: rgba(var(--rb-brand-secondary-rgb), 0.08) !important;
	border-color: rgba(var(--rb-brand-secondary-rgb), 0.14) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-cookies-consent input[type="checkbox"] {
	accent-color: var(--rb-brand-primary) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form .comment-form-cookies-consent label,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text .meta {
	color: var(--rb-text-muted) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input.submit,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form button.submit {
	background: linear-gradient(135deg, var(--rb-brand-primary) 0%, var(--rb-brand-secondary) 100%) !important;
	box-shadow: 0 18px 36px rgba(var(--rb-brand-primary-rgb), 0.24) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form input.submit:hover,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #review_form button.submit:hover {
	box-shadow: 0 22px 40px rgba(var(--rb-brand-primary-rgb), 0.28) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container {
	border-color: var(--rb-border-soft) !important;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, var(--rb-surface-base) 100%) !important;
	box-shadow: 0 16px 34px rgba(var(--rb-surface-contrast-rgb), 0.06) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment_container img.avatar {
	border-color: var(--rb-border-default) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras #reviews .comment-text .description p {
	color: var(--rb-text-body) !important;
}
