/* Smart Warranty Manager — Medical UI 2026 */
:root {
	--swm-med-primary: #0a9b57;
	--swm-med-primary-dark: #067a44;
	--swm-med-primary-soft: #eaf8f1;
	--swm-med-blue: #2563eb;
	--swm-med-blue-soft: #eff6ff;
	--swm-med-text: #111827;
	--swm-med-muted: #667085;
	--swm-med-border: #e5e7eb;
	--swm-med-border-strong: #d0d5dd;
	--swm-med-bg: #f8fafc;
	--swm-med-card: #ffffff;
	--swm-med-success: #16a34a;
	--swm-med-warning: #f59e0b;
	--swm-med-error: #dc2626;
	--swm-med-radius: 18px;
	--swm-med-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

.swm-warranty-activation,
.swm-warranty-activation * {
	box-sizing: border-box;
}

.swm-warranty-activation {
	max-width: 980px;
	margin: 28px auto;
	direction: inherit;
	color: var(--swm-med-text);
}

.swm-form-hero {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 28px;
	border: 1px solid rgba(10, 155, 87, .18);
	border-radius: 24px;
	background:
		radial-gradient(circle at top right, rgba(10, 155, 87, .16), transparent 34%),
		linear-gradient(135deg, #ffffff 0%, #f8fffb 52%, #eef9ff 100%);
	box-shadow: var(--swm-med-shadow);
	margin-bottom: 18px;
	position: relative;
	overflow: hidden;
}

.swm-form-hero::after {
	content: "";
	position: absolute;
	inset-inline-end: -52px;
	top: -52px;
	width: 150px;
	height: 150px;
	border-radius: 999px;
	background: rgba(37, 99, 235, .09);
}

.swm-form-hero-icon {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--swm-med-primary), #11b981);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-weight: 900;
	box-shadow: 0 18px 38px rgba(10, 155, 87, .25);
	flex: 0 0 auto;
}

.swm-form-kicker {
	margin: 0 0 6px !important;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--swm-med-primary-dark);
}

.swm-form-hero h2 {
	margin: 0 0 8px;
	font-size: clamp(25px, 3vw, 38px);
	line-height: 1.12;
	font-weight: 850;
	color: var(--swm-med-text);
}

.swm-form-hero p:last-child {
	margin: 0;
	max-width: 680px;
	font-size: 15px;
	line-height: 1.8;
	color: var(--swm-med-muted);
}

.swm-step-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.swm-step {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--swm-med-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
	color: var(--swm-med-muted);
}

.swm-step span {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f2f4f7;
	font-weight: 900;
	font-size: 13px;
	color: var(--swm-med-text);
	flex: 0 0 auto;
}

.swm-step strong {
	font-size: 13px;
	font-weight: 850;
}

.swm-step.is-active {
	background: var(--swm-med-primary-soft);
	border-color: rgba(10, 155, 87, .25);
	color: var(--swm-med-primary-dark);
}

.swm-step.is-active span {
	background: var(--swm-med-primary);
	color: #fff;
}

.swm-manual-warranty-form {
	max-width: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.swm-form-section {
	padding: 24px;
	border: 1px solid var(--swm-med-border);
	border-radius: 22px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 18px 50px rgba(15, 23, 42, .055);
	margin-bottom: 16px;
}

.swm-section-title {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 18px;
}

.swm-section-icon {
	width: 40px;
	height: 40px;
	border-radius: 14px;
	background: var(--swm-med-blue-soft);
	color: var(--swm-med-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 900;
	flex: 0 0 auto;
}

.swm-section-title h3 {
	margin: 0 0 4px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 850;
	color: var(--swm-med-text);
}

.swm-section-title p {
	margin: 0;
	color: var(--swm-med-muted);
	font-size: 14px;
	line-height: 1.7;
}

.swm-form-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.swm-form-grid-2 .swm-field:nth-child(3) {
	grid-column: span 2;
}

.swm-field,
.swm-manual-warranty-form p {
	margin: 0;
}

.swm-field label,
.swm-manual-warranty-form label {
	display: block;
	font-weight: 850;
	margin-bottom: 8px;
	color: var(--swm-med-text);
	font-size: 14px;
}

.swm-field small {
	display: block;
	margin-top: 7px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--swm-med-muted);
}

.swm-manual-warranty-form input[type="text"],
.swm-manual-warranty-form input[type="email"],
.swm-manual-warranty-form input[type="tel"],
.swm-manual-warranty-form input[type="date"],
.swm-manual-warranty-form input[type="file"] {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	border: 1px solid var(--swm-med-border-strong);
	border-radius: 14px;
	padding: 12px 14px;
	background: #fff;
	color: var(--swm-med-text);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.swm-manual-warranty-form input:focus {
	outline: none;
	border-color: var(--swm-med-primary);
	box-shadow: 0 0 0 4px rgba(10, 155, 87, .14);
}

.swm-upload-section {
	background: linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
}

.swm-upload-box {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 170px;
	padding: 24px;
	border: 1.5px dashed rgba(10, 155, 87, .45);
	border-radius: 20px;
	background: var(--swm-med-primary-soft);
	cursor: pointer;
	text-align: center;
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.swm-upload-box:hover {
	transform: translateY(-1px);
	border-color: var(--swm-med-primary);
	background: #ddf7eb;
}

.swm-upload-box input[type="file"] {
	margin-top: 12px;
	max-width: 520px;
	background: #fff;
}

.swm-upload-icon {
	width: 54px;
	height: 54px;
	border-radius: 18px;
	background: #fff;
	color: var(--swm-med-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	box-shadow: 0 12px 30px rgba(10, 155, 87, .13);
}

.swm-upload-box strong {
	font-size: 16px;
	font-weight: 900;
	color: var(--swm-med-text);
}

.swm-upload-box small {
	max-width: 520px;
	color: var(--swm-med-muted);
	line-height: 1.6;
}

.swm-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border: 1px solid var(--swm-med-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--swm-med-shadow);
}

.swm-privacy-note {
	font-size: 13px;
	font-weight: 750;
	color: var(--swm-med-primary-dark);
}

.swm-manual-warranty-form .swm-submit-button,
.swm-manual-warranty-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 14px;
	min-height: 48px;
	padding: 13px 24px;
	background: linear-gradient(135deg, var(--swm-med-primary), #10b981);
	color: #fff;
	cursor: pointer;
	font-weight: 900;
	box-shadow: 0 15px 34px rgba(10, 155, 87, .25);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.swm-manual-warranty-form .swm-submit-button:hover,
.swm-manual-warranty-form button[type="submit"]:hover {
	transform: translateY(-1px);
	filter: brightness(.98);
	box-shadow: 0 18px 38px rgba(10, 155, 87, .32);
}

.swm-manual-warranty-form button[type="submit"]:disabled {
	opacity: .65;
	cursor: not-allowed;
	transform: none;
}

#swm-manual-warranty-message {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 14px;
	font-weight: 850;
	color: var(--swm-med-text);
	background: #f8fafc;
	border: 1px solid var(--swm-med-border);
}

#swm-manual-warranty-message:empty {
	display: none;
}

#swm-manual-warranty-message.is-loading {
	background: var(--swm-med-blue-soft);
	border-color: #bfdbfe;
	color: #1e40af;
}

#swm-manual-warranty-message.is-success {
	background: var(--swm-med-primary-soft);
	border-color: rgba(10, 155, 87, .32);
	color: var(--swm-med-primary-dark);
}

#swm-manual-warranty-message.is-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: var(--swm-med-error);
}

.swm-notice {
	max-width: 760px;
	padding: 15px 17px;
	border-radius: 14px;
	margin: 16px 0;
	font-weight: 800;
}

.swm-notice-warning {
	background: #fffbeb;
	border: 1px solid #f59e0b;
	color: #92400e;
}

/* My Account */
.swm-my-warranties-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--swm-med-border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--swm-med-shadow);
	background: #fff;
}

.swm-my-warranties-table th {
	background: linear-gradient(180deg, #f8fafc, #f2f7f4);
	font-weight: 900;
	font-size: 13px;
	color: var(--swm-med-text);
}

.swm-my-warranties-table th,
.swm-my-warranties-table td {
	vertical-align: middle;
	padding: 15px 16px;
	border-bottom: 1px solid #eef2f7;
}

.swm-my-warranties-table tr:last-child td {
	border-bottom: 0;
}

.swm-download-certificate-button {
	white-space: nowrap;
	border-radius: 999px !important;
	font-weight: 850 !important;
}

.swm-empty-state {
	padding: 26px;
	border: 1px solid var(--swm-med-border);
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff, #f8fffb);
	box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.swm-empty-state p {
	margin: 0 0 8px;
}

.swm-muted {
	color: var(--swm-med-muted);
	font-size: 14px;
}

html[dir="rtl"] .swm-form-hero,
.rtl .swm-form-hero,
html[dir="rtl"] .swm-section-title,
.rtl .swm-section-title,
html[dir="rtl"] .swm-form-footer,
.rtl .swm-form-footer {
	direction: rtl;
}

@media (max-width: 768px) {
	.swm-warranty-activation {
		margin: 18px auto;
	}

	.swm-form-hero,
	.swm-section-title,
	.swm-form-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.swm-step-strip,
	.swm-form-grid-2 {
		grid-template-columns: 1fr;
	}

	.swm-form-grid-2 .swm-field:nth-child(3) {
		grid-column: auto;
	}

	.swm-form-section,
	.swm-form-hero,
	.swm-form-footer {
		padding: 20px;
		border-radius: 18px;
	}

	.swm-manual-warranty-form .swm-submit-button,
	.swm-download-certificate-button {
		width: 100%;
		text-align: center;
	}
}


/* Smart Warranty Manager — Frontend UX Polish v1.9.0 */
.swm-manual-warranty-form {
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(circle at top right, rgba(10, 155, 87, .08), transparent 32%),
		#ffffff;
}

.swm-manual-warranty-form::before {
	content: "تفعيل الضمان";
	display: inline-flex;
	align-items: center;
	margin-bottom: 18px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #eaf8f1;
	color: #067a44;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.swm-manual-warranty-form p {
	position: relative;
}

.swm-manual-warranty-form label {
	font-size: 14px;
}

.swm-manual-warranty-form input[type="file"] {
	padding: 14px;
	border-style: dashed;
	background: #f9fafb;
}

.swm-manual-warranty-form button[type="submit"] {
	min-height: 46px;
	box-shadow: 0 14px 30px rgba(10, 155, 87, .24);
	background: linear-gradient(135deg, #0a9b57, #10b981);
}

#swm-manual-warranty-message:not(:empty) {
	padding: 13px 14px;
	border-radius: 12px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.swm-my-warranties-table {
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.swm-my-warranties-table th {
	background: #f8fafc;
	font-weight: 850;
	color: #111827;
}

.swm-my-warranties-table td,
.swm-my-warranties-table th {
	padding: 14px 16px;
}

.swm-download-certificate-button {
	border-radius: 10px !important;
	font-weight: 800 !important;
}

.swm-download-certificate-button:not(:disabled) {
	background: #0a9b57 !important;
	border-color: #0a9b57 !important;
	color: #fff !important;
}

.rtl .swm-manual-warranty-form,
.rtl .swm-my-warranties-table {
	direction: rtl;
	text-align: right;
}

@media (max-width: 768px) {
	.swm-my-warranties-table thead {
		display: none;
	}

	.swm-my-warranties-table tr {
		display: block;
		padding: 12px;
		border-bottom: 1px solid #e5e7eb;
	}

	.swm-my-warranties-table td {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		padding: 10px 4px;
		border: 0;
	}

	.swm-my-warranties-table td::before {
		content: attr(data-title);
		font-weight: 850;
		color: #6b7280;
	}
}

/* My Warranties — RTL medical account dashboard v1.13.2 */
.swm-my-warranties-page,
.swm-my-warranties-page * {
	box-sizing: border-box;
}

.swm-my-warranties-page {
	--swm-account-primary: #0a9b57;
	--swm-account-primary-dark: #067a44;
	--swm-account-primary-soft: #eaf8f1;
	--swm-account-text: #111827;
	--swm-account-muted: #667085;
	--swm-account-border: #e5e7eb;
	--swm-account-card: #ffffff;
	--swm-account-bg: #f8fafc;
	--swm-account-success: #16a34a;
	--swm-account-warning: #f59e0b;
	--swm-account-error: #dc2626;
	width: 100%;
	color: var(--swm-account-text);
}

.swm-my-warranty-hero {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 18px;
	padding: 24px;
	border: 1px solid rgba(10, 155, 87, .18);
	border-radius: 24px;
	background:
		radial-gradient(circle at top left, rgba(10, 155, 87, .14), transparent 34%),
		linear-gradient(135deg, #ffffff 0%, #f8fffb 56%, #eef9ff 100%);
	box-shadow: 0 18px 55px rgba(15, 23, 42, .07);
	overflow: hidden;
}

.swm-my-warranty-hero-icon {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--swm-account-primary), #10b981);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 900;
	box-shadow: 0 16px 34px rgba(10, 155, 87, .24);
	flex: 0 0 auto;
}

.swm-my-kicker {
	margin: 0 0 6px !important;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--swm-account-primary-dark);
}

.swm-my-warranty-hero h3 {
	margin: 0 0 8px !important;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.2;
	font-weight: 900;
	color: var(--swm-account-text);
}

.swm-my-warranty-hero p:last-child {
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.9;
	color: var(--swm-account-muted);
}

.swm-my-summary-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 18px;
}

.swm-my-summary-card {
	padding: 18px;
	border: 1px solid var(--swm-account-border);
	border-radius: 18px;
	background: var(--swm-account-card);
	box-shadow: 0 12px 32px rgba(15, 23, 42, .045);
}

.swm-my-summary-card span {
	display: block;
	font-size: 28px;
	line-height: 1;
	font-weight: 950;
	color: var(--swm-account-text);
}

.swm-my-summary-card small {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--swm-account-muted);
}

.swm-my-summary-active {
	background: linear-gradient(180deg, #ffffff, var(--swm-account-primary-soft));
	border-color: rgba(10, 155, 87, .22);
}

.swm-my-summary-active span {
	color: var(--swm-account-primary-dark);
}

.swm-my-summary-pending {
	background: linear-gradient(180deg, #ffffff, #fffbeb);
	border-color: rgba(245, 158, 11, .26);
}

.swm-my-summary-expired {
	background: linear-gradient(180deg, #ffffff, #fef2f2);
	border-color: rgba(220, 38, 38, .20);
}

.swm-my-table-card {
	border: 1px solid var(--swm-account-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 55px rgba(15, 23, 42, .07);
	overflow: hidden;
}

.swm-my-table-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border-bottom: 1px solid var(--swm-account-border);
	background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.swm-my-table-head h4 {
	margin: 0 0 5px !important;
	font-size: 18px;
	font-weight: 900;
	color: var(--swm-account-text);
}

.swm-my-table-head p {
	margin: 0 !important;
	font-size: 13px;
	line-height: 1.7;
	color: var(--swm-account-muted);
}

.swm-my-table-scroll {
	width: 100%;
	overflow-x: auto;
}

.swm-my-warranties-table {
	min-width: 980px;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #fff;
}

.swm-my-warranties-table thead th {
	padding: 15px 16px !important;
	background: #f8fafc !important;
	border: 0 !important;
	border-bottom: 1px solid var(--swm-account-border) !important;
	font-size: 12px !important;
	line-height: 1.5;
	font-weight: 950 !important;
	color: #344054 !important;
	text-align: right;
	white-space: nowrap;
}

.swm-my-warranties-table tbody td {
	padding: 16px !important;
	border: 0 !important;
	border-bottom: 1px solid #eef2f7 !important;
	font-size: 14px;
	line-height: 1.6;
	text-align: right;
	vertical-align: middle;
}

.swm-my-warranties-table tbody tr:last-child td {
	border-bottom: 0 !important;
}

.swm-my-warranties-table tbody tr:hover td {
	background: #fbfefc;
}

.swm-my-warranties-table code {
	direction: ltr;
	display: inline-flex;
	padding: 5px 8px;
	border-radius: 999px;
	background: #f2f4f7;
	color: #344054;
	font-size: 12px;
	font-weight: 900;
}

.swm-product-title {
	display: block;
	max-width: 250px;
	font-weight: 850;
	color: var(--swm-account-text);
}

.swm-order-number,
.swm-expiry-date {
	direction: ltr;
	unicode-bidi: plaintext;
	white-space: nowrap;
}

.swm-my-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 6px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 950;
	white-space: nowrap;
}

.swm-my-status-active {
	background: var(--swm-account-primary-soft);
	color: var(--swm-account-primary-dark);
}

.swm-my-status-pending {
	background: #fffbeb;
	color: #92400e;
}

.swm-my-status-expired {
	background: #fef2f2;
	color: var(--swm-account-error);
}

.swm-my-warranties-page .swm-download-certificate-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 9px 14px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--swm-account-primary) !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 950 !important;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 12px 24px rgba(10, 155, 87, .20);
}

.swm-my-warranties-page .swm-download-certificate-button:disabled {
	background: #e5e7eb !important;
	color: #667085 !important;
	box-shadow: none;
	cursor: not-allowed;
}

.swm-my-empty-state {
	direction: rtl;
}

.swm-my-empty-state strong {
	display: block;
	margin-bottom: 8px;
	font-size: 18px;
}

@media (max-width: 900px) {
	.swm-my-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.swm-my-warranty-hero {
		align-items: flex-start;
		flex-direction: column;
		padding: 20px;
		border-radius: 18px;
	}

	.swm-my-summary-grid {
		grid-template-columns: 1fr;
	}

	.swm-my-table-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.swm-my-warranties-table,
	.swm-my-warranties-table thead,
	.swm-my-warranties-table tbody,
	.swm-my-warranties-table th,
	.swm-my-warranties-table td,
	.swm-my-warranties-table tr {
		display: block;
		min-width: 0;
	}

	.swm-my-warranties-table thead {
		display: none;
	}

	.swm-my-warranties-table tbody tr {
		padding: 14px;
		border-bottom: 1px solid var(--swm-account-border);
	}

	.swm-my-warranties-table tbody td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 10px 0 !important;
		border-bottom: 1px dashed #eef2f7 !important;
		text-align: right;
	}

	.swm-my-warranties-table tbody td:last-child {
		border-bottom: 0 !important;
	}

	.swm-my-warranties-table tbody td::before {
		content: attr(data-title);
		font-weight: 950;
		color: #344054;
		text-align: right;
	}

	.swm-product-title {
		max-width: 52%;
		text-align: right;
	}

	.swm-my-warranties-page .swm-download-certificate-button {
		min-width: 140px;
	}
}

/* Smart Warranty Manager — Full responsive system v1.13.4 */
.swm-warranty-activation,
.swm-warranty-activation *,
.swm-my-warranties-page,
.swm-my-warranties-page * {
	box-sizing: border-box;
}

.swm-warranty-activation,
.swm-my-warranties-page {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-content .swm-my-warranties-page,
.woocommerce-account .woocommerce-MyAccount-content .swm-warranty-activation {
	width: 100%;
	max-width: 100%;
}

.swm-warranty-activation img,
.swm-my-warranties-page img {
	max-width: 100%;
	height: auto;
}

.swm-form-hero,
.swm-form-section,
.swm-form-footer,
.swm-my-warranty-hero,
.swm-my-table-card,
.swm-my-summary-card {
	max-width: 100%;
}

.swm-form-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swm-step-strip {
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.swm-step {
	min-width: 0;
}

.swm-step strong,
.swm-field label,
.swm-section-title p,
.swm-my-table-head p,
.swm-my-warranty-hero p {
	overflow-wrap: anywhere;
}

.swm-manual-warranty-form input,
.swm-manual-warranty-form select,
.swm-manual-warranty-form textarea,
.swm-manual-warranty-form button {
	max-width: 100%;
}

.swm-upload-box input[type="file"] {
	width: 100%;
}

.swm-form-footer .swm-submit-button,
.swm-warranty-activation .button,
.swm-my-warranties-page .button {
	max-width: 100%;
}

.swm-my-table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable both-edges;
}

.swm-my-warranties-table {
	width: 100% !important;
	min-width: 0 !important;
	table-layout: fixed;
}

.swm-my-warranties-table thead th.swm-col-product_name,
.swm-my-warranties-table tbody td.swm-col-product_name { width: 26%; }
.swm-my-warranties-table thead th.swm-col-product_sku,
.swm-my-warranties-table tbody td.swm-col-product_sku { width: 10%; }
.swm-my-warranties-table thead th.swm-col-order_number,
.swm-my-warranties-table tbody td.swm-col-order_number { width: 10%; }
.swm-my-warranties-table thead th.swm-col-activation_date,
.swm-my-warranties-table tbody td.swm-col-activation_date,
.swm-my-warranties-table thead th.swm-col-expiry_date,
.swm-my-warranties-table tbody td.swm-col-expiry_date { width: 12%; }
.swm-my-warranties-table thead th.swm-col-remaining_time,
.swm-my-warranties-table tbody td.swm-col-remaining_time { width: 14%; }
.swm-my-warranties-table thead th.swm-col-status,
.swm-my-warranties-table tbody td.swm-col-status { width: 8%; }
.swm-my-warranties-table thead th.swm-col-certificate,
.swm-my-warranties-table tbody td.swm-col-certificate { width: 12%; }

.swm-my-warranties-table tbody td,
.swm-product-title,
.swm-remaining-time {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.swm-product-title {
	max-width: none;
}

.swm-order-number,
.swm-activation-date,
.swm-expiry-date {
	display: inline-block;
	direction: ltr;
	unicode-bidi: plaintext;
	white-space: nowrap;
}

.swm-remaining-time {
	display: inline-block;
	font-weight: 700;
	color: #344054;
}

@media (max-width: 1200px) {
	.swm-warranty-activation {
		padding-inline: 12px;
	}

	.swm-form-hero,
	.swm-my-warranty-hero {
		padding: 22px;
	}

	.swm-my-table-head {
		padding: 18px;
	}

	.swm-my-warranties-table thead th,
	.swm-my-warranties-table tbody td {
		padding: 13px 10px !important;
		font-size: 13px;
	}

	.swm-my-warranties-page .swm-download-certificate-button {
		padding: 8px 11px !important;
		font-size: 11px !important;
	}
}

@media (max-width: 1024px) {
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.swm-my-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.swm-my-warranties-table,
	.swm-my-warranties-table thead,
	.swm-my-warranties-table tbody,
	.swm-my-warranties-table th,
	.swm-my-warranties-table td,
	.swm-my-warranties-table tr {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.swm-my-warranties-table thead {
		display: none;
	}

	.swm-my-table-scroll {
		overflow: visible;
	}

	.swm-my-warranties-table tbody {
		display: grid;
		gap: 14px;
		padding: 14px;
		background: #f8fafc;
	}

	.swm-my-warranties-table tbody tr {
		display: block;
		padding: 16px;
		border: 1px solid var(--swm-account-border);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
	}

	.swm-my-warranties-table tbody td {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 14px;
		padding: 10px 0 !important;
		border-bottom: 1px dashed #e5e7eb !important;
		text-align: right;
	}

	.swm-my-warranties-table tbody td::before {
		content: attr(data-title);
		flex: 0 0 42%;
		max-width: 42%;
		font-weight: 950;
		color: #344054;
		text-align: right;
	}

	.swm-my-warranties-table tbody td > * {
		flex: 1 1 auto;
		text-align: right;
	}

	.swm-my-warranties-table tbody td:last-child {
		border-bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	.swm-product-title {
		text-align: right;
		line-height: 1.7;
	}

	.swm-my-warranties-page .swm-download-certificate-button {
		width: 100%;
		min-height: 42px;
	}
}

@media (max-width: 782px) {
	.swm-warranty-activation {
		margin: 16px auto;
		padding-inline: 10px;
	}

	.swm-form-hero,
	.swm-section-title,
	.swm-form-footer,
	.swm-my-warranty-hero,
	.swm-my-table-head {
		align-items: stretch;
		flex-direction: column;
	}

	.swm-form-hero,
	.swm-form-section,
	.swm-form-footer,
	.swm-my-warranty-hero,
	.swm-my-table-card {
		border-radius: 18px;
	}

	.swm-form-hero,
	.swm-form-section,
	.swm-form-footer,
	.swm-my-warranty-hero,
	.swm-my-table-head {
		padding: 18px;
	}

	.swm-form-hero-icon,
	.swm-my-warranty-hero-icon {
		width: 50px;
		height: 50px;
		border-radius: 16px;
	}

	.swm-form-hero h2,
	.swm-my-warranty-hero h3 {
		font-size: 24px;
	}

	.swm-step-strip,
	.swm-form-grid-2 {
		grid-template-columns: 1fr;
	}

	.swm-form-grid-2 .swm-field:nth-child(3) {
		grid-column: auto;
	}

	.swm-form-footer .swm-submit-button,
	.swm-manual-warranty-form button[type="submit"],
	.swm-download-certificate-button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.swm-upload-box {
		min-height: 150px;
		padding: 18px;
	}
}

@media (max-width: 640px) {
	.swm-my-summary-grid {
		grid-template-columns: 1fr;
	}

	.swm-my-warranties-table tbody {
		padding: 12px;
	}

	.swm-my-warranties-table tbody tr {
		padding: 14px;
		border-radius: 16px;
	}

	.swm-my-warranties-table tbody td {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.swm-my-warranties-table tbody td::before {
		flex: none;
		max-width: none;
		text-align: right;
	}

	.swm-my-warranties-table tbody td > *,
	.swm-order-number,
	.swm-activation-date,
	.swm-expiry-date,
	.swm-product-title,
	.swm-remaining-time {
		text-align: right;
	}
}

@media (max-width: 420px) {
	.swm-form-hero,
	.swm-form-section,
	.swm-form-footer,
	.swm-my-warranty-hero,
	.swm-my-table-head {
		padding: 15px;
	}

	.swm-form-hero h2,
	.swm-my-warranty-hero h3 {
		font-size: 21px;
	}

	.swm-my-summary-card {
		padding: 15px;
	}

	.swm-my-summary-card span {
		font-size: 24px;
	}
}


/* Buttons refinement v1.13.5 */
.swm-form-footer .swm-submit-button,
.swm-manual-warranty-form .swm-submit-button,
.swm-manual-warranty-form button[type="submit"],
.swm-warranty-activation .button,
.swm-my-warranties-page .button,
.swm-download-certificate-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 18px !important;
	border: 1px solid transparent !important;
	border-radius: 14px !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	line-height: 1.25 !important;
	text-align: center !important;
	text-decoration: none !important;
	vertical-align: middle;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease, border-color .18s ease;
}

.swm-form-footer .swm-submit-button:hover,
.swm-manual-warranty-form .swm-submit-button:hover,
.swm-manual-warranty-form button[type="submit"]:hover,
.swm-warranty-activation .button:hover,
.swm-my-warranties-page .button:hover,
.swm-download-certificate-button:hover {
	transform: translateY(-1px);
}

.swm-form-footer .swm-submit-button:focus-visible,
.swm-manual-warranty-form .swm-submit-button:focus-visible,
.swm-manual-warranty-form button[type="submit"]:focus-visible,
.swm-warranty-activation .button:focus-visible,
.swm-my-warranties-page .button:focus-visible,
.swm-download-certificate-button:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(10, 155, 87, .16), 0 12px 28px rgba(10, 155, 87, .18) !important;
}

.swm-my-warranties-page .swm-download-certificate-button {
	min-width: 122px;
	padding-inline: 16px !important;
	box-shadow: 0 12px 24px rgba(10, 155, 87, .18) !important;
}

.swm-my-warranties-table tbody td.swm-col-certificate {
	text-align: center !important;
}

.swm-my-warranties-table tbody td.swm-col-certificate .swm-download-certificate-button {
	margin-inline: auto;
}

.swm-my-warranties-page .swm-download-certificate-button:disabled,
.swm-my-warranties-page .swm-download-certificate-button[disabled] {
	opacity: 1;
	border-color: #e5e7eb !important;
	background: #f2f4f7 !important;
	color: #667085 !important;
	cursor: not-allowed;
	transform: none !important;
}

@media (max-width: 1024px) {
	.swm-my-warranties-table tbody td.swm-col-certificate {
		text-align: left !important;
	}

	.swm-my-warranties-table tbody td.swm-col-certificate .swm-download-certificate-button {
		margin-inline: 0;
	}
}

@media (max-width: 782px) {
	.swm-form-footer .swm-submit-button,
	.swm-manual-warranty-form .swm-submit-button,
	.swm-manual-warranty-form button[type="submit"],
	.swm-download-certificate-button,
	.swm-warranty-activation .button,
	.swm-my-warranties-page .button {
		width: 100%;
		min-height: 46px;
		padding: 12px 16px !important;
		white-space: normal;
	}
}


/* Warranty table + certificate UX refinement v1.13.6 */
.woocommerce-account .woocommerce-MyAccount-content {
	max-width: 100%;
}

.swm-my-warranties-page {
	max-width: 100%;
}

.swm-my-table-card {
	width: 100%;
}

.swm-my-table-scroll {
	overflow-x: auto !important;
	overflow-y: hidden;
	padding-bottom: 4px;
}

.swm-my-warranties-table {
	width: 100% !important;
	min-width: 940px !important;
	table-layout: auto !important;
}

.swm-my-warranties-table thead th,
.swm-my-warranties-table tbody td {
	white-space: normal;
}

.swm-my-warranties-table thead th.swm-col-product_name,
.swm-my-warranties-table tbody td.swm-col-product_name {
	min-width: 220px;
	width: 24%;
}

.swm-my-warranties-table thead th.swm-col-product_sku,
.swm-my-warranties-table tbody td.swm-col-product_sku {
	min-width: 88px;
	width: 10%;
}

.swm-my-warranties-table thead th.swm-col-order_number,
.swm-my-warranties-table tbody td.swm-col-order_number {
	min-width: 96px;
	width: 11%;
}

.swm-my-warranties-table thead th.swm-col-activation_date,
.swm-my-warranties-table tbody td.swm-col-activation_date,
.swm-my-warranties-table thead th.swm-col-expiry_date,
.swm-my-warranties-table tbody td.swm-col-expiry_date {
	min-width: 118px;
	width: 12%;
}

.swm-my-warranties-table thead th.swm-col-remaining_time,
.swm-my-warranties-table tbody td.swm-col-remaining_time {
	min-width: 138px;
	width: 14%;
}

.swm-my-warranties-table thead th.swm-col-status,
.swm-my-warranties-table tbody td.swm-col-status {
	min-width: 92px;
	width: 8%;
}

.swm-my-warranties-table thead th.swm-col-certificate,
.swm-my-warranties-table tbody td.swm-col-certificate {
	min-width: 154px;
	width: 9%;
	white-space: nowrap;
}

.swm-my-warranties-table thead th.swm-col-certificate,
.swm-my-warranties-table tbody td.swm-col-certificate,
.swm-my-warranties-table thead th.swm-col-status,
.swm-my-warranties-table tbody td.swm-col-status {
	text-align: center !important;
}

.swm-my-warranties-table tbody td.swm-col-certificate .swm-download-certificate-button {
	display: inline-flex !important;
	min-width: 126px;
	max-width: 100%;
	min-height: 40px;
	padding: 10px 14px !important;
	font-size: 13px !important;
	white-space: nowrap;
	margin-inline: auto;
}

.swm-my-warranties-table tbody td.swm-col-status .swm-my-status {
	margin-inline: auto;
}

.swm-product-title {
	max-width: 100%;
}

@media (max-width: 1200px) {
	.swm-my-warranties-table {
		min-width: 880px !important;
	}
}

@media (max-width: 1024px) {
	.swm-my-table-scroll {
		overflow: visible !important;
		padding-bottom: 0;
	}

	.swm-my-warranties-table,
	.swm-my-warranties-table thead,
	.swm-my-warranties-table tbody,
	.swm-my-warranties-table th,
	.swm-my-warranties-table td,
	.swm-my-warranties-table tr {
		display: block;
		width: 100%;
		min-width: 0 !important;
	}

	.swm-my-warranties-table thead {
		display: none;
	}

	.swm-my-warranties-table tbody {
		display: grid;
		gap: 14px;
		padding: 14px;
		background: #f8fafc;
	}

	.swm-my-warranties-table tbody tr {
		padding: 16px;
		border: 1px solid var(--swm-account-border);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
	}

	.swm-my-warranties-table tbody td {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 14px;
		padding: 10px 0 !important;
		border: 0 !important;
		border-bottom: 1px dashed #e5e7eb !important;
		text-align: left !important;
	}

	.swm-my-warranties-table tbody td::before {
		content: attr(data-title);
		flex: 0 0 40%;
		max-width: 40%;
		font-weight: 900;
		color: #344054;
		text-align: right;
	}

	.swm-my-warranties-table tbody td > * {
		flex: 1 1 auto;
		text-align: right;
	}

	.swm-my-warranties-table tbody td.swm-col-certificate,
	.swm-my-warranties-table tbody td.swm-col-status {
		text-align: left !important;
	}

	.swm-my-warranties-table tbody td.swm-col-certificate .swm-download-certificate-button,
	.swm-my-warranties-table tbody td.swm-col-status .swm-my-status {
		margin-inline: 0;
	}

	.swm-my-warranties-table tbody td:last-child {
		border-bottom: 0 !important;
		padding-bottom: 0 !important;
	}
}

@media (max-width: 640px) {
	.swm-my-warranties-table tbody {
		padding: 12px;
	}

	.swm-my-warranties-table tbody tr {
		padding: 14px;
		border-radius: 16px;
	}

	.swm-my-warranties-table tbody td {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.swm-my-warranties-table tbody td::before {
		flex: none;
		max-width: none;
	}

	.swm-my-warranties-table tbody td > * {
		text-align: right;
	}

	.swm-my-warranties-table tbody td.swm-col-certificate .swm-download-certificate-button {
		width: 100%;
		min-width: 0;
	}
}

/* Smart Warranty Manager — My Account full responsive refactor v1.13.8
   Desktop keeps the table. Tablet/mobile use dedicated cards to avoid broken table layout. */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content .swm-my-warranties-page,
.swm-my-warranties-page,
.swm-my-table-card {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.swm-my-warranties-page * {
	box-sizing: border-box;
}

.swm-my-table-scroll {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.swm-my-warranty-mobile-cards {
	display: none;
}

.swm-my-warranties-table {
	width: 100% !important;
	min-width: 960px !important;
	table-layout: auto !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

.swm-my-warranties-table thead th,
.swm-my-warranties-table tbody td {
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
}

.swm-my-warranties-table thead th.swm-col-product_name,
.swm-my-warranties-table tbody td.swm-col-product_name { min-width: 220px; }
.swm-my-warranties-table thead th.swm-col-certificate,
.swm-my-warranties-table tbody td.swm-col-certificate { min-width: 150px; text-align: center !important; }
.swm-my-warranties-table tbody td.swm-col-certificate .swm-download-certificate-button { margin-inline: auto; }

.swm-download-certificate-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 16px !important;
	border-radius: 999px !important;
	white-space: nowrap;
	line-height: 1.2 !important;
	text-align: center !important;
}

@media (min-width: 1025px) {
	.swm-my-table-scroll {
		display: block !important;
	}

	.swm-my-warranty-mobile-cards {
		display: none !important;
	}
}

@media (max-width: 1024px) {
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.swm-my-warranties-page {
		padding-inline: 0;
	}

	.swm-my-table-card {
		overflow: hidden;
		border-radius: 18px;
	}

	.swm-my-table-head {
		display: block;
		padding: 16px 16px 14px !important;
		text-align: right;
	}

	.swm-my-table-head h4 {
		font-size: 18px !important;
		line-height: 1.45;
	}

	.swm-my-table-head p {
		font-size: 13px !important;
		line-height: 1.8;
	}

	.swm-my-table-scroll {
		display: none !important;
	}

	.swm-my-warranty-mobile-cards {
		display: grid !important;
		grid-template-columns: 1fr;
		gap: 14px;
		width: 100%;
		padding: 14px;
		background: #f8fafc;
	}

	.swm-warranty-mobile-card {
		display: block;
		width: 100%;
		min-width: 0;
		padding: 16px;
		border: 1px solid var(--swm-account-border, #e5e7eb);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
		overflow: hidden;
	}

	.swm-warranty-mobile-card-head {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
		padding-bottom: 14px;
		margin-bottom: 14px;
		border-bottom: 1px solid #eef2f7;
	}

	.swm-mobile-card-label,
	.swm-mobile-field span {
		display: block;
		margin-bottom: 6px;
		font-size: 12px;
		font-weight: 900;
		line-height: 1.5;
		color: #667085;
	}

	.swm-mobile-product-title {
		display: block;
		font-size: 15px;
		font-weight: 950;
		line-height: 1.75;
		color: #111827;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.swm-warranty-mobile-card-head .swm-my-status {
		flex: 0 0 auto;
		margin: 2px 0 0;
	}

	.swm-mobile-warranty-fields {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.swm-mobile-field {
		min-width: 0;
		padding: 12px;
		border: 1px solid #eef2f7;
		border-radius: 14px;
		background: #fbfdfc;
	}

	.swm-mobile-field code,
	.swm-mobile-field-value {
		display: block;
		font-size: 13px;
		font-weight: 850;
		line-height: 1.65;
		color: #111827;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.swm-mobile-field code,
	.swm-mobile-field-value.is-ltr {
		direction: ltr;
		unicode-bidi: plaintext;
		text-align: right;
	}

	.swm-mobile-field-value.is-strong {
		font-weight: 950;
		color: #067a44;
	}

	.swm-mobile-card-actions {
		margin-top: 14px;
		padding-top: 14px;
		border-top: 1px solid #eef2f7;
	}

	.swm-mobile-card-actions .swm-download-certificate-button {
		width: 100%;
		min-width: 0;
		min-height: 46px;
		padding: 12px 16px !important;
		font-size: 14px !important;
		white-space: normal;
	}
}

@media (max-width: 640px) {
	.swm-my-warranty-hero,
	.swm-my-table-card {
		border-radius: 16px;
	}

	.swm-my-summary-grid {
		grid-template-columns: 1fr !important;
		gap: 10px;
	}

	.swm-my-summary-card {
		padding: 15px;
		border-radius: 16px;
	}

	.swm-my-warranty-mobile-cards {
		padding: 12px;
		gap: 12px;
	}

	.swm-warranty-mobile-card {
		padding: 14px;
		border-radius: 16px;
	}

	.swm-warranty-mobile-card-head {
		flex-direction: column;
		align-items: stretch;
	}

	.swm-warranty-mobile-card-head .swm-my-status {
		align-self: flex-start;
	}

	.swm-mobile-warranty-fields {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.swm-my-warranty-hero,
	.swm-form-hero,
	.swm-form-section,
	.swm-form-footer,
	.swm-my-table-head {
		padding: 15px !important;
	}

	.swm-my-warranty-hero h3 {
		font-size: 23px !important;
	}

	.swm-mobile-product-title {
		font-size: 14px;
	}

	.swm-mobile-field {
		padding: 11px;
	}
}


/* Arabic Warranty Activation page v1.13.10 */
.swm-arabic-warranty-page,
.swm-arabic-warranty-page * {
	box-sizing: border-box;
}

.swm-arabic-warranty-page {
	direction: rtl;
	text-align: right;
	max-width: 1040px;
	margin: 0 auto;
	color: var(--swm-med-text, #111827);
}

.swm-arabic-page-intro,
.swm-arabic-page-outro,
.swm-arabic-page-note {
	border: 1px solid rgba(10, 155, 87, .18);
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .055);
}

.swm-arabic-page-intro {
	padding: 30px;
	margin: 0 0 18px;
	background:
		radial-gradient(circle at top right, rgba(10, 155, 87, .13), transparent 34%),
		linear-gradient(135deg, #ffffff 0%, #f8fffb 58%, #eef9ff 100%);
}

.swm-arabic-page-kicker {
	margin: 0 0 8px !important;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--swm-med-primary-dark, #067a44);
}

.swm-arabic-page-intro h1,
.swm-arabic-page-outro h2 {
	margin: 0 0 12px !important;
	font-weight: 900;
	line-height: 1.15;
	color: var(--swm-med-text, #111827);
}

.swm-arabic-page-intro h1 {
	font-size: clamp(28px, 4vw, 44px);
}

.swm-arabic-page-outro h2 {
	font-size: clamp(22px, 3vw, 30px);
}

.swm-arabic-page-intro p,
.swm-arabic-page-outro p {
	margin: 0 0 12px !important;
	font-size: 16px;
	line-height: 1.85;
	color: var(--swm-med-muted, #667085);
}

.swm-arabic-page-intro p:last-child,
.swm-arabic-page-outro p:last-child {
	margin-bottom: 0 !important;
}

.swm-arabic-page-note {
	padding: 16px 18px;
	margin: 0 0 18px;
	background: #f8fffb;
	font-size: 14px;
	line-height: 1.8;
	color: var(--swm-med-muted, #667085);
}

.swm-arabic-page-note strong {
	color: var(--swm-med-primary-dark, #067a44);
}

.swm-arabic-page-outro {
	padding: 24px;
	margin: 18px 0 0;
}

.swm-warranty-activation[dir="rtl"],
.swm-warranty-activation[dir="rtl"] .swm-form-hero,
.swm-warranty-activation[dir="rtl"] .swm-section-title,
.swm-warranty-activation[dir="rtl"] .swm-form-footer,
.swm-warranty-activation[dir="rtl"] .swm-step-strip {
	direction: rtl;
	text-align: right;
}

.swm-warranty-activation[dir="rtl"] .swm-form-hero,
.swm-warranty-activation[dir="rtl"] .swm-section-title,
.swm-warranty-activation[dir="rtl"] .swm-form-footer {
	flex-direction: row;
}

.swm-warranty-activation[dir="rtl"] .swm-field label,
.swm-warranty-activation[dir="rtl"] .swm-field small,
.swm-warranty-activation[dir="rtl"] .swm-form-hero h2,
.swm-warranty-activation[dir="rtl"] .swm-form-hero p,
.swm-warranty-activation[dir="rtl"] .swm-section-title h3,
.swm-warranty-activation[dir="rtl"] .swm-section-title p {
	text-align: right;
}

.swm-warranty-activation[dir="rtl"] input,
.swm-warranty-activation[dir="rtl"] textarea,
.swm-warranty-activation[dir="rtl"] select {
	direction: rtl;
	text-align: right;
}

@media (max-width: 782px) {
	.swm-arabic-page-intro,
	.swm-arabic-page-outro {
		padding: 20px;
		border-radius: 18px;
	}

	.swm-warranty-activation[dir="rtl"] .swm-form-hero,
	.swm-warranty-activation[dir="rtl"] .swm-section-title,
	.swm-warranty-activation[dir="rtl"] .swm-form-footer {
		flex-direction: column;
		align-items: stretch;
	}
}


/* Rejected warranty cards v1.14.0 */
.swm-my-status-rejected,
.swm-my-summary-rejected {
	background: #fef2f2 !important;
	color: #b91c1c !important;
	border-color: #fecaca !important;
}
