/* ===== خودروهای سازگار زیر تصویر (اسکرول عمودی) ===== */
.cpw-cars-box{
	margin-top:14px;
	border:1px solid #e6e6e6;
	border-radius:10px;
	overflow:hidden;
	direction:rtl;
}
.cpw-cars-title{
	background:#1f2937;
	color:#fff;
	padding:9px 12px;
	font-size:13px;
	font-weight:700;
}
.cpw-cars-scroll{
	list-style:none;
	margin:0;
	padding:6px;
	max-height:190px;
	overflow-y:auto;
}
.cpw-cars-scroll li{
	padding:8px 10px;
	border-bottom:1px solid #f0f0f0;
	font-size:13px;
	color:#333;
}
.cpw-cars-scroll li:last-child{border-bottom:0;}
.cpw-cars-scroll::-webkit-scrollbar{width:8px;}
.cpw-cars-scroll::-webkit-scrollbar-thumb{background:#c8ccd2;border-radius:8px;}
.cpw-cars-scroll::-webkit-scrollbar-track{background:#f4f5f7;}

/* ===== آیکن‌های دسته‌بندی ===== */
.cpw-icons-row{
	display:flex;
	gap:16px;
	flex-wrap:wrap;
	margin:10px 0 16px;
	direction:rtl;
}
.cpw-icon-item{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:4px;
	width:66px;
	text-align:center;
}
.cpw-icon-item img{width:42px;height:42px;object-fit:contain;}
.cpw-icon-item span{font-size:11px;color:#555;line-height:1.4;}

/* ===== جدول مشخصات ===== */
.cpw-specs{
	width:100%;
	border-collapse:collapse;
	margin:12px 0;
	direction:rtl;
}
.cpw-specs th,.cpw-specs td{
	border:1px solid #eee;
	padding:8px 10px;
	font-size:13px;
	text-align:right;
}
.cpw-specs th{background:#fafafa;width:40%;font-weight:700;color:#333;}

/* ===== محصولات مرتبط در پرداخت ===== */
.cpw-checkout-related{margin:22px 0;direction:rtl;}
.cpw-checkout-title{
	font-size:17px;
	font-weight:800;
	margin:0 0 14px;
	color:#b91c1c;
}
.cpw-checkout-grid{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:12px;
}
.cpw-cx-item{
	border:1px solid #eee;
	border-radius:10px;
	padding:10px;
	text-align:center;
	background:#fff;
}
.cpw-cx-link{display:block;text-decoration:none;color:inherit;}
.cpw-cx-item img{max-width:100%;height:auto;border-radius:8px;}
.cpw-cx-name{display:block;font-size:12px;margin:6px 0;min-height:34px;color:#333;}
.cpw-cx-price{display:block;font-weight:700;font-size:13px;margin-bottom:8px;color:#111;}
.cpw-cx-item .button{width:100%;font-size:12px;}
@media(max-width:600px){.cpw-checkout-grid{grid-template-columns:repeat(2,1fr);}}

/* ===== فیلتر سه‌مرحله‌ای ===== */
.cpw-filter{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:12px;
	margin:0 0 26px;
	padding:16px;
	background:#f7f8fa;
	border:1px solid #eceef1;
	border-radius:14px;
	direction:rtl;
}
.cpw-step-head{
	display:flex;
	align-items:center;
	gap:8px;
	font-weight:800;
	margin-bottom:10px;
	font-size:14px;
	color:#111;
}
.cpw-step-head span{
	display:inline-flex;
	width:24px;height:24px;
	align-items:center;justify-content:center;
	background:#1f2937;color:#fff;
	border-radius:50%;
	font-size:12px;
	flex:0 0 auto;
}
.cpw-step-list{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	max-height:190px;
	overflow-y:auto;
	align-content:flex-start;
}
.cpw-chip{
	cursor:pointer;
	border:1px solid #d5d9df;
	background:#fff;
	border-radius:999px;
	padding:6px 14px;
	font-size:13px;
	color:#333;
	text-decoration:none;
	transition:all .15s ease;
	line-height:1.6;
}
.cpw-chip:hover{border-color:#1f2937;color:#111;}
.cpw-chip.active{background:#1f2937;color:#fff;border-color:#1f2937;}
.cpw-hint{color:#9aa0a6;font-size:12px;}
@media(max-width:782px){.cpw-filter{grid-template-columns:1fr;}}

/* ===== سکشن ویژگی‌های قطعه (اسلایدر افقی / گرید) ===== */
.cpw-features{margin:16px 0;direction:rtl;}
.cpw-features-head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:10px;
}
.cpw-features-title{font-weight:800;font-size:15px;color:#111;}
.cpw-features-nav{display:flex;gap:6px;}
.cpw-fnav{
	width:30px;height:30px;
	border:1px solid #d5d9df;
	background:#fff;
	border-radius:50%;
	cursor:pointer;
	font-size:18px;line-height:1;
	color:#333;
}
.cpw-fnav:hover{border-color:#1f2937;color:#111;}
.cpw-features-track{
	display:flex;
	gap:10px;
	overflow-x:auto;
	scroll-behavior:smooth;
	scroll-snap-type:x mandatory;
	padding-bottom:6px;
}
.cpw-features-track::-webkit-scrollbar{height:6px;}
.cpw-features-track::-webkit-scrollbar-thumb{background:#c8ccd2;border-radius:6px;}
.cpw-feature-box{
	flex:0 0 auto;
	min-width:132px;
	max-width:200px;
	border:1px solid #e6e6e6;
	border-radius:12px;
	padding:14px 12px;
	text-align:center;
	background:#fff;
	scroll-snap-align:start;
}
.cpw-feature-title{font-size:12px;color:#777;margin-bottom:6px;}
.cpw-feature-value{font-size:15px;font-weight:700;color:#111;word-break:break-word;}

/* حالت گرید */
.cpw-features--grid .cpw-features-track{
	display:grid;
	grid-template-columns:repeat(auto-fill,minmax(132px,1fr));
	overflow:visible;
}
.cpw-features--grid .cpw-features-nav{display:none;}

/* عنوان سکشن آیکن‌ها */
.cpw-icons-section{direction:rtl;margin:10px 0 16px;}
.cpw-icons-title{font-weight:800;font-size:14px;margin-bottom:8px;color:#111;}
