body.single-product #rabeea-store-root.rabeea-store {
	--rb-gallery-gap: 0.75rem;
	--rb-gallery-thumb-gap: 0.75rem;
	--rb-gallery-thumb-size: 108px;
	--rb-gallery-main-height: clamp(440px, 62vh, 520px);
	--rb-gallery-thumb-visible: 4;
	--rb-gallery-arrow-size: 32px;
	--rb-gallery-arrow-gap: 0.5rem;
	--rb-gallery-thumb-gap-total: calc(var(--rb-gallery-thumb-gap) * 3);
	--rb-gallery-thumbs-viewport-height: calc(var(--rb-gallery-main-height) - (var(--rb-gallery-arrow-size) * 2) - (var(--rb-gallery-arrow-gap) * 2));
	--rb-gallery-thumb-height: calc((var(--rb-gallery-thumbs-viewport-height) - var(--rb-gallery-thumb-gap-total)) / var(--rb-gallery-thumb-visible));
}

body.single-product.rabeea-motion-ready #rabeea-store-root.rabeea-store [data-rb-reveal] {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .tinv-wishlist.tinvwl-after-add-to-cart .tinvwl_add_to_wishlist_button {
	margin-top: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .woocommerce div.product form.cart {
	margin-bottom: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout {
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr) !important;
	grid-template-areas: "summary gallery" "extras extras" !important;
	align-items: start !important;
}

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

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery {
	grid-area: gallery !important;
	position: relative !important;
	width: 100% !important;
	max-width: 760px !important;
	justify-self: end !important;
}

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

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .rb-single-gallery-sale-badge {
	position: absolute !important;
	top: 16px !important;
	right: calc(var(--rb-gallery-thumb-size) + var(--rb-gallery-gap) + 16px) !important;
	z-index: 11 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images {
	position: sticky !important;
	top: calc(84px + var(--rb-space-4)) !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: var(--rb-gallery-gap) !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	direction: ltr !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__trigger {
	position: absolute !important;
	top: 16px !important;
	left: 16px !important;
	right: auto !important;
	z-index: 11 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 48px !important;
	height: 48px !important;
	padding: 0 !important;
	border: 1px solid rgba(var(--rb-brand-primary-rgb), 0.12) !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.96) !important;
	box-shadow: 0 10px 24px rgba(18, 34, 54, 0.10) !important;
	text-decoration: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__trigger::after {
	display: none !important;
	content: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__trigger::before {
	content: "\f002" !important;
	display: block !important;
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 900 !important;
	font-size: 18px !important;
	line-height: 1 !important;
	color: var(--rb-brand-primary) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__trigger span {
	display: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images > .flex-viewport {
	order: 1 !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	border: 1px solid rgba(var(--rb-brand-primary-rgb), 0.08) !important;
	background: #ffffff !important;
	box-shadow: 0 14px 32px rgba(18, 34, 54, 0.06) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__wrapper {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
	float: left !important;
	margin: 0 !important;
	min-height: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__image,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__image a {
	background: #ffffff !important;
	box-shadow: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__image a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: var(--rb-gallery-main-height) !important;
	padding: 18px !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .woocommerce-product-gallery__image img {
	display: block !important;
	width: 100% !important;
	height: var(--rb-gallery-main-height) !important;
	object-fit: contain !important;
	background: #ffffff !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images > .rb-gallery-thumbs-shell,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images > .flex-control-thumbs {
	order: 2 !important;
	flex: 0 0 var(--rb-gallery-thumb-size) !important;
	width: var(--rb-gallery-thumb-size) !important;
	min-width: var(--rb-gallery-thumb-size) !important;
	max-width: var(--rb-gallery-thumb-size) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-shell {
	display: grid !important;
	grid-template-rows: var(--rb-gallery-arrow-size) minmax(0, var(--rb-gallery-thumbs-viewport-height)) var(--rb-gallery-arrow-size) !important;
	grid-template-columns: 1fr !important;
	gap: var(--rb-gallery-arrow-gap) !important;
	align-self: stretch !important;
	height: var(--rb-gallery-main-height) !important;
	max-height: var(--rb-gallery-main-height) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-track-wrap,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-track {
	min-height: 0 !important;
	height: var(--rb-gallery-thumbs-viewport-height) !important;
	max-height: var(--rb-gallery-thumbs-viewport-height) !important;
	overflow: hidden !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-arrow {
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: var(--rb-gallery-arrow-size) !important;
	padding: 0 !important;
	border: 1px solid rgba(92, 107, 126, 0.18) !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.95) !important;
	color: var(--rb-text-body) !important;
	cursor: pointer !important;
	box-shadow: 0 8px 18px rgba(18, 34, 54, 0.08) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-shell.has-prev .rb-gallery-thumbs-arrow.is-prev,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-shell.has-next .rb-gallery-thumbs-arrow.is-next {
	display: inline-flex !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-arrow[disabled] {
	opacity: 0.35 !important;
	cursor: default !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-arrow span {
	display: block !important;
	width: 10px !important;
	height: 10px !important;
	border-top: 2px solid currentColor !important;
	border-right: 2px solid currentColor !important;
	transform: rotate(-45deg) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-arrow.is-next span {
	transform: rotate(135deg) !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .flex-control-thumbs {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--rb-gallery-thumb-gap) !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	height: var(--rb-gallery-thumbs-viewport-height) !important;
	max-height: var(--rb-gallery-thumbs-viewport-height) !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	scrollbar-width: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .flex-control-thumbs::-webkit-scrollbar {
	display: none !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .flex-control-thumbs li {
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	height: var(--rb-gallery-thumb-height) !important;
	margin: 0 !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .flex-control-thumbs li img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border: 1px solid rgba(var(--rb-brand-primary-rgb), 0.12) !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
}

body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .flex-control-thumbs li img.flex-active,
body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .flex-control-thumbs li img:hover {
	border-color: var(--rb-brand-secondary) !important;
	box-shadow: 0 0 0 1px rgba(var(--rb-brand-secondary-rgb), 0.22) !important;
	opacity: 1 !important;
}

@media (max-width: 767px) {
	body.single-product #rabeea-store-root.rabeea-store {
		--rb-gallery-main-height: min(78vw, 440px);
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-areas: "gallery" "summary" "extras" !important;
		gap: 1rem !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery,
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__summary,
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__extras {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		justify-self: stretch !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .rb-single-gallery-sale-badge {
		right: 16px !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images {
		position: static !important;
		top: auto !important;
		flex-direction: column !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images > .rb-gallery-thumbs-shell,
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images > .flex-control-thumbs {
		flex: 0 0 auto !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-shell {
		grid-template-columns: auto minmax(0, 1fr) auto !important;
		grid-template-rows: 1fr !important;
		align-items: center !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-track-wrap,
	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-track {
		max-height: none !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-arrow {
		width: 30px !important;
		height: 76px !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-arrow.is-prev span {
		transform: rotate(-135deg) !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .rb-gallery-thumbs-arrow.is-next span {
		transform: rotate(45deg) !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .flex-control-thumbs {
		flex-direction: row !important;
		gap: 0.55rem !important;
		height: auto !important;
		max-height: none !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}

	body.single-product #rabeea-store-root.rabeea-store .rb-product-layout__gallery > .woocommerce-product-gallery.images .flex-control-thumbs li {
		flex: 0 0 76px !important;
		width: 76px !important;
		height: 76px !important;
		max-width: 76px !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,
	body.single-product #rabeea-store-root.rabeea-store .rb-single-cart__wishlist,
	body.single-product #rabeea-store-root.rabeea-store .rb-single-cart__wishlist .tinv-wraper,
	body.single-product #rabeea-store-root.rabeea-store .rb-single-cart__wishlist .tinvwl_add_to_wishlist_button {
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
	}

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