/* PO-STUDY-SALES — 2026-11-23. ألوان الهوية: أزرق #059AAC، برتقالي #f15922، داكن #2a2828. */
.po-sales-cta { margin-top: 24px; }
.po-sales-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.po-sales-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 50px; padding: 12px 28px; border-radius: 10px;
	border: 2px solid transparent; font: inherit; font-size: 16px; font-weight: 700;
	line-height: 1.3; text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.po-sales-btn:focus-visible { outline: 3px solid #059AAC; outline-offset: 3px; }
.po-sales-btn--buy { background: #f15922; border-color: #f15922; color: #fff; }
.po-sales-btn--buy:hover { background: #d84a15; border-color: #d84a15; color: #fff; }
.po-sales-btn--free { background: transparent; border-color: #059AAC; color: #059AAC; }
.po-sales-btn--free:hover { background: #059AAC; color: #fff; }
.po-sales-btn[disabled] { opacity: .6; cursor: progress; }
.po-sales-contact {
	display: inline-block; margin-top: 14px; font-size: 14.5px; color: inherit;
	opacity: .85; text-decoration: underline; text-underline-offset: 4px;
}
.po-sales-contact:hover { opacity: 1; color: #059AAC; }

/* جدول المقارنة */
.po-sales { margin-top: 8px; }
.po-sales-compare { margin: 0 0 36px; }
.po-sales-compare h2 { margin: 0 0 14px; }
.po-sales-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e5e1da; border-radius: 14px; }
.po-sales-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.po-sales-table th, .po-sales-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid #eee9e2; vertical-align: middle; }
.po-sales-table tbody th { text-align: start; font-weight: 500; color: #2a2828; }
.po-sales-table thead th { font-weight: 700; color: #2a2828; background: #f7f5f1; }
.po-sales-table thead th.is-featured { background: #059AAC; color: #fff; }
.po-sales-table td.is-featured { background: rgba(5, 154, 172, .06); }
.po-sales-table tr:last-child th, .po-sales-table tr:last-child td { border-bottom: 0; }
.po-sales-yes { color: #059AAC; font-weight: 700; font-size: 18px; }
.po-sales-no { color: #b9b3aa; }
.po-sales-price-row th, .po-sales-price-row td { font-weight: 700; color: #2a2828; }
.po-sales-price-row td { white-space: nowrap; }
.po-sales-note { margin: 10px 0 0; font-size: 13.5px; color: #6b6b6b; }

/* النموذجان */
.po-sales-forms { display: grid; gap: 28px; }
.po-sales-form-sec { scroll-margin-top: 96px; }
.po-sales-form-sec--buy { border-top: 4px solid #f15922; }
.po-sales-form-sec--free { border-top: 4px solid #059AAC; }
.po-sales-editions, .po-sales-procurement { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.po-sales-editions legend, .po-sales-procurement legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.po-sales-edition {
	display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 10px;
	border: 1px solid #e5e1da; border-radius: 10px; cursor: pointer; background: #fff;
}
.po-sales-edition:has(input:checked) { border-color: #f15922; box-shadow: 0 0 0 1px #f15922; }
.po-sales-edition input { margin-top: 4px; accent-color: #f15922; }
.po-sales-edition span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; flex: 1; }
.po-sales-edition strong { font-weight: 700; }
.po-sales-edition small { font-size: 13px; color: #6b6b6b; flex-basis: 100%; order: 3; }
.po-sales-edition em { font-style: normal; font-weight: 700; color: #f15922; margin-inline-start: auto; }
.po-sales-procurement label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; margin-inline-end: 18px; }
.po-sales-notes textarea { width: 100%; }
.po-sales-form .po-check { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0; }
.po-sales-form .po-check input { margin-top: 5px; flex: none; }
.po-sales-form .po-check a { color: #059AAC; }
.po-sales-form button[type=submit] { margin-top: 12px; }
.po-sales-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.po-sales-form .po-invalid input, .po-sales-form .po-invalid select, .po-sales-form .po-invalid textarea { border-color: #c0392b !important; }
.po-sales-form fieldset.po-invalid legend, .po-sales-form label.po-check.po-invalid { color: #c0392b; }
.po-field-err { display: block; font-size: 13px; color: #c0392b; margin-top: 4px; font-weight: 400; }
.po-sales-form .po-form-msg { margin-top: 12px; font-weight: 500; }
.po-sales-form .po-form-msg.is-ok { color: #0b7a3b; }
.po-sales-form .po-form-msg.is-err { color: #c0392b; }

@media (max-width: 640px) {
	.po-sales-btns { flex-direction: column; }
	.po-sales-btn { width: 100%; }
	.po-sales-table { font-size: 14px; }
	.po-sales-table th, .po-sales-table td { padding: 10px 8px; }
}

/* خانات الموافقة: مكوّن القالب po-check__box (المربّع الأصلي مخفي في القالب). */
.po-sales-form .po-check { align-items: flex-start; }
.po-sales-form .po-check .po-check__box { flex: none; margin-top: 3px; }
.po-sales-form .po-check.po-invalid .po-check__box { border-color: #c0392b; }
