/*
Theme Name: Jabar Blocksy Child
Description: Arabic RTL Blocksy child theme for Jabar Al-Aiar legal blog.
Author: MH DEV
Author URI: https://builtbymh.com
Template: blocksy
Version: 1.8.0-client-content-update
Text Domain: jabar-blocksy-child
*/

:root {
	--jabar-bg: #F8F3EA;
	--jabar-surface: #FFFDF9;
	--jabar-text: #3A2A20;
	--jabar-heading: #281A14;
	--jabar-gold: #B58A3A;
	--jabar-gold-dark: #8C682A;
	--jabar-border: #E4D7C4;
	--jabar-muted: #74665C;
	--jabar-radius-sm: 8px;
	--jabar-radius-md: 12px;
	--jabar-radius-lg: 18px;
	--jabar-shadow-soft: 0 8px 24px rgba(58, 42, 32, 0.06);
	--jabar-font: "Jabar Tajawal", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--jabar-font-display: "Jabar Noto Naskh", "Jabar Amiri", "Traditional Arabic", serif;
}

body {
	color: var(--jabar-text);
	background-color: var(--jabar-bg);
	font-family: var(--jabar-font);
	font-size: 17px;
	line-height: 1.9;
}

body,
button,
input,
select,
textarea {
	font-family: var(--jabar-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.entry-title,
.page-title {
	color: var(--jabar-heading);
	font-family: var(--jabar-font-display);
	font-weight: 690;
	line-height: 1.45;
}

a {
	color: var(--jabar-gold-dark);
}

a:hover,
a:focus {
	color: var(--jabar-gold);
}

#main,
.site-main {
	background-color: var(--jabar-bg);
}

[data-header*="type-1"] .ct-header,
[data-header*="type-1"] .ct-sticky-container,
.site-header {
	border-bottom: 1px solid var(--jabar-border);
	background: var(--jabar-surface);
}

.menu > li > a,
.ct-header-text {
	color: var(--jabar-heading);
	font-family: var(--jabar-font);
	font-weight: 500;
}

.site-title a,
.site-title a:visited {
	color: var(--jabar-heading);
	font-family: var(--jabar-font-display);
	font-weight: 690;
}

.menu > li > a:hover,
.menu > li.current-menu-item > a,
.menu > li.current-menu-ancestor > a {
	color: var(--jabar-gold-dark);
	font-weight: 700;
}

.sub-menu {
	border: 1px solid var(--jabar-border);
	background: var(--jabar-surface);
	box-shadow: none;
}

.entry-content,
.content-inner {
	color: var(--jabar-text);
	font-size: 18px;
	line-height: 2;
}

.entry-content {
	max-width: 780px;
	margin-inline: auto;
}

.entry-content:has(> .jabar-home),
.entry-content:has(> .jabar-subscriptions) {
	max-width: 1180px;
}

.entry-content > * + * {
	margin-top: 1.35em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
	color: var(--jabar-heading);
	font-family: var(--jabar-font-display);
	font-weight: 690;
}

.entry-content a {
	color: var(--jabar-gold-dark);
	text-decoration-color: var(--jabar-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.entry-content a:hover,
.entry-content a:focus {
	color: var(--jabar-gold);
}

.entry-content blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--jabar-border);
	border-inline-start: 4px solid var(--jabar-gold);
	background: var(--jabar-surface);
	color: var(--jabar-heading);
	font-size: 1.05em;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-card,
.entries article,
.ct-sidebar .ct-widget,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.woocommerce form.login,
.woocommerce form.register {
	border: 1px solid var(--jabar-border);
	border-radius: 14px;
	background: var(--jabar-surface);
	box-shadow: var(--jabar-shadow-soft);
}

.woocommerce form.login,
.woocommerce form.register {
	padding: clamp(1.25rem, 3vw, 2rem);
}

button,
input[type="button"],
input[type="submit"],
.button,
.jabar-button,
.entry-content .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.7rem 1.2rem;
	border: 1px solid var(--jabar-heading);
	border-radius: 10px;
	font-family: var(--jabar-font);
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

button,
input[type="button"],
input[type="submit"],
.button,
.jabar-button-primary,
.entry-content .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	color: #fff;
	background: var(--jabar-heading);
}

.entry-content a.jabar-button-primary,
.entry-content a.jabar-button-primary:visited {
	color: #fff;
	border-color: var(--jabar-heading);
	background: var(--jabar-heading);
}

.entry-content a.jabar-button-primary:hover,
.entry-content a.jabar-button-primary:focus {
	color: #fff;
	border-color: var(--jabar-gold-dark);
	background: var(--jabar-gold-dark);
}

.entry-content a.jabar-button-secondary,
.entry-content a.jabar-button-secondary:visited {
	color: var(--jabar-heading);
	border-color: var(--jabar-heading);
	background: transparent;
}

.entry-content a.jabar-button-secondary:hover,
.entry-content a.jabar-button-secondary:focus {
	color: var(--jabar-gold-dark);
	border-color: var(--jabar-gold);
	background: rgba(181, 138, 58, 0.08);
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.button:hover,
.button:focus,
.entry-content .button:hover,
.entry-content .button:focus,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus {
	color: #fff;
	border-color: var(--jabar-gold-dark);
	background: var(--jabar-gold-dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
	color: var(--jabar-text);
	border: 1px solid var(--jabar-border);
	border-radius: 10px;
	background: var(--jabar-surface);
	box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--jabar-gold);
	outline: 2px solid rgba(181, 138, 58, 0.18);
	outline-offset: 1px;
	box-shadow: none;
}

label,
.woocommerce form .form-row label {
	color: var(--jabar-heading);
	font-weight: 500;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	padding: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	color: var(--jabar-text);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
	color: var(--jabar-gold-dark);
}

.woocommerce-account .woocommerce-MyAccount-content {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-color: var(--jabar-gold);
	background: var(--jabar-surface);
	color: var(--jabar-text);
}

.jabar-members-teaser {
	position: relative;
	margin-bottom: 1.5rem;
	color: var(--jabar-muted);
}

.jabar-members-notice {
	margin: 2rem 0;
	padding: clamp(1.4rem, 4vw, 2.25rem);
	border: 1px solid var(--jabar-border);
	border-top: 4px solid var(--jabar-gold);
	border-radius: var(--jabar-radius-lg);
	background: var(--jabar-surface);
	color: var(--jabar-text);
	text-align: center;
	box-shadow: none;
}

.jabar-members-notice h3 {
	margin: 0 0 0.65rem;
	color: var(--jabar-heading);
	font-family: var(--jabar-font-display);
	font-weight: 690;
}

.jabar-members-notice p {
	color: var(--jabar-muted);
}

.jabar-members-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.25rem;
}

.jabar-members-actions a.jabar-button-primary,
.jabar-members-actions a.jabar-button-primary:visited {
	color: #fff !important;
	border-color: var(--jabar-heading);
	background: var(--jabar-heading);
}

.jabar-members-actions a.jabar-button-primary:hover,
.jabar-members-actions a.jabar-button-primary:focus {
	color: #fff !important;
	border-color: var(--jabar-gold-dark);
	background: var(--jabar-gold-dark);
}

.jabar-members-actions a.jabar-button-secondary,
.jabar-members-actions a.jabar-button-secondary:visited {
	color: var(--jabar-heading) !important;
	border-color: var(--jabar-heading);
	background: transparent;
}

.jabar-members-actions a.jabar-button-secondary:hover,
.jabar-members-actions a.jabar-button-secondary:focus {
	color: var(--jabar-gold-dark) !important;
	border-color: var(--jabar-gold);
	background: rgba(181, 138, 58, 0.08);
}

.jabar-home,
.jabar-subscriptions {
	color: var(--jabar-text);
}

.jabar-home section + section {
	margin-top: clamp(3rem, 7vw, 6rem);
}

.jabar-home-hero {
	padding: clamp(2rem, 7vw, 5.5rem);
	border: 1px solid var(--jabar-border);
	border-radius: var(--jabar-radius-lg);
	background: var(--jabar-surface);
	box-shadow: var(--jabar-shadow-soft);
	text-align: center;
}

.jabar-home-hero h1,
.jabar-subscriptions-intro h1 {
	max-width: 850px;
	margin: 0.4rem auto 1rem;
	font-size: clamp(2rem, 5vw, 4rem);
}

.jabar-eyebrow {
	margin: 0;
	color: var(--jabar-gold-dark);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.jabar-home-lead,
.jabar-subscriptions-intro > p:last-child {
	max-width: 700px;
	margin-inline: auto;
	color: var(--jabar-muted);
	font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.jabar-home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.75rem;
}

.jabar-home-actions a.jabar-button-secondary,
.jabar-home-actions a.jabar-button-secondary:visited {
	color: var(--jabar-heading);
	border-color: var(--jabar-heading);
	background: transparent;
}

.jabar-home-actions a.jabar-button-secondary:hover,
.jabar-home-actions a.jabar-button-secondary:focus {
	color: var(--jabar-gold-dark);
	border-color: var(--jabar-gold);
	background: rgba(181, 138, 58, 0.08);
}

.jabar-section-heading {
	margin-bottom: 1.5rem;
}

.jabar-section-heading h2 {
	margin: 0.35rem 0 0;
}

.jabar-category-grid,
.jabar-articles-grid,
.jabar-plan-grid {
	display: grid;
	gap: 1rem;
}

.jabar-category-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jabar-articles-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jabar-plan-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1100px;
	margin: 2rem auto 0;
}

.jabar-category-card,
.jabar-article-card,
.jabar-plan-card {
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border: 1px solid var(--jabar-border);
	border-radius: 14px;
	background: var(--jabar-surface);
	box-shadow: var(--jabar-shadow-soft);
}

.jabar-category-card h3,
.jabar-article-card h3,
.jabar-plan-card h2 {
	margin: 0 0 0.75rem;
}

.jabar-category-card a,
.jabar-category-card span,
.jabar-card-link {
	color: var(--jabar-gold-dark);
	font-weight: 700;
}

.jabar-article-card {
	display: flex;
	flex-direction: column;
}

.jabar-article-card h3 a,
.jabar-article-card h3 a:visited {
	color: var(--jabar-heading);
	text-decoration: none;
}

.jabar-article-card h3 a:hover,
.jabar-article-card h3 a:focus {
	color: var(--jabar-gold-dark);
}

.jabar-article-card .jabar-card-link {
	margin-top: auto;
	padding-top: 1rem;
}

.jabar-article-meta {
	margin: 0 0 0.6rem;
	color: var(--jabar-muted);
	font-size: 0.88rem;
}

.jabar-empty-state {
	padding: 1.25rem;
	border: 1px dashed var(--jabar-border);
	border-radius: var(--jabar-radius-md);
	background: var(--jabar-surface);
	color: var(--jabar-muted);
}

.jabar-membership-cta {
	display: flex;
	align-items: center;
	gap: 2rem;
	justify-content: space-between;
	padding: clamp(1.75rem, 5vw, 3rem);
	border: 1px solid var(--jabar-border);
	border-top: 4px solid var(--jabar-gold);
	border-radius: var(--jabar-radius-lg);
	background: var(--jabar-surface);
}

.jabar-membership-cta h2,
.jabar-membership-cta p {
	margin: 0.35rem 0 0;
}

.jabar-subscriptions-intro {
	max-width: 850px;
	margin: 0 auto;
	text-align: center;
}

.jabar-plan-card {
	position: relative;
	min-height: 280px;
}

.jabar-plan-card .jabar-button {
	margin-top: 1rem;
}

.jabar-plan-card-upcoming {
	border-color: rgba(181, 138, 58, 0.55);
}

.jabar-plan-badge {
	display: inline-flex;
	margin-bottom: 1rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: rgba(181, 138, 58, 0.12);
	color: var(--jabar-gold-dark);
	font-size: 0.85rem;
	font-weight: 700;
}

.jabar-button-disabled {
	color: var(--jabar-muted);
	border-color: var(--jabar-border);
	background: var(--jabar-bg);
	cursor: not-allowed;
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
		line-height: 1.85;
	}

	.entry-content,
	.content-inner {
		font-size: 17px;
		line-height: 1.9;
	}

	.entry-content {
		max-width: 100%;
	}

	.jabar-category-grid,
	.jabar-articles-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jabar-membership-cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 600px) {
	.jabar-members-actions {
		flex-direction: column;
	}

	.jabar-members-actions .jabar-button {
		width: 100%;
	}

	.jabar-home-actions {
		flex-direction: column;
	}

	.jabar-home-actions .jabar-button,
	.jabar-membership-cta .jabar-button {
		width: 100%;
	}

	.jabar-category-grid,
	.jabar-articles-grid,
	.jabar-plan-grid {
		grid-template-columns: 1fr;
	}
}

/* Internal editorial pages */

.jabar-content-shell {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.jabar-page-header {
	max-width: 820px;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.jabar-page-header__eyebrow,
.jabar-article-card__category,
.jabar-single-meta {
	color: var(--jabar-gold-dark);
	font-size: 0.88rem;
	font-weight: 700;
}

.jabar-page-header h1,
.jabar-single-header h1 {
	margin: 0.35rem 0 0.8rem;
	font-size: clamp(2.15rem, 5vw, 4.4rem);
	line-height: 1.3;
}

.jabar-page-header p {
	max-width: 680px;
	margin: 0;
	color: var(--jabar-muted);
	font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.jabar-category-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 2rem;
}

.jabar-category-filters a {
	padding: 0.55rem 0.95rem;
	border: 1px solid var(--jabar-border);
	border-radius: 999px;
	color: var(--jabar-text);
	background: var(--jabar-surface);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.jabar-category-filters a:hover,
.jabar-category-filters a:focus,
.jabar-category-filters a.is-current {
	color: #fff;
	border-color: var(--jabar-heading);
	background: var(--jabar-heading);
}

.jabar-editorial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.jabar-editorial-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--jabar-border);
	border-radius: 14px;
	background: var(--jabar-surface);
	box-shadow: var(--jabar-shadow-soft);
}

.jabar-editorial-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eee4d7;
}

.jabar-editorial-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.jabar-editorial-card:hover .jabar-editorial-card__image img {
	transform: scale(1.025);
}

.jabar-editorial-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem;
}

.jabar-editorial-card h2 {
	margin: 0.35rem 0 0.65rem;
	font-size: 1.35rem;
	line-height: 1.5;
}

.jabar-editorial-card h2 a {
	color: var(--jabar-heading);
	text-decoration: none;
}

.jabar-editorial-card__excerpt {
	margin: 0;
	color: var(--jabar-muted);
	font-size: 0.95rem;
	line-height: 1.8;
}

.jabar-editorial-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: auto;
	padding-top: 1rem;
	color: var(--jabar-muted);
	font-size: 0.82rem;
}

.jabar-pagination {
	margin-top: 2.5rem;
}

.jabar-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.jabar-pagination .page-numbers {
	display: inline-flex;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--jabar-border);
	border-radius: 8px;
	background: var(--jabar-surface);
	text-decoration: none;
}

.jabar-pagination .current {
	color: #fff;
	border-color: var(--jabar-heading);
	background: var(--jabar-heading);
}

.jabar-single {
	width: min(980px, calc(100% - 40px));
	margin-inline: auto;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.jabar-single-header {
	max-width: 850px;
	margin-inline: auto;
	text-align: center;
}

.jabar-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.2rem;
	justify-content: center;
	margin-top: 1rem;
}

.jabar-single-image {
	overflow: hidden;
	margin: clamp(1.8rem, 5vw, 3.5rem) 0;
	border-radius: 16px;
}

.jabar-single-image img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}

.jabar-single-content {
	max-width: 780px;
	margin-inline: auto;
	font-size: 18px;
	line-height: 2;
}

.jabar-single-content h2 {
	margin-top: 2.2em;
	font-size: clamp(1.55rem, 3vw, 2.05rem);
}

.jabar-related {
	margin-top: clamp(3rem, 7vw, 5rem);
	padding-top: 2rem;
	border-top: 1px solid var(--jabar-border);
}

.jabar-related > h2 {
	margin-bottom: 1.4rem;
}

.jabar-page-card {
	max-width: 900px;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--jabar-border);
	border-radius: 16px;
	background: var(--jabar-surface);
	box-shadow: var(--jabar-shadow-soft);
}

.jabar-page-card .entry-content {
	max-width: none;
	margin: 0;
}

.jabar-account-shell .jabar-page-card {
	max-width: 1100px;
}

.jabar-subscriptions {
	padding: 0;
}

.jabar-subscription-benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 2rem 0;
	padding: 0;
	list-style: none;
}

.jabar-public-document {
	margin: 0;
	background: var(--jabar-bg);
}

.jabar-internal-shell {
	min-height: 100vh;
}

.jabar-internal-shell .jabar-content-shell,
.jabar-internal-shell .jabar-single {
	min-height: 55vh;
}

.jabar-subscriptions-shell {
	width: min(1080px, calc(100% - 40px));
}

.jabar-subscriptions-intro h1 {
	max-width: 760px;
}

.jabar-subscriptions-note {
	margin: 1.25rem auto 0;
	padding: 1rem 1.25rem;
	border: 1px solid var(--jabar-border);
	border-radius: 10px;
	background: rgba(181, 138, 58, 0.07);
	color: var(--jabar-muted);
	text-align: center;
}

.woocommerce-account .u-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
	width: auto;
	float: none;
}

.woocommerce-account .woocommerce h2 {
	margin-top: 0;
	font-size: clamp(1.45rem, 3vw, 2rem);
}

.woocommerce-account .woocommerce-form {
	height: calc(100% - 3.5rem);
	margin: 0;
}

.woocommerce-account .woocommerce-privacy-policy-text {
	color: var(--jabar-muted);
	font-size: 0.9rem;
	line-height: 1.8;
}

.woocommerce-account .woocommerce-privacy-policy-text {
	font-size: 0;
}

.woocommerce-account .woocommerce-privacy-policy-text::before {
	color: var(--jabar-muted);
	content: "ستستخدم بياناتك الشخصية لإنشاء حسابك وإدارته وتقديم الخدمة وفقا لسياسة الخصوصية.";
	font-size: 0.9rem;
	line-height: 1.8;
}

.jabar-subscription-benefits li {
	padding: 1rem;
	border: 1px solid var(--jabar-border);
	border-radius: 10px;
	background: var(--jabar-surface);
}

.jabar-plan-price {
	margin: 0.4rem 0 1rem;
	color: var(--jabar-gold-dark);
	font-size: 1.3rem;
	font-weight: 800;
}

.jabar-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-block: 1.5rem;
}

.jabar-contact-grid > div {
	padding: 1.25rem;
	border: 1px solid var(--jabar-border);
	border-radius: 12px;
	background: var(--jabar-bg);
}

.jabar-contact-grid h2 {
	margin-top: 0;
	font-size: 1.25rem;
}

.woocommerce-account .woocommerce {
	display: flow-root;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	width: 28%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
	border-top: 1px solid var(--jabar-border);
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.75rem;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content {
	width: 68%;
}

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

	.jabar-plan-grid {
		grid-template-columns: 1fr;
	}

	.jabar-subscription-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jabar-contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.jabar-content-shell,
	.jabar-single {
		width: min(100% - 28px, 1180px);
		padding-block: 2rem 3rem;
	}

	.jabar-editorial-grid {
		grid-template-columns: 1fr;
	}

	.jabar-page-header h1,
	.jabar-single-header h1 {
		font-size: clamp(2rem, 10vw, 2.75rem);
	}

	.jabar-single-content {
		font-size: 17px;
		line-height: 1.95;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce-MyAccount-content {
		width: 100%;
	}

	.woocommerce-account .woocommerce-MyAccount-content {
		margin-top: 1rem;
	}

	.woocommerce-account .u-columns,
	.jabar-subscription-benefits {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jabar-editorial-card__image img {
		transition: none;
	}
}


/* === Jabar v1.6.0 production control + commerce polish === */
:root{--jabar-radius-xl:24px;--jabar-radius-pill:999px;--jabar-focus:rgba(181,138,58,.28)}
body.jabar-approved-homepage,
body.jabar-public-document{overflow-x:hidden}

/* page title visual system: every static/page policy can show a dashboard-controlled image */
.jabar-page-header{max-width:980px;margin:0 auto clamp(2rem,5vw,3.5rem);text-align:center}
.jabar-page-header__eyebrow{margin:0 0 .45rem;color:var(--jabar-gold-dark);font-weight:800;letter-spacing:.01em}
.jabar-page-header h1{margin:.1rem 0 .7rem;font-size:clamp(2.4rem,7vw,4.8rem);line-height:1.2}
.jabar-page-header p{max-width:760px;margin-inline:auto;color:var(--jabar-muted);font-size:clamp(1rem,1.6vw,1.18rem);line-height:2}
.jabar-page-visual{display:block;overflow:hidden;width:min(520px,100%);margin:clamp(1rem,3vw,1.8rem) auto 0;border:1px solid var(--jabar-border);border-radius:var(--jabar-radius-xl);background:var(--jabar-surface);box-shadow:0 20px 50px rgba(58,42,32,.08)}
.jabar-page-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.jabar-generic-page--privacy-policy .jabar-page-visual,
.jabar-generic-page--terms-and-conditions .jabar-page-visual,
.jabar-generic-page--refund-policy .jabar-page-visual{width:min(560px,100%)}

/* editorial page cards */
.jabar-page-card{width:min(100%,960px);margin-inline:auto;border-radius:var(--jabar-radius-xl);box-shadow:0 20px 60px rgba(58,42,32,.06)}
.jabar-policy-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:stretch}
.jabar-policy-lead{grid-column:1/-1;margin:0 0 .6rem;color:var(--jabar-muted);text-align:center;font-size:1.1rem;line-height:2}
.jabar-policy-content section,.jabar-content-panel,.jabar-contact-grid>div{position:relative;padding:clamp(1.25rem,3vw,1.8rem);border:1px solid var(--jabar-border);border-radius:var(--jabar-radius-lg);background:linear-gradient(180deg,#fffdfa,#fffaf3);box-shadow:0 14px 34px rgba(58,42,32,.035)}
.jabar-policy-content section:before,.jabar-content-panel:before,.jabar-contact-grid>div:before{content:"";display:block;width:54px;height:2px;margin-bottom:1rem;background:var(--jabar-gold)}
.jabar-policy-content h2,.jabar-content-panel h2,.jabar-contact-grid h2{margin:0 0 .75rem;font-size:clamp(1.35rem,2.5vw,1.85rem)}
.jabar-policy-content p,.jabar-content-panel p,.jabar-contact-grid p{margin:0;color:var(--jabar-text);line-height:2}
.jabar-contact-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.jabar-card-kicker{display:block;margin-bottom:.6rem;color:var(--jabar-gold-dark);font-weight:800;font-size:.9rem}

/* FAQ accordion: visible +/minus and no plain wall of text */
.jabar-faq-accordion,.jabar-static-faq{width:min(100%,820px);margin:0 auto;padding:clamp(1rem,3vw,1.35rem);border:1px solid var(--jabar-border);border-radius:var(--jabar-radius-xl);background:var(--jabar-surface);box-shadow:0 20px 54px rgba(58,42,32,.06)}
.jabar-faq-accordion details,.jabar-static-faq details{border-bottom:1px solid var(--jabar-border)}
.jabar-faq-accordion details:last-child,.jabar-static-faq details:last-child{border-bottom:0}
.jabar-faq-accordion summary,.jabar-static-faq summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px;padding:1rem 3.2rem 1rem 0;color:var(--jabar-heading);font-family:var(--jabar-font-display);font-size:clamp(1.25rem,2.5vw,1.65rem);font-weight:700;cursor:pointer;list-style:none}
.jabar-faq-accordion summary::-webkit-details-marker,.jabar-static-faq summary::-webkit-details-marker{display:none}
.jabar-faq-accordion summary:before,.jabar-static-faq summary:before{content:"+";position:absolute;right:.15rem;top:50%;display:grid;width:30px;height:30px;place-items:center;transform:translateY(-50%);border:1px solid var(--jabar-border);border-radius:50%;color:var(--jabar-gold-dark);background:#fffaf2;font-family:var(--jabar-font);font-weight:800;font-size:1.15rem;line-height:1}
.jabar-faq-accordion details[open] summary:before,.jabar-static-faq details[open] summary:before{content:"−";color:#fff;border-color:var(--jabar-heading);background:var(--jabar-heading)}
.jabar-faq-accordion summary i{display:none!important}
.jabar-faq-accordion__answer,.jabar-static-faq details>p{padding:0 3.2rem 1.1rem 0;color:var(--jabar-muted);line-height:2}

/* Header search desktop/mobile */
.jabar-home-search{position:absolute;inset-inline:0;top:100%;z-index:30;padding:.75rem 1rem;border-top:1px solid var(--jabar-border);border-bottom:1px solid var(--jabar-border);background:rgba(255,253,249,.98);box-shadow:0 18px 34px rgba(58,42,32,.07)}
.jabar-home-search form{display:flex;flex-direction:row-reverse;gap:.65rem;width:min(680px,100%);margin-inline:auto}
.jabar-home-search input[type="search"]{flex:1;min-height:52px;border:1px solid var(--jabar-border)!important;border-radius:var(--jabar-radius-pill);padding:0 1.15rem;background:#fffdf9;outline:none!important;box-shadow:none!important}
.jabar-home-search input[type="search"]:focus{border-color:var(--jabar-gold)!important;box-shadow:0 0 0 4px var(--jabar-focus)!important;outline:0!important}
.jabar-home-search button{min-width:92px;border-radius:var(--jabar-radius-pill)}

/* Plan/subscriptions: cleaner alignment and stronger visuals */
.jabar-subscriptions-shell{width:min(1180px,calc(100% - 40px))}
.jabar-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;align-items:stretch}
.jabar-plan-card{display:flex;flex-direction:column;overflow:hidden;min-height:100%;padding:1.15rem;border-radius:var(--jabar-radius-xl);text-align:center;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.jabar-plan-card:hover{transform:translateY(-4px);border-color:rgba(181,138,58,.55);box-shadow:0 22px 58px rgba(58,42,32,.09)}
.jabar-plan-visual{overflow:hidden;margin:-.2rem -.2rem 1.2rem;border:1px solid var(--jabar-border);border-radius:20px;background:#fbf4ea}
.jabar-plan-visual a,.jabar-plan-visual img{display:block;width:100%}
.jabar-plan-visual img{height:auto;aspect-ratio:5/3;object-fit:cover}
.jabar-plan-card h2{font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.35}
.jabar-plan-card h2 a{color:var(--jabar-heading);text-decoration:none}
.jabar-plan-card p{color:var(--jabar-muted);line-height:1.9}
.jabar-plan-actions{margin-top:auto;display:grid;gap:.65rem}
.jabar-plan-details{font-weight:800;text-decoration:none}

/* WooCommerce buttons: kill blue defaults everywhere */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.wp-element-button,.wc-block-components-button,.button.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{color:#fff!important;border:1px solid var(--jabar-heading)!important;border-radius:var(--jabar-radius-pill)!important;background:var(--jabar-heading)!important;box-shadow:none!important;font-weight:800!important;text-decoration:none!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover,
.wp-element-button:hover,.wc-block-components-button:hover,.button.alt:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{border-color:var(--jabar-gold-dark)!important;background:var(--jabar-gold-dark)!important;color:#fff!important}

/* Cart/Checkout shared shell */
.jabar-commerce-shell{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.jabar-commerce-card{width:100%;max-width:1080px;margin-inline:auto;padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--jabar-border);border-radius:var(--jabar-radius-xl);background:var(--jabar-surface);box-shadow:0 24px 70px rgba(58,42,32,.07)}
.jabar-commerce-card .entry-content{max-width:none;margin:0}
.woocommerce-notices-wrapper{margin-bottom:1rem}
.woocommerce-message,.woocommerce-info,.woocommerce-error{position:relative;margin:0 0 1rem!important;padding:1rem 1.2rem!important;border:1px solid var(--jabar-border)!important;border-radius:var(--jabar-radius-lg)!important;background:#fffaf2!important;color:var(--jabar-text)!important;box-shadow:none!important;line-height:1.8}
.woocommerce-message:before,.woocommerce-info:before,.woocommerce-error:before{display:none!important;content:none!important}
.woocommerce-message .button,.woocommerce-info .button{float:left;margin-inline-start:1rem}

/* Empty cart custom */
.jabar-cart-empty{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:2rem;align-items:center;padding:clamp(1.5rem,4vw,2.5rem);border:1px solid var(--jabar-border);border-radius:var(--jabar-radius-xl);background:linear-gradient(135deg,#fffdf9,#fbf4ea)}
.jabar-cart-empty h2{margin:.3rem 0 .75rem;font-size:clamp(2rem,5vw,3.4rem)}
.jabar-cart-empty p{color:var(--jabar-muted);line-height:2}
.jabar-cart-empty__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}
.jabar-cart-empty__visual img{display:block;width:100%;height:auto;border:1px solid var(--jabar-border);border-radius:20px;background:#fffdf9;box-shadow:0 18px 40px rgba(58,42,32,.06)}
.jabar-cart-shell .cross-sells,.jabar-cart-shell .products,.jabar-cart-shell .wc-block-grid,.jabar-cart-shell .wp-block-woocommerce-product-new{display:none!important}

/* Cart table with image visible */
.woocommerce-cart-form table.shop_table,.woocommerce-checkout-review-order table.shop_table{width:100%;border:1px solid var(--jabar-border)!important;border-collapse:separate!important;border-spacing:0;border-radius:18px;overflow:hidden;background:#fffdf9}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:rgba(228,215,196,.75)!important;padding:1rem!important;text-align:right;vertical-align:middle}
.jabar-order-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:.8rem;align-items:center;min-width:0}
.jabar-order-item__thumb{display:block;overflow:hidden;width:72px;height:52px;border:1px solid var(--jabar-border);border-radius:12px;background:#fbf4ea}
.jabar-order-item__thumb img{display:block;width:100%;height:100%;object-fit:cover}
.jabar-order-item__content{display:block;min-width:0;font-weight:800;color:var(--jabar-heading)}

/* Checkout layout */
.jabar-checkout-shell .jabar-commerce-card{max-width:1040px}
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,390px);gap:clamp(1rem,3vw,2rem);align-items:start}
.woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / span 2;width:100%;margin:0!important;padding:clamp(1rem,2vw,1.6rem);border:1px solid var(--jabar-border);border-radius:var(--jabar-radius-xl);background:#fffdf9;box-shadow:0 14px 36px rgba(58,42,32,.035)}
.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0;padding:0;color:var(--jabar-heading);font-size:clamp(1.4rem,2.4vw,1.8rem);text-align:center}
.woocommerce-checkout #order_review{grid-column:2;grid-row:2;margin:0;padding:1rem;border:1px solid var(--jabar-border);border-radius:var(--jabar-radius-xl);background:#fffaf4;box-shadow:0 14px 36px rgba(58,42,32,.04)}
.woocommerce-checkout .col2-set{width:100%;float:none;margin:0}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none;width:100%;margin:0}
.woocommerce-checkout .col2-set .col-2{display:none!important}
.woocommerce-checkout .form-row{margin:0 0 1rem!important;padding:0!important}
.woocommerce-checkout .form-row-first,.woocommerce-checkout .form-row-last{float:none!important;width:100%!important}
.woocommerce-checkout input.input-text,.woocommerce-checkout select,.woocommerce-checkout textarea{min-height:48px;width:100%;padding:.75rem 1rem;border:1px solid var(--jabar-border)!important;border-radius:var(--jabar-radius-pill)!important;background:#fffdf9!important;box-shadow:none!important;text-align:right}
.woocommerce-checkout input.input-text:focus,.woocommerce-checkout select:focus,.woocommerce-checkout textarea:focus{outline:0!important;border-color:var(--jabar-gold)!important;box-shadow:0 0 0 4px var(--jabar-focus)!important}
.woocommerce-checkout #payment{border:1px solid var(--jabar-border)!important;border-radius:18px!important;background:#fffdf9!important;overflow:hidden}
.woocommerce-checkout #payment ul.payment_methods{padding:0!important;border-bottom:1px solid var(--jabar-border)!important;background:#fffdf9!important}
.woocommerce-checkout #payment ul.payment_methods li{padding:.95rem 1rem!important;border-bottom:1px solid rgba(228,215,196,.65)}
.woocommerce-checkout #payment div.payment_box{margin:.75rem 0 0!important;padding:1rem!important;border-radius:16px!important;background:#fffaf2!important;color:var(--jabar-text)!important}
.woocommerce-checkout #payment div.form-row{padding:1rem!important}
.woocommerce-checkout #place_order{width:100%;min-height:52px;margin-top:.5rem;border-radius:var(--jabar-radius-pill)!important}
.moyasar-form,.moyasar-payment-form,.mysr-form{direction:rtl;text-align:right}
.moyasar-form input,.moyasar-payment-form input,.mysr-form input{border:1px solid var(--jabar-border)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}

/* My Account stability */
.jabar-account-shell .jabar-page-card{max-width:1080px;padding:clamp(1.2rem,3vw,2rem)}
.woocommerce-account .u-columns{align-items:start}
.woocommerce-account .woocommerce-form{height:auto;min-height:0}
.woocommerce-account .woocommerce{display:block;clear:both}
.woocommerce-account .woocommerce:after{content:"";display:block;clear:both}
.woocommerce-account .woocommerce-MyAccount-navigation{float:right;width:28%;border-radius:var(--jabar-radius-xl)}
.woocommerce-account .woocommerce-MyAccount-content{float:left;width:68%;min-height:280px;border-radius:var(--jabar-radius-xl)}

/* Footer credit */
.jabar-home-footer__credit a{color:var(--jabar-gold-dark);font-weight:800;text-decoration:none}
.jabar-home-footer__credit a:hover{text-decoration:underline}

@media (max-width:900px){
 .jabar-policy-content,.jabar-contact-grid{grid-template-columns:1fr 1fr}
 .woocommerce-checkout form.checkout{grid-template-columns:1fr}
 .woocommerce-checkout #customer_details,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:1;grid-row:auto}
 .jabar-cart-empty{grid-template-columns:1fr;text-align:center}
 .jabar-cart-empty__actions{justify-content:center}
 .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%;margin:0 0 1rem}
}
@media (max-width:640px){
 .jabar-home-tools{gap:.45rem}
 .jabar-search-toggle{display:inline-grid!important}
 .jabar-home-search{position:fixed;top:72px;left:12px;right:12px;inset-inline:12px;border:1px solid var(--jabar-border);border-radius:18px;box-shadow:0 20px 50px rgba(58,42,32,.16)}
 .jabar-home-search form{display:grid;grid-template-columns:1fr;gap:.55rem}
 .jabar-home-search button{width:100%}
 .jabar-page-header h1{font-size:clamp(2.15rem,12vw,3rem)}
 .jabar-policy-content,.jabar-contact-grid,.jabar-plan-grid{grid-template-columns:1fr}
 .jabar-commerce-shell{width:min(100% - 24px,1120px)}
 .jabar-commerce-card{padding:1rem;border-radius:20px}
 .jabar-order-item{grid-template-columns:58px minmax(0,1fr)}
 .jabar-order-item__thumb{width:58px;height:44px}
 .woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:.7rem!important;font-size:.92rem}
 .woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{padding:.8rem;border-radius:18px}
 .woocommerce-message .button,.woocommerce-info .button{float:none;display:inline-flex;margin:.65rem 0 0}
}

/* V1.6.2 fallback button color override. */
.wp-block-button__link, .wc-block-grid__product-add-to-cart .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background:#2f2119 !important; border-color:#2f2119 !important; color:#fffdf9 !important; border-radius:999px !important; }

/* V1.6.3 real production direction: dashboard control, font reset, commerce stability, cleaner visuals. */
:root{
  --jabar-font-display:"Jabar Amiri","Jabar Noto Naskh","Traditional Arabic",serif;
  --jabar-display:"Jabar Amiri","Jabar Noto Naskh","Traditional Arabic",serif;
  --jabar-font:"Jabar Tajawal",Tahoma,Arial,sans-serif;
  --jabar-body:"Jabar Tajawal",Tahoma,Arial,sans-serif;
  --jabar-radius-xl:24px;
  --jabar-radius-pill:999px;
  --jabar-focus:rgba(181,138,58,.18);
}
body.jabar-font-noto_tajawal{
  --jabar-font-display:"Jabar Noto Naskh","Jabar Amiri","Traditional Arabic",serif;
  --jabar-display:"Jabar Noto Naskh","Jabar Amiri","Traditional Arabic",serif;
}
html body,
html body .jabar-home-shell,
html body .woocommerce,
html body input,
html body button,
html body select,
html body textarea{font-family:var(--jabar-body)!important;}
html body h1,
html body h2,
html body h3,
html body .jabar-page-header h1,
html body .jabar-approved-hero h1,
html body .jabar-plan-card h2,
html body .jabar-product-hero h1{font-family:var(--jabar-display)!important;font-weight:700!important;letter-spacing:-.012em;}

/* Global page title system */
.jabar-content-shell{padding-block:clamp(3rem,7vw,6rem)}
.jabar-page-header{display:grid;justify-items:center;gap:.45rem;max-width:1080px;margin:0 auto clamp(2.25rem,5vw,4rem);text-align:center}
.jabar-page-header h1{margin:.15rem 0 .35rem;font-size:clamp(2.8rem,6.4vw,5rem);line-height:1.1;}
.jabar-page-header p{max-width:760px;margin:0 auto;color:var(--jabar-muted);font-size:clamp(1rem,1.45vw,1.16rem);line-height:1.9;}
.jabar-page-header__eyebrow{margin:0;color:var(--jabar-gold-dark);font-size:.94rem;font-weight:900;}
.jabar-page-header__eyebrow::after{content:"";display:block;width:72px;height:1px;margin:.75rem auto 0;background:linear-gradient(90deg,transparent,var(--jabar-gold),transparent)}
.jabar-page-visual{width:min(620px,100%);margin:clamp(1.25rem,3vw,2rem) auto 0;border-radius:24px;box-shadow:0 24px 60px rgba(58,42,32,.09);}
.jabar-page-visual img{aspect-ratio:16/9;object-fit:cover;}
.jabar-page-visual--articles{width:min(720px,100%)}

/* Articles filters/title rhythm */
.jabar-category-filters{justify-content:center;gap:.65rem;max-width:980px;margin:0 auto clamp(2rem,4vw,3rem);padding:.75rem;border:1px solid var(--jabar-border);border-radius:999px;background:rgba(255,253,249,.78);box-shadow:0 16px 42px rgba(58,42,32,.045)}
.jabar-category-filters a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.6rem 1.05rem;border:1px solid var(--jabar-border);border-radius:999px;background:#fffdf9;color:var(--jabar-heading);font-weight:900;text-decoration:none;}
.jabar-category-filters a.is-current{background:var(--jabar-heading);border-color:var(--jabar-heading);color:#fffdf9;}

/* Subscriptions: redesigned from tall cards to premium pricing editorial layout */
.jabar-subscriptions{width:min(1180px,calc(100% - 44px));margin-inline:auto;}
.jabar-subscriptions-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:clamp(1.5rem,4vw,3rem);align-items:center;margin:0 0 clamp(1.5rem,4vw,2.5rem);padding:clamp(1.7rem,4vw,3rem);border:1px solid var(--jabar-border);border-radius:30px;background:linear-gradient(135deg,rgba(255,253,249,.96),rgba(251,244,234,.9));box-shadow:0 28px 80px rgba(58,42,32,.07);}
.jabar-subscriptions-hero__copy{text-align:right;}
.jabar-subscriptions-hero__copy h1{max-width:640px;margin:.35rem 0 .85rem;font-size:clamp(3rem,6vw,5.1rem);line-height:1.12;}
.jabar-subscriptions-hero__copy p{max-width:610px;margin:0;color:var(--jabar-muted);font-size:1.12rem;line-height:2;}
.jabar-subscriptions-hero__visual{margin:0;overflow:hidden;border:1px solid var(--jabar-border);border-radius:24px;background:#fffdf9;box-shadow:0 20px 60px rgba(58,42,32,.07);}
.jabar-subscriptions-hero__visual img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;}
.jabar-subscription-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:0 0 clamp(1.5rem,4vw,2.6rem);padding:0;list-style:none;}
.jabar-subscription-benefits li{padding:1.1rem 1.15rem;border:1px solid var(--jabar-border);border-radius:18px;background:rgba(255,253,249,.84);color:var(--jabar-muted);line-height:1.8;box-shadow:0 14px 34px rgba(58,42,32,.035)}
.jabar-subscription-benefits strong{display:block;margin-bottom:.25rem;color:var(--jabar-heading);font-size:1.05rem;}
.jabar-plan-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem;align-items:stretch;}
.jabar-plan-card{position:relative;display:flex;flex-direction:column;min-height:0;padding:1.15rem;border:1px solid var(--jabar-border);border-radius:26px;background:rgba(255,253,249,.92);box-shadow:0 20px 60px rgba(58,42,32,.055);text-align:right;}
.jabar-plan-card--recommended{border-color:rgba(181,138,58,.72);box-shadow:0 24px 70px rgba(140,104,42,.12)}
.jabar-plan-badge{position:absolute;top:1rem;left:1rem;z-index:2;padding:.38rem .75rem;border:1px solid var(--jabar-border);border-radius:999px;background:#fff7e8;color:var(--jabar-gold-dark);font-size:.82rem;font-weight:900;}
.jabar-plan-visual{order:-1;margin:0 0 1rem;overflow:hidden;border:1px solid var(--jabar-border);border-radius:20px;background:#fffdf9;}
.jabar-plan-visual img{display:block;width:100%;aspect-ratio:16/9!important;object-fit:cover!important;}
.jabar-plan-card h2{margin:.2rem 0 .55rem;font-size:clamp(1.75rem,2.7vw,2.45rem)!important;line-height:1.22!important;}
.jabar-plan-price{margin:.2rem 0 .8rem;color:var(--jabar-heading);font-size:clamp(1.35rem,2vw,1.7rem);font-weight:900;}
.jabar-plan-card p{margin:0 0 1.15rem;color:var(--jabar-muted);font-size:1rem;line-height:1.9;}
.jabar-plan-actions{margin-top:auto;display:grid;gap:.55rem;}
.jabar-plan-actions .jabar-button{width:100%;min-height:48px;}
.jabar-plan-details{text-align:center;color:var(--jabar-gold-dark);font-weight:900;}

/* Cart: never show ugly Woo Blocks remnants */
.jabar-cart-shell .wp-block-woocommerce-empty-cart-block,
.jabar-cart-shell .wc-block-grid,
.jabar-cart-shell .wp-block-woocommerce-product-new,
.jabar-cart-shell .cross-sells{display:none!important;}
.jabar-cart-empty{grid-template-columns:minmax(0,1fr) minmax(280px,420px);border-style:solid;border-radius:28px;background:linear-gradient(135deg,#fffdf9,#fbf3e9);}
.jabar-cart-empty h2{font-size:clamp(2.2rem,4.4vw,3.6rem)!important;}

/* Checkout: stop the narrow squeezed column issue */
.jabar-checkout-shell{width:min(1160px,calc(100% - 44px));}
.jabar-checkout-shell .jabar-commerce-card{max-width:1120px;padding:clamp(1.25rem,2.6vw,2rem);}
.jabar-checkout-shell form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(1rem,2.4vw,1.5rem)!important;align-items:start!important;}
.jabar-checkout-shell form.checkout::before,.jabar-checkout-shell form.checkout::after{display:none!important;content:none!important;}
.jabar-checkout-shell #customer_details,
.jabar-checkout-shell .ct-customer-details{grid-column:2!important;grid-row:1!important;width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:clamp(1rem,2vw,1.45rem)!important;border:1px solid var(--jabar-border)!important;border-radius:24px!important;background:#fffdf9!important;box-shadow:0 18px 45px rgba(58,42,32,.035)!important;}
.jabar-checkout-shell #order_review_heading{display:none!important;}
.jabar-checkout-shell #order_review,
.jabar-checkout-shell .ct-order-review{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:clamp(1rem,2vw,1.45rem)!important;border:1px solid var(--jabar-border)!important;border-radius:24px!important;background:#fffaf4!important;box-shadow:0 18px 45px rgba(58,42,32,.04)!important;}
.jabar-checkout-shell .woocommerce-billing-fields h3,
.jabar-checkout-shell .woocommerce-additional-fields h3{margin:0 0 1.25rem;text-align:center;font-size:clamp(1.45rem,2vw,1.9rem);}
.jabar-checkout-shell .form-row label{display:block;margin-bottom:.4rem;color:var(--jabar-heading);font-weight:900;}
.jabar-checkout-shell input.input-text,
.jabar-checkout-shell select,
.jabar-checkout-shell textarea{min-height:50px!important;border:1px solid var(--jabar-border)!important;border-radius:16px!important;background:#fffdf9!important;box-shadow:none!important;color:var(--jabar-heading)!important;text-align:right!important;}
.jabar-checkout-shell input:focus,
.jabar-checkout-shell select:focus,
.jabar-checkout-shell textarea:focus{outline:0!important;border-color:var(--jabar-gold)!important;box-shadow:0 0 0 4px var(--jabar-focus)!important;}
.jabar-checkout-shell #payment{margin-top:1rem!important;border:1px solid var(--jabar-border)!important;border-radius:20px!important;background:#fffdf9!important;overflow:hidden!important;}
.jabar-checkout-shell #payment ul.payment_methods{padding:0!important;background:#fffdf9!important;}
.jabar-checkout-shell #payment li{padding:1rem!important;border-bottom:1px solid rgba(228,215,196,.7)!important;}
.jabar-checkout-shell #payment div.payment_box{padding:1rem!important;border-radius:16px!important;background:#fffaf2!important;}
.jabar-checkout-shell .moyasar-form,
.jabar-checkout-shell .moyasar-payment-form,
.jabar-checkout-shell .mysr-form{max-width:100%!important;padding:0!important;direction:rtl!important;text-align:right!important;}
.jabar-checkout-shell .moyasar-form input,
.jabar-checkout-shell .moyasar-payment-form input,
.jabar-checkout-shell .mysr-form input{width:100%!important;min-height:44px!important;border-radius:14px!important;}
.jabar-checkout-shell #place_order{width:100%!important;min-height:54px!important;margin-top:1rem!important;}

/* My account: remove Woo/Blocksy weird icons and keep old clean layout */
.woocommerce-MyAccount-navigation ul{display:grid;gap:.75rem;margin:0!important;padding:0!important;list-style:none!important;}
.woocommerce-MyAccount-navigation li{margin:0!important;padding:0!important;list-style:none!important;}
.woocommerce-MyAccount-navigation li::before,
.woocommerce-MyAccount-navigation a::before,
.woocommerce-MyAccount-navigation a::after{display:none!important;content:none!important;}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;padding:.75rem 1rem!important;border:1px solid var(--jabar-border)!important;border-radius:999px!important;background:#fffdf9!important;color:var(--jabar-heading)!important;font-family:var(--jabar-body)!important;font-weight:900!important;text-decoration:none!important;}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--jabar-heading)!important;color:#fffdf9!important;border-color:var(--jabar-heading)!important;}
.woocommerce-account .woocommerce-MyAccount-content{padding:clamp(1rem,2.6vw,2rem)!important;border:1px solid var(--jabar-border)!important;border-radius:24px!important;background:#fffdf9!important;box-shadow:none!important;}

@media (max-width:900px){
  .jabar-subscriptions-hero{grid-template-columns:1fr;text-align:center;}
  .jabar-subscriptions-hero__copy{text-align:center;}
  .jabar-subscriptions-hero__copy h1,.jabar-subscriptions-hero__copy p{margin-inline:auto;}
  .jabar-subscription-benefits{grid-template-columns:repeat(2,minmax(0,1fr));}
  .jabar-plan-grid{grid-template-columns:1fr!important;}
  .jabar-checkout-shell form.checkout{grid-template-columns:1fr!important;}
  .jabar-checkout-shell #customer_details,.jabar-checkout-shell .ct-customer-details,.jabar-checkout-shell #order_review,.jabar-checkout-shell .ct-order-review{grid-column:1!important;grid-row:auto!important;}
  .jabar-cart-empty{grid-template-columns:1fr;text-align:center;}
}
@media (max-width:640px){
  .jabar-content-shell{padding-block:2.4rem;}
  .jabar-page-header h1{font-size:clamp(2.25rem,13vw,3.3rem)!important;}
  .jabar-page-visual{width:min(100%,420px);border-radius:18px;}
  .jabar-category-filters{display:flex;justify-content:flex-start;overflow-x:auto;border-radius:20px;padding:.55rem;scroll-snap-type:x proximity;}
  .jabar-category-filters a{flex:0 0 auto;scroll-snap-align:start;}
  .jabar-subscription-benefits{grid-template-columns:1fr;}
  .jabar-subscriptions{width:min(100% - 24px,1180px);}
  .jabar-subscriptions-hero{padding:1.25rem;border-radius:22px;}
  .jabar-subscriptions-hero__copy h1{font-size:clamp(2.3rem,13vw,3.3rem);}
  .jabar-checkout-shell{width:min(100% - 20px,1160px);}
  .jabar-checkout-shell .jabar-commerce-card{padding:.85rem;border-radius:18px;}
  .jabar-checkout-shell #customer_details,.jabar-checkout-shell .ct-customer-details,.jabar-checkout-shell #order_review,.jabar-checkout-shell .ct-order-review{padding:.85rem!important;border-radius:18px!important;}
}

/* ================================================================
   Recovery Final — visual and commerce hardening
   Base remains v1.6.3; this block only prevents Claude/runtime regressions.
   ================================================================ */
.jabar-page-header,
.jabar-search-results-shell .jabar-page-header,
.archive .jabar-page-header,
.search .jabar-page-header{
  text-align:center!important;
  justify-items:center!important;
  align-items:center!important;
}
.jabar-page-header__description,
.jabar-page-header > div:not(.jabar-page-visual){
  max-width:760px!important;
  margin:.1rem auto 0!important;
  color:var(--jabar-muted)!important;
  font-size:clamp(1rem,1.45vw,1.16rem)!important;
  line-height:1.9!important;
  text-align:center!important;
}
.jabar-page-header .taxonomy-description,
.jabar-page-header .archive-description{
  text-align:center!important;
}
.jabar-page-visual{
  width:min(100%,860px)!important;
  margin:1.35rem auto 0!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:26px!important;
  overflow:hidden!important;
  background:#fffdf9!important;
  box-shadow:0 22px 60px rgba(58,42,32,.06)!important;
}
.jabar-page-visual img,
.jabar-page-visual__image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1100/577!important;
  object-fit:cover!important;
}
.jabar-page-divider,
.jabar-plan-card__visual--placeholder,
.jabar-subs-hero-visual:empty{display:none!important;}

.jabar-subscriptions{position:relative;}
.jabar-subscriptions-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr)!important;
  gap:clamp(1.25rem,3vw,2.25rem)!important;
  align-items:center!important;
  text-align:right!important;
  max-width:1120px!important;
  margin-inline:auto!important;
  padding:clamp(1.35rem,3.2vw,2.4rem)!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,#fffdf9 0%,#fbf2e7 100%)!important;
  box-shadow:0 24px 70px rgba(58,42,32,.07)!important;
}
.jabar-subscriptions-hero__copy h1{margin:.25rem 0 .75rem!important;}
.jabar-subscriptions-hero__copy p:not(.jabar-eyebrow){margin:0!important;max-width:640px!important;}
.jabar-subscriptions-hero__visual{margin:0!important;border-radius:24px!important;overflow:hidden!important;border:1px solid var(--jabar-border)!important;background:#fffdf9!important;box-shadow:0 18px 44px rgba(58,42,32,.055)!important;}
.jabar-subscriptions-hero__visual img{display:block!important;width:100%!important;aspect-ratio:1100/577!important;object-fit:cover!important;}
.jabar-subscription-benefits{max-width:1120px!important;margin:1.35rem auto!important;}
.jabar-plan-grid{max-width:1120px!important;margin-inline:auto!important;align-items:stretch!important;}
.jabar-plan-card{
  height:100%!important;
  min-height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  gap:.15rem!important;
  text-align:right!important;
}
.jabar-plan-card > .jabar-button{margin-top:auto!important;width:100%!important;justify-content:center!important;}
.jabar-plan-visual{width:100%!important;margin:0 0 1rem!important;}
.jabar-plan-visual a,
.jabar-plan-visual-link{display:block!important;}
.jabar-plan-visual img{display:block!important;width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;}
.jabar-plan-card h2{min-height:calc(1.25em * 2)!important;display:flex!important;align-items:center!important;}
.jabar-plan-price{min-height:2.15rem!important;}
.jabar-plan-card p{min-height:6.2rem!important;}
.jabar-plan-actions{margin-top:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:.65rem!important;width:100%!important;}
.jabar-plan-actions .jabar-button,
.jabar-plan-actions .jabar-plan-details{width:100%!important;min-height:50px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;}
.jabar-plan-actions .jabar-plan-details{border:1px solid var(--jabar-border)!important;border-radius:var(--jabar-radius-pill)!important;background:#fffdf9!important;text-decoration:none!important;}

.jabar-product-shell{width:min(1180px,calc(100% - 44px))!important;}
.jabar-product-hero{
  display:grid!important;
  grid-template-columns:minmax(330px,.9fr) minmax(0,1.1fr)!important;
  gap:clamp(1.25rem,3vw,2.5rem)!important;
  align-items:center!important;
  padding:clamp(1.25rem,3vw,2.4rem)!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,#fffdf9,#fbf2e7)!important;
  box-shadow:0 26px 75px rgba(58,42,32,.075)!important;
}
.jabar-product-hero__media{border:1px solid var(--jabar-border)!important;border-radius:24px!important;overflow:hidden!important;background:#fffdf9!important;}
.jabar-product-hero__image{display:block!important;width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;}
.jabar-product-price{font-size:clamp(1.35rem,2.2vw,1.9rem)!important;font-weight:900!important;color:var(--jabar-heading)!important;margin:.3rem 0 1rem!important;}
.jabar-product-benefits{display:grid!important;gap:.55rem!important;margin:1.1rem 0!important;padding:0!important;list-style:none!important;}
.jabar-product-benefits li{padding:.75rem 1rem!important;border:1px solid var(--jabar-border)!important;border-radius:18px!important;background:#fffdf9!important;}
.jabar-product-actions{display:flex!important;flex-wrap:wrap!important;gap:.75rem!important;margin-top:1.25rem!important;}
.jabar-product-actions .jabar-button{min-width:190px!important;justify-content:center!important;}

.jabar-cart-empty--custom{overflow:hidden!important;}
.jabar-cart-empty__visual img,.jabar-cart-empty__img{aspect-ratio:1100/577!important;object-fit:cover!important;}
.wc-block-cart__empty-cart__title,
.wp-block-woocommerce-empty-cart-block,
.wp-block-woocommerce-product-new{display:none!important;}
.jabar-custom-cart{gap:clamp(1rem,2.8vw,2rem)!important;}
.jabar-custom-cart__media{background:#fffdf9!important;border-radius:18px!important;overflow:hidden!important;}
.jabar-custom-cart__image{display:block!important;width:120px!important;height:84px!important;object-fit:cover!important;}

.jabar-checkout-shell{width:min(1240px,calc(100% - 44px))!important;}
.jabar-checkout-shell .jabar-commerce-card{max-width:none!important;padding:clamp(1rem,2.2vw,2rem)!important;overflow:visible!important;}
.jabar-checkout-shell .entry-content,
.jabar-checkout-shell .woocommerce{max-width:none!important;width:100%!important;}
.jabar-checkout-shell form.checkout,
.jabar-checkout-shell .woocommerce form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,360px)!important;
  gap:clamp(1rem,2.5vw,2rem)!important;
  align-items:start!important;
  overflow:visible!important;
}
.jabar-checkout-shell form.checkout::before,
.jabar-checkout-shell form.checkout::after{display:none!important;content:none!important;}
.jabar-checkout-shell #customer_details,
.jabar-checkout-shell .ct-customer-details{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
  padding:clamp(1rem,2vw,1.35rem)!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:24px!important;
  background:#fffdf9!important;
  box-shadow:0 16px 42px rgba(58,42,32,.035)!important;
}
.jabar-checkout-shell #order_review,
.jabar-checkout-shell .ct-order-review{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
  padding:clamp(1rem,2vw,1.45rem)!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:24px!important;
  background:#fffaf4!important;
  box-shadow:0 16px 42px rgba(58,42,32,.04)!important;
  overflow:visible!important;
}
.jabar-checkout-shell #order_review_heading{display:none!important;}
.jabar-checkout-shell .col2-set,
.jabar-checkout-shell .col2-set .col-1,
.jabar-checkout-shell .col2-set .col-2{float:none!important;width:100%!important;margin:0!important;}
.jabar-checkout-shell .col2-set .col-2,
.jabar-checkout-shell .woocommerce-shipping-fields,
.jabar-checkout-shell #ship-to-different-address,
.jabar-checkout-shell .woocommerce-additional-fields,
.jabar-checkout-shell #billing_company_field,
.jabar-checkout-shell #billing_phone_field,
.jabar-checkout-shell #billing_country_field,
.jabar-checkout-shell #billing_address_1_field,
.jabar-checkout-shell #billing_address_2_field,
.jabar-checkout-shell #billing_city_field,
.jabar-checkout-shell #billing_state_field,
.jabar-checkout-shell #billing_postcode_field{display:none!important;}
.jabar-checkout-shell .woocommerce-billing-fields h3{margin:0 0 1rem!important;text-align:center!important;font-size:clamp(1.35rem,2vw,1.7rem)!important;}
.jabar-checkout-shell .form-row{margin:0 0 1rem!important;padding:0!important;}
.jabar-checkout-shell .form-row-first,
.jabar-checkout-shell .form-row-last{float:none!important;width:100%!important;}
.jabar-checkout-shell .form-row label{display:block!important;margin:0 0 .45rem!important;color:var(--jabar-heading)!important;font-weight:900!important;text-align:right!important;}
.jabar-checkout-shell input.input-text,
.jabar-checkout-shell select,
.jabar-checkout-shell textarea{
  width:100%!important;
  min-height:50px!important;
  padding:.8rem 1rem!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:16px!important;
  background:#fffdf9!important;
  color:var(--jabar-heading)!important;
  box-shadow:none!important;
  text-align:right!important;
}
.jabar-checkout-shell input:focus,
.jabar-checkout-shell select:focus,
.jabar-checkout-shell textarea:focus{outline:0!important;border-color:var(--jabar-gold)!important;box-shadow:0 0 0 4px var(--jabar-focus)!important;}
.jabar-checkout-shell .woocommerce-checkout-review-order-table{width:100%!important;margin:0 0 1rem!important;border-radius:18px!important;overflow:hidden!important;}
.jabar-checkout-shell #payment,
.jabar-checkout-shell .woocommerce-checkout-payment{
  width:100%!important;
  min-width:0!important;
  margin-top:1rem!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:22px!important;
  background:#fffdf9!important;
  overflow:visible!important;
}
.jabar-checkout-shell #payment ul.payment_methods,
.jabar-checkout-shell #payment .payment_methods{
  padding:0!important;
  margin:0!important;
  border-bottom:1px solid var(--jabar-border)!important;
  background:#fffdf9!important;
  list-style:none!important;
}
.jabar-checkout-shell #payment ul.payment_methods li,
.jabar-checkout-shell #payment .payment_methods li{
  display:block!important;
  margin:0!important;
  padding:1rem!important;
  border-bottom:1px solid rgba(228,215,196,.7)!important;
  text-align:right!important;
}
.jabar-checkout-shell #payment ul.payment_methods li label{display:inline-flex!important;align-items:center!important;gap:.55rem!important;font-weight:900!important;color:var(--jabar-heading)!important;}
.jabar-checkout-shell #payment div.payment_box,
.jabar-checkout-shell #payment .payment_box{
  width:100%!important;
  max-width:none!important;
  margin:.8rem 0 0!important;
  padding:1rem!important;
  border-radius:18px!important;
  background:#fff8ee!important;
  color:var(--jabar-text)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.jabar-checkout-shell #payment .place-order{padding:1rem!important;margin:0!important;}
.jabar-checkout-shell #place_order{width:100%!important;min-height:56px!important;border-radius:999px!important;}
.jabar-checkout-shell .moyasar-form,
.jabar-checkout-shell .moyasar-payment-form,
.jabar-checkout-shell .mysr-form,
.jabar-checkout-shell [class*="moyasar"],
.jabar-checkout-shell [class*="mysr"]{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
  direction:rtl!important;
  text-align:right!important;
}
.jabar-checkout-shell .mysr-form-row,
.jabar-checkout-shell .moyasar-form-row,
.jabar-checkout-shell [class*="mysr"] .row,
.jabar-checkout-shell [class*="moyasar"] .row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.75rem!important;
  width:100%!important;
}
.jabar-checkout-shell .mysr-form input,
.jabar-checkout-shell .moyasar-form input,
.jabar-checkout-shell .moyasar-payment-form input,
.jabar-checkout-shell [class*="mysr"] input,
.jabar-checkout-shell [class*="moyasar"] input,
.jabar-checkout-shell [class*="mysr"] iframe,
.jabar-checkout-shell [class*="moyasar"] iframe{
  width:100%!important;
  max-width:100%!important;
  min-height:46px!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell [class*="card"],
.jabar-checkout-shell [class*="expiry"],
.jabar-checkout-shell [class*="cvc"],
.jabar-checkout-shell [class*="cvv"]{min-width:0!important;max-width:100%!important;}

@media (max-width: 980px){
  .jabar-subscriptions-hero,
  .jabar-product-hero,
  .jabar-checkout-shell form.checkout,
  .jabar-checkout-shell .woocommerce form.checkout.woocommerce-checkout{grid-template-columns:1fr!important;}
  .jabar-checkout-shell #customer_details,
  .jabar-checkout-shell .ct-customer-details,
  .jabar-checkout-shell #order_review,
  .jabar-checkout-shell .ct-order-review{grid-column:1!important;grid-row:auto!important;}
  .jabar-product-actions{display:grid!important;grid-template-columns:1fr!important;}
  .jabar-product-actions .jabar-button{width:100%!important;}
}
@media (max-width: 680px){
  .jabar-checkout-shell{width:min(100% - 20px,1240px)!important;}
  .jabar-subscriptions-hero,.jabar-product-hero,.jabar-checkout-shell .jabar-commerce-card{border-radius:20px!important;padding:.9rem!important;}
  .jabar-plan-card h2,.jabar-plan-card p{min-height:0!important;}
  .jabar-checkout-shell .mysr-form-row,
  .jabar-checkout-shell .moyasar-form-row,
  .jabar-checkout-shell [class*="mysr"] .row,
  .jabar-checkout-shell [class*="moyasar"] .row{grid-template-columns:1fr!important;}
}

/* Recovery review patch 2026-06-22: FAQ wrapper + My Account forms */
.jabar-faq-editable-output{
  width:min(920px,calc(100vw - 40px))!important;
  margin:0 auto clamp(4rem,8vw,6rem)!important;
}
.jabar-faq-editable-output>.jabar-static-faq,
.jabar-faq-editable-output>.jabar-faq-accordion{
  width:100%!important;
  margin:0!important;
}
.jabar-faq-accordion--editable>.jabar-static-faq,
.jabar-faq-accordion--editable>.jabar-faq-accordion{
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
  width:100%!important;
  margin:0!important;
}
.jabar-faq-template .jabar-faq-accordion,
.jabar-faq-template .jabar-static-faq{
  max-width:920px!important;
}
.jabar-faq-template .jabar-faq-accordion summary::before,
.jabar-faq-template .jabar-static-faq summary::before{
  display:none!important;
  content:none!important;
}
.jabar-faq-template .jabar-static-faq summary::after{
  order:-1!important;
  flex:0 0 34px!important;
  margin-inline-end:0!important;
  margin-inline-start:.8rem!important;
}
.jabar-account-shell .jabar-page-card{
  width:min(100%,1040px)!important;
  max-width:1040px!important;
  margin-inline:auto!important;
  padding:clamp(1.35rem,3vw,2.35rem)!important;
  overflow:visible!important;
}
.jabar-account-shell .entry-content,
.jabar-account-shell .woocommerce,
.jabar-account-shell #customer_login{
  width:100%!important;
  max-width:none!important;
}
.jabar-account-shell #customer_login.u-columns,
.woocommerce-account .jabar-account-shell #customer_login.u-columns{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(1.15rem,3vw,2rem)!important;
  align-items:stretch!important;
  direction:rtl!important;
  margin:0!important;
}
.jabar-account-shell #customer_login .u-column1,
.jabar-account-shell #customer_login .u-column2{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
}
.jabar-account-shell #customer_login h2{
  margin:0 0 1.1rem!important;
  text-align:center!important;
  font-size:clamp(1.75rem,3vw,2.25rem)!important;
  line-height:1.35!important;
}
.jabar-account-shell #customer_login form.login,
.jabar-account-shell #customer_login form.register{
  width:100%!important;
  max-width:none!important;
  min-height:360px!important;
  height:auto!important;
  margin:0!important;
  padding:clamp(1.3rem,2.5vw,2rem)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:.25rem!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:22px!important;
  background:#fffdf9!important;
  box-shadow:0 14px 34px rgba(58,42,32,.05)!important;
  box-sizing:border-box!important;
}
.jabar-account-shell #customer_login form.login::before,
.jabar-account-shell #customer_login form.register::before{
  margin-inline:auto!important;
}
.jabar-account-shell #customer_login .form-row,
.jabar-account-shell #customer_login .woocommerce-form-row{
  width:100%!important;
  max-width:none!important;
  margin:0 0 .9rem!important;
  padding:0!important;
}
.jabar-account-shell #customer_login label{
  display:block!important;
  margin:0 0 .45rem!important;
  color:var(--jabar-heading)!important;
  font-size:.95rem!important;
  font-weight:800!important;
  text-align:right!important;
}
.jabar-account-shell #customer_login input[type="text"],
.jabar-account-shell #customer_login input[type="email"],
.jabar-account-shell #customer_login input[type="password"]{
  width:100%!important;
  min-height:50px!important;
  padding:.75rem .95rem!important;
  border:1px solid rgba(181,138,58,.24)!important;
  border-radius:16px!important;
  background:#fffaf5!important;
  color:var(--jabar-text)!important;
  box-shadow:none!important;
  outline:none!important;
  text-align:right!important;
  box-sizing:border-box!important;
}
.jabar-account-shell #customer_login input:focus,
.jabar-account-shell #customer_login input:focus-visible{
  border-color:rgba(128,93,55,.72)!important;
  box-shadow:0 0 0 4px rgba(164,123,77,.13)!important;
  outline:none!important;
}
.jabar-account-shell #customer_login input:-webkit-autofill,
.jabar-account-shell #customer_login input:-webkit-autofill:hover,
.jabar-account-shell #customer_login input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--jabar-text)!important;
  box-shadow:0 0 0 1000px #fffaf5 inset!important;
  caret-color:var(--jabar-text)!important;
  transition:background-color 9999s ease-out 0s!important;
}
.jabar-account-shell #customer_login .woocommerce-form-login__rememberme{
  display:inline-flex!important;
  align-items:center!important;
  gap:.45rem!important;
  width:auto!important;
  margin:0 0 .8rem!important;
}
.jabar-account-shell #customer_login .woocommerce-form-login__rememberme input{
  width:auto!important;
  min-height:0!important;
  margin:0!important;
}
.jabar-account-shell #customer_login button[type="submit"]{
  min-width:150px!important;
  margin:.25rem auto 0!important;
}
.jabar-account-shell #customer_login .lost_password{
  margin:.9rem 0 0!important;
  text-align:center!important;
}
.jabar-account-shell #customer_login .woocommerce-privacy-policy-text,
.jabar-account-shell #customer_login form.register>p:not(.form-row):not(.woocommerce-form-row){
  max-width:360px!important;
  margin:.65rem auto 1rem!important;
  color:var(--jabar-muted)!important;
  font-size:.95rem!important;
  line-height:1.9!important;
  text-align:center!important;
}
.jabar-account-shell #customer_login wc-order-attribution-inputs{
  display:none!important;
}
@media(max-width:820px){
  .jabar-account-shell #customer_login.u-columns,
  .woocommerce-account .jabar-account-shell #customer_login.u-columns{grid-template-columns:1fr!important;}
  .jabar-account-shell #customer_login form.login,
  .jabar-account-shell #customer_login form.register{min-height:0!important;}
}
@media(max-width:560px){
  .jabar-account-shell .jabar-page-card{padding:1rem!important;border-radius:20px!important;}
  .jabar-account-shell #customer_login form.login,
  .jabar-account-shell #customer_login form.register{padding:1rem!important;border-radius:18px!important;}
}



/* Client review checkout patch 2026-06-22: uncramp Classic Checkout + Moyasar */
.jabar-checkout-shell{
  width:min(1240px,calc(100% - 48px))!important;
  max-width:1240px!important;
}
.jabar-checkout-shell .jabar-checkout-card,
.jabar-checkout-shell .jabar-commerce-card{
  width:100%!important;
  max-width:1180px!important;
  margin-inline:auto!important;
  padding:clamp(1.15rem,2.4vw,1.9rem)!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell .jabar-classic-checkout-output,
.jabar-checkout-shell .jabar-classic-checkout-output>.woocommerce{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell form.checkout.woocommerce-checkout,
.jabar-checkout-shell form.checkout.ct-woocommerce-checkout,
.jabar-checkout-shell .woocommerce form.checkout.woocommerce-checkout,
.jabar-checkout-shell .woocommerce form.checkout.ct-woocommerce-checkout{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:clamp(1.1rem,2.7vw,2rem)!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  direction:rtl!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell form.checkout::before,
.jabar-checkout-shell form.checkout::after,
.jabar-checkout-shell .ct-customer-details::before,
.jabar-checkout-shell .ct-customer-details::after,
.jabar-checkout-shell .ct-order-review::before,
.jabar-checkout-shell .ct-order-review::after{
  display:none!important;
  content:none!important;
}
.jabar-checkout-shell .ct-customer-details{
  order:1!important;
  flex:0 1 42%!important;
  width:auto!important;
  min-width:340px!important;
  max-width:480px!important;
  margin:0!important;
  padding:clamp(1.05rem,2vw,1.45rem)!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:24px!important;
  background:#fffdf9!important;
  box-shadow:0 16px 38px rgba(58,42,32,.04)!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell .ct-order-review{
  order:2!important;
  flex:1 1 58%!important;
  width:auto!important;
  min-width:520px!important;
  max-width:none!important;
  margin:0!important;
  padding:clamp(1.05rem,2vw,1.45rem)!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:24px!important;
  background:#fffdf9!important;
  box-shadow:0 16px 38px rgba(58,42,32,.045)!important;
  box-sizing:border-box!important;
  position:static!important;
  top:auto!important;
}
.jabar-checkout-shell #customer_details,
.jabar-checkout-shell .col2-set,
.jabar-checkout-shell #order_review,
.jabar-checkout-shell .woocommerce-checkout-review-order{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  float:none!important;
  clear:none!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell #customer_details{
  display:block!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.jabar-checkout-shell #customer_details .col-1,
.jabar-checkout-shell #customer_details .col-2{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
}
.jabar-checkout-shell #customer_details .col-2,
.jabar-checkout-shell .woocommerce-shipping-fields,
.jabar-checkout-shell .woocommerce-additional-fields,
.jabar-checkout-shell #order_comments_field{
  display:none!important;
}
.jabar-checkout-shell .woocommerce-billing-fields h3,
.jabar-checkout-shell #order_review_heading{
  display:block!important;
  margin:0 0 1.15rem!important;
  padding:0!important;
  color:var(--jabar-heading)!important;
  font-size:clamp(1.55rem,2.4vw,2rem)!important;
  line-height:1.35!important;
  text-align:center!important;
}
.jabar-checkout-shell .woocommerce-billing-fields__field-wrapper{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.95rem 1rem!important;
  width:100%!important;
}
.jabar-checkout-shell #billing_email_field{
  grid-column:1 / -1!important;
}
.jabar-checkout-shell .form-row,
.jabar-checkout-shell .form-row-first,
.jabar-checkout-shell .form-row-last,
.jabar-checkout-shell .form-row-wide{
  float:none!important;
  clear:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell .form-row label,
.jabar-checkout-shell #payment label{
  display:block!important;
  margin:0 0 .45rem!important;
  color:var(--jabar-heading)!important;
  font-size:.92rem!important;
  font-weight:900!important;
  line-height:1.6!important;
  text-align:right!important;
}
.jabar-checkout-shell input.input-text,
.jabar-checkout-shell select,
.jabar-checkout-shell textarea,
.jabar-checkout-shell #payment input.input-text{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:50px!important;
  padding:.8rem 1rem!important;
  border:1px solid rgba(181,138,58,.24)!important;
  border-radius:16px!important;
  background:#fffaf5!important;
  color:var(--jabar-text)!important;
  box-shadow:none!important;
  outline:none!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell #order_review{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table{
  width:100%!important;
  margin:0 0 1.05rem!important;
  table-layout:auto!important;
  border:1px solid var(--jabar-border)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fffdf9!important;
  font-size:.96rem!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table th,
.jabar-checkout-shell .woocommerce-checkout-review-order-table td{
  padding:.85rem .8rem!important;
  line-height:1.75!important;
  vertical-align:middle!important;
  text-align:right!important;
  word-break:normal!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table .product-total,
.jabar-checkout-shell .woocommerce-checkout-review-order-table td.product-total,
.jabar-checkout-shell .woocommerce-checkout-review-order-table tfoot td{
  text-align:left!important;
  white-space:normal!important;
}
.jabar-checkout-shell .recurring-totals th{
  padding:.65rem .8rem!important;
  background:#fff8ee!important;
  color:var(--jabar-gold-dark)!important;
  font-size:.9rem!important;
}
.jabar-checkout-shell .recurring-total th,
.jabar-checkout-shell .recurring-total td,
.jabar-checkout-shell .first-payment-date small{
  font-size:.86rem!important;
  line-height:1.75!important;
}
.jabar-checkout-shell .jabar-order-item{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:.7rem!important;
  align-items:center!important;
  min-width:0!important;
}
.jabar-checkout-shell .jabar-order-item__thumb,
.jabar-checkout-shell .jabar-order-item__image{
  width:58px!important;
  height:58px!important;
  border-radius:12px!important;
  object-fit:cover!important;
}
.jabar-checkout-shell #payment{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:1.05rem!important;
  border:1px solid rgba(181,138,58,.22)!important;
  border-radius:20px!important;
  background:#fffaf5!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell #payment ul.payment_methods{
  display:grid!important;
  gap:.8rem!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  list-style:none!important;
  background:transparent!important;
}
.jabar-checkout-shell #payment li.wc_payment_method{
  width:100%!important;
  margin:0!important;
  padding:.95rem!important;
  border:1px solid rgba(181,138,58,.18)!important;
  border-radius:17px!important;
  background:#fffdf9!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>label{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:.75rem!important;
  width:100%!important;
  margin:0!important;
  cursor:pointer!important;
}
.jabar-checkout-shell #payment div.payment_box,
.jabar-checkout-shell #payment .payment_box{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:.9rem 0 0!important;
  padding:1rem!important;
  border:0!important;
  border-radius:16px!important;
  background:#fff8ee!important;
  color:var(--jabar-text)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.jabar-checkout-shell #payment div.payment_box::before{display:none!important;content:none!important;}
.jabar-checkout-shell #payment .payment_box p{
  margin:0 0 .9rem!important;
  color:var(--jabar-muted)!important;
  line-height:1.8!important;
}
.jabar-checkout-shell #payment .wc-credit-card-form,
.jabar-checkout-shell #payment #wc-moyasar-cc-form{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.85rem!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell .moyasar-cc-expiry-cvc-group{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.85rem!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.jabar-checkout-shell .moyasar-cc-group{
  width:100%!important;
  min-width:0!important;
}
.jabar-checkout-shell #moyasar_cc_number,
.jabar-checkout-shell #moyasar_cc_expiry,
.jabar-checkout-shell #moyasar_cc_cvc{
  direction:ltr!important;
  text-align:left!important;
  padding-left:1rem!important;
  padding-right:3.2rem!important;
}
.jabar-checkout-shell .moyasar-cc-logos{
  right:12px!important;
  left:auto!important;
  max-width:42px!important;
  overflow:hidden!important;
}
.jabar-checkout-shell .wc-saved-payment-methods,
.jabar-checkout-shell .wc-saved-payment-methods li,
.jabar-checkout-shell .wc-save-payment-method-checkbox,
.jabar-checkout-shell .wc-save-payment-method-checkbox p{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  list-style:none!important;
}
.jabar-checkout-shell .woocommerce-SavedPaymentMethods-new,
.jabar-checkout-shell .wc-save-payment-method-checkbox p{
  display:flex!important;
  align-items:center!important;
  gap:.55rem!important;
  margin:0 0 .85rem!important;
}
.jabar-checkout-shell .woocommerce-SavedPaymentMethods-tokenInput,
.jabar-checkout-shell #wc-moyasar_cc-new-payment-method,
.jabar-checkout-shell #payment input[type="radio"],
.jabar-checkout-shell #payment input[type="checkbox"]{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  padding:0!important;
  margin:0!important;
  accent-color:var(--jabar-gold-dark)!important;
}
.jabar-checkout-shell .moyasar-payment-footer{
  width:100%!important;
  margin-top:1rem!important;
  padding-top:1rem!important;
  border-top:1px solid rgba(181,138,58,.16)!important;
  text-align:center!important;
}
.jabar-checkout-shell .moyasar-supported-brands{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:.45rem!important;
  width:100%!important;
}
.jabar-checkout-shell .moyasar-supported-brands>div{
  width:56px!important;
  height:36px!important;
  border-radius:10px!important;
  background:#fffdf9!important;
}
.jabar-checkout-shell .moyasar-payment-footer>a{
  display:inline-block!important;
  margin-top:.8rem!important;
  max-width:150px!important;
  opacity:.72!important;
}
.jabar-checkout-shell #payment .place-order{
  width:100%!important;
  margin:1rem 0 0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell .woocommerce-terms-and-conditions-wrapper{
  margin:0 0 .9rem!important;
  text-align:center!important;
}
.jabar-checkout-shell #place_order{
  width:100%!important;
  min-height:56px!important;
  margin:0!important;
  border-radius:999px!important;
  background:var(--jabar-heading)!important;
  border-color:var(--jabar-heading)!important;
  color:#fffdf9!important;
  font-size:1rem!important;
  font-weight:900!important;
}
.jabar-checkout-shell .woocommerce-message,
.jabar-checkout-shell .woocommerce-info,
.jabar-checkout-shell .woocommerce-error{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:.75rem!important;
  width:100%!important;
  margin:0 0 1rem!important;
  box-sizing:border-box!important;
}
@media (max-width:1120px){
  .jabar-checkout-shell form.checkout.woocommerce-checkout,
  .jabar-checkout-shell form.checkout.ct-woocommerce-checkout,
  .jabar-checkout-shell .woocommerce form.checkout.woocommerce-checkout,
  .jabar-checkout-shell .woocommerce form.checkout.ct-woocommerce-checkout{
    flex-direction:column!important;
  }
  .jabar-checkout-shell .ct-customer-details,
  .jabar-checkout-shell .ct-order-review{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex:0 1 auto!important;
  }
}
@media (max-width:680px){
  .jabar-checkout-shell{width:min(100% - 20px,1240px)!important;}
  .jabar-checkout-shell .jabar-checkout-card,
  .jabar-checkout-shell .jabar-commerce-card,
  .jabar-checkout-shell .ct-customer-details,
  .jabar-checkout-shell .ct-order-review,
  .jabar-checkout-shell #payment{padding:.9rem!important;border-radius:18px!important;}
  .jabar-checkout-shell .woocommerce-billing-fields__field-wrapper,
  .jabar-checkout-shell .moyasar-cc-expiry-cvc-group{
    grid-template-columns:1fr!important;
  }
  .jabar-checkout-shell .woocommerce-checkout-review-order-table th,
  .jabar-checkout-shell .woocommerce-checkout-review-order-table td{
    padding:.7rem .55rem!important;
    font-size:.88rem!important;
  }
}

/* Checkout pixel-final polish 2026-06-22: flatten Moyasar, tighten fields, clear active method states */
.jabar-checkout-shell .jabar-checkout-card,
.jabar-checkout-shell .jabar-commerce-card{
  padding:clamp(1rem,2vw,1.65rem)!important;
  border-radius:24px!important;
}
.jabar-checkout-shell form.checkout.woocommerce-checkout,
.jabar-checkout-shell form.checkout.ct-woocommerce-checkout,
.jabar-checkout-shell .woocommerce form.checkout.woocommerce-checkout,
.jabar-checkout-shell .woocommerce form.checkout.ct-woocommerce-checkout{
  gap:clamp(1rem,2.1vw,1.55rem)!important;
}
.jabar-checkout-shell .ct-customer-details{
  flex-basis:40%!important;
  max-width:455px!important;
  padding:clamp(.95rem,1.7vw,1.25rem)!important;
  border-radius:22px!important;
}
.jabar-checkout-shell .ct-order-review{
  flex-basis:60%!important;
  min-width:540px!important;
  padding:clamp(.95rem,1.7vw,1.25rem)!important;
  border-radius:22px!important;
}
.jabar-checkout-shell .woocommerce-billing-fields h3,
.jabar-checkout-shell #order_review_heading{
  margin-bottom:.85rem!important;
  font-size:clamp(1.35rem,2vw,1.75rem)!important;
}
.jabar-checkout-shell .woocommerce-billing-fields__field-wrapper{
  gap:.72rem .8rem!important;
}
.jabar-checkout-shell .form-row label,
.jabar-checkout-shell #payment label{
  margin-bottom:.3rem!important;
  font-size:.82rem!important;
  line-height:1.45!important;
}
.jabar-checkout-shell input.input-text,
.jabar-checkout-shell select,
.jabar-checkout-shell textarea,
.jabar-checkout-shell #payment input.input-text{
  min-height:44px!important;
  padding:.62rem .85rem!important;
  border-radius:14px!important;
  font-size:.9rem!important;
  line-height:1.35!important;
  background:#fffdf9!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table{
  margin-bottom:.85rem!important;
  border-radius:16px!important;
  font-size:.9rem!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table th,
.jabar-checkout-shell .woocommerce-checkout-review-order-table td{
  padding:.62rem .7rem!important;
  line-height:1.55!important;
}
.jabar-checkout-shell .jabar-order-item{
  grid-template-columns:46px minmax(0,1fr)!important;
  gap:.55rem!important;
}
.jabar-checkout-shell .jabar-order-item__thumb,
.jabar-checkout-shell .jabar-order-item__image{
  width:46px!important;
  height:46px!important;
  border-radius:10px!important;
}
.jabar-checkout-shell .recurring-total th,
.jabar-checkout-shell .recurring-total td,
.jabar-checkout-shell .first-payment-date small{
  font-size:.8rem!important;
  line-height:1.6!important;
}
.jabar-checkout-shell #payment,
.jabar-checkout-shell .woocommerce-checkout-payment{
  margin-top:.85rem!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.jabar-checkout-shell #payment ul.payment_methods,
.jabar-checkout-shell #payment .payment_methods{
  gap:.65rem!important;
}
.jabar-checkout-shell #payment li.wc_payment_method{
  position:relative!important;
  padding:.78rem .9rem!important;
  border:1px solid rgba(181,138,58,.20)!important;
  border-radius:18px!important;
  background:#fffdf9!important;
  box-shadow:0 10px 26px rgba(58,42,32,.025)!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.jabar-checkout-shell #payment li.wc_payment_method:has(> input.input-radio:checked){
  border-color:rgba(181,138,58,.55)!important;
  background:#fffaf2!important;
  box-shadow:0 14px 34px rgba(58,42,32,.055)!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>input.input-radio{
  position:absolute!important;
  right:1rem!important;
  top:1.02rem!important;
  z-index:2!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  margin:0!important;
  padding:0!important;
  accent-color:var(--jabar-gold-dark)!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>label{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:24px!important;
  margin:0!important;
  padding-right:2rem!important;
  color:var(--jabar-heading)!important;
  font-size:.92rem!important;
  font-weight:900!important;
  line-height:1.35!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>label span{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  float:none!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>label img{
  max-height:24px!important;
  width:auto!important;
  margin:0!important;
}
.jabar-checkout-shell #payment div.payment_box,
.jabar-checkout-shell #payment .payment_box{
  margin:.75rem 0 0!important;
  padding:.8rem 0 0!important;
  border-top:1px solid rgba(181,138,58,.16)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.jabar-checkout-shell #payment .payment_box p{
  margin:0 0 .65rem!important;
  font-size:.86rem!important;
  line-height:1.65!important;
}
.jabar-checkout-shell #payment fieldset,
.jabar-checkout-shell #payment .wc-credit-card-form,
.jabar-checkout-shell #payment #wc-moyasar-cc-form{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.jabar-checkout-shell #payment .wc-credit-card-form,
.jabar-checkout-shell #payment #wc-moyasar-cc-form{
  gap:.68rem!important;
}
.jabar-checkout-shell .moyasar-cc-expiry-cvc-group{
  gap:.7rem!important;
}
.jabar-checkout-shell #moyasar_cc_number,
.jabar-checkout-shell #moyasar_cc_expiry,
.jabar-checkout-shell #moyasar_cc_cvc{
  min-height:42px!important;
  padding-top:.55rem!important;
  padding-bottom:.55rem!important;
}
.jabar-checkout-shell .woocommerce-SavedPaymentMethods-new,
.jabar-checkout-shell .wc-save-payment-method-checkbox p{
  gap:.45rem!important;
  margin:0 0 .55rem!important;
  padding:.45rem .55rem!important;
  border-radius:12px!important;
  background:rgba(255,253,249,.68)!important;
}
.jabar-checkout-shell .woocommerce-SavedPaymentMethods-new label,
.jabar-checkout-shell .wc-save-payment-method-checkbox label{
  margin:0!important;
  font-size:.78rem!important;
  font-weight:800!important;
  color:var(--jabar-text)!important;
}
.jabar-checkout-shell .moyasar-payment-footer{
  margin-top:.7rem!important;
  padding-top:.7rem!important;
  border-top:1px solid rgba(181,138,58,.14)!important;
}
.jabar-checkout-shell .moyasar-supported-brands{
  gap:.38rem!important;
}
.jabar-checkout-shell .moyasar-supported-brands>div{
  width:48px!important;
  height:32px!important;
  border-radius:9px!important;
  border-color:rgba(181,138,58,.18)!important;
  background:#fffdf9!important;
}
.jabar-checkout-shell .moyasar-supported-brands img{
  max-height:13px!important;
}
.jabar-checkout-shell .moyasar-payment-footer>a{
  margin-top:.55rem!important;
  transform:scale(.88)!important;
  transform-origin:center!important;
}
.jabar-checkout-shell #payment .place-order{
  margin:.8rem 0 0!important;
  padding:0!important;
}
.jabar-checkout-shell .woocommerce-terms-and-conditions-wrapper{
  margin:0 0 .7rem!important;
}
.jabar-checkout-shell .woocommerce-privacy-policy-text p{
  margin:0!important;
  font-size:.82rem!important;
  line-height:1.65!important;
}
.jabar-checkout-shell #place_order{
  min-height:50px!important;
  font-size:.95rem!important;
}
.jabar-checkout-shell .woocommerce-message,
.jabar-checkout-shell .woocommerce-info,
.jabar-checkout-shell .woocommerce-error{
  padding:.75rem .9rem!important;
  border-radius:14px!important;
  font-size:.88rem!important;
}
@media (max-width:1120px){
  .jabar-checkout-shell .ct-customer-details,
  .jabar-checkout-shell .ct-order-review{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    flex-basis:auto!important;
  }
  .jabar-checkout-shell .ct-order-review{order:2!important;}
  .jabar-checkout-shell .ct-customer-details{order:1!important;}
}
@media (max-width:680px){
  .jabar-checkout-shell{width:min(100% - 14px,1240px)!important;}
  .jabar-checkout-shell .jabar-checkout-card,
  .jabar-checkout-shell .jabar-commerce-card{
    padding:.55rem!important;
    border-radius:16px!important;
  }
  .jabar-checkout-shell .ct-customer-details,
  .jabar-checkout-shell .ct-order-review{
    padding:.72rem!important;
    border-radius:16px!important;
  }
  .jabar-checkout-shell .woocommerce-billing-fields h3,
  .jabar-checkout-shell #order_review_heading{
    font-size:1.35rem!important;
    margin-bottom:.7rem!important;
  }
  .jabar-checkout-shell .woocommerce-billing-fields__field-wrapper{
    gap:.62rem!important;
  }
  .jabar-checkout-shell input.input-text,
  .jabar-checkout-shell select,
  .jabar-checkout-shell textarea,
  .jabar-checkout-shell #payment input.input-text{
    min-height:42px!important;
    padding:.55rem .75rem!important;
    border-radius:13px!important;
    font-size:.86rem!important;
  }
  .jabar-checkout-shell .woocommerce-checkout-review-order-table th,
  .jabar-checkout-shell .woocommerce-checkout-review-order-table td{
    padding:.54rem .48rem!important;
    font-size:.8rem!important;
    line-height:1.48!important;
  }
  .jabar-checkout-shell .jabar-order-item{
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:.45rem!important;
  }
  .jabar-checkout-shell .jabar-order-item__thumb,
  .jabar-checkout-shell .jabar-order-item__image{
    width:40px!important;
    height:40px!important;
  }
  .jabar-checkout-shell #payment li.wc_payment_method{
    padding:.72rem!important;
    border-radius:16px!important;
  }
  .jabar-checkout-shell #payment li.wc_payment_method>input.input-radio{
    right:.78rem!important;
    top:.92rem!important;
  }
  .jabar-checkout-shell #payment li.wc_payment_method>label{
    padding-right:1.85rem!important;
    font-size:.88rem!important;
  }
  .jabar-checkout-shell #payment div.payment_box,
  .jabar-checkout-shell #payment .payment_box{
    margin:.62rem 0 0!important;
    padding:.68rem 0 0!important;
  }
  .jabar-checkout-shell .moyasar-cc-expiry-cvc-group{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:.55rem!important;
  }
  .jabar-checkout-shell .moyasar-supported-brands>div{
    width:42px!important;
    height:30px!important;
  }
}
@media (max-width:380px){
  .jabar-checkout-shell .moyasar-cc-expiry-cvc-group{
    grid-template-columns:1fr!important;
  }
}


/* Checkout clean-redesign final 2026-06-22
   A fresh flattened checkout treatment for Jabar membership checkout.
   Goal: fewer visual boxes, tighter fields, clearer payment-method selection. */
.jabar-checkout-shell{
  width:min(1120px,calc(100% - 44px))!important;
  max-width:1120px!important;
}
.jabar-checkout-shell .jabar-checkout-card,
.jabar-checkout-shell .jabar-commerce-card{
  max-width:1120px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.jabar-checkout-shell .jabar-classic-checkout-output,
.jabar-checkout-shell .jabar-classic-checkout-output>.woocommerce{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.jabar-checkout-shell .woocommerce-notices-wrapper{
  width:100%!important;
  margin:0 auto!important;
}
.jabar-checkout-shell .woocommerce-message,
.jabar-checkout-shell .woocommerce-info,
.jabar-checkout-shell .woocommerce-error{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:.85rem!important;
  margin:0 0 .65rem!important;
  padding:.78rem 1rem!important;
  border:1px solid rgba(181,138,58,.20)!important;
  border-radius:16px!important;
  background:#fffaf3!important;
  color:var(--jabar-heading)!important;
  box-shadow:none!important;
  font-size:.92rem!important;
  line-height:1.7!important;
}
.jabar-checkout-shell .woocommerce-message .button,
.jabar-checkout-shell .woocommerce-info .button{
  flex:0 0 auto!important;
  min-height:34px!important;
  padding:.42rem .9rem!important;
  border-radius:999px!important;
  background:var(--jabar-heading)!important;
  color:#fffdf9!important;
  font-size:.82rem!important;
  line-height:1!important;
}
.jabar-checkout-shell form.checkout.woocommerce-checkout,
.jabar-checkout-shell form.checkout.ct-woocommerce-checkout,
.jabar-checkout-shell .woocommerce form.checkout.woocommerce-checkout,
.jabar-checkout-shell .woocommerce form.checkout.ct-woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(330px,.82fr)!important;
  grid-template-areas:"review customer"!important;
  gap:1.15rem!important;
  align-items:start!important;
  width:100%!important;
  margin:.95rem 0 0!important;
  padding:0!important;
  direction:ltr!important;
}
.jabar-checkout-shell form.checkout>*{
  direction:rtl!important;
}
.jabar-checkout-shell form.checkout::before,
.jabar-checkout-shell form.checkout::after,
.jabar-checkout-shell .ct-customer-details::before,
.jabar-checkout-shell .ct-customer-details::after,
.jabar-checkout-shell .ct-order-review::before,
.jabar-checkout-shell .ct-order-review::after{
  display:none!important;
  content:none!important;
}
.jabar-checkout-shell .ct-customer-details,
.jabar-checkout-shell .ct-order-review{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:1.15rem!important;
  border:1px solid rgba(181,138,58,.18)!important;
  border-radius:24px!important;
  background:rgba(255,253,249,.78)!important;
  box-shadow:0 18px 50px rgba(58,42,32,.045)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.jabar-checkout-shell .ct-customer-details{
  grid-area:customer!important;
}
.jabar-checkout-shell .ct-order-review{
  grid-area:review!important;
}
.jabar-checkout-shell #customer_details,
.jabar-checkout-shell .col2-set,
.jabar-checkout-shell #order_review,
.jabar-checkout-shell .woocommerce-checkout-review-order{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  float:none!important;
  clear:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell #customer_details .col-1,
.jabar-checkout-shell #customer_details .col-2{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
}
.jabar-checkout-shell #customer_details .col-2,
.jabar-checkout-shell .woocommerce-shipping-fields,
.jabar-checkout-shell .woocommerce-additional-fields,
.jabar-checkout-shell #order_comments_field,
.jabar-checkout-shell #ship-to-different-address{
  display:none!important;
}
.jabar-checkout-shell .woocommerce-billing-fields h3,
.jabar-checkout-shell #order_review_heading{
  display:block!important;
  margin:0 0 1rem!important;
  padding:0!important;
  color:var(--jabar-heading)!important;
  font-size:clamp(1.35rem,2vw,1.7rem)!important;
  font-weight:900!important;
  line-height:1.35!important;
  text-align:center!important;
}
.jabar-checkout-shell .woocommerce-billing-fields__field-wrapper{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.72rem!important;
}
.jabar-checkout-shell #billing_email_field{
  grid-column:1 / -1!important;
}
.jabar-checkout-shell .form-row,
.jabar-checkout-shell .form-row-first,
.jabar-checkout-shell .form-row-last,
.jabar-checkout-shell .form-row-wide{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:none!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell .form-row label,
.jabar-checkout-shell #payment label{
  display:block!important;
  margin:0 0 .28rem!important;
  color:var(--jabar-heading)!important;
  font-size:.78rem!important;
  font-weight:900!important;
  line-height:1.45!important;
  text-align:right!important;
}
.jabar-checkout-shell input.input-text,
.jabar-checkout-shell select,
.jabar-checkout-shell textarea,
.jabar-checkout-shell #payment input.input-text{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:41px!important;
  padding:.55rem .78rem!important;
  border:1px solid rgba(181,138,58,.20)!important;
  border-radius:13px!important;
  background:#fffdf9!important;
  color:var(--jabar-heading)!important;
  box-shadow:none!important;
  outline:none!important;
  font-size:.86rem!important;
  line-height:1.35!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell input.input-text:focus,
.jabar-checkout-shell select:focus,
.jabar-checkout-shell textarea:focus,
.jabar-checkout-shell #payment input.input-text:focus{
  border-color:rgba(140,104,42,.68)!important;
  box-shadow:0 0 0 3px rgba(181,138,58,.12)!important;
}
.jabar-checkout-shell input:-webkit-autofill,
.jabar-checkout-shell input:-webkit-autofill:hover,
.jabar-checkout-shell input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--jabar-heading)!important;
  box-shadow:0 0 0 1000px #fffdf9 inset!important;
  transition:background-color 9999s ease-out 0s!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table{
  width:100%!important;
  margin:0 0 .95rem!important;
  border:0!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:visible!important;
  table-layout:auto!important;
  font-size:.88rem!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table thead th{
  padding:0 0 .55rem!important;
  border:0!important;
  border-bottom:1px solid rgba(181,138,58,.16)!important;
  color:var(--jabar-muted)!important;
  font-size:.78rem!important;
  font-weight:900!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table tbody td,
.jabar-checkout-shell .woocommerce-checkout-review-order-table tfoot th,
.jabar-checkout-shell .woocommerce-checkout-review-order-table tfoot td{
  padding:.62rem 0!important;
  border:0!important;
  border-bottom:1px solid rgba(181,138,58,.12)!important;
  background:transparent!important;
  color:var(--jabar-heading)!important;
  line-height:1.55!important;
  vertical-align:middle!important;
  text-align:right!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table td.product-total,
.jabar-checkout-shell .woocommerce-checkout-review-order-table .product-total,
.jabar-checkout-shell .woocommerce-checkout-review-order-table tfoot td{
  text-align:left!important;
  white-space:normal!important;
}
.jabar-checkout-shell .woocommerce-checkout-review-order-table .order-total th,
.jabar-checkout-shell .woocommerce-checkout-review-order-table .order-total td{
  font-weight:900!important;
  color:var(--jabar-heading)!important;
}
.jabar-checkout-shell .recurring-totals,
.jabar-checkout-shell tr.cart-subtotal.recurring-total{
  display:none!important;
}
.jabar-checkout-shell tr.order-total.recurring-total th,
.jabar-checkout-shell tr.order-total.recurring-total td{
  padding-top:.72rem!important;
  border-bottom:0!important;
  color:var(--jabar-gold-dark)!important;
  font-size:.82rem!important;
  line-height:1.6!important;
}
.jabar-checkout-shell .first-payment-date small{
  display:block!important;
  margin-top:.18rem!important;
  color:var(--jabar-muted)!important;
  font-size:.76rem!important;
}
.jabar-checkout-shell .jabar-order-item{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:.55rem!important;
  align-items:center!important;
  min-width:0!important;
}
.jabar-checkout-shell .jabar-order-item__thumb,
.jabar-checkout-shell .jabar-order-item__image{
  width:42px!important;
  height:42px!important;
  border-radius:10px!important;
  object-fit:cover!important;
}
.jabar-checkout-shell .product-quantity{
  display:inline-flex!important;
  margin-inline-start:.3rem!important;
  font-size:.78rem!important;
  color:var(--jabar-muted)!important;
}
.jabar-checkout-shell #payment,
.jabar-checkout-shell .woocommerce-checkout-payment{
  width:100%!important;
  max-width:none!important;
  margin:.95rem 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell #payment ul.payment_methods,
.jabar-checkout-shell #payment .payment_methods{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.55rem!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  list-style:none!important;
}
.jabar-checkout-shell #payment li.wc_payment_method{
  position:relative!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(181,138,58,.17)!important;
  border-radius:16px!important;
  background:#fffdf9!important;
  box-shadow:none!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
.jabar-checkout-shell #payment li.wc_payment_method:has(> input.input-radio:checked){
  border-color:rgba(140,104,42,.55)!important;
  background:linear-gradient(180deg,#fffdf9 0%,#fff8ee 100%)!important;
  box-shadow:0 12px 28px rgba(58,42,32,.045)!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>input.input-radio{
  position:absolute!important;
  z-index:2!important;
  right:1rem!important;
  top:1.02rem!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  padding:0!important;
  margin:0!important;
  accent-color:var(--jabar-gold-dark)!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>label{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:.75rem!important;
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:.72rem 2.45rem .72rem 1rem!important;
  color:var(--jabar-heading)!important;
  font-size:.9rem!important;
  font-weight:900!important;
  line-height:1.35!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>label span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin:0!important;
  float:none!important;
}
.jabar-checkout-shell #payment li.wc_payment_method>label img{
  max-height:22px!important;
  width:auto!important;
  margin:0!important;
}
.jabar-checkout-shell #payment div.payment_box,
.jabar-checkout-shell #payment .payment_box{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 1rem .95rem!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--jabar-text)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.jabar-checkout-shell #payment div.payment_box::before{
  display:none!important;
  content:none!important;
}
.jabar-checkout-shell #payment .payment_box>p:first-child{
  margin:-.1rem 0 .72rem!important;
  padding:.62rem .75rem!important;
  border-radius:12px!important;
  background:rgba(255,248,238,.75)!important;
  color:var(--jabar-muted)!important;
  font-size:.82rem!important;
  line-height:1.65!important;
}
.jabar-checkout-shell #payment .wc-saved-payment-methods[data-count="0"],
.jabar-checkout-shell #payment .wc-saved-payment-methods[data-count="0"] li{
  display:none!important;
}
.jabar-checkout-shell #payment fieldset,
.jabar-checkout-shell #payment .wc-credit-card-form,
.jabar-checkout-shell #payment #wc-moyasar-cc-form{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.jabar-checkout-shell #payment .wc-credit-card-form,
.jabar-checkout-shell #payment #wc-moyasar-cc-form{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.62rem!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.jabar-checkout-shell .moyasar-cc-expiry-cvc-group{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.62rem!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.jabar-checkout-shell .moyasar-cc-group{
  width:100%!important;
  min-width:0!important;
}
.jabar-checkout-shell #moyasar_cc_number,
.jabar-checkout-shell #moyasar_cc_expiry,
.jabar-checkout-shell #moyasar_cc_cvc{
  direction:ltr!important;
  text-align:left!important;
  padding-left:.78rem!important;
  padding-right:2.85rem!important;
}
.jabar-checkout-shell .moyasar-cc-logos{
  right:10px!important;
  left:auto!important;
  max-width:34px!important;
  overflow:hidden!important;
}
.jabar-checkout-shell .moyasar-cc-logos span{
  font-size:18px!important;
  opacity:.24!important;
}
.jabar-checkout-shell .wc-save-payment-method-checkbox,
.jabar-checkout-shell .wc-save-payment-method-checkbox p{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.jabar-checkout-shell .wc-save-payment-method-checkbox p{
  display:flex!important;
  align-items:center!important;
  gap:.45rem!important;
  margin-top:.1rem!important;
}
.jabar-checkout-shell .wc-save-payment-method-checkbox label{
  margin:0!important;
  color:var(--jabar-muted)!important;
  font-size:.78rem!important;
  font-weight:800!important;
}
.jabar-checkout-shell #payment input[type="radio"],
.jabar-checkout-shell #payment input[type="checkbox"]{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  padding:0!important;
  margin:0!important;
  box-shadow:none!important;
  accent-color:var(--jabar-gold-dark)!important;
}
.jabar-checkout-shell .moyasar-payment-footer{
  width:100%!important;
  margin:.7rem 0 0!important;
  padding:.7rem 0 0!important;
  border-top:1px solid rgba(181,138,58,.12)!important;
  text-align:center!important;
}
.jabar-checkout-shell .moyasar-supported-brands{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:.42rem!important;
  width:100%!important;
}
.jabar-checkout-shell .moyasar-supported-brands>div{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:38px!important;
  height:24px!important;
  padding:.18rem .45rem!important;
  border:1px solid rgba(181,138,58,.13)!important;
  border-radius:8px!important;
  background:#fffdf9!important;
  overflow:hidden!important;
}
.jabar-checkout-shell .moyasar-supported-brands img{
  max-height:12px!important;
  width:auto!important;
}
.jabar-checkout-shell .moyasar-payment-footer>a{
  display:inline-block!important;
  margin-top:.45rem!important;
  max-width:118px!important;
  opacity:.45!important;
  transform:scale(.72)!important;
  transform-origin:center!important;
}
.jabar-checkout-shell #payment .place-order{
  width:100%!important;
  margin:.85rem 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
.jabar-checkout-shell .woocommerce-terms-and-conditions-wrapper{
  margin:0 0 .65rem!important;
  text-align:center!important;
}
.jabar-checkout-shell .woocommerce-privacy-policy-text p{
  margin:0!important;
  color:var(--jabar-muted)!important;
  font-size:.78rem!important;
  line-height:1.65!important;
}
.jabar-checkout-shell #place_order{
  width:100%!important;
  min-height:50px!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--jabar-heading)!important;
  color:#fffdf9!important;
  box-shadow:0 10px 24px rgba(40,26,20,.14)!important;
  font-size:.94rem!important;
  font-weight:900!important;
}
.jabar-checkout-shell #place_order:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 14px 28px rgba(40,26,20,.18)!important;
}
.jabar-checkout-shell #moyasar-apple-pay-button-container{
  margin:.75rem 0 0!important;
}
@media (max-width:1024px){
  .jabar-checkout-shell form.checkout.woocommerce-checkout,
  .jabar-checkout-shell form.checkout.ct-woocommerce-checkout,
  .jabar-checkout-shell .woocommerce form.checkout.woocommerce-checkout,
  .jabar-checkout-shell .woocommerce form.checkout.ct-woocommerce-checkout{
    grid-template-columns:1fr!important;
    grid-template-areas:"customer" "review"!important;
    gap:.85rem!important;
    margin-top:.75rem!important;
  }
}
@media (max-width:680px){
  .jabar-checkout-shell{
    width:min(100% - 18px,1120px)!important;
  }
  .jabar-checkout-shell .ct-customer-details,
  .jabar-checkout-shell .ct-order-review{
    padding:.9rem!important;
    border-radius:18px!important;
    box-shadow:0 12px 30px rgba(58,42,32,.035)!important;
  }
  .jabar-checkout-shell .woocommerce-message,
  .jabar-checkout-shell .woocommerce-info,
  .jabar-checkout-shell .woocommerce-error{
    display:block!important;
    padding:.72rem .82rem!important;
    border-radius:14px!important;
    font-size:.84rem!important;
    text-align:right!important;
  }
  .jabar-checkout-shell .woocommerce-message .button,
  .jabar-checkout-shell .woocommerce-info .button{
    display:inline-flex!important;
    margin:.55rem 0 0!important;
  }
  .jabar-checkout-shell .woocommerce-billing-fields h3,
  .jabar-checkout-shell #order_review_heading{
    margin-bottom:.78rem!important;
    font-size:1.32rem!important;
  }
  .jabar-checkout-shell .woocommerce-billing-fields__field-wrapper{
    grid-template-columns:1fr!important;
    gap:.62rem!important;
  }
  .jabar-checkout-shell input.input-text,
  .jabar-checkout-shell select,
  .jabar-checkout-shell textarea,
  .jabar-checkout-shell #payment input.input-text{
    min-height:40px!important;
    padding:.52rem .72rem!important;
    border-radius:12px!important;
    font-size:.84rem!important;
  }
  .jabar-checkout-shell .woocommerce-checkout-review-order-table{
    font-size:.8rem!important;
  }
  .jabar-checkout-shell .woocommerce-checkout-review-order-table thead th{
    font-size:.74rem!important;
  }
  .jabar-checkout-shell .woocommerce-checkout-review-order-table tbody td,
  .jabar-checkout-shell .woocommerce-checkout-review-order-table tfoot th,
  .jabar-checkout-shell .woocommerce-checkout-review-order-table tfoot td{
    padding:.52rem 0!important;
    line-height:1.48!important;
  }
  .jabar-checkout-shell .jabar-order-item{
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:.42rem!important;
  }
  .jabar-checkout-shell .jabar-order-item__thumb,
  .jabar-checkout-shell .jabar-order-item__image{
    width:38px!important;
    height:38px!important;
  }
  .jabar-checkout-shell #payment,
  .jabar-checkout-shell .woocommerce-checkout-payment{
    margin-top:.75rem!important;
  }
  .jabar-checkout-shell #payment li.wc_payment_method>input.input-radio{
    right:.82rem!important;
    top:.95rem!important;
  }
  .jabar-checkout-shell #payment li.wc_payment_method>label{
    min-height:46px!important;
    padding:.66rem 2.2rem .66rem .82rem!important;
    font-size:.86rem!important;
  }
  .jabar-checkout-shell #payment div.payment_box,
  .jabar-checkout-shell #payment .payment_box{
    padding:0 .82rem .82rem!important;
  }
  .jabar-checkout-shell #payment .payment_box>p:first-child{
    padding:.55rem .62rem!important;
    font-size:.78rem!important;
  }
  .jabar-checkout-shell .moyasar-cc-expiry-cvc-group{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:.52rem!important;
  }
  .jabar-checkout-shell .form-row label,
  .jabar-checkout-shell #payment label{
    font-size:.75rem!important;
  }
  .jabar-checkout-shell #moyasar_cc_number,
  .jabar-checkout-shell #moyasar_cc_expiry,
  .jabar-checkout-shell #moyasar_cc_cvc{
    padding-right:2.55rem!important;
  }
  .jabar-checkout-shell .moyasar-supported-brands>div{
    min-width:34px!important;
    height:23px!important;
    padding:.16rem .34rem!important;
  }
  .jabar-checkout-shell #place_order{
    min-height:48px!important;
  }
}
@media (max-width:360px){
  .jabar-checkout-shell .moyasar-cc-expiry-cvc-group{
    grid-template-columns:1fr!important;
  }
}

/* V1.6.9 CHECKOUT LEAN FINAL — real redesign, not another nested Woo card patch. */
body .jabar-checkout-shell--lean-final{
  max-width:1120px!important;
  width:min(100% - 32px,1120px)!important;
}
body .jabar-checkout-shell--lean-final .jabar-checkout-card,
body .jabar-checkout-shell--lean-final .jabar-commerce-card,
body .jabar-checkout-shell--lean-final .entry-content,
body .jabar-checkout-shell--lean-final .jabar-classic-checkout-output,
body .jabar-checkout-shell--lean-final .jabar-classic-checkout-output>.woocommerce{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-notices-wrapper{
  display:grid!important;
  gap:10px!important;
  margin:0 0 14px!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-message,
body .jabar-checkout-shell--lean-final .woocommerce-info,
body .jabar-checkout-shell--lean-final .woocommerce-error{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:52px!important;
  margin:0!important;
  padding:12px 16px!important;
  border:1px solid rgba(181,138,58,.22)!important;
  border-radius:18px!important;
  background:rgba(255,253,249,.82)!important;
  box-shadow:0 12px 30px rgba(58,42,32,.035)!important;
  color:var(--jabar-heading)!important;
  font-size:14px!important;
  line-height:1.7!important;
  font-weight:800!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-message::before,
body .jabar-checkout-shell--lean-final .woocommerce-info::before,
body .jabar-checkout-shell--lean-final .woocommerce-error::before{
  display:none!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-message .button,
body .jabar-checkout-shell--lean-final .woocommerce-info .button,
body .jabar-checkout-shell--lean-final .woocommerce-error .button{
  order:2!important;
  flex:0 0 auto!important;
  min-height:34px!important;
  padding:0 15px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--jabar-heading)!important;
  color:#fffdf9!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:34px!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final form.checkout.woocommerce-checkout,
body .jabar-checkout-shell--lean-final form.checkout.ct-woocommerce-checkout,
body .jabar-checkout-shell--lean-final .woocommerce form.checkout.woocommerce-checkout,
body .jabar-checkout-shell--lean-final .woocommerce form.checkout.ct-woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(330px,.82fr) minmax(420px,1.18fr)!important;
  grid-template-areas:"customer review"!important;
  gap:22px!important;
  align-items:start!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final .ct-customer-details,
body .jabar-checkout-shell--lean-final .ct-order-review{
  margin:0!important;
  padding:22px!important;
  border:1px solid rgba(181,138,58,.18)!important;
  border-radius:24px!important;
  background:rgba(255,253,249,.84)!important;
  box-shadow:0 22px 52px rgba(58,42,32,.055)!important;
  overflow:hidden!important;
}
body .jabar-checkout-shell--lean-final .ct-customer-details{grid-area:customer!important;}
body .jabar-checkout-shell--lean-final .ct-order-review{grid-area:review!important;}
body .jabar-checkout-shell--lean-final .col2-set,
body .jabar-checkout-shell--lean-final #customer_details,
body .jabar-checkout-shell--lean-final #customer_details .col-1,
body .jabar-checkout-shell--lean-final #customer_details .col-2,
body .jabar-checkout-shell--lean-final .woocommerce-billing-fields,
body .jabar-checkout-shell--lean-final .woocommerce-shipping-fields,
body .jabar-checkout-shell--lean-final .woocommerce-additional-fields,
body .jabar-checkout-shell--lean-final .woocommerce-billing-fields__field-wrapper{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  float:none!important;
}
body .jabar-checkout-shell--lean-final #customer_details .col-2,
body .jabar-checkout-shell--lean-final .woocommerce-shipping-fields,
body .jabar-checkout-shell--lean-final .woocommerce-additional-fields{
  display:none!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-billing-fields h3,
body .jabar-checkout-shell--lean-final #order_review_heading{
  position:relative!important;
  margin:0 0 18px!important;
  padding:0 0 12px!important;
  color:var(--jabar-heading)!important;
  font-family:var(--jabar-font-display)!important;
  font-size:30px!important;
  font-weight:760!important;
  line-height:1.35!important;
  text-align:right!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-billing-fields h3::after,
body .jabar-checkout-shell--lean-final #order_review_heading::after{
  content:""!important;
  position:absolute!important;
  right:0!important;
  bottom:0!important;
  width:44px!important;
  height:2px!important;
  border-radius:999px!important;
  background:var(--jabar-gold)!important;
  opacity:.65!important;
}
body .jabar-checkout-shell--lean-final .form-row,
body .jabar-checkout-shell--lean-final p.form-row,
body .jabar-checkout-shell--lean-final #payment .form-row{
  clear:none!important;
  display:block!important;
  width:100%!important;
  margin:0 0 13px!important;
  padding:0!important;
  float:none!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final .form-row-last,
body .jabar-checkout-shell--lean-final .form-row-first{
  width:100%!important;
  float:none!important;
}
body .jabar-checkout-shell--lean-final .form-row label,
body .jabar-checkout-shell--lean-final .woocommerce-billing-fields label,
body .jabar-checkout-shell--lean-final #payment .payment_box label{
  display:flex!important;
  align-items:center!important;
  gap:3px!important;
  margin:0 0 6px!important;
  color:var(--jabar-heading)!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:900!important;
  text-align:right!important;
}
body .jabar-checkout-shell--lean-final .required,
body .jabar-checkout-shell--lean-final .required_field .required{
  color:#c02b1d!important;
  text-decoration:none!important;
}
body .jabar-checkout-shell--lean-final input.input-text,
body .jabar-checkout-shell--lean-final select,
body .jabar-checkout-shell--lean-final textarea,
body .jabar-checkout-shell--lean-final #payment input.input-text{
  width:100%!important;
  max-width:100%!important;
  min-height:44px!important;
  height:44px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid rgba(181,138,58,.28)!important;
  border-radius:14px!important;
  background:#fffbf5!important;
  box-shadow:none!important;
  color:var(--jabar-heading)!important;
  font-size:14px!important;
  line-height:44px!important;
  font-weight:700!important;
  outline:none!important;
}
body .jabar-checkout-shell--lean-final input.input-text:focus,
body .jabar-checkout-shell--lean-final select:focus,
body .jabar-checkout-shell--lean-final textarea:focus,
body .jabar-checkout-shell--lean-final #payment input.input-text:focus{
  border-color:var(--jabar-gold)!important;
  background:#fffdf9!important;
  box-shadow:0 0 0 3px rgba(181,138,58,.12)!important;
}
body .jabar-checkout-shell--lean-final input:-webkit-autofill{
  -webkit-text-fill-color:var(--jabar-heading)!important;
  -webkit-box-shadow:0 0 0 1000px #fffbf5 inset!important;
  transition:background-color 9999s ease-out 0s!important;
}
body .jabar-checkout-shell--lean-final #order_review,
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table,
body .jabar-checkout-shell--lean-final table.shop_table,
body .jabar-checkout-shell--lean-final table.shop_table tbody,
body .jabar-checkout-shell--lean-final table.shop_table tfoot,
body .jabar-checkout-shell--lean-final table.shop_table tr,
body .jabar-checkout-shell--lean-final table.shop_table th,
body .jabar-checkout-shell--lean-final table.shop_table td{
  border-color:rgba(181,138,58,.14)!important;
  background:transparent!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table{
  width:100%!important;
  margin:0 0 16px!important;
  padding:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
  border:1px solid rgba(181,138,58,.18)!important;
  border-radius:18px!important;
  background:#fffaf3!important;
  font-size:14px!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table thead{display:none!important;}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tbody td,
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot th,
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot td{
  padding:12px 14px!important;
  border:0!important;
  border-bottom:1px solid rgba(181,138,58,.12)!important;
  color:var(--jabar-heading)!important;
  line-height:1.55!important;
  vertical-align:middle!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tbody td.product-name{
  width:62%!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tbody td.product-total{
  width:38%!important;
  text-align:left!important;
  white-space:nowrap!important;
  font-weight:900!important;
}
body .jabar-checkout-shell--lean-final .jabar-order-item{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
}
body .jabar-checkout-shell--lean-final .jabar-order-item__thumb,
body .jabar-checkout-shell--lean-final .jabar-order-item__image{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  border-radius:12px!important;
  object-fit:cover!important;
}
body .jabar-checkout-shell--lean-final .jabar-order-item__content{
  color:var(--jabar-heading)!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.45!important;
}
body .jabar-checkout-shell--lean-final .product-quantity{
  display:inline-flex!important;
  margin-inline-start:62px!important;
  color:var(--jabar-muted)!important;
  font-size:12px!important;
  font-weight:900!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal:not(.recurring-total),
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot tr.recurring-totals,
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal.recurring-total{
  display:none!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) th,
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) td{
  border-bottom:0!important;
  background:rgba(181,138,58,.065)!important;
  font-size:15px!important;
  font-weight:950!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot tr.order-total.recurring-total th,
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot tr.order-total.recurring-total td{
  padding-top:10px!important;
  padding-bottom:10px!important;
  border-top:1px dashed rgba(181,138,58,.18)!important;
  border-bottom:0!important;
  color:var(--jabar-muted)!important;
  font-size:12px!important;
  font-weight:850!important;
}
body .jabar-checkout-shell--lean-final .first-payment-date small{
  display:block!important;
  margin-top:4px!important;
  color:var(--jabar-muted)!important;
  font-size:11px!important;
  line-height:1.5!important;
  font-weight:800!important;
}
body .jabar-checkout-shell--lean-final #payment,
body .jabar-checkout-shell--lean-final .woocommerce-checkout-payment{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final #payment ul.wc_payment_methods,
body .jabar-checkout-shell--lean-final #payment .payment_methods.methods{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  list-style:none!important;
  background:transparent!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(181,138,58,.20)!important;
  border-radius:16px!important;
  background:#fffbf5!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transition:border-color .18s ease, background .18s ease, box-shadow .18s ease!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method.is-selected,
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method:has(> input.input-radio:checked){
  border-color:var(--jabar-gold)!important;
  background:#fff8ec!important;
  box-shadow:0 12px 28px rgba(181,138,58,.10)!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>input.input-radio{
  position:absolute!important;
  z-index:2!important;
  inset-inline-end:13px!important;
  top:18px!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  margin:0!important;
  padding:0!important;
  accent-color:var(--jabar-gold)!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>label{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  width:100%!important;
  min-height:52px!important;
  margin:0!important;
  padding:0 40px 0 14px!important;
  border:0!important;
  color:var(--jabar-heading)!important;
  cursor:pointer!important;
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:950!important;
  text-align:right!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>label span{
  float:none!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>label img{
  max-width:42px!important;
  max-height:18px!important;
  margin:0!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method.is-selected>label::after,
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method:has(> input.input-radio:checked)>label::after{
  content:"مختار"!important;
  display:inline-flex!important;
  align-items:center!important;
  height:22px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:rgba(181,138,58,.12)!important;
  color:var(--jabar-gold-dark)!important;
  font-family:var(--jabar-font)!important;
  font-size:11px!important;
  font-weight:900!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>div.payment_box,
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method .payment_box{
  display:none!important;
  width:100%!important;
  margin:0!important;
  padding:14px!important;
  border:0!important;
  border-top:1px solid rgba(181,138,58,.13)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(255,249,239,.9),rgba(255,253,249,.96))!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method.is-selected>div.payment_box,
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method:has(> input.input-radio:checked)>div.payment_box{
  display:block!important;
}
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_apple_pay>div.payment_box{
  display:none!important;
}
body .jabar-checkout-shell--lean-final #payment .payment_box::before,
body .jabar-checkout-shell--lean-final #payment .payment_box::after{display:none!important;}
body .jabar-checkout-shell--lean-final #payment .payment_box>p:first-child{
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--jabar-muted)!important;
  font-size:12px!important;
  line-height:1.7!important;
  font-weight:800!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-SavedPaymentMethods[data-count="0"],
body .jabar-checkout-shell--lean-final .woocommerce-SavedPaymentMethods-new{
  display:none!important;
}
body .jabar-checkout-shell--lean-final #wc-moyasar-cc-form,
body .jabar-checkout-shell--lean-final .wc-credit-card-form,
body .jabar-checkout-shell--lean-final .wc-payment-form{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final #wc-moyasar-cc-form>.form-row-wide,
body .jabar-checkout-shell--lean-final #wc-moyasar-cc-form>.moyasar-cc-expiry-cvc-group,
body .jabar-checkout-shell--lean-final #wc-moyasar-cc-form>.wc-save-payment-method-checkbox,
body .jabar-checkout-shell--lean-final #wc-moyasar-cc-form>.moyasar-payment-footer{
  grid-column:1 / -1!important;
}
body .jabar-checkout-shell--lean-final .moyasar-cc-expiry-cvc-group{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body .jabar-checkout-shell--lean-final .moyasar-cc-group{width:100%!important;}
body .jabar-checkout-shell--lean-final #moyasar_cc_number,
body .jabar-checkout-shell--lean-final #moyasar_cc_expiry,
body .jabar-checkout-shell--lean-final #moyasar_cc_cvc{
  direction:ltr!important;
  text-align:left!important;
  padding-inline-start:14px!important;
  padding-inline-end:40px!important;
}
body .jabar-checkout-shell--lean-final .moyasar-cc-logos{
  inset-inline-end:12px!important;
  inset-inline-start:auto!important;
  right:auto!important;
  left:auto!important;
  max-width:24px!important;
  pointer-events:none!important;
}
body .jabar-checkout-shell--lean-final .moyasar-cc-logos span{
  font-size:16px!important;
  opacity:.2!important;
}
body .jabar-checkout-shell--lean-final .wc-save-payment-method-checkbox,
body .jabar-checkout-shell--lean-final .wc-save-payment-method-checkbox p{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body .jabar-checkout-shell--lean-final .wc-save-payment-method-checkbox p{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:30px!important;
}
body .jabar-checkout-shell--lean-final .wc-save-payment-method-checkbox input[type="checkbox"]{
  width:15px!important;
  height:15px!important;
  margin:0!important;
  accent-color:var(--jabar-gold)!important;
}
body .jabar-checkout-shell--lean-final .wc-save-payment-method-checkbox label{
  margin:0!important;
  color:var(--jabar-muted)!important;
  font-size:12px!important;
  font-weight:800!important;
}
body .jabar-checkout-shell--lean-final .moyasar-payment-footer{
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  margin:2px 0 0!important;
  padding:10px 0 0!important;
  border-top:1px solid rgba(181,138,58,.11)!important;
  background:transparent!important;
}
body .jabar-checkout-shell--lean-final .moyasar-supported-brands{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:0!important;
}
body .jabar-checkout-shell--lean-final .moyasar-supported-brands>div{
  width:auto!important;
  min-width:34px!important;
  height:23px!important;
  margin:0!important;
  padding:0 7px!important;
  border:1px solid rgba(181,138,58,.12)!important;
  border-radius:7px!important;
  background:#fffdf9!important;
}
body .jabar-checkout-shell--lean-final .moyasar-supported-brands img{
  max-width:34px!important;
  max-height:12px!important;
  height:12px!important;
}
body .jabar-checkout-shell--lean-final .moyasar-payment-footer>a{
  flex:0 0 auto!important;
  margin:0!important;
  opacity:.42!important;
  transform:scale(.62)!important;
  transform-origin:left center!important;
}
body .jabar-checkout-shell--lean-final #payment .place-order{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-terms-and-conditions-wrapper{
  margin:0 0 12px!important;
  text-align:right!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-privacy-policy-text p{
  margin:0!important;
  color:var(--jabar-muted)!important;
  font-size:12px!important;
  line-height:1.7!important;
  font-weight:700!important;
}
body .jabar-checkout-shell--lean-final #place_order{
  width:100%!important;
  min-height:52px!important;
  margin:0!important;
  padding:0 22px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--jabar-heading)!important;
  color:#fffdf9!important;
  box-shadow:0 12px 26px rgba(40,26,20,.16)!important;
  font-size:15px!important;
  font-weight:950!important;
  line-height:52px!important;
}
body .jabar-checkout-shell--lean-final #moyasar-apple-pay-button-container{
  margin:12px 0 0!important;
}
@media (max-width:900px){
  body .jabar-checkout-shell--lean-final{
    width:min(100% - 24px,1120px)!important;
  }
  body .jabar-checkout-shell--lean-final form.checkout.woocommerce-checkout,
  body .jabar-checkout-shell--lean-final form.checkout.ct-woocommerce-checkout,
  body .jabar-checkout-shell--lean-final .woocommerce form.checkout.woocommerce-checkout,
  body .jabar-checkout-shell--lean-final .woocommerce form.checkout.ct-woocommerce-checkout{
    grid-template-columns:1fr!important;
    grid-template-areas:"customer" "review"!important;
    gap:14px!important;
  }
  body .jabar-checkout-shell--lean-final .ct-customer-details,
  body .jabar-checkout-shell--lean-final .ct-order-review{
    padding:18px!important;
    border-radius:20px!important;
  }
  body .jabar-checkout-shell--lean-final .woocommerce-billing-fields h3,
  body .jabar-checkout-shell--lean-final #order_review_heading{
    margin-bottom:14px!important;
    font-size:26px!important;
  }
}
@media (max-width:520px){
  body .jabar-checkout-shell--lean-final{
    width:min(100% - 18px,1120px)!important;
  }
  body .jabar-checkout-shell--lean-final .woocommerce-notices-wrapper{gap:8px!important;margin-bottom:10px!important;}
  body .jabar-checkout-shell--lean-final .woocommerce-message,
  body .jabar-checkout-shell--lean-final .woocommerce-info,
  body .jabar-checkout-shell--lean-final .woocommerce-error{
    display:block!important;
    min-height:0!important;
    padding:11px 12px!important;
    border-radius:15px!important;
    font-size:12.5px!important;
    text-align:right!important;
  }
  body .jabar-checkout-shell--lean-final .woocommerce-message .button,
  body .jabar-checkout-shell--lean-final .woocommerce-info .button,
  body .jabar-checkout-shell--lean-final .woocommerce-error .button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:8px 0 0!important;
  }
  body .jabar-checkout-shell--lean-final .ct-customer-details,
  body .jabar-checkout-shell--lean-final .ct-order-review{
    padding:15px!important;
    border-radius:18px!important;
    box-shadow:0 14px 30px rgba(58,42,32,.045)!important;
  }
  body .jabar-checkout-shell--lean-final input.input-text,
  body .jabar-checkout-shell--lean-final select,
  body .jabar-checkout-shell--lean-final textarea,
  body .jabar-checkout-shell--lean-final #payment input.input-text{
    height:42px!important;
    min-height:42px!important;
    border-radius:13px!important;
    font-size:13px!important;
    line-height:42px!important;
  }
  body .jabar-checkout-shell--lean-final .form-row,
  body .jabar-checkout-shell--lean-final p.form-row,
  body .jabar-checkout-shell--lean-final #payment .form-row{
    margin-bottom:11px!important;
  }
  body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table{
    margin-bottom:12px!important;
    border-radius:16px!important;
    font-size:12.5px!important;
  }
  body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tbody td,
  body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot th,
  body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot td{
    padding:10px 11px!important;
  }
  body .jabar-checkout-shell--lean-final .jabar-order-item{
    grid-template-columns:46px minmax(0,1fr)!important;
    gap:8px!important;
  }
  body .jabar-checkout-shell--lean-final .jabar-order-item__thumb,
  body .jabar-checkout-shell--lean-final .jabar-order-item__image{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
  }
  body .jabar-checkout-shell--lean-final .jabar-order-item__content{font-size:12.5px!important;}
  body .jabar-checkout-shell--lean-final .product-quantity{margin-inline-start:54px!important;font-size:11px!important;}
  body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tbody td.product-name{width:58%!important;}
  body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tbody td.product-total{width:42%!important;font-size:12px!important;}
  body .jabar-checkout-shell--lean-final #payment ul.wc_payment_methods,
  body .jabar-checkout-shell--lean-final #payment .payment_methods.methods{
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-bottom:12px!important;
  }
  body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>label{
    min-height:48px!important;
    padding-right:38px!important;
    padding-left:12px!important;
    font-size:13px!important;
  }
  body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>input.input-radio{
    top:16px!important;
    inset-inline-end:12px!important;
  }
  body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>div.payment_box,
  body .jabar-checkout-shell--lean-final #payment li.wc_payment_method .payment_box{
    padding:12px!important;
  }
  body .jabar-checkout-shell--lean-final #wc-moyasar-cc-form,
  body .jabar-checkout-shell--lean-final .wc-credit-card-form,
  body .jabar-checkout-shell--lean-final .wc-payment-form,
  body .jabar-checkout-shell--lean-final .moyasar-cc-expiry-cvc-group{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  body .jabar-checkout-shell--lean-final .moyasar-payment-footer{
    display:block!important;
    text-align:center!important;
  }
  body .jabar-checkout-shell--lean-final .moyasar-supported-brands{
    justify-content:center!important;
  }
  body .jabar-checkout-shell--lean-final .moyasar-payment-footer>a{
    display:inline-block!important;
    margin-top:8px!important;
    transform-origin:center!important;
  }
  body .jabar-checkout-shell--lean-final #place_order{
    min-height:50px!important;
    line-height:50px!important;
    font-size:14px!important;
  }
}


/* V1.7.0 client QA final: reduce checkout mobile friction and hide unsupported Apple Pay. */
body:not(.jabar-can-apple-pay) .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_apple_pay{
  display:none!important;
}
@media (max-width:782px){
  body.woocommerce-checkout .jabar-topbar{
    display:none!important;
  }
  body.woocommerce-checkout .jabar-home-header{
    position:static!important;
    top:auto!important;
    z-index:20!important;
    box-shadow:none!important;
  }
  body.woocommerce-checkout .jabar-home-header.is-compact{
    box-shadow:none!important;
    background:rgba(250,247,242,.98)!important;
  }
  body.woocommerce-checkout .jabar-home-header__inner{
    min-height:58px!important;
  }
  body.woocommerce-checkout .jabar-page-header{
    padding-top:34px!important;
  }
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method.is-selected>label::after,
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method:has(> input.input-radio:checked)>label::after{
  content:"مختار"!important;
}
body .jabar-checkout-shell--lean-final .woocommerce-checkout-review-order-table tfoot tr.order-total.recurring-total td{
  word-break:normal!important;
}


/* V1.7.2 urgent client final: restore real logo images, keep Apple Pay when supported, force FAQ RTL titles. */
.jabar-home-logo img,
.jabar-home-footer__brand img{
  display:block!important;
  object-fit:contain!important;
  max-width:100%!important;
  height:auto!important;
}
.jabar-home-logo img{
  width:142px!important;
  max-height:72px!important;
}
.jabar-home-footer__brand img{
  width:96px!important;
  max-height:96px!important;
}
.jabar-faq-template,
.jabar-faq-template *{
  unicode-bidi:plaintext;
}
.jabar-faq-template .jabar-faq-accordion,
.jabar-faq-template .jabar-static-faq,
.jabar-faq-template .jabar-faq-editable-output{
  direction:rtl!important;
  text-align:right!important;
}
.jabar-faq-template .jabar-faq-accordion summary,
.jabar-faq-template .jabar-static-faq summary,
.jabar-faq-template details summary{
  direction:rtl!important;
  text-align:right!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:18px 22px!important;
}
.jabar-faq-template .jabar-faq-accordion summary span,
.jabar-faq-template .jabar-static-faq summary span,
.jabar-faq-template details summary span,
.jabar-faq-template details summary strong{
  direction:rtl!important;
  text-align:right!important;
  flex:1 1 auto!important;
  min-width:0!important;
}
.jabar-faq-template .jabar-faq-accordion__answer,
.jabar-faq-template .jabar-static-faq details>p,
.jabar-faq-template details .jabar-faq-accordion__answer,
.jabar-faq-template details p{
  direction:rtl!important;
  text-align:right!important;
}
.jabar-faq-template .jabar-faq-accordion summary i,
.jabar-faq-template .jabar-static-faq summary::after{
  flex:0 0 auto!important;
  margin-inline-start:12px!important;
  margin-inline-end:0!important;
}
body.jabar-can-apple-pay .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_apple_pay{
  display:block!important;
}
body:not(.jabar-can-apple-pay) .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_apple_pay{
  display:none!important;
}
@media (max-width: 782px){
  .jabar-home-logo img{width:106px!important;max-height:54px!important;}
  .jabar-faq-template .jabar-faq-accordion summary,
  .jabar-faq-template .jabar-static-faq summary,
  .jabar-faq-template details summary{
    padding:16px 18px!important;
    gap:12px!important;
  }
}


/* V1.7.3 REAL CLIENT FINAL — account cards + stacked payment methods, no more side-by-side payment boxes. */
body .jabar-account-shell .jabar-page-card{
  width:min(100% - 32px,920px)!important;
  max-width:920px!important;
  padding:26px!important;
  border-radius:28px!important;
  background:rgba(255,253,249,.72)!important;
  overflow:visible!important;
}
body .jabar-account-shell #customer_login.u-columns,
body.woocommerce-account .jabar-account-shell #customer_login.u-columns{
  width:100%!important;
  max-width:820px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:26px!important;
  align-items:stretch!important;
  direction:rtl!important;
}
body .jabar-account-shell #customer_login .u-column1,
body .jabar-account-shell #customer_login .u-column2{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:26px 28px 28px!important;
  display:flex!important;
  flex-direction:column!important;
  border:1px solid rgba(181,138,58,.20)!important;
  border-radius:24px!important;
  background:#fffdf9!important;
  box-shadow:0 18px 45px rgba(58,42,32,.045)!important;
  box-sizing:border-box!important;
}
body .jabar-account-shell #customer_login h2{
  position:relative!important;
  margin:0 0 24px!important;
  padding:0 0 14px!important;
  color:var(--jabar-heading)!important;
  text-align:center!important;
  font-family:var(--jabar-font-display)!important;
  font-size:clamp(28px,2.4vw,38px)!important;
  line-height:1.25!important;
  font-weight:760!important;
}
body .jabar-account-shell #customer_login h2::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  width:48px!important;
  height:2px!important;
  transform:translateX(-50%)!important;
  border-radius:999px!important;
  background:var(--jabar-gold)!important;
  opacity:.75!important;
}
body .jabar-account-shell #customer_login form.login,
body .jabar-account-shell #customer_login form.register{
  flex:1 1 auto!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
}
body .jabar-account-shell #customer_login form.login::before,
body .jabar-account-shell #customer_login form.register::before{display:none!important;content:none!important;}
body .jabar-account-shell #customer_login .form-row,
body .jabar-account-shell #customer_login .woocommerce-form-row{
  width:100%!important;
  max-width:none!important;
  margin:0 0 16px!important;
  padding:0!important;
}
body .jabar-account-shell #customer_login label{
  display:block!important;
  margin:0 0 7px!important;
  color:var(--jabar-heading)!important;
  font-size:13px!important;
  line-height:1.5!important;
  font-weight:900!important;
  text-align:right!important;
}
body .jabar-account-shell #customer_login input[type="text"],
body .jabar-account-shell #customer_login input[type="email"],
body .jabar-account-shell #customer_login input[type="password"]{
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid rgba(181,138,58,.26)!important;
  border-radius:16px!important;
  background:#fffaf5!important;
  color:var(--jabar-heading)!important;
  box-shadow:none!important;
  outline:0!important;
  text-align:right!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:48px!important;
  box-sizing:border-box!important;
}
body .jabar-account-shell #customer_login .password-input,
body .jabar-account-shell #customer_login .password-input input{display:block!important;width:100%!important;}
body .jabar-account-shell #customer_login input:focus,
body .jabar-account-shell #customer_login input:focus-visible{
  border-color:rgba(181,138,58,.72)!important;
  background:#fffdf9!important;
  box-shadow:0 0 0 3px rgba(181,138,58,.12)!important;
}
body .jabar-account-shell #customer_login input:-webkit-autofill,
body .jabar-account-shell #customer_login input:-webkit-autofill:hover,
body .jabar-account-shell #customer_login input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--jabar-heading)!important;
  -webkit-box-shadow:0 0 0 1000px #fffaf5 inset!important;
  transition:background-color 9999s ease-out 0s!important;
}
body .jabar-account-shell #customer_login form.login>p.form-row:not(.woocommerce-form-row){
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:2px 0 16px!important;
}
body .jabar-account-shell #customer_login .woocommerce-form-login__rememberme{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  width:auto!important;
  margin:0!important;
  white-space:nowrap!important;
}
body .jabar-account-shell #customer_login .woocommerce-form-login__rememberme input,
body .jabar-account-shell #customer_login input[type="checkbox"]{
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  min-height:15px!important;
  margin:0!important;
  padding:0!important;
  accent-color:var(--jabar-gold)!important;
}
body .jabar-account-shell #customer_login button[type="submit"]{
  min-width:150px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 22px!important;
  border-radius:999px!important;
  font-size:14px!important;
  font-weight:950!important;
}
body .jabar-account-shell #customer_login form.register button[type="submit"]{
  margin-top:auto!important;
  align-self:center!important;
}
body .jabar-account-shell #customer_login .lost_password{
  margin:0!important;
  text-align:center!important;
}
body .jabar-account-shell #customer_login .lost_password a{
  color:var(--jabar-gold-dark)!important;
  font-weight:900!important;
  text-decoration:none!important;
}
body .jabar-account-shell #customer_login form.register>p:not(.form-row):not(.woocommerce-form-row),
body .jabar-account-shell #customer_login .woocommerce-privacy-policy-text{
  max-width:280px!important;
  margin:0 auto 14px!important;
  color:var(--jabar-muted)!important;
  font-size:14px!important;
  line-height:1.85!important;
  text-align:center!important;
}
body .jabar-account-shell #customer_login .woocommerce-privacy-policy-text p{margin:0!important;}
body .jabar-account-shell #customer_login wc-order-attribution-inputs{display:none!important;}

/* Checkout: payment methods stacked always, compact Apple Pay row, no stretched empty card. */
body .jabar-checkout-shell--lean-final #payment ul.wc_payment_methods,
body .jabar-checkout-shell--lean-final #payment .payment_methods.methods{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-items:start!important;
  gap:10px!important;
  margin:0 0 14px!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method{
  align-self:start!important;
  min-height:0!important;
  overflow:hidden!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>label{
  min-height:52px!important;
  padding:0 42px 0 16px!important;
}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method>label::after{display:none!important;content:none!important;}
body .jabar-checkout-shell--lean-final #payment li.wc_payment_method.payment_method_moyasar_apple_pay{
  min-height:52px!important;
  background:#fffdf9!important;
  box-shadow:none!important;
}
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_apple_pay>div.payment_box,
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_apple_pay .payment_box{
  display:none!important;
  height:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
}
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_cc>div.payment_box,
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_cc .payment_box{
  padding:16px!important;
  background:#fffaf3!important;
  border-top:1px solid rgba(181,138,58,.14)!important;
}
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_cc.is-selected>div.payment_box,
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_cc:has(>input.input-radio:checked)>div.payment_box{
  display:block!important;
}
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_apple_pay.is-selected,
body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_apple_pay:has(>input.input-radio:checked){
  border-color:var(--jabar-gold)!important;
  background:#fff8ec!important;
}
body .jabar-checkout-shell--lean-final .moyasar-payment-footer{
  display:block!important;
  margin:8px 0 0!important;
  padding:12px 0 0!important;
  text-align:center!important;
}
body .jabar-checkout-shell--lean-final .moyasar-supported-brands{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  width:100%!important;
}
body .jabar-checkout-shell--lean-final .moyasar-supported-brands>div{
  flex:0 0 auto!important;
  width:42px!important;
  min-width:42px!important;
  height:26px!important;
  padding:0 6px!important;
}
body .jabar-checkout-shell--lean-final .moyasar-payment-footer>a{
  display:inline-block!important;
  margin:8px auto 0!important;
  transform:scale(.58)!important;
  transform-origin:center!important;
}
body .jabar-checkout-shell--lean-final #wc-moyasar-cc-form,
body .jabar-checkout-shell--lean-final .wc-credit-card-form,
body .jabar-checkout-shell--lean-final .wc-payment-form{
  gap:11px!important;
}
body .jabar-checkout-shell--lean-final .moyasar-cc-expiry-cvc-group{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;
}
body .jabar-checkout-shell--lean-final .apple-pay-checkout-container,
body .jabar-checkout-shell--lean-final #moyasar-apple-pay-button-container{
  width:100%!important;
  margin:12px 0 0!important;
}

@media(max-width:920px){
  body .jabar-account-shell .jabar-page-card{width:min(100% - 24px,720px)!important;}
  body .jabar-account-shell #customer_login.u-columns,
  body.woocommerce-account .jabar-account-shell #customer_login.u-columns{
    grid-template-columns:1fr!important;
    max-width:430px!important;
    gap:18px!important;
  }
}
@media(max-width:560px){
  body .jabar-account-shell .jabar-page-card{width:min(100% - 18px,520px)!important;padding:16px!important;border-radius:20px!important;}
  body .jabar-account-shell #customer_login .u-column1,
  body .jabar-account-shell #customer_login .u-column2{padding:20px!important;border-radius:20px!important;}
  body .jabar-account-shell #customer_login h2{font-size:28px!important;margin-bottom:20px!important;}
  body .jabar-account-shell #customer_login form.login>p.form-row:not(.woocommerce-form-row){display:block!important;}
  body .jabar-account-shell #customer_login form.login>p.form-row:not(.woocommerce-form-row) button{width:100%!important;margin-top:12px!important;}
  body .jabar-account-shell #customer_login input[type="text"],
  body .jabar-account-shell #customer_login input[type="email"],
  body .jabar-account-shell #customer_login input[type="password"]{height:46px!important;min-height:46px!important;line-height:46px!important;}
  body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_cc>div.payment_box,
  body .jabar-checkout-shell--lean-final #payment li.payment_method_moyasar_cc .payment_box{padding:14px 12px!important;}
  body .jabar-checkout-shell--lean-final .moyasar-cc-expiry-cvc-group{grid-template-columns:1fr!important;}
}

/* V1.7.4 EMERGENCY CLIENT FIX — locked subscription image mapping + compact account layout. */
body .jabar-subscriptions .jabar-plan-visual,
body .jabar-plan-card .jabar-plan-visual{
  width:100%!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:1px solid rgba(181,138,58,.22)!important;
  border-radius:22px!important;
  background:#fffdf8!important;
  overflow:hidden!important;
  box-shadow:0 14px 34px rgba(58,42,32,.045)!important;
}
body .jabar-subscriptions .jabar-plan-visual a,
body .jabar-subscriptions .jabar-plan-visual-link{
  display:block!important;
  width:100%!important;
}
body .jabar-subscriptions .jabar-plan-visual img,
body .jabar-plan-card .jabar-plan-visual img,
body .jabar-plan-visual__image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fffdf8!important;
}
body .jabar-product-hero__media,
body .single-product .jabar-product-hero__media{
  aspect-ratio:1/1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fffdf8!important;
}
body .jabar-product-hero__media img,
body .single-product .jabar-product-hero__media img,
body .jabar-product-hero__image{
  width:100%!important;
  height:100%!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fffdf8!important;
}

body .jabar-account-shell .jabar-page-card{
  width:min(100% - 32px,760px)!important;
  max-width:760px!important;
  padding:22px!important;
  border-radius:26px!important;
  margin-inline:auto!important;
  background:rgba(255,253,249,.78)!important;
}
body .jabar-account-shell .entry-content,
body .jabar-account-shell .woocommerce,
body .jabar-account-shell .ct-woo-unauthorized{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body .jabar-account-shell #customer_login.u-columns,
body.woocommerce-account .jabar-account-shell #customer_login.u-columns{
  width:100%!important;
  max-width:660px!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  direction:rtl!important;
  align-items:stretch!important;
}
body .jabar-account-shell #customer_login .u-column1,
body .jabar-account-shell #customer_login .u-column2{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:22px 22px 24px!important;
  border:1px solid rgba(181,138,58,.22)!important;
  border-radius:22px!important;
  background:#fffdf9!important;
  box-shadow:0 14px 34px rgba(58,42,32,.04)!important;
  box-sizing:border-box!important;
}
body .jabar-account-shell #customer_login h2{
  margin:0 0 20px!important;
  padding:0 0 12px!important;
  font-size:30px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  text-align:center!important;
}
body .jabar-account-shell #customer_login form.login,
body .jabar-account-shell #customer_login form.register{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body .jabar-account-shell #customer_login .form-row,
body .jabar-account-shell #customer_login .woocommerce-form-row{
  margin:0 0 14px!important;
}
body .jabar-account-shell #customer_login input[type="text"],
body .jabar-account-shell #customer_login input[type="email"],
body .jabar-account-shell #customer_login input[type="password"]{
  height:44px!important;
  min-height:44px!important;
  line-height:44px!important;
  border-radius:15px!important;
  font-size:13px!important;
}
body .jabar-account-shell #customer_login form.login>p.form-row:not(.woocommerce-form-row){
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  margin:0 0 14px!important;
}
body .jabar-account-shell #customer_login .woocommerce-form-login__rememberme{
  justify-self:start!important;
  margin:0!important;
}
body .jabar-account-shell #customer_login button[type="submit"]{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 18px!important;
}
body .jabar-account-shell #customer_login .lost_password{
  margin:2px 0 0!important;
}
body .jabar-account-shell #customer_login form.register>p:not(.form-row):not(.woocommerce-form-row),
body .jabar-account-shell #customer_login .woocommerce-privacy-policy-text{
  max-width:100%!important;
  margin:0 0 14px!important;
  font-size:13px!important;
  line-height:1.75!important;
}
@media(max-width:760px){
  body .jabar-account-shell .jabar-page-card{width:min(100% - 20px,520px)!important;padding:16px!important;}
  body .jabar-account-shell #customer_login.u-columns,
  body.woocommerce-account .jabar-account-shell #customer_login.u-columns{grid-template-columns:1fr!important;max-width:430px!important;gap:16px!important;}
  body .jabar-account-shell #customer_login h2{font-size:28px!important;}
}

/* V1.7.5 ACCOUNT FINAL FIX — force clean two-card Woo login/register layout. */
body.woocommerce-account .jabar-account-shell,
body .jabar-account-shell{
  overflow-x:hidden!important;
}
body.woocommerce-account .jabar-account-shell .jabar-page-card,
body .jabar-account-shell .jabar-page-card{
  width:min(100% - 32px, 980px)!important;
  max-width:980px!important;
  margin:0 auto clamp(4rem,7vw,6rem)!important;
  padding:clamp(24px,3vw,34px)!important;
  border-radius:28px!important;
  background:rgba(255,253,249,.82)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
body.woocommerce-account .jabar-account-shell .entry-content,
body.woocommerce-account .jabar-account-shell .woocommerce,
body.woocommerce-account .jabar-account-shell .ct-woo-unauthorized,
body .jabar-account-shell .entry-content,
body .jabar-account-shell .woocommerce,
body .jabar-account-shell .ct-woo-unauthorized{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
}
body.woocommerce-account .jabar-account-shell #customer_login,
body.woocommerce-account .jabar-account-shell #customer_login.col2-set,
body.woocommerce-account .jabar-account-shell #customer_login.u-columns,
body .jabar-account-shell #customer_login,
body .jabar-account-shell #customer_login.col2-set,
body .jabar-account-shell #customer_login.u-columns{
  display:grid!important;
  grid-template-columns:repeat(2, minmax(300px, 1fr))!important;
  gap:clamp(22px,3vw,34px)!important;
  width:min(100%, 820px)!important;
  max-width:820px!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
  direction:rtl!important;
  align-items:stretch!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .jabar-account-shell #customer_login::before,
body.woocommerce-account .jabar-account-shell #customer_login::after,
body .jabar-account-shell #customer_login::before,
body .jabar-account-shell #customer_login::after{
  content:none!important;
  display:none!important;
}
body.woocommerce-account .jabar-account-shell #customer_login .u-column1,
body.woocommerce-account .jabar-account-shell #customer_login .u-column2,
body.woocommerce-account .jabar-account-shell #customer_login .col-1,
body.woocommerce-account .jabar-account-shell #customer_login .col-2,
body .jabar-account-shell #customer_login .u-column1,
body .jabar-account-shell #customer_login .u-column2,
body .jabar-account-shell #customer_login .col-1,
body .jabar-account-shell #customer_login .col-2{
  display:flex!important;
  flex-direction:column!important;
  float:none!important;
  clear:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:24px 24px 26px!important;
  border:1px solid rgba(181,138,58,.26)!important;
  border-radius:24px!important;
  background:#fffdf9!important;
  box-shadow:0 18px 40px rgba(58,42,32,.045)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body.woocommerce-account .jabar-account-shell #customer_login h2,
body .jabar-account-shell #customer_login h2{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 20px!important;
  padding:0 0 13px!important;
  color:var(--jabar-heading,#281A14)!important;
  font-family:var(--jabar-font-display,serif)!important;
  font-size:clamp(30px,3.2vw,42px)!important;
  font-weight:800!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body.woocommerce-account .jabar-account-shell #customer_login h2::after,
body .jabar-account-shell #customer_login h2::after{
  content:""!important;
  display:block!important;
  width:54px!important;
  height:2px!important;
  margin:14px auto 0!important;
  background:var(--jabar-gold,#B58A3A)!important;
}
body.woocommerce-account .jabar-account-shell #customer_login form.login,
body.woocommerce-account .jabar-account-shell #customer_login form.register,
body .jabar-account-shell #customer_login form.login,
body .jabar-account-shell #customer_login form.register{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .jabar-account-shell #customer_login .form-row,
body.woocommerce-account .jabar-account-shell #customer_login .woocommerce-form-row,
body .jabar-account-shell #customer_login .form-row,
body .jabar-account-shell #customer_login .woocommerce-form-row{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0 0 16px!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .jabar-account-shell #customer_login label,
body .jabar-account-shell #customer_login label{
  display:block!important;
  width:100%!important;
  margin:0 0 8px!important;
  color:var(--jabar-heading,#281A14)!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.5!important;
  text-align:right!important;
  white-space:normal!important;
}
body.woocommerce-account .jabar-account-shell #customer_login input[type="text"],
body.woocommerce-account .jabar-account-shell #customer_login input[type="email"],
body.woocommerce-account .jabar-account-shell #customer_login input[type="password"],
body .jabar-account-shell #customer_login input[type="text"],
body .jabar-account-shell #customer_login input[type="email"],
body .jabar-account-shell #customer_login input[type="password"]{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  line-height:48px!important;
  padding:0 16px!important;
  border:1px solid rgba(181,138,58,.28)!important;
  border-radius:16px!important;
  background:#fffaf5!important;
  color:var(--jabar-text,#3A2A20)!important;
  font-size:14px!important;
  text-align:right!important;
  box-shadow:none!important;
  outline:none!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .jabar-account-shell #customer_login .password-input,
body .jabar-account-shell #customer_login .password-input{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
}
body.woocommerce-account .jabar-account-shell #customer_login input:focus,
body.woocommerce-account .jabar-account-shell #customer_login input:focus-visible,
body .jabar-account-shell #customer_login input:focus,
body .jabar-account-shell #customer_login input:focus-visible{
  border-color:rgba(128,93,55,.75)!important;
  box-shadow:0 0 0 4px rgba(181,138,58,.12)!important;
}
body.woocommerce-account .jabar-account-shell #customer_login form.login > p.form-row:not(.woocommerce-form-row),
body .jabar-account-shell #customer_login form.login > p.form-row:not(.woocommerce-form-row){
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:12px!important;
  align-items:center!important;
  width:100%!important;
  margin:2px 0 14px!important;
}
body.woocommerce-account .jabar-account-shell #customer_login .woocommerce-form-login__rememberme,
body .jabar-account-shell #customer_login .woocommerce-form-login__rememberme{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  width:auto!important;
  margin:0!important;
  text-align:right!important;
  white-space:nowrap!important;
}
body.woocommerce-account .jabar-account-shell #customer_login input[type="checkbox"],
body .jabar-account-shell #customer_login input[type="checkbox"]{
  width:16px!important;
  height:16px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}
body.woocommerce-account .jabar-account-shell #customer_login button[type="submit"],
body .jabar-account-shell #customer_login button[type="submit"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:150px!important;
  width:auto!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 22px!important;
  border-radius:999px!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .jabar-account-shell #customer_login form.register button[type="submit"],
body .jabar-account-shell #customer_login form.register button[type="submit"]{
  align-self:center!important;
  margin-top:auto!important;
}
body.woocommerce-account .jabar-account-shell #customer_login .lost_password,
body .jabar-account-shell #customer_login .lost_password{
  display:block!important;
  width:100%!important;
  margin:2px 0 0!important;
  text-align:center!important;
}
body.woocommerce-account .jabar-account-shell #customer_login .woocommerce-privacy-policy-text,
body.woocommerce-account .jabar-account-shell #customer_login form.register > p:not(.form-row):not(.woocommerce-form-row),
body .jabar-account-shell #customer_login .woocommerce-privacy-policy-text,
body .jabar-account-shell #customer_login form.register > p:not(.form-row):not(.woocommerce-form-row){
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 16px!important;
  color:var(--jabar-muted,#74665C)!important;
  font-size:14px!important;
  line-height:1.9!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .jabar-account-shell #customer_login wc-order-attribution-inputs,
body .jabar-account-shell #customer_login wc-order-attribution-inputs{
  display:none!important;
}
@media(max-width:820px){
  body.woocommerce-account .jabar-account-shell .jabar-page-card,
  body .jabar-account-shell .jabar-page-card{width:min(100% - 22px,560px)!important;padding:18px!important;}
  body.woocommerce-account .jabar-account-shell #customer_login,
  body.woocommerce-account .jabar-account-shell #customer_login.col2-set,
  body.woocommerce-account .jabar-account-shell #customer_login.u-columns,
  body .jabar-account-shell #customer_login,
  body .jabar-account-shell #customer_login.col2-set,
  body .jabar-account-shell #customer_login.u-columns{grid-template-columns:1fr!important;width:100%!important;max-width:460px!important;gap:18px!important;}
}
@media(max-width:480px){
  body.woocommerce-account .jabar-account-shell .jabar-page-card,
  body .jabar-account-shell .jabar-page-card{width:min(100% - 16px,430px)!important;padding:14px!important;border-radius:22px!important;}
  body.woocommerce-account .jabar-account-shell #customer_login .u-column1,
  body.woocommerce-account .jabar-account-shell #customer_login .u-column2,
  body.woocommerce-account .jabar-account-shell #customer_login .col-1,
  body.woocommerce-account .jabar-account-shell #customer_login .col-2,
  body .jabar-account-shell #customer_login .u-column1,
  body .jabar-account-shell #customer_login .u-column2,
  body .jabar-account-shell #customer_login .col-1,
  body .jabar-account-shell #customer_login .col-2{padding:18px!important;border-radius:20px!important;}
  body.woocommerce-account .jabar-account-shell #customer_login h2,
  body .jabar-account-shell #customer_login h2{font-size:30px!important;}
  body.woocommerce-account .jabar-account-shell #customer_login form.login > p.form-row:not(.woocommerce-form-row),
  body .jabar-account-shell #customer_login form.login > p.form-row:not(.woocommerce-form-row){grid-template-columns:1fr!important;}
  body.woocommerce-account .jabar-account-shell #customer_login button[type="submit"],
  body .jabar-account-shell #customer_login button[type="submit"]{width:100%!important;}
}
