@font-face {
	font-family: 'myfont';
	src: url('../fonts/Yekan.eot'); /* IE9 Compat Modes */
	src: url('../fonts/Yekan.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	url('../fonts/Yekan.woff') format('woff'), /* Pretty Modern Browsers */
	url('../fonts/Yekan.ttf') format('truetype'), /* Safari, Android, iOS */
	url('../fonts/Yekan.svg#svgFontName') format('svg'); /* Legacy iOS */
}



@font-face {
	font-family: IRANSans;
	font-style: normal;
	src: url('../fonts/IRANSansWeb(FaNum).eot');
	src: url('../fonts/IRANSansWeb(FaNum)?#iefix') format('eot'), url('../fonts/IRANSansWeb(FaNum).woff') format('woff'), url('../fonts/IRANSansWeb(FaNum).ttf') format('truetype');
}
*{
	font-family:myfont;
}

.mainview{
	width:98%;
	min-height:500px;
	margin:auto;
}
.cartItems {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-radius: 3px;
	width: 70%;
	height: 100px;
	float: right;
	direction: rtl;
	margin: auto;
}

.cartItems * {
		float: right;
		margin-top: 30px;
	}
.cartRow {
	margin: 0 auto;
	width: 100%;
}

.cartItems img {
	height: 100px;
	width: 100px;
	margin: auto;
}

.cartItems .titleproduct {
	width: 30%;
	padding: 5px;
}

.cartItems .price {
	width: 10%;
	text-decoration: line-through;
	font-family: IRANSans;
}
.cartItems .priceoff {
	width: 10%;
	color: #f55;
	font-family: IRANSans;
}

.cartItems .tedad {
	width: 10%;
	border: 1px solid #eee;
	height: 35px;
}
.cartItems .tedad * {
		margin-top: 0;
		text-align: center;
		width: 33%;
		font-size: 18px;
		border: none;
	}
.cartItems input {
	border-radius: 2px;
	height: 30px;
	font-family: IRANSans;
}

.cartItems #minus, #plus {
	background: none;
	color: #aaa;
}

.cartItems .totalprice {
	width: 10%;
	font-family: IRANSans;
}
.cartItems input.del {
	background: #f55;
	color: #fff;
	border: none;
	width: 10%;
}








.leftside{
	background: #eee;
	height:250px;
	width:23%;
	border:1px solid #ddd;
	border-radius: 3px;
	float: left;
	margin:auto;
	direction: rtl;
}

.leftside *{
	width:90%;
	margin:15px auto;
	float:right;

}
	.leftside table{
		margin:auto;
		margin-top:20px;
	}
	.leftside table, .leftside tbody {
		margin: 0;
		padding: 0;
		width: 100%;
	}
.leftside tr{
	width:100%;
	height:40px;
	margin:0;
	padding:0;
}
.leftside td{
	width:50%;
	margin:0;
	padding:0;
}
	.leftside p {
		line-height: 20px;
		font-family: IRANSans;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	.leftside span {
		width: 100%;
		margin: 0;
		padding: 0;
	}

.leftside input{
	background: #ff5555;
	border-radius: 3px;
	color:#fff;
	height: 40px;
	font-size: 18px;
	display: block;
    border: none;


}


/*----------------------------------------------------------------------------------------------------------------------------------------*/
/* Container to center the table on the page */

/* Table container for responsive layout */
#basketTableContainer {
	overflow-x: auto;
	padding: 10px;
	direction: rtl; /* Right-to-left text direction */
}

/* General table styling */
#productTable {
	width: 100%;
	border-collapse: collapse;
	font-family: Arial, sans-serif;
	font-size: 14px;
}

	/* Table header styling */
	#productTable thead th {
		padding: 10px;
		background-color: #f7f7f7;
		font-weight: bold;
		text-align: center;
	}

	/* Table body styling */
	#productTable tbody td {
		padding: 10px;
		text-align: center;
		white-space: nowrap; /* Prevents text wrapping */
	}

	/* Alternating row colors */
	#productTable tbody tr:nth-child(even) {
		background-color: #f9f9f9;
	}

	#productTable tbody tr:nth-child(odd) {
		background-color: #ffffff;
	}

/* Mobile styling */
@media (max-width: 600px) {
	#productTable thead {
		display: none; /* Hide table headers on mobile */
	}

	#productTable tbody td {
		display: block;
		text-align: right;
		padding: 8px;
		border-bottom: 1px solid #ddd;
	}

	#productTable tbody tr {
		display: block;
		margin-bottom: 10px;
		border: 1px solid #ddd;
	}

	#productTable tbody td:before {
		content: attr(data-label); /* Add custom labels for each cell */
		float: right;
		font-weight: bold;
		color: #333;
	}
}

