/**
 * Masrawy Kimo-Style Single Product Page Stylesheet
 * 
 * Recreates the premium, clean, high-conversion Kimo Store layout:
 * - 2-column desktop split (Gallery 50% / BuyBox 50%) inside centered 1200px container
 * - Strict RTL right-alignment across all components (zero awkward centering, zero extreme edge gaps)
 * - Frequently Bought Together (FBT) interactive bundle module with smart accessories
 * - Mobile responsive stack (390px optimized)
 * - Mobile product recommendations in optimal 2-COLUMN GRID (2 products per row, comfortable size)
 * - Single clean sticky bottom purchase bar
 */

/* ==========================================================================
   1. GLOBAL CONTAINER & ALIGNMENT (Centered 1200px Container)
   ========================================================================== */
.single-product .site-content {
	padding-top: 15px;
	padding-bottom: 50px;
}

.single-product div.product {
	font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	position: relative;
	direction: rtl !important;
	text-align: right !important;
}

/* Desktop Centered Container (1200px with comfortable margins) */
@media (min-width: 768px) {
	.single-product .site-content > .container,
	.single-product .site-content-container,
	.single-product .sober-container,
	.single-product div.product,
	.single-product .container {
		max-width: 1200px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
		box-sizing: border-box !important;
	}
}

/* Mobile Screen Full Width (Eliminate 1cm / 40px Empty Gutters on Left & Right) */
@media (max-width: 767px) {
	.single-product .site-content,
	.single-product .site-content-container,
	.single-product .sober-container,
	.single-product #content,
	.single-product #primary,
	.single-product .content-area,
	.single-product .site-content > .container,
	.single-product .container {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.single-product div.product {
		padding-left: 10px !important;
		padding-right: 10px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.single-product div.product .summary.entry-summary,
	.single-product div.product .summary {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	.single-product .woocommerce-product-gallery {
		padding: 6px !important;
		border-radius: 10px !important;
		margin: 0 0 14px 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
}

/* Breadcrumbs constrained to container and cleanly right-aligned */
.single-product .woocommerce-breadcrumb,
.single-product nav.woocommerce-breadcrumb,
.single-product .product-toolbar {
	max-width: 1200px !important;
	margin: 0 auto 16px auto !important;
	padding: 0 20px !important;
	text-align: right !important;
	direction: rtl !important;
	font-size: 13px !important;
	color: #64748b !important;
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
}

.single-product .woocommerce-breadcrumb a {
	color: #475569 !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.single-product .woocommerce-breadcrumb a:hover {
	color: #2563eb !important;
}

@media (min-width: 992px) {
	.single-product div.product {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: flex-start !important;
		justify-content: space-between !important;
		gap: 32px !important;
		direction: rtl !important;
	}

	/* In RTL, Gallery is on the Right (order: 1 in flex row), Buy Box on the Left (order: 2) */
	.single-product div.product .woocommerce-product-gallery,
	.single-product div.product .product-images-wrapper {
		flex: 0 0 calc(50% - 16px) !important;
		max-width: calc(50% - 16px) !important;
		order: 1 !important;
		position: sticky !important;
		top: 100px !important;
		margin: 0 !important;
	}

	.single-product div.product .summary.entry-summary,
	.single-product div.product .summary {
		flex: 0 0 calc(50% - 16px) !important;
		max-width: calc(50% - 16px) !important;
		order: 2 !important;
		padding: 0 !important;
		margin: 0 !important;
		text-align: right !important;
		direction: rtl !important;
	}

	.single-product div.product .masrawy-kimo-fbt-section,
	.single-product div.product .woocommerce-tabs,
	.single-product div.product .related.products,
	.single-product div.product .up-sells {
		flex: 1 1 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		order: 10 !important;
	}
}

/* Force uniform RTL right alignment across all summary elements (NO CENTERING) */
.single-product div.product .summary.entry-summary,
.single-product div.product .entry-summary,
.single-product div.product .summary {
	text-align: right !important;
	direction: rtl !important;
}

/* Hide old basic sticky bar and overlapping clutter */
#masrawyProductStickyBar,
.masrawy-product-sticky-bar,
.masrawy-product-recs-section, /* Suppress duplicate recommendations */
.single-product .summary .woocommerce-product-rating,
.single-product .summary .product_meta,
.single-product .summary .product-share,
.single-product .summary .compare.button,
.single-product .summary .woosc-btn,
.single-product .summary .yith-wcwl-add-to-wishlist,
.single-product .summary .product-extra-content {
	display: none !important;
}

/* Gallery styling */
.single-product .woocommerce-product-gallery {
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #ffffff;
	padding: 14px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.single-product .woocommerce-product-gallery img {
	border-radius: 10px;
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* ==========================================================================
   2. BRAND BADGE
   ========================================================================== */
.masrawy-kimo-brand-wrapper {
	margin-bottom: 10px;
	text-align: right !important;
	direction: rtl !important;
}

.masrawy-kimo-brand-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 999px;
	padding: 4px 14px;
	font-size: 13px;
	font-weight: 700;
	color: #0284c7;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.masrawy-kimo-brand-pill:hover {
	background: #e0f2fe;
	border-color: #7dd3fc;
	color: #0369a1;
	transform: translateY(-1px);
}

.masrawy-kimo-brand-pill .brand-sparkle {
	font-size: 11px;
	color: #f59e0b;
}

.masrawy-kimo-brand-pill .brand-badge-label {
	font-size: 11.5px;
	color: #0369a1;
	background: rgba(2, 132, 199, 0.08);
	padding: 1px 6px;
	border-radius: 4px;
	margin-inline-start: 4px;
}

/* ==========================================================================
   3. PRODUCT TITLE
   ========================================================================== */
.masrawy-kimo-product-title {
	font-family: 'Cairo', sans-serif !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
	color: #0f172a !important;
	margin: 0 0 12px 0 !important;
	text-align: right !important;
	direction: rtl !important;
}

@media (min-width: 992px) {
	.masrawy-kimo-product-title {
		font-size: 26px !important;
	}
}

/* ==========================================================================
   4. STATUS ROW (IN STOCK + SKU + WARRANTY)
   ========================================================================== */
.masrawy-kimo-status-row {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	margin-bottom: 16px !important;
	direction: rtl !important;
	text-align: right !important;
}

.masrawy-kimo-status-row .status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 600;
}

.status-pill.status-in-stock {
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
}

.status-pulse-dot {
	width: 8px;
	height: 8px;
	background: #10b981;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	animation: masrawyKimoPulse 1.8s infinite;
}

@keyframes masrawyKimoPulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}

.status-pill.status-out-of-stock {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
}

.status-pill.status-sku {
	background: #f8fafc;
	color: #64748b;
	border: 1px solid #e2e8f0;
}

.status-pill.status-warranty {
	background: #fefce8;
	color: #854d0e;
	border: 1px solid #fef08a;
}

/* ==========================================================================
   5. PRICE BOX (Clean High-Impact RTL Layout)
   ========================================================================== */
.masrawy-kimo-price-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 16px;
	direction: rtl !important;
	text-align: right !important;
}

.price-main-line {
	display: flex;
	align-items: baseline;
	justify-content: flex-start !important;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 6px;
	direction: rtl;
}

.current-price-val {
	font-family: 'Cairo', sans-serif !important;
	font-size: 28px !important;
	font-weight: 900 !important;
	color: #0f172a !important;
	line-height: 1 !important;
}

.old-price-val {
	font-size: 16px !important;
	color: #94a3b8 !important;
	text-decoration: line-through !important;
}

.discount-pill {
	background: #fee2e2;
	color: #ef4444;
	border: 1px solid #fca5a5;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 12.5px;
	font-weight: 800;
}

.price-sub-note {
	display: flex;
	align-items: center;
	justify-content: flex-start !important;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	color: #64748b;
	margin-top: 4px;
	text-align: right !important;
}

.vat-badge {
	color: #059669;
	font-weight: 700;
}

/* ==========================================================================
   6. LIVE VIEWERS BADGE
   ========================================================================== */
.masrawy-kimo-live-viewers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 6px !important;
	background: #fff7ed !important;
	border: 1px solid #fed7aa !important;
	border-radius: 8px !important;
	padding: 8px 14px !important;
	margin-bottom: 16px !important;
	font-size: 13px !important;
	color: #9a3412 !important;
	direction: rtl !important;
	text-align: right !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.masrawy-kimo-live-viewers .live-badge {
	background: #ea580c;
	color: #ffffff;
	font-weight: 900;
	font-size: 12px;
	padding: 1px 7px;
	border-radius: 999px;
}

/* ==========================================================================
   7. STOCK URGENCY PROGRESS BAR
   ========================================================================== */
.masrawy-kimo-urgency-box {
	border: 1px dashed #fca5a5;
	background: #fff5f5;
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 18px;
	direction: rtl !important;
	text-align: right !important;
}

.urgency-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: #b91c1c;
	margin-bottom: 8px;
	font-weight: 700;
	direction: rtl;
}

.urgency-bar-track {
	height: 7px;
	background: #fee2e2;
	border-radius: 999px;
	overflow: hidden;
	direction: rtl;
}

.urgency-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #ef4444, #f97316);
	border-radius: 999px;
	transition: width 0.6s ease;
}

/* ==========================================================================
   8. EXCERPT & STOCK NOTICE (Right Aligned)
   ========================================================================== */
.masrawy-kimo-excerpt {
	font-size: 14px !important;
	line-height: 1.8 !important;
	color: #475569 !important;
	margin-bottom: 20px !important;
	text-align: right !important;
	direction: rtl !important;
}

.masrawy-kimo-excerpt p {
	margin: 0 0 10px 0 !important;
	text-align: right !important;
}

/* Stock text in WooCommerce form */
.single-product .summary .stock,
.single-product .summary .stock.in-stock {
	text-align: right !important;
	direction: rtl !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #059669 !important;
	margin-bottom: 12px !important;
}

/* ==========================================================================
   9. ADD TO CART & ACTION BUTTONS
   ========================================================================== */
.single-product form.cart {
	margin-bottom: 22px !important;
	text-align: right !important;
	direction: rtl !important;
}

.single-product form.cart .quantity {
	margin: 0 0 12px 0 !important;
	float: none !important;
	display: inline-flex !important;
}

.single-product form.cart .quantity input.qty {
	width: 55px !important;
	height: 46px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-align: center !important;
}

.single-product form.cart .single_add_to_cart_button {
	font-family: 'Cairo', sans-serif !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	background: #0f172a !important;
	color: #ffffff !important;
	border-radius: 10px !important;
	height: 50px !important;
	line-height: 50px !important;
	padding: 0 28px !important;
	width: 100% !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15) !important;
}

.single-product form.cart .single_add_to_cart_button:hover {
	background: #1e293b !important;
	transform: translateY(-1px) !important;
}

.masrawy-kimo-action-buttons-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
	width: 100%;
}

.kimo-btn-buy-now {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #2563eb;
	color: #ffffff;
	font-family: 'Cairo', sans-serif;
	font-size: 16px;
	font-weight: 800;
	height: 50px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.kimo-btn-buy-now:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

.kimo-btn-whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #16a34a;
	color: #ffffff;
	font-family: 'Cairo', sans-serif;
	font-size: 15px;
	font-weight: 700;
	height: 46px;
	border-radius: 10px;
	border: none;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(22, 163, 74, 0.2);
}

.kimo-btn-whatsapp:hover {
	background: #15803d;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.single-product .wcboost-products-compare-button,
.single-product .compare-button,
.single-product .sober-product-compare-button {
	display: none !important;
}

/* ==========================================================================
   10. 4-CARD TRUST BADGES GRID
   ========================================================================== */
.masrawy-kimo-trust-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 22px 0 16px 0;
	direction: rtl;
	text-align: right;
}

.trust-card {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px 12px;
	direction: rtl;
	text-align: right;
}

.trust-icon {
	font-size: 20px;
	flex-shrink: 0;
	margin-top: 2px;
}

.trust-meta {
	display: flex;
	flex-direction: column;
	text-align: right;
}

.trust-title {
	font-size: 12.5px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.trust-desc {
	font-size: 11px;
	color: #64748b;
	margin-top: 2px;
}

/* ==========================================================================
   11. PAYMENT METHODS BOX
   ========================================================================== */
.masrawy-kimo-payment-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 25px;
	text-align: right !important;
	direction: rtl;
}

.payment-box-title {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 8px;
	text-align: right !important;
}

.payment-pills-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start !important;
	gap: 6px;
	direction: rtl;
}

.payment-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 4px 9px;
	font-size: 11.5px;
	font-weight: 600;
	color: #334155;
}

/* ==========================================================================
   12. FREQUENTLY BOUGHT TOGETHER (FBT) SECTION
   ========================================================================== */
.masrawy-kimo-fbt-section {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px 28px;
	margin: 35px 0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
	text-align: right !important;
	direction: rtl !important;
	width: 100%;
	box-sizing: border-box;
}

.fbt-header {
	margin-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 14px;
	text-align: right !important;
	direction: rtl !important;
}

.fbt-tag {
	display: inline-block;
	background: #eff6ff;
	color: #2563eb;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 12px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.fbt-title {
	font-family: 'Cairo', sans-serif !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin: 0 0 6px 0 !important;
	text-align: right !important;
	direction: rtl !important;
}

.fbt-subtitle {
	font-size: 13px !important;
	color: #64748b !important;
	margin: 0 !important;
	text-align: right !important;
	direction: rtl !important;
}

/* Cards Row with Plus Dividers */
.fbt-cards-row {
	display: flex;
	align-items: center;
	justify-content: flex-start !important;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 22px;
	direction: rtl;
}

.fbt-card {
	position: relative;
	width: 110px;
	height: 110px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
	box-sizing: border-box;
}

.fbt-card.is-unselected {
	opacity: 0.35;
	border-color: #f1f5f9;
}

.fbt-card.is-main-item {
	border-color: #2563eb;
}

.fbt-card-checkbox-label {
	position: absolute;
	top: 6px;
	right: 6px;
	cursor: pointer;
	z-index: 5;
}

.fbt-card-checkbox-label input {
	display: none;
}

.fbt-check-box {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	border: 2px solid #cbd5e1;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.fbt-card-checkbox-label input:checked + .fbt-check-box,
.fbt-line-label input:checked + .fbt-check-box {
	background: #2563eb;
	border-color: #2563eb;
}

.fbt-card-checkbox-label input:checked + .fbt-check-box::after,
.fbt-line-label input:checked + .fbt-check-box::after {
	content: '✓';
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.fbt-card-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.fbt-plus-divider {
	font-size: 24px;
	font-weight: 800;
	color: #94a3b8;
	user-select: none;
}

/* Checklist below cards */
.fbt-checklist {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 22px;
	background: #f8fafc;
	border-radius: 10px;
	padding: 16px 20px;
	text-align: right !important;
	direction: rtl !important;
}

.fbt-check-line {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #334155;
	text-align: right !important;
	direction: rtl !important;
}

.fbt-line-label {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start !important;
	gap: 10px;
	cursor: pointer;
	width: 100%;
	text-align: right !important;
	direction: rtl !important;
}

.fbt-line-label input {
	display: none !important;
}

.fbt-line-text {
	font-size: 14px;
	color: #1e293b;
	text-align: right !important;
}

.fbt-this-item {
	color: #2563eb;
	margin-inline-end: 4px;
}

.fbt-line-price {
	display: inline-block;
	background: #eff6ff;
	color: #2563eb;
	font-weight: 800;
	font-size: 13px;
	padding: 2px 8px;
	border-radius: 6px;
	margin-inline-start: 8px;
	white-space: nowrap;
}

/* Action Row */
.fbt-action-row {
	display: flex;
	align-items: center;
	justify-content: space-between !important;
	flex-wrap: wrap;
	gap: 20px;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
	direction: rtl;
}

.fbt-total-box {
	display: flex;
	align-items: baseline;
	gap: 8px;
	direction: rtl;
}

.fbt-total-label {
	font-size: 14.5px;
	font-weight: 700;
	color: #64748b;
}

.fbt-total-price {
	font-family: 'Cairo', sans-serif;
	font-size: 24px;
	font-weight: 900;
	color: #2563eb;
}

.fbt-add-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0f172a;
	color: #ffffff;
	font-family: 'Cairo', sans-serif;
	font-size: 15px;
	font-weight: 800;
	padding: 12px 28px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.fbt-add-all-btn:hover {
	background: #2563eb;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.fbt-add-all-btn.is-success {
	background: #16a34a !important;
}

.fbt-feedback-notice {
	margin-top: 12px;
	font-size: 13.5px;
	font-weight: 700;
	color: #16a34a;
	display: none;
	text-align: right;
}

@media (max-width: 767px) {
	.single-product .woocommerce-breadcrumb,
	.single-product nav.woocommerce-breadcrumb,
	.single-product .product-toolbar {
		padding: 0 10px !important;
		margin: 0 0 10px 0 !important;
		font-size: 11.5px !important;
		gap: 4px !important;
	}

	.masrawy-kimo-fbt-section {
		padding: 14px 10px !important;
		margin: 20px 0 !important;
		border-radius: 10px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	.fbt-title {
		font-size: 16.5px !important;
	}
	.fbt-subtitle {
		font-size: 12px !important;
	}
	.fbt-cards-row {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		gap: 6px !important;
		padding-bottom: 6px !important;
	}
	.fbt-card {
		width: 72px !important;
		height: 72px !important;
		flex-shrink: 0 !important;
		padding: 4px !important;
	}
	.fbt-plus-divider {
		font-size: 18px !important;
		margin: 0 2px !important;
	}
	.fbt-checklist {
		padding: 10px !important;
		gap: 8px !important;
	}
	.fbt-line-text {
		font-size: 12px !important;
		line-height: 1.4 !important;
	}
	.fbt-line-price {
		font-size: 11.5px !important;
		padding: 1px 5px !important;
	}
	.fbt-action-row {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
	}
	.fbt-total-box {
		justify-content: space-between !important;
		width: 100% !important;
	}
	.fbt-total-price {
		font-size: 20px !important;
	}
	.fbt-add-all-btn {
		width: 100% !important;
		justify-content: center !important;
		height: 44px !important;
		font-size: 14px !important;
	}
}

/* ==========================================================================
   13. RELATED PRODUCTS & RECOMMENDATIONS:
       - 4 COLUMNS ON DESKTOP
       - STRICTLY 2 PRODUCTS PER ROW ON MOBILE (User Request)
   ========================================================================== */
.single-product .related.products {
	margin-top: 40px !important;
	padding-top: 30px !important;
	border-top: 1px solid #e2e8f0 !important;
	direction: rtl !important;
	text-align: right !important;
}

.single-product .related.products h2 {
	font-family: 'Cairo', sans-serif !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	margin-bottom: 20px !important;
	text-align: right !important;
	direction: rtl !important;
}

/* Desktop Grid: 4 columns */
@media (min-width: 768px) {
	.woocommerce ul.products,
	.single-product .related.products ul.products {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 16px !important;
		list-style: none !important;
		padding: 0 !important;
		margin: 0 0 30px 0 !important;
	}

	.woocommerce ul.products li.product,
	.single-product .related.products ul.products li.product {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 14px !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 12px !important;
		background: #ffffff !important;
		box-sizing: border-box !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		text-align: right !important;
	}

	.woocommerce ul.products li.product a img {
		height: 180px !important;
		object-fit: contain !important;
		margin: 0 auto 10px auto !important;
	}
}

/* Mobile Grid: EXACTLY 2 PRODUCTS PER ROW FILLING FULL SCREEN WIDTH (User Request) */
@media (max-width: 767px) {
	.single-product .related.products {
		margin-top: 25px !important;
		padding-top: 15px !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.single-product .related.products h2 {
		padding: 0 4px !important;
		font-size: 18px !important;
		margin-bottom: 12px !important;
	}

	.woocommerce ul.products,
	.woocommerce-page ul.products,
	ul.products.columns-4,
	ul.products.columns-3,
	ul.products.columns-2,
	.single-product .related.products ul.products,
	.single-product .up-sells ul.products,
	.sober-products-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		padding: 0 !important;
		margin: 10px 0 25px 0 !important;
		list-style: none !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product,
	ul.products.columns-4 li.product,
	.single-product .related.products ul.products li.product {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: none !important;
		float: none !important;
		margin: 0 !important;
		padding: 8px !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 10px !important;
		background: #ffffff !important;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
		box-sizing: border-box !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		text-align: right !important;
	}

	.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
		display: flex !important;
		flex-direction: column !important;
		text-align: right !important;
		text-decoration: none !important;
		width: 100% !important;
	}

	/* Card image: prominent, comfortable size, not small */
	.woocommerce ul.products li.product a img,
	.woocommerce ul.products li.product img {
		width: 100% !important;
		height: 155px !important;
		object-fit: contain !important;
		margin: 0 auto 8px auto !important;
		border-radius: 8px !important;
		background: #f8fafc !important;
		padding: 6px !important;
		box-sizing: border-box !important;
	}

	/* Title: clear, readable, 2 lines */
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h2,
	.woocommerce ul.products li.product h3 {
		font-family: 'Cairo', sans-serif !important;
		font-size: 13.5px !important;
		font-weight: 700 !important;
		line-height: 1.4 !important;
		height: 38px !important;
		overflow: hidden !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		margin: 4px 0 6px 0 !important;
		text-align: right !important;
		color: #0f172a !important;
	}

	/* Price: bold, clean right-aligned */
	.woocommerce ul.products li.product .price {
		font-size: 14.5px !important;
		font-weight: 900 !important;
		color: #2563eb !important;
		text-align: right !important;
		margin-bottom: 8px !important;
		display: block !important;
	}

	/* Add to cart / view product button */
	.woocommerce ul.products li.product .button,
	.woocommerce ul.products li.product a.add_to_cart_button,
	.woocommerce ul.products li.product a.button {
		font-family: 'Cairo', sans-serif !important;
		font-size: 12.5px !important;
		font-weight: 700 !important;
		padding: 0 8px !important;
		height: 38px !important;
		line-height: 38px !important;
		border-radius: 8px !important;
		width: 100% !important;
		text-align: center !important;
		background: #0f172a !important;
		color: #ffffff !important;
		display: block !important;
		box-sizing: border-box !important;
	}
}

/* ==========================================================================
   14. STICKY BOTTOM BUY BAR (DESKTOP & MOBILE)
   ========================================================================== */
.masrawy-kimo-sticky-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid #e2e8f0;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
	padding: 10px 20px;
	z-index: 99990;
	transform: translateY(110%);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	direction: rtl;
	font-family: 'Cairo', sans-serif;
}

.masrawy-kimo-sticky-bar.is-visible {
	transform: translateY(0);
}

.kimo-sticky-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	direction: rtl;
}

.kimo-sticky-product-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	overflow: hidden;
	direction: rtl;
}

.kimo-sticky-thumb {
	width: 44px;
	height: 44px;
	border-radius: 6px;
	object-fit: cover;
	border: 1px solid #e2e8f0;
	flex-shrink: 0;
}

.kimo-sticky-text {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-align: right;
	direction: rtl;
}

.kimo-sticky-title {
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 320px;
}

.kimo-sticky-price {
	font-size: 14px;
	font-weight: 800;
	color: #2563eb;
}

.kimo-sticky-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.kimo-sticky-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #0f172a;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	height: 42px;
	padding: 0 20px;
	font-family: 'Cairo', sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.kimo-sticky-cta-btn:hover {
	background: #2563eb;
	transform: translateY(-1px);
}

@media (max-width: 991px) {
	body.single-product {
		padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px)) !important;
	}
	.masrawy-kimo-sticky-bar {
		padding: 8px 12px !important;
		bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important; /* Exactly above mobile bottom nav */
		z-index: 999980 !important;
	}
	.kimo-sticky-title {
		max-width: 160px;
		font-size: 12.5px;
	}
	.kimo-sticky-price {
		font-size: 13px;
	}
	.kimo-sticky-cta-btn {
		height: 38px;
		padding: 0 14px;
		font-size: 13px;
	}
}


/* ==========================================================================
   15. TABS ENHANCEMENT
   ========================================================================== */
.single-product .woocommerce-tabs {
	margin-top: 40px !important;
	padding-top: 30px !important;
	border-top: 1px solid #e2e8f0 !important;
	text-align: right !important;
	direction: rtl !important;
}

.single-product .woocommerce-tabs ul.tabs {
	border-bottom: 2px solid #e2e8f0 !important;
	padding: 0 !important;
	display: flex !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	direction: rtl !important;
}

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

.single-product .woocommerce-tabs ul.tabs li a {
	display: block !important;
	padding: 12px 20px !important;
	font-family: 'Cairo', sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #64748b !important;
	border-bottom: 2px solid transparent !important;
	margin-bottom: -2px !important;
	transition: all 0.2s ease !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: #2563eb !important;
	border-bottom-color: #2563eb !important;
}

.single-product .woocommerce-tabs .panel {
	padding: 24px 0 !important;
	font-size: 14.5px !important;
	line-height: 1.8 !important;
	color: #334155 !important;
	text-align: right !important;
	direction: rtl !important;
}

/* ==========================================================================
   PERMANENT FIXED MOBILE BOTTOM NAV ON PRODUCT PAGES
   ========================================================================== */
@media (max-width: 991px) {
	body #sober-mobile-bottom-nav,
	body .masrawy-bottom-nav,
	#sober-mobile-bottom-nav.masrawy-bottom-nav {
		position: fixed !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		height: 60px !important;
		min-height: 60px !important;
		background: #ffffff !important;
		border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
		z-index: 999999 !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		padding-bottom: env(safe-area-inset-bottom, 0px) !important;
		box-sizing: border-box !important;
		pointer-events: auto !important;
		margin: 0 !important;
	}

	body #sober-mobile-bottom-nav .masrawy-mbn-container,
	body .masrawy-bottom-nav .masrawy-mbn-container {
		display: flex !important;
		align-items: center !important;
		justify-content: space-around !important;
		height: 60px !important;
		width: 100% !important;
		max-width: 540px !important;
		margin: 0 auto !important;
		padding: 0 8px !important;
		box-sizing: border-box !important;
	}

	body #sober-mobile-bottom-nav .masrawy-mbn-item,
	body .masrawy-bottom-nav .masrawy-mbn-item {
		flex: 1 !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		height: 100% !important;
		background: none !important;
		border: none !important;
		color: #64748b !important;
		text-decoration: none !important;
		padding: 2px 0 !important;
		cursor: pointer !important;
	}

	body #sober-mobile-bottom-nav .masrawy-mbn-item.active,
	body #sober-mobile-bottom-nav .masrawy-mbn-item:active {
		color: #2563eb !important;
	}

	body #sober-mobile-bottom-nav .mbn-icon svg {
		display: block !important;
		margin: 0 auto !important;
	}

	body #sober-mobile-bottom-nav .mbn-label {
		font-size: 11px !important;
		font-weight: 700 !important;
		font-family: "Cairo", sans-serif !important;
		margin-top: 2px !important;
		line-height: 1.2 !important;
	}
}

