/* ==========================================================================
   Waseetjo Rent a Car — تنسيق مستقل بالكامل، ما بيتأثر ولا يأثر على تنسيق الشقق
   ========================================================================== */

.wsrac-page {
	direction: rtl;
	max-width: 1280px;
	margin: 0 auto;
	padding: 30px 20px;
	font-family: inherit;
}

.wsrac-page-header {
	text-align: center;
	margin-bottom: 30px;
}

.wsrac-page-header h1 {
	font-size: 28px;
	margin-bottom: 8px;
}

.wsrac-layout {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

/* الفلتر */
.wsrac-filters {
	width: 280px;
	flex-shrink: 0;
	background: #f8f8f8;
	border-radius: 10px;
	padding: 20px;
	position: sticky;
	top: 20px;
}

.wsrac-filter-group {
	margin-bottom: 16px;
}

.wsrac-filter-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 6px;
	font-size: 14px;
}

.wsrac-filter-group select,
.wsrac-filter-group input {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

.wsrac-price-range {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wsrac-apply-btn,
.wsrac-reset-btn {
	width: 100%;
	padding: 10px;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
	margin-top: 6px;
}

.wsrac-apply-btn {
	background: #0a7d3c;
	color: #fff;
}

.wsrac-reset-btn {
	background: #eee;
	color: #333;
}

/* شبكة النتائج */
.wsrac-results {
	flex: 1;
}

.wsrac-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.wsrac-card {
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease;
}

.wsrac-card:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.wsrac-card-img img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
}

.wsrac-no-img,
.wsrac-no-img-large {
	height: 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	color: #999;
}

.wsrac-card-body {
	padding: 14px;
}

.wsrac-card-title {
	font-size: 17px;
	margin: 0 0 8px;
}

.wsrac-card-title a {
	color: inherit;
	text-decoration: none;
}

.wsrac-card-meta {
	display: flex;
	gap: 10px;
	font-size: 13px;
	color: #666;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.wsrac-card-price {
	font-size: 18px;
	font-weight: bold;
	color: #0a7d3c;
	margin-bottom: 6px;
}

.wsrac-card-mindays {
	font-size: 12px;
	color: #888;
	margin-bottom: 10px;
}

.wsrac-card-qty {
	display: inline-block;
	background: #eaf7ee;
	color: #0a7d3c;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
}

.wsrac-card-btn {
	display: block;
	text-align: center;
	background: #0a7d3c;
	color: #fff;
	padding: 9px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
}

.wsrac-no-results {
	text-align: center;
	padding: 40px;
	color: #888;
}

/* ترقيم الصفحات */
.wsrac-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 24px;
}

.wsrac-page-btn {
	border: 1px solid #ddd;
	background: #fff;
	padding: 8px 14px;
	border-radius: 6px;
	cursor: pointer;
}

.wsrac-page-btn.wsrac-active {
	background: #0a7d3c;
	color: #fff;
	border-color: #0a7d3c;
}

/* ==========================================================================
   صفحة السيارة المفردة
   ========================================================================== */

.wsrac-single {
	direction: rtl;
	max-width: 1100px;
	margin: 0 auto;
	padding: 30px 20px;
	display: flex;
	gap: 30px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.wsrac-single-gallery {
	flex: 1 1 500px;
}

.wsrac-gallery-main img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	border-radius: 10px;
}

.wsrac-gallery-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.wsrac-gallery-thumbs img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius: 6px;
	cursor: pointer;
	border: 2px solid transparent;
}

.wsrac-gallery-thumbs img:hover {
	border-color: #0a7d3c;
}

.wsrac-single-info {
	flex: 1 1 350px;
}

.wsrac-single-price {
	font-size: 26px;
	font-weight: bold;
	color: #0a7d3c;
	margin: 10px 0;
}

.wsrac-single-specs {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}

.wsrac-single-specs li {
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}

.wsrac-driver-fee-note {
	background: #fff8e6;
	border: 1px solid #f0d998;
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.wsrac-driver-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff8e6;
	border: 1px solid #f0d998;
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
	cursor: pointer;
}

.wsrac-driver-toggle input {
	width: auto;
	cursor: pointer;
}

.wsrac-duration-select {
	margin-bottom: 16px;
}

.wsrac-duration-select label {
	display: block;
	font-weight: bold;
	margin-bottom: 6px;
	font-size: 14px;
}

.wsrac-duration-select select {
	width: 100%;
	max-width: 260px;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

.wsrac-total-box {
	background: #eaf7ee;
	border: 1px solid #b9e5c6;
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 15px;
	font-weight: bold;
	color: #0a7d3c;
}

.wsrac-total-box .wsrac-hint {
	display: block;
	font-weight: normal;
	font-size: 12px;
	color: #888;
	margin-top: 4px;
}

.wsrac-single-description {
	margin-bottom: 20px;
	line-height: 1.8;
}

.wsrac-single-terms {
	background: #f8f8f8;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.wsrac-single-terms h3 {
	margin-top: 0;
	font-size: 16px;
}

.wsrac-single-terms ul {
	padding-right: 18px;
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
}

.wsrac-contact-box {
	text-align: center;
}

.wsrac-whatsapp-btn {
	display: inline-block;
	background: #25D366;
	color: #fff;
	padding: 12px 30px;
	border-radius: 30px;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
}

.wsrac-call-btn {
	display: inline-block;
	background: #0a7d3c;
	color: #fff;
	padding: 12px 30px;
	border-radius: 30px;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	margin-right: 8px;
}

.wsrac-phone-text {
	margin-top: 10px;
	font-size: 15px;
}

.wsrac-faq-section {
	margin-bottom: 20px;
}

.wsrac-faq-section h3 {
	font-size: 16px;
	margin-bottom: 10px;
}

.wsrac-faq-item {
	border-bottom: 1px solid #f0f0f0;
	padding: 10px 0;
}

.wsrac-faq-item h4 {
	font-size: 14px;
	margin: 0 0 5px;
}

.wsrac-faq-item p {
	font-size: 14px;
	color: #555;
	margin: 0;
	line-height: 1.7;
}

@media (max-width: 782px) {
	.wsrac-layout {
		flex-direction: column;
	}
	.wsrac-filters {
		width: 100%;
		position: static;
	}
}
