


/* =========================================================
   KASEB CART PAGE — MOBILE FIRST
   Presentation only. No cart logic changes.
   ========================================================= */




body.woocommerce-cart {
	direction: rtl;
}

/* الصفحة */
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

/* عنوان السلة */
body.woocommerce-cart .entry-title {
	text-align: center;
	color: #4b2414;
	font-size: 30px;
	font-weight: 900;
	margin-bottom: 6px;
}

body.woocommerce-cart .kaseb-cart-subtitle {
	text-align: center;
	color: #80675a;
	font-size: 15px;
	margin: 0 0 22px;
}


/* =========================================================
   CART TABLE → CLEAN CARDS
   ========================================================= */

body.woocommerce-cart .woocommerce-cart-form table.shop_table {
	border: 0;
	background: transparent;
	border-collapse: separate;
	border-spacing: 0 14px;
	margin: 0;
}

/* نخفي رأس الجدول القديم */
body.woocommerce-cart .woocommerce-cart-form table.shop_table thead {
	display: none;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody,
body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
	display: block;
	width: 100%;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
	position: relative;
	padding: 16px;
	background: #fff;
	border: 1px solid #eadfd6;
	border-radius: 20px;
	box-shadow: 0 6px 22px rgba(80, 45, 28, .06);
	overflow: hidden;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td {
	border: 0 !important;
	padding: 0 !important;
}


/* =========================================================
   PRODUCT LAYOUT
   ========================================================= */

/* الصورة */
body.woocommerce-cart td.product-thumbnail {
	float: right;
	width: 105px;
	margin-left: 14px;
}

body.woocommerce-cart td.product-thumbnail a,
body.woocommerce-cart td.product-thumbnail img {
	display: block;
}

body.woocommerce-cart td.product-thumbnail img {
	width: 105px !important;
	height: 105px !important;
	object-fit: cover;
	border-radius: 15px;
}

/* الاسم */
body.woocommerce-cart td.product-name {
	min-height: 105px;
	padding-left: 4px !important;
}

body.woocommerce-cart td.product-name a,
body.woocommerce-cart td.product-name strong {
	color: #4b2414 !important;
	font-size: 19px !important;
	font-weight: 900 !important;
	line-height: 1.45;
	text-decoration: none !important;
}

/* variations / options */
body.woocommerce-cart td.product-name dl.variation,
body.woocommerce-cart td.product-name .variation {
	margin: 7px 0 0;
	color: #7d675b;
	font-size: 13px;
	line-height: 1.6;
}

body.woocommerce-cart td.product-name dl.variation dt,
body.woocommerce-cart td.product-name dl.variation dd {
	display: inline;
	float: none;
	margin: 0;
}


/* =========================================================
   PRICE
   ========================================================= */

body.woocommerce-cart td.product-price {
	clear: both;
	padding-top: 15px !important;
	color: #9b6410;
	font-size: 18px;
	font-weight: 900;
}

body.woocommerce-cart td.product-price::before {
	content: "السعر";
	display: block;
	margin-bottom: 3px;
	color: #846e62;
	font-size: 12px;
	font-weight: 700;
}


/* =========================================================
   QUANTITY
   ========================================================= */

body.woocommerce-cart td.product-quantity {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}

body.woocommerce-cart td.product-quantity::before {
	content: "الكمية";
	margin-left: auto;
	color: #846e62;
	font-size: 13px;
	font-weight: 700;
}

body.woocommerce-cart .quantity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* input */
body.woocommerce-cart .quantity .qty {
	width: 52px;
	min-height: 42px;
	padding: 6px;
	border: 1px solid #dbc8ba;
	border-radius: 12px;
	background: #fffaf6;
	color: #4b2414;
	font-size: 16px;
	font-weight: 800;
	text-align: center;
}


/* =========================================================
   SUBTOTAL
   ========================================================= */

body.woocommerce-cart td.product-subtotal {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	padding-top: 14px !important;
	border-top: 1px solid #eee2d9 !important;
	color: #4b2414;
	font-size: 18px;
	font-weight: 900;
}

body.woocommerce-cart td.product-subtotal::before {
	content: "الإجمالي";
	color: #846e62;
	font-size: 13px;
	font-weight: 700;
}


/* =========================================================
   REMOVE
   ========================================================= */

body.woocommerce-cart td.product-remove {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

body.woocommerce-cart td.product-remove a.remove {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid #ead8cb;
	border-radius: 50%;
	background: #fff8f4;
	color: #9f6650 !important;
	font-size: 22px !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

body.woocommerce-cart td.product-remove a.remove:hover {
	background: #f5e8df;
	color: #66351f !important;
}


/* =========================================================
   CART ACTIONS
   ========================================================= */

body.woocommerce-cart td.actions {
	display: block !important;
	padding: 4px 0 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.woocommerce-cart td.actions .coupon {
	display: none;
}

body.woocommerce-cart button[name="update_cart"] {
	display: none !important;
}


/* =========================================================
   CART TOTALS
   ========================================================= */

body.woocommerce-cart .cart-collaterals {
	margin-top: 22px;
}

body.woocommerce-cart .cart_totals {
	float: none !important;
	width: 100% !important;
	padding: 18px;
	background: #fffaf6;
	border: 1px solid #eadfd6;
	border-radius: 20px;
	box-shadow: 0 6px 22px rgba(80, 45, 28, .05);
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 14px;
	color: #4b2414;
	font-size: 22px;
	font-weight: 900;
}

body.woocommerce-cart .cart_totals table {
	margin: 0;
	border: 0;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
	padding: 11px 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 15px;
}

body.woocommerce-cart .cart_totals table th {
	color: #715d52;
	font-weight: 700;
}

body.woocommerce-cart .cart_totals table td {
	text-align: left;
	color: #4b2414;
	font-weight: 800;
}

/* الإجمالي النهائي */
body.woocommerce-cart .cart_totals tr.order-total th,
body.woocommerce-cart .cart_totals tr.order-total td {
	padding-top: 16px !important;
	border-top: 1px solid #dfcfc3 !important;
	color: #4b2414;
	font-size: 20px;
	font-weight: 900;
}


/* =========================================================
   CHECKOUT CTA
   ========================================================= */

body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 0 !important;
	margin-top: 16px;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	margin: 0 !important;
	padding: 14px 18px !important;
	border: 0 !important;
	border-radius: 17px !important;
	background: #66351f !important;
	color: #fff !important;
	font-size: 19px !important;
	font-weight: 900 !important;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(102, 53, 31, .18);
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background: #532816 !important;
}


/* =========================================================
   CONTINUE SHOPPING
   ========================================================= */

body.woocommerce-cart .kaseb-continue-shopping {
	margin-top: 11px;
	min-height: 50px;
	border-radius: 15px;
	font-size: 16px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart .entry-title {
		font-size: 26px;
		margin-bottom: 4px;
	}

	body.woocommerce-cart .kaseb-cart-subtitle {
		margin-bottom: 14px;
		font-size: 14px;
	}

	body.woocommerce-cart .woocommerce-cart-form table.shop_table {
		border-spacing: 0 10px;
	}

	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
		padding: 12px;
		border-radius: 16px;
	}

	body.woocommerce-cart td.product-thumbnail {
		width: 82px;
		margin-left: 11px;
	}

	body.woocommerce-cart td.product-thumbnail img {
		width: 82px !important;
		height: 82px !important;
		border-radius: 12px;
	}

	body.woocommerce-cart td.product-name {
		min-height: 82px;
		padding-left: 30px !important;
	}

	body.woocommerce-cart td.product-name a,
	body.woocommerce-cart td.product-name strong {
		font-size: 16px !important;
		line-height: 1.4;
	}

	body.woocommerce-cart td.product-name dl.variation,
	body.woocommerce-cart td.product-name .variation {
		margin-top: 4px;
		font-size: 12px;
		line-height: 1.45;
	}

	body.woocommerce-cart td.product-price {
		padding-top: 10px !important;
		font-size: 17px;
	}

	body.woocommerce-cart td.product-quantity {
		margin-top: 8px;
	}

	body.woocommerce-cart td.product-subtotal {
		margin-top: 10px;
		padding-top: 10px !important;
	}

	body.woocommerce-cart td.product-remove {
		top: 9px;
		left: 9px;
	}

	body.woocommerce-cart td.product-remove a.remove {
		width: 28px;
		height: 28px;
		font-size: 19px !important;
	}
}



/* =========================================================
   KASEB CART — HIDE LEGACY RESPONSIVE LABELS
   ========================================================= */

body.woocommerce-cart .woocommerce-cart-form td::before {
	display: none !important;
	content: none !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-price::before {
	display: none !important;
	content: none !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-quantity::before {
	display: none !important;
	content: none !important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-subtotal::before {
	display: none !important;
	content: none !important;
}


/* =========================================================
   KASEB CART — COMPACT PRODUCT CARD
   ========================================================= */

body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
	display: grid !important;
	grid-template-columns: 105px 1fr auto;
	grid-template-areas:
		"image name remove"
		"image price price"
		"image quantity subtotal";
	column-gap: 14px;
	row-gap: 8px;
	align-items: center;
	padding: 14px !important;
}

body.woocommerce-cart td.product-thumbnail {
	grid-area: image;
	float: none !important;
	width: 105px !important;
	margin: 0 !important;
}

body.woocommerce-cart td.product-name {
	grid-area: name;
	min-height: 0 !important;
	padding: 0 !important;
	align-self: start;
}

body.woocommerce-cart td.product-price {
	grid-area: price;
	clear: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 18px;
	font-weight: 900;
}

body.woocommerce-cart td.product-quantity {
	grid-area: quantity;
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
}

body.woocommerce-cart td.product-subtotal {
	grid-area: subtotal;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	text-align: left;
	font-size: 19px;
	font-weight: 900;
	white-space: nowrap;
}

body.woocommerce-cart td.product-remove {
	grid-area: remove;
	position: static !important;
	align-self: start;
	justify-self: end;
}

/* Mobile */
@media (max-width: 600px) {

	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
		grid-template-columns: 82px 1fr auto;
		grid-template-areas:
			"image name remove"
			"image price price"
			"image quantity subtotal";
		column-gap: 11px;
		row-gap: 7px;
		padding: 12px !important;
	}

	body.woocommerce-cart td.product-thumbnail {
		width: 82px !important;
	}

	body.woocommerce-cart td.product-thumbnail img {
		width: 82px !important;
		height: 82px !important;
	}

	body.woocommerce-cart td.product-name a,
	body.woocommerce-cart td.product-name strong {
		font-size: 16px !important;
	}

	body.woocommerce-cart td.product-price {
		font-size: 16px;
	}

	body.woocommerce-cart td.product-subtotal {
		font-size: 17px;
	}
}

/* =========================================================
   KASEB CART — PRODUCT CARD POLISH
   ========================================================= */

body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
	grid-template-columns: 92px minmax(0, 1fr);
	grid-template-areas:
		"image name"
		"image price"
		"quantity subtotal";
	column-gap: 14px;
	row-gap: 6px;
	padding: 13px !important;
	align-items: center;
}

/* الصورة */
body.woocommerce-cart td.product-thumbnail {
	grid-area: image;
	width: 92px !important;
	align-self: start;
}

body.woocommerce-cart td.product-thumbnail img {
	width: 92px !important;
	height: 92px !important;
	border-radius: 14px;
}

/* الاسم */
body.woocommerce-cart td.product-name {
	grid-area: name;
	min-height: 0 !important;
	padding: 0 36px 0 0 !important;
	align-self: end;
}

body.woocommerce-cart td.product-name a,
body.woocommerce-cart td.product-name strong {
	display: block;
	font-size: 17px !important;
	line-height: 1.45;
}

/* سعر الوحدة */
body.woocommerce-cart td.product-price {
	grid-area: price;
	padding: 0 !important;
	margin: 0 !important;
	align-self: start;
	font-size: 17px;
	text-align: right;
}

/* الكمية */
body.woocommerce-cart td.product-quantity {
	grid-area: quantity;
	display: flex !important;
	align-items: center;
	justify-content: flex-start !important;
	margin: 3px 0 0 !important;
}

/* الإجمالي */
body.woocommerce-cart td.product-subtotal {
	grid-area: subtotal;
	display: block !important;
	margin: 3px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	text-align: left;
	font-size: 19px;
	font-weight: 900;
	white-space: nowrap;
}

/* زر الحذف */
body.woocommerce-cart td.product-remove {
	position: absolute !important;
	top: 12px;
	left: 12px;
	z-index: 5;
}

body.woocommerce-cart td.product-remove a.remove {
	width: 30px;
	height: 30px;
}

/* Mobile */
@media (max-width: 600px) {

	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
		grid-template-columns: 82px minmax(0, 1fr);
		grid-template-areas:
			"image name"
			"image price"
			"quantity subtotal";
		column-gap: 11px;
		row-gap: 5px;
		padding: 11px !important;
	}

	body.woocommerce-cart td.product-thumbnail {
		width: 82px !important;
	}

	body.woocommerce-cart td.product-thumbnail img {
		width: 82px !important;
		height: 82px !important;
	}

	body.woocommerce-cart td.product-name {
		padding-right: 30px !important;
	}

	body.woocommerce-cart td.product-name a,
	body.woocommerce-cart td.product-name strong {
		font-size: 16px !important;
	}

	body.woocommerce-cart td.product-price {
		font-size: 16px;
	}

	body.woocommerce-cart td.product-subtotal {
		font-size: 17px;
	}
}


/* =========================================================
   KASEB CART — MOBILE BOTTOM ROW FIX
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
		grid-template-columns: 82px minmax(0, 1fr);
		grid-template-areas:
			"image name"
			"image price"
			"quantity subtotal";
	}

	body.woocommerce-cart td.product-quantity {
		grid-area: quantity;
		justify-self: end !important;
		margin-top: 6px !important;
		direction: ltr;
	}

	body.woocommerce-cart td.product-subtotal {
		grid-area: subtotal;
		justify-self: start;
		align-self: center;
		margin-top: 6px !important;
		text-align: left;
		white-space: nowrap;
		font-size: 17px;
	}

	body.woocommerce-cart .quantity {
		display: inline-flex;
		flex-wrap: nowrap;
	}

	body.woocommerce-cart .quantity .qty {
		width: 54px;
		min-width: 54px;
	}

}


/* =========================================================
   KASEB CART — MOBILE FINAL GRID FIX
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
		grid-template-columns: 82px minmax(0, 1fr) auto !important;
		grid-template-areas:
			"image name name"
			"image price price"
			"quantity quantity subtotal" !important;

		column-gap: 10px;
		row-gap: 6px;
	}

	body.woocommerce-cart td.product-thumbnail {
		grid-area: image;
	}

	body.woocommerce-cart td.product-name {
		grid-area: name;
	}

	body.woocommerce-cart td.product-price {
		grid-area: price;
	}

	body.woocommerce-cart td.product-quantity {
		grid-area: quantity;
		justify-self: start !important;
		align-self: center;
		width: auto !important;
		margin: 8px 0 0 !important;
		direction: ltr;
	}

	body.woocommerce-cart td.product-subtotal {
		grid-area: subtotal;
		justify-self: end !important;
		align-self: center;
		margin: 8px 0 0 !important;
		padding: 0 !important;
		white-space: nowrap;
		font-size: 18px;
	}

	body.woocommerce-cart .quantity {
		display: inline-flex !important;
		flex-wrap: nowrap !important;
		direction: ltr;
	}
}

/* =========================================================
   KASEB CART — PRODUCT CARD LAYOUT V9
   Layout reference only:
   image left / details right / controls bottom
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
		display: grid !important;

		grid-template-columns: minmax(0, 1fr) 88px !important;
		grid-template-areas:
			"name image"
			"price image"
			"subtotal quantity" !important;

		column-gap: 14px !important;
		row-gap: 5px !important;

		padding: 13px !important;
		align-items: center !important;
	}


	/* ================= IMAGE — LEFT ================= */

	body.woocommerce-cart td.product-thumbnail {
		grid-area: image !important;

		width: 88px !important;
		margin: 0 !important;

		justify-self: start !important;
		align-self: start !important;
	}

	body.woocommerce-cart td.product-thumbnail img {
		width: 88px !important;
		height: 88px !important;

		object-fit: cover;
		border-radius: 14px;
	}


	/* ================= PRODUCT NAME — RIGHT ================= */

	body.woocommerce-cart td.product-name {
		grid-area: name !important;

		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 30px 0 0 !important;

		align-self: end !important;
		text-align: right !important;
	}

	body.woocommerce-cart td.product-name a,
	body.woocommerce-cart td.product-name strong {
		font-size: 16px !important;
		font-weight: 900 !important;
		line-height: 1.45 !important;
	}


	/* ================= UNIT PRICE ================= */

	body.woocommerce-cart td.product-price {
		grid-area: price !important;

		margin: 0 !important;
		padding: 0 !important;

		text-align: right !important;

		font-size: 17px !important;
		font-weight: 800 !important;
	}


	/* ================= BOTTOM — TOTAL RIGHT ================= */

	body.woocommerce-cart td.product-subtotal {
		grid-area: subtotal !important;

		margin: 7px 0 0 !important;
		padding: 0 !important;

		justify-self: end !important;
		align-self: center !important;

		text-align: right !important;

		color: #9b6410 !important;
		font-size: 20px !important;
		font-weight: 900 !important;
		line-height: 1.1 !important;

		white-space: nowrap;
		border: 0 !important;
	}

	body.woocommerce-cart td.product-subtotal::before {
		display: none !important;
		content: none !important;
	}


	/* ================= BOTTOM — QUANTITY LEFT ================= */

	body.woocommerce-cart td.product-quantity {
		grid-area: quantity !important;

		margin: 7px 0 0 !important;
		padding: 0 !important;

		justify-self: start !important;
		align-self: center !important;

		width: auto !important;
		direction: ltr !important;
	}

	body.woocommerce-cart td.product-quantity .quantity {
		display: inline-flex !important;
		flex-wrap: nowrap !important;
		direction: ltr !important;
	}


	/* ================= REMOVE ================= */

	body.woocommerce-cart td.product-remove {
		position: absolute !important;
		top: 10px !important;
		right: 10px !important;
		left: auto !important;
		z-index: 5;
	}
}

/* =========================================================
   KASEB CART — QUANTITY CONTROLS FINAL POSITION
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart td.product-quantity {
		grid-area: quantity !important;

		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;

		width: auto !important;
		min-width: 0 !important;

		margin: 7px 0 0 !important;

		justify-self: end !important;
		overflow: visible !important;

		direction: ltr !important;
	}

	body.woocommerce-cart td.product-quantity .quantity {
		display: inline-flex !important;
		align-items: center !important;
		flex-wrap: nowrap !important;

		width: auto !important;
		min-width: 0 !important;

		direction: ltr !important;
		overflow: visible !important;
	}

	body.woocommerce-cart .quantity .qty {
		width: 58px !important;
		min-width: 58px !important;
		height: 50px !important;
	}

	body.woocommerce-cart td.product-quantity button,
	body.woocommerce-cart td.product-quantity .minus,
	body.woocommerce-cart td.product-quantity .plus {
		width: 48px !important;
		min-width: 48px !important;
		height: 50px !important;

		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
}

/* =========================================================
   KASEB CART — FIX BOTTOM ROW WIDTH
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {

		grid-template-columns:
			minmax(0, 1fr) auto 88px !important;

		grid-template-areas:
			"name name image"
			"price price image"
			"subtotal quantity quantity" !important;

		column-gap: 10px !important;
		row-gap: 5px !important;
	}


	/* إجمالي المنتج — يمين */
	body.woocommerce-cart td.product-subtotal {
		grid-area: subtotal !important;
		justify-self: end !important;
		align-self: center !important;

		font-size: 20px !important;
		font-weight: 900 !important;

		margin: 8px 0 0 !important;
		white-space: nowrap !important;
	}


	/* مجموعة الكمية — شمال وبعرض كافٍ */
	body.woocommerce-cart td.product-quantity {
		grid-area: quantity !important;

		justify-self: start !important;
		align-self: center !important;

		width: auto !important;
		min-width: 0 !important;

		margin: 8px 0 0 !important;

		overflow: visible !important;
		direction: ltr !important;
	}


	body.woocommerce-cart td.product-quantity .quantity {
		display: inline-flex !important;
		align-items: center !important;
		flex-wrap: nowrap !important;

		width: auto !important;
		min-width: 154px !important;

		direction: ltr !important;
		overflow: visible !important;
	}


	body.woocommerce-cart td.product-quantity .quantity > * {
		flex: 0 0 auto !important;
	}
}

/* =========================================================
   KASEB CART — QUANTITY COMPACT + SUBTOTAL BOLD
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart td.product-quantity {
		grid-area: quantity !important;

		justify-self: start !important;
		align-self: center !important;

		width: auto !important;
		margin: 6px 0 0 !important;
	}

	body.woocommerce-cart td.product-quantity .quantity {
		display: inline-flex !important;
		align-items: center !important;

		width: auto !important;
		min-width: 0 !important;

		gap: 0 !important;
		direction: ltr !important;
	}

	body.woocommerce-cart td.product-quantity button,
	body.woocommerce-cart td.product-quantity .minus,
	body.woocommerce-cart td.product-quantity .plus {
		width: 42px !important;
		min-width: 42px !important;
		height: 44px !important;
		padding: 0 !important;
	}

	body.woocommerce-cart .quantity .qty {
		width: 50px !important;
		min-width: 50px !important;
		height: 44px !important;
		padding: 0 !important;

		font-size: 18px !important;
		font-weight: 800 !important;
	}

	body.woocommerce-cart td.product-subtotal {
		grid-area: subtotal !important;

		justify-self: end !important;
		align-self: center !important;

		margin: 6px 0 0 !important;

		color: #8f5b08 !important;
		font-size: 21px !important;
		font-weight: 900 !important;
		line-height: 1 !important;

		white-space: nowrap !important;
	}
}

/* =========================================================
   KASEB CART — MOBILE ORDER SUMMARY V1
   Presentation only — preserve shipping data and logic
   ========================================================= */

@media (max-width: 600px) {

	/* الحاوية الرئيسية */
	body.woocommerce-cart .cart-collaterals {
		margin-top: 18px !important;
		padding: 0 !important;
	}

	body.woocommerce-cart .cart_totals {
		float: none !important;
		width: 100% !important;

		margin: 0 !important;
		padding: 16px !important;

		background: #fffaf6 !important;
		border: 1px solid #eadfd6 !important;
		border-radius: 18px !important;
		box-shadow: 0 6px 22px rgba(80,45,28,.05) !important;
	}


	/* عنوان القسم */
	body.woocommerce-cart .cart_totals > h2 {
		margin: 0 0 14px !important;
		padding: 0 !important;

		text-align: right !important;

		color: #4b2414 !important;
		font-size: 21px !important;
		font-weight: 900 !important;
	}


	/* إزالة Card داخل Card */
	body.woocommerce-cart .cart_totals table.shop_table,
	body.woocommerce-cart .cart_totals table.shop_table tbody {
		display: block !important;
		width: 100% !important;

		margin: 0 !important;
		padding: 0 !important;

		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}


	/* الصفوف العادية: إجمالي المنتجات والإجمالي النهائي */
	body.woocommerce-cart .cart_totals tr.cart-subtotal,
	body.woocommerce-cart .cart_totals tr.order-total {
		display: grid !important;
		grid-template-columns: 1fr auto !important;
		align-items: center !important;
		gap: 12px !important;

		width: 100% !important;
		padding: 12px 0 !important;
		margin: 0 !important;

		background: transparent !important;
		border: 0 !important;
		border-bottom: 1px solid #eadfd6 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	body.woocommerce-cart .cart_totals tr.cart-subtotal th,
	body.woocommerce-cart .cart_totals tr.order-total th,
	body.woocommerce-cart .cart_totals tr.cart-subtotal td,
	body.woocommerce-cart .cart_totals tr.order-total td {
		display: block !important;

		margin: 0 !important;
		padding: 0 !important;

		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
	}


	/* العناوين */
	body.woocommerce-cart .cart_totals tr.cart-subtotal th {
		text-align: right !important;
		color: #715d52 !important;
		font-size: 15px !important;
		font-weight: 700 !important;
	}

	/* قيمة إجمالي المنتجات */
	body.woocommerce-cart .cart_totals tr.cart-subtotal td {
		text-align: left !important;
		white-space: nowrap !important;

		color: #9b6410 !important;
		font-size: 17px !important;
		font-weight: 800 !important;
	}


	/* =====================================================
	   SHIPPING — نحافظ على كل التفاصيل الموجودة
	   ===================================================== */

	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals {
		display: block !important;

		width: 100% !important;
		margin: 0 !important;
		padding: 13px 0 !important;

		background: transparent !important;
		border: 0 !important;
		border-bottom: 1px solid #eadfd6 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	/* Shipment → التوصيل */
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > th {
		display: block !important;

		width: 100% !important;
		margin: 0 0 8px !important;
		padding: 0 !important;

		background: transparent !important;
		border: 0 !important;

		font-size: 0 !important;
		text-align: right !important;
	}

	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > th::after {
		content: "التوصيل";

		display: block;

		color: #4b2414;
		font-size: 16px;
		font-weight: 900;
	}


	/* محتوى التوصيل نفسه — لا نخفي أي شيء */
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > td {
		display: block !important;

		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;

		text-align: right !important;

		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;

		color: #715d52 !important;
		font-size: 13px !important;
		line-height: 1.65 !important;
	}


	/* أي containers داخل بيانات التوصيل */
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td > * {
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}


	/* =====================================================
	   FINAL TOTAL
	   ===================================================== */

	body.woocommerce-cart .cart_totals tr.order-total {
		padding-top: 15px !important;
		padding-bottom: 4px !important;
		border-bottom: 0 !important;
	}

	body.woocommerce-cart .cart_totals tr.order-total th {
		text-align: right !important;

		color: #4b2414 !important;
		font-size: 19px !important;
		font-weight: 900 !important;
	}

	body.woocommerce-cart .cart_totals tr.order-total td {
		text-align: left !important;
		white-space: nowrap !important;

		color: #4b2414 !important;
		font-size: 22px !important;
		font-weight: 900 !important;
	}
}
/* =========================================================
   KASEB CART — REDUCE GAP BEFORE ORDER SUMMARY
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart .cart-collaterals {
		margin-top: 8px !important;
		padding-top: 0 !important;
	}

	body.woocommerce-cart .woocommerce-cart-form {
		margin-bottom: 8px !important;
		padding-bottom: 0 !important;
	}

	body.woocommerce-cart .woocommerce-cart-form table.shop_table {
		margin-bottom: 0 !important;
	}

	body.woocommerce-cart td.actions {
		margin: 0 !important;
		padding: 0 !important;
		min-height: 0 !important;
	}

	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr:last-child {
		margin-bottom: 0 !important;
	}
}

/* KASEB CART — HIDE DEFAULT WOOCOMMERCE SHIPPING ROW */
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals.shipping {
	display: none !important;
}

/* =========================================================
   KASEB CART — COMPACT PAGE HEADER
   ========================================================= */

/* إخفاء "طلبك جاهز" */
body.woocommerce-cart .entry-title {
	display: none !important;
}

/* تقليل المساحة حول السطر التعريفي */
body.woocommerce-cart .kaseb-cart-subtitle {
	margin: 18px 0 20px !important;
	padding: 0 !important;
	font-size: 20px !important;
	line-height: 1.5 !important;
}

/* إزالة أي فراغ زائد أعلى محتوى السلة */
body.woocommerce-cart .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
/* =========================================================
   KASEB CART — CLEAN REMOVE BUTTON
   ========================================================= */

body.woocommerce-cart td.product-remove {
	top: 12px !important;
	left: 12px !important;
}

body.woocommerce-cart td.product-remove a.remove {
	width: 26px !important;
	height: 26px !important;

	display: flex !important;
	align-items: center !important;
	justify-content: center !important;

	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;

	color: #a98c7d !important;
	font-size: 24px !important;
	font-weight: 400 !important;
	line-height: 1 !important;

	opacity: .7;
}

body.woocommerce-cart td.product-remove a.remove:hover {
	background: transparent !important;
	color: #66351f !important;
	opacity: 1;
}

/* =========================================================
   KASEB CART — REMOVE BUTTON FIX
   ========================================================= */

@media (max-width: 600px) {

	/* خلية الحذف نفسها */
	body.woocommerce-cart td.product-remove {
		position: absolute !important;
		top: 10px !important;
		left: 12px !important;
		right: auto !important;

		width: 28px !important;
		height: 28px !important;
		min-width: 28px !important;

		padding: 0 !important;
		margin: 0 !important;

		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;

		z-index: 20 !important;
	}

	/* علامة × */
	body.woocommerce-cart td.product-remove a.remove {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		width: 28px !important;
		height: 28px !important;
		min-width: 28px !important;
		min-height: 28px !important;

		padding: 0 !important;
		margin: 0 !important;

		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;

		color: #a98c7d !important;
		font-size: 22px !important;
		font-weight: 400 !important;
		line-height: 1 !important;
	}

	/* النص يرجع طبيعي */
	body.woocommerce-cart td.product-name {
		padding: 0 !important;
		margin: 0 !important;
		text-align: right !important;
	}
}

/* =========================================================
   KASEB CART — PRODUCT TEXT ALIGNMENT FINAL
   ========================================================= */

@media (max-width: 600px) {

	body.woocommerce-cart td.product-name {
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		text-align: right !important;
		direction: rtl !important;
	}

	body.woocommerce-cart td.product-name > *,
	body.woocommerce-cart td.product-name a,
	body.woocommerce-cart td.product-name strong,
	body.woocommerce-cart td.product-name span,
	body.woocommerce-cart td.product-name p,
	body.woocommerce-cart td.product-name dl,
	body.woocommerce-cart td.product-name dt,
	body.woocommerce-cart td.product-name dd {
		width: 100% !important;
		max-width: none !important;

		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;

		text-align: right !important;
		direction: rtl !important;
	}
}

body.woocommerce-cart .kaseb-cart-product-title {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;

	direction: rtl !important;
	text-align: right !important;

	color: #4d2513 !important;
	font-size: 17px !important;
	font-weight: 900 !important;
	line-height: 1.55 !important;
}

body.woocommerce-cart .kaseb-cart-product-title img.emoji {
	display: inline-block !important;
	width: 1em !important;
	height: 1em !important;
	margin: 0 .15em !important;
	vertical-align: -0.1em !important;
	float: none !important;
	position: static !important;
}

/* =========================================================
   KASEB CART — CHECKOUT SHIPPING NOTICE
   Cart presentation only
   ========================================================= */

/* إخفاء صف الشحن الافتراضي في WooCommerce داخل السلة فقط */
body.woocommerce-cart
.cart_totals
tr.woocommerce-shipping-totals {
	display: none !important;
}


/* رسالة التوصيل الجديدة */
body.woocommerce-cart
.cart_totals
tr.kaseb-cart-shipping-note {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) !important;
	align-items: start !important;
	gap: 16px !important;

	width: 100% !important;
	margin: 0 !important;
	padding: 14px 0 !important;

	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #eadfd6 !important;
	box-shadow: none !important;
}


/* عنوان: التوصيل */
body.woocommerce-cart
.cart_totals
tr.kaseb-cart-shipping-note th {
	display: block !important;

	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
	border: 0 !important;

	color: #4b2414 !important;
	font-size: 15px !important;
	font-weight: 900 !important;
	line-height: 1.6 !important;

	text-align: right !important;
	white-space: nowrap !important;
}


/* الرسالة */
body.woocommerce-cart
.cart_totals
tr.kaseb-cart-shipping-note td {
	display: block !important;

	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
	border: 0 !important;

	color: #80675a !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.65 !important;

	text-align: right !important;
}


/* Mobile */
@media (max-width: 600px) {

	body.woocommerce-cart
	.cart_totals
	tr.kaseb-cart-shipping-note {
		grid-template-columns: 1fr !important;
		gap: 3px !important;
		padding: 12px 0 !important;
	}

	body.woocommerce-cart
	.cart_totals
	tr.kaseb-cart-shipping-note th {
		font-size: 15px !important;
	}

	body.woocommerce-cart
	.cart_totals
	tr.kaseb-cart-shipping-note td {
		font-size: 15px !important;
		line-height: 1.6 !important;
	}
}

/* KASEB — SHIPPING NOTE FONT FINAL */
body.woocommerce-cart .cart_totals .kaseb-cart-shipping-note > td {
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.7 !important;
}