body
{
	margin: 0px;
	padding: 0px;
}

.panel_47
{
	--font-family: 'Vazir FD';
	margin-top: 50px;
}

.panel_47 .parent
{
	width: 1000px;
	display: flex;
	flex-direction: row;
	margin: auto;
}

.panel_47 .right
{
	flex: 1;
	/* text-align: right; */
	/* height: 100px; */
	/* background-color: blue; */
}

.panel_47 .right .titr
{
	font-size: 35px;
	color: #222;
	font-family: var(--font-family);
}

.panel_47 .right .money
{
	font-size: 17px;
	/* color: #fc4d4e; */
	color: #e74c3c;
	font-family: var(--font-family);
	margin-top: 10px;
}

.panel_47 .right .available
{
	font-family: var(--font-family);
	color: #888;
	font-size: 14px;
	margin-top: 10px;
}

.panel_47 .right .feature
{
	margin-top: 10px;
}

.panel_47 .right .feature_money
{
	font-family: var(--font-family);
	color: #d63031;
	font-size: 20px;
	margin-top: 10px;
}

.panel_47 .right .feature_box
{
	/* background-color: blue; */
	display: flex;
	flex-direction: row;
	/* justify-content: center; */
	align-items: end;
}

.panel_47 .right .feature_box .feature_info
{
	/* background-color: red; */
	/* width: 50%; */
}

.panel_47 .right .feature_box .feature_number
{
	/* height: 0px; */
	/* width: 50%; */
	/* background-color: blue; */
	margin-right: 30px;
}

.panel_47 .left
{
	flex: 1;
	max-height: 400px;
	max-width: 400px;
	/* background-color: green; */
}

.panel_47 .left img
{
	max-width: 100%;
	max-height: 100%;
	/* object-fit: cover; */
	/* display: block; */
}


.parent_drop
{
	width: calc(100% - 30px);
	display: flex;
	flex-direction: row;
	padding: 5px;
	
	justify-content: center; /* وسط‌چین افقی */
	align-items: center;     /* وسط‌چین عمودی */
}

.parent_drop .value
{
	flex: 0 0 auto; /* فقط به اندازه محتوا */
	font-size: 15px;
	color: #000000;
	font-family: var(--font-family);
	margin-left: 10px;
}

.panel
{
	background-color: #ffffff;
}

.panel-item:hover
{
	background-color: #e9e9e9;
}

.drop
{
	flex: 1;
	/* margin-left: 5px; */
	border-radius: 3px;
	background-color: #ffffff;
	border: 1px solid #e9e9e9;
}

.drop *
{
	font-size: 15px;
	color: #2d3436;
}

.SelectAttribute
{
	padding: 10px;
}

/* دکمه خرید محصول */
.product
{
	display: flex;
	flex-direction: row;
	/* justify-content: center; */
	align-items: center;
	justify-content: space-between;
	
	/* background: red; */
	border-radius: 12px;
	/* box-shadow: 0 6px 20px rgba(0,0,0,0.1); */
	/* padding: 25px; */
	width: calc(100% - 30px);
	text-align: center;
	font-family: 'Vazir', sans-serif;
	margin: 30px auto;
	margin-right: 0px;
	transition: transform 0.3s;
}

.buy-btn {
	background: linear-gradient(135deg, #ff758c, #ff7eb3);
	color: white;
	border: none;
	padding: 14px 10px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 6px 15px rgba(255,117,140,0.5);
	position: relative;
	overflow: hidden;
	font-family: var(--font-family);
}

.buy-btn::after {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: rgba(255,255,255,0.2);
	transform: rotate(45deg);
	transition: all 0.5s ease;
}

.buy-btn:hover::after {
	top: -10%;
	left: -10%;
}

.buy-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 20px rgba(255,117,140,0.6);
	background: linear-gradient(135deg, #ff7eb3, #ff758c);
}

.buy-btn:active {
	transform: translateY(1px);
	box-shadow: 0 6px 12px rgba(255,117,140,0.5);
}

.buy-now {
	background: linear-gradient(135deg, #51cf66, #38d9a9); /* سبز برای خرید فوری */
}

/* responsive */

/* نسخه فعلی روی دسکتاپ */
.panel_47 .parent {
	width: 1000px;
	display: flex;
	flex-direction: row;
	margin: auto;
}

/* 🟡 تبلت (medium) */
@media (max-width: 990px) {
	.panel_47 .parent {
		width: 95%;
		flex-direction: row;
		align-items: center;
	}

	.panel_47 .left {
		max-width: 50%;
		margin-left: 20px;
	}

	.panel_47 .right .titr {
		font-size: 28px;
	}
	
	.product {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 9999;
		background: #fff;
		padding: 10px;
		box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
		margin: 0; /* حذف فاصله قبلی */
	}

}

/* 🔴 موبایل (small) */
@media (max-width: 768px) {
	.panel_47 .parent {
		width: calc(100% - 20px);
		flex-direction: column;
		align-items: flex-start;
	}

	/* ایجاد فضای زیر برای محتوا 👇 */
	.panel_47 {
		/* padding-bottom: 130px; /* فضای لازم تا دکمه‌های چسبنده */ */
	}

	/* ترتیب نمایش */
	.panel_47 .right {
		order: 1;
		width: 100%;
	}

	.panel_47 .left {
		order: 2;
		width: 100%;
		max-width: 100%;
		margin: 15px 0;
		text-align: center;
	}

	.panel_47 .left img {
		max-width: 90%;
		max-height: 90%;
	}

	.panel_47 .right .titr {
		font-size: 25px;
		margin-bottom: 10px;
	}

	.panel_47 .right .money {
		font-size: 18px;
	}

	.panel_47 .feature_box {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		margin-top: 10px;
	}

	.panel_47 .feature_box .feature_number {
		margin-right: 0;
		margin-top: 10px;
	}

	/* 🎯 دکمه‌های خرید چسبنده */
	.product {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		position: fixed;
		bottom: 0;
		left: 0;
		z-index: 9999;
		background: #ffffff;
		padding: 10px;
		box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
		margin: 0;
		border-radius: 0;
	}

	.buy-btn {
		width: 100%;
		margin-top: 10px;
		text-align: center;
	}
}
