﻿body {
	font-family: IRANSans;
	font-size: 13px;
	margin: 0;
	color: #000;
	padding-bottom: 50px;
	padding-top:50px;
	background-color: #fff;
}

ul, ol {
	padding: 0;
}

.dir-ltr {
	direction: ltr;
}

h1, h2, h3, h4, h5, h6 {
	font-family: ism;
}
.modal-content {
	border-radius: 15px;
	box-shadow:0 3px 5px rgba(0,0,0,0.1);
}
.modal-dialog-center {
	margin: 0;
	position: absolute;
	width: 95%;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%) !important;
}
.modal-btn-box {
	text-align: center;
}
.modal-btn-box .btn, .modal-btn-box .btn:focus {
	width: 120px;
	height: 34px;
	box-shadow: none;
	font-size: 12px;
	border-radius: 10px;
	margin: 0 10px;
	outline: none !important;
}

	.modal-btn-box .btn-submit {
		background-color: #75256e;
		border-color: #75256e;
		color:#fff;
	}

	.modal-btn-box .btn-cancel, .modal-btn-box .btn-cancel:hover, .modal-btn-box .btn-cancel:focus {
		background-color: #f5ba42;
		border-color: #f5ba42;
		color: #000;
	}
/************** public **************/
.dir-ltr {
	direction: ltr;
}

.dir-rtl {
	direction: rtl;
}

.tahoma {
	font-family: Tahoma !important;
}

.yekan {
	font-family: Yekan !important;
}
.ism {
	font-family: ism !important;
}
.isb {
	font-family: isb !important;
}
.v-middle{
	vertical-align:middle !important;
}
.text-white {
	color: #fff;
}

.text-black {
	color: #000;
}

.text-red {
	color: #f00;
}

.text-green {
	color: #339933;
}

.text-blue {
	color: #00f;
}

.text-gray {
	color: #999;
}

.text-orange {
	color: #ff8400;
}
/***************************/



.site-container {
	background-color: #fff;
	margin: auto;
	width: 100%;
	/*max-width: 480px;*/
	overflow: auto;
	position: relative;
	display: flex;
	flex-direction: column;
}

.ajaxloading {
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

	.ajaxloading img {
		width: 50px;
		height: 50px;
	}

.header-box {
	background-color: #fff;
	padding: 0 5px;
	z-index: 99;
	position: fixed;
	top: 0;
	width: 100%;
	box-shadow: 0 3px 10px 0 #ebdeed;
	/*box-shadow: 0 3px 8px 0 rgba(20, 80, 150, 0.15);*/
}

.sticky {
	/*max-width: 480px;*/
}

.header-top {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	overflow: hidden;
	background-color: #eb153f;
}

	.header-top a {
		text-align: center;
		display: block;
		overflow: hidden;
		height: 35px;
		padding: 2px 0;
		flex: 1;
	}

.header-username {
	flex: 1;
	justify-content: flex-start;
	display: flex;
	align-items: center;
	padding-right: 10px;
	color: #fff;
	font-family: ism;
	font-size: 10px;
}

	.header-username i {
		margin-left: 5px;
	}

.signout-container {
	flex: 1;
	justify-content: flex-end;
	display: flex;
	align-items: center;
	padding-left: 10px;
	color: #fff;
}



.header-top a img {
	height: 100%;
	object-fit: contain;
}

.header-row {
	display: flex;
	padding: 0 5px;
	z-index: 99;
}

.header-right {
	height: 50px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	flex: 5;
	overflow: hidden;
}

.header-left {
	height: 50px;
	flex: 4;
	display: flex;
	flex-direction: row;
	list-style: none;
	justify-content: space-between;
	margin-bottom: 0;
}

	.header-left li {
		width: 33.33%;
		position: relative;
	}

		.header-left li a {
			color: #fff;
			display: block;
			text-align: center;
			line-height: 45px;
			font-size: 20px;
		}

		.header-left li span:not(.basket-count) {
			color: #fff;
			display: block;
			text-align: center;
			line-height: 45px;
			font-size: 20px;
			cursor: pointer;
		}

		.header-left li .fa-cart {
			font-size: 24px;
		}

.basket-count {
	position: absolute;
	opacity:1;
	right: 16px;
	top: 2px;
	background-color: #75256e;
	height: 16px;
	width: 16px;
	line-height:15px;
	border-radius: 6px;
	color: #fff;
	text-align: center;
	z-index:99;
	font-family:vm;
	font-size:12px;
	border:2px solid #fff;
}

.title-box {
	color: #000;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 88%;
	height: 50px;
	line-height: 50px;
}

.icon-box {
	color: #000;
	font-size: 20px;
	height: 40px;
	width: 40px;
	line-height: 46px;
}

	.icon-box:empty {
		width: 10px;
	}

	.icon-box a {
		color: #000;
		font-size: 22px;
	}

	.icon-box img {
		height: 30px;
		vertical-align: middle;
	}

.row {
	margin: 0 !important;
}

*[class^="col-"] {
	padding: 0 !important;
}

.btn, .btn:focus {
	outline: none !important;
	font-size: 12px;
}

.btn-success {
	background-color: #00c853;
	border-color: #00c853;
}

	.btn-success:hover {
		background-color: #03bb4f;
		border-color: #03bb4f;
	}

.btn-danger {
	background-color: #ff1744;
	border-color: #ff1744;
}

	.btn-danger:hover {
		background-color: #e61c43;
		border-color: #e61c43;
	}

.btn-info {
	background-color: #00d6f3;
	border-color: #00d6f3;
}

	.btn-info:hover {
		background-color: #03c5e0;
		border-color: #03c5e0;
	}

.btn-primary {
	background-color: #007bff;
	border-color: #007bff;
}

	.btn-primary:hover {
		background-color: #0270e6;
		border-color: #0270e6;
	}

.btn-fit {
	width: 100%;
}








.popUpIos {
	font-size: 15px;
	width: 100%;
	position: fixed;
	top: 0px;
	padding: 30px 20px;
	background: #efefef;
	z-index: 99999;
	text-align: center;
	overflow: scroll;
}

	.popUpIos img {
		vertical-align: middle;
	}

	.popUpIos > div {
		width: 100%;
		padding: 10px 10px;
		margin-top: 10px;
		background: white;
		border-radius: 5px;
		text-align: right;
	}
/***************************************/
footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	right: 0;
	background-color: #fff;
	z-index: 99;
	box-shadow: 0px -2px 8px #2125290d;
}

	footer ul {
		display: flex;
		justify-content: space-between;
		align-items: center;
		list-style: none;
		margin-bottom: 0;
		height: 50px;
		padding:0 10px;
	}

		footer ul li {
			width: 20%;
			position: relative;
		}

			footer ul li a, footer ul li a:focus {
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				color: #000 !important;
				font-size: 11px;
				text-decoration: none !important;
				outline: none !important;
				position:relative;
			}

			footer ul li.active a {
				color: #74246c !important;
				font-family: ism;
			}
				/*footer ul li.active a:before {
					content: "";
					width: 42px;
					height: 28px;
					background-color: #ffc5f9;
					border-radius: 10px;
					position: absolute;
					top: -3px;
					left: 50%;
					transform: translateX(-50%);
					z-index: 1;
				}*/

			footer ul li img {
				height: 20px;
				margin-bottom: 5px;
				z-index: 2;
			}

			footer ul li span {
				line-height: 1;
			}

			

.price-for-you {
	height: 35px;
	line-height: 35px;
	overflow: hidden;
	clear: both;
	text-align: center;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 5px 10px 0 10px;
	border-top: 1px solid #31a1a3;
	margin-top: 10px;
	align-items: center;
}

	.price-for-you .title {
		font-size: 11px;
		color:#000;
	}

	.price-for-you .value {
		font-size: 15px;
		color:#076936;
		font-family:ism;
	}

	.price-for-you .toman {
		font-size: 11px;
		margin-right: 3px;
	}
#MessageModal .modal-dialog {
	width: calc(100% - 20px);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	margin: 0;
}

.modal-msg-text {
	font-size: 13px;
	line-height: 28px;
	padding: 0 5px;
	text-align: center;
	font-family: ISM;
}

.btn-message-modal {
	display: block;
	width: 140px;
	margin: 30px auto 0 auto;
	cursor: pointer;
	background-color: #fff;
	color: #198754;
	border-color: #198754;
	border-radius: 10px;
}

	.btn-message-modal:hover, .btn-message-modal:active, .btn-message-modal:focus {
		background-color: #198754;
		border-color: #198754;
		color: #fff;
	}

#wallet-container {
	position: fixed;
	left: 10px; /* فاصله از لبه چپ */
	top: 40%;
	z-index: 99999;
	display: flex;
	align-items: center;
	direction: ltr; /* برای اینکه محتوا به سمت راستِ آیکون باز شود */
}

/* آیکون کیف پول (بخش همیشه نمایان) */
.wallet-icon-box {
	width: 60px;
	height: 60px;
	background-color: #74246c;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	cursor: pointer;
	position: relative;
	z-index: 2;
	/* انیمیشن لرزش تلفن */
	animation: phone-vibrate 4s infinite;
}

/* محتوای متنی (بابل) */
.wallet-bubble {
	background: white;
	color: #333;
	height: 50px;
	display: flex;
	align-items: center;
	padding: 0;
	width: 0; /* در ابتدا مخفی */
	overflow: hidden;
	border-radius: 0 10px 10px 0;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	white-space: nowrap;
	margin-left: -5px; /* چسبیدن به آیکون */
	z-index: 1;
}

/* وقتی فعال می‌شود */
#wallet-container.active .wallet-bubble {
	width: 220px; /* اندازه باز شده */
	padding: 0 20px 0 15px;
}

#wallet-container.active .wallet-icon-box {
	animation: none; /* توقف لرزش هنگام باز بودن */
	border-radius: 15px 0 0 15px; /* تغییر فرم لبه‌ها */
}

.wallet-text {
	font-size: 13px;
	font-weight: bold;
	color: #74246c;
}

/* انیمیشن لرزش شبیه موبایل */
@keyframes phone-vibrate {
	0% {
		transform: rotate(0);
	}

	1% {
		transform: rotate(10deg);
	}

	2% {
		transform: rotate(-10deg);
	}

	3% {
		transform: rotate(10deg);
	}

	4% {
		transform: rotate(-10deg);
	}

	5% {
		transform: rotate(0);
	}

	100% {
		transform: rotate(0);
	}
}

/* استایل آیکون داخل باکس */
.wallet-icon-box svg {
	width: 35px;
	height: 35px;
	fill: white;
}

/* بهینه‌سازی برای موبایل */
@media (max-width: 768px) {
	.wallet-icon-box {
		width: 55px;
		height: 55px;
	}
}
    