.aswaq-masr-wrap {
	width: calc(100vw - 24px);
	max-width: calc(100vw - 24px);
	margin-inline: calc(50% - 50vw + 12px);
	padding: 10px 0 24px;
}

.aswaq-title {
	margin: 0 0 18px;
	font-size: 32px;
	font-weight: 800;
	color: #0f5c35;
}

.aswaq-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.aswaq-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 22px 16px;
	border-radius: 22px;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aswaq-card:hover {
	transform: translateY(-4px);
}

.aswaq-icon-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	margin-bottom: 14px;
}

.aswaq-card-label {
	font-weight: 800;
	line-height: 1.25;
}

.aswaq-card-subtitle {
	margin-top: 8px;
	font-weight: 600;
	line-height: 1.2;
}

.aswaq-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 700;
	background: #445065;
	color: #ffffff;
	margin-bottom: 18px;
}

.aswaq-table-back {
	margin-bottom: 14px;
}

.aswaq-admin-note {
	margin: 0 0 12px;
	font-weight: 700;
	color: #0f5c35;
}

.aswaq-product-panel {
	border-radius: 20px;
	overflow: hidden;
}

.aswaq-product-top {
	padding: 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.aswaq-product-place {
	margin: 0;
	font-size: 42px;
	line-height: 1.15;
	font-weight: 800;
}

.aswaq-product-date {
	font-size: 26px;
	font-weight: 500;
}

.aswaq-table-wrap {
	overflow-x: auto;
}

.aswaq-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.aswaq-table th,
.aswaq-table td {
	padding: 18px 20px;
	text-align: right;
	font-size: 22px;
}

.aswaq-table thead th {
	font-weight: 800;
}

.aswaq-table tbody td {
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.aswaq-inline-form {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.aswaq-inline-form input[type='number'] {
	max-width: 140px;
	border: 1px solid #c8d3cc;
	border-radius: 8px;
	padding: 6px 8px;
}

.aswaq-inline-form input[type='text'] {
	max-width: 140px;
	border: 1px solid #c8d3cc;
	border-radius: 8px;
	padding: 6px 8px;
}

.aswaq-inline-form button {
	border: 0;
	border-radius: 8px;
	padding: 8px 14px;
	cursor: pointer;
	font-weight: 700;
}

.aswaq-inline-form-details {
	flex-wrap: wrap;
}

.aswaq-note-text {
	margin-top: 6px;
	font-size: 16px;
	opacity: 0.9;
}

.aswaq-price-cell {
	font-weight: 800;
}

.aswaq-product-icon {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 18px;
	vertical-align: middle;
	margin-left: 4px;
}

/* صور الكروت */
.aswaq-card-image {
	width: 82px;
	height: 82px;
	border-radius: 20px;
	margin-bottom: 14px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aswaq-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aswaq-area-card .aswaq-card-image {
	width: 66px;
	height: 66px;
}

/* شريط الأدوات */
.aswaq-tools-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
	align-items: center;
}

.aswaq-tools-bar input[type="text"] {
	flex: 1;
	min-width: 200px;
	padding: 10px 14px;
	border: 1px solid #c8d3cc;
	border-radius: 8px;
	font-size: 16px;
}

.aswaq-tools-bar select {
	padding: 10px 14px;
	border: 1px solid #c8d3cc;
	border-radius: 8px;
	font-size: 16px;
	min-width: 150px;
}

.aswaq-tools-bar button,
.aswaq-import-btn {
	padding: 10px 16px;
	border: 0;
	border-radius: 8px;
	background: #0b57d0;
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
	font-size: 16px;
}

.aswaq-tools-bar button:hover,
.aswaq-import-btn:hover {
	background: #0946a0;
}

/* المنتجات المخفية */
.aswaq-hidden-product {
	opacity: 0.6;
}

.aswaq-hidden-badge {
	font-size: 14px;
	color: #ff6b6b;
	font-weight: 600;
}

/* مودال المقارنة */
.aswaq-compare-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.aswaq-compare-modal.fadeIn {
	display: flex;
}

.aswaq-compare-modal > div {
	background: #ffffff;
	border-radius: 20px;
	padding: 30px;
	max-width: 600px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
}

.aswaq-compare-modal h3 {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 800;
	color: #0d5c35;
}

.aswaq-compare-table {
	width: 100%;
	border-collapse: collapse;
}

.aswaq-compare-table th,
.aswaq-compare-table td {
	padding: 12px;
	text-align: right;
	border-bottom: 1px solid #e0e0e0;
}

.aswaq-compare-table th {
	font-weight: 700;
	background: #f5f5f5;
}

.aswaq-close-modal {
	margin-top: 20px;
	padding: 12px 24px;
	border: 0;
	border-radius: 8px;
	background: #0b57d0;
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
	font-size: 16px;
	width: 100%;
}

/* سجل التغييرات */
.aswaq-changelog-panel {
	display: none;
	margin: 20px 0;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 12px;
	border: 1px solid #e0e0e0;
}

.aswaq-changelog-panel.show {
	display: block;
}

.aswaq-changelog-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.aswaq-changelog-table th,
.aswaq-changelog-table td {
	padding: 10px;
	text-align: right;
	border-bottom: 1px solid #e0e0e0;
}

.aswaq-changelog-table th {
	font-weight: 700;
	background: #f0f0f0;
}

@media (max-width: 1024px) {
	.aswaq-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.aswaq-product-place {
		font-size: clamp(24px, 7vw, 34px);
	}

	.aswaq-product-date {
		font-size: clamp(14px, 4.2vw, 20px);
	}

	.aswaq-table th,
	.aswaq-table td {
		font-size: clamp(15px, 4vw, 20px);
		padding: 14px 12px;
	}
}

@media (max-width: 768px) {
	.aswaq-grid {
		grid-template-columns: 1fr !important;
	}
}
