/* ==========================================
   نظام الأسعار المتعددة - CSS Styles
   ========================================== */
:root {
	--magista-primary: #c7a86b;
	--magista-primary-dark: #a8864b;
	--magista-secondary: #0f3f59;
	--magista-secondary-dark: #0a2d41;
	--magista-ink: #111418;
	--magista-paper: #f8f5ef;
	--magista-white: #ffffff;
}

.custom-prices-container .price-wrapper {
	font-weight: 600;
}

/* button.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-after .s-button-text {
	color: var(--custom-color1) !important;
} */
.custom-prices-container {
	margin-top: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: stretch;
	width: 100%;
	max-width: 640px;
	margin-inline: auto;
	padding-inline: 0.5rem;
	box-sizing: border-box;
}

.custom-prices-container > * {
	width: 100%;
	max-width: 560px;
	margin-inline: auto;
	box-sizing: border-box;
}

.custom-prices-container .elegant-price-card {
	position: relative;
	padding: 1.125rem 1.25rem;
	border-radius: 0.75rem;
	overflow: hidden;
	transition:
		border-color 0.35s ease,
		box-shadow 0.35s ease,
		filter 0.35s ease;
	box-shadow: 0 4px 14px rgba(15, 63, 89, 0.08);
}

.custom-prices-container .elegant-price-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--magista-primary-dark), var(--magista-primary));
}

.custom-prices-container .elegant-price-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
	transform: translateX(-140%);
	pointer-events: none;
}

.custom-prices-container .elegant-price-card:hover {
	border-color: var(--magista-primary);
	box-shadow:
		0 10px 24px rgba(10, 45, 65, 0.14),
		0 0 0 1px rgba(199, 168, 107, 0.22);
	filter: saturate(1.06);
}

.custom-prices-container .elegant-price-card:hover::after {
	animation: magista-card-shine 0.85s ease;
}

@keyframes magista-card-shine {
	0% {
		transform: translateX(-140%);
	}
	100% {
		transform: translateX(140%);
	}
}

.custom-prices-container .elegant-price-card.visa-card {
	background: linear-gradient(145deg, var(--magista-white) 0%, var(--magista-paper) 100%);
	border: 1px solid rgba(199, 168, 107, 0.35);
}

.custom-prices-container .elegant-price-card.mada-card {
	background: linear-gradient(145deg, var(--magista-white) 0%, #f3f8fb 100%);
	border: 1px solid rgba(15, 63, 89, 0.16);
}

.custom-prices-container .elegant-price-card.bank-card {
	background: linear-gradient(135deg, var(--magista-secondary-dark) 0%, var(--magista-secondary) 100%);
	border: 1px solid rgba(199, 168, 107, 0.45);
}

.custom-prices-container .card-content {
	display: flex;
98
	align-items: center;
	justify-content: space-between;
}

.custom-prices-container .payment-label {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--magista-secondary-dark);
}

.custom-prices-container .payment-icon-elegant {
	width: 90px;
	height: auto;
	object-fit: contain;
}

.custom-prices-container .price-value {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	color: var(--magista-primary-dark);
}

.custom-prices-container .elegant-price-card.bank-card .payment-label,
.custom-prices-container .elegant-price-card.bank-card .price-value {
	color: #f2e6cc;
}

.custom-prices-container .gram-info {
	background: linear-gradient(135deg, var(--magista-secondary-dark) 0%, var(--magista-secondary) 100%);
	padding: 0.75rem 1.25rem;
	border-radius: 0.625rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid rgba(199, 168, 107, 0.55);
	box-shadow: 0 4px 12px rgba(10, 45, 65, 0.18);
}

.custom-prices-container > .gram-info:first-child {
	width: min(100%, 620px);
	padding: 0.95rem 1.25rem;
	border-radius: 0.9rem;
	background: linear-gradient(95deg, var(--magista-secondary-dark) 0%, #114e6d 55%, var(--magista-secondary) 100%);
	justify-content: center;
	gap: 0.75rem;
}

.custom-prices-container > .gram-info:first-child .gram-label {
	justify-content: center;
}

.custom-prices-container > .gram-info:first-child .gram-value {
	min-width: 120px;
	text-align: center;
	font-size: 1.05rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(247, 236, 212, 0.35);
}

.custom-prices-container .gram-label {
	font-size: 0.8125rem;
	color: #f7ecd4;
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: 600;
}

.custom-prices-container .gram-value {
	font-size: 1rem;
	font-weight: 600;
	color: #fff7e7;
}
.custom-prices-container .mada-img {
	object-position: right;
}
/* except gram info from some of the products */
/* [p-id="1750061794"] .custom-prices-container .gram-info {
	display: none;
} */
/* except gram info from some of the products */

@media (max-width: 768px) {
	.custom-prices-container {
		max-width: 100%;
		margin-top: 1rem;
		padding-inline: 0.35rem;
	}

	.custom-prices-container > * {
		max-width: 100%;
	}

	.custom-prices-container .elegant-price-card {
		padding: 0.9rem 0.95rem;
		border-radius: 0.65rem;
	}

	.custom-prices-container .payment-icon-elegant {
		width: 74px;
	}

	.custom-prices-container .payment-label {
		font-size: 0.8rem;
		gap: 0.45rem;
	}

	.custom-prices-container .price-value {
		font-size: 1.05rem;
	}

	.custom-prices-container > .gram-info:first-child {
		width: 100%;
		padding: 0.85rem 0.95rem;
		gap: 0.5rem;
	}

	.custom-prices-container > .gram-info:first-child .gram-value {
		min-width: 100px;
		font-size: 0.95rem;
	}
}

/* ==========================================
   card layout (compatible with new JS classes)
   ========================================== */
.custom-prices-container.layout-cards,
.custom-prices-container.custom-prices-test2-layout {
	margin-top: 1.25rem;
	width: 100%;
	max-width: 680px;
	margin-inline: auto;
	padding-inline: 0.35rem;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	align-items: stretch;
}

.custom-prices-container.layout-cards > *,
.custom-prices-container.custom-prices-test2-layout > * {
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
}

.custom-prices-container.layout-cards .gram-info,
.custom-prices-container.layout-cards .elegant-price-card,
.custom-prices-container.custom-prices-test2-layout .gram-info,
.custom-prices-container.custom-prices-test2-layout .elegant-price-card {
	border-radius: 1rem;
	border: 1px solid rgba(15, 63, 89, 0.14);
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(10, 45, 65, 0.08);
}

.custom-prices-container.layout-cards .gram-info,
.custom-prices-container.custom-prices-test2-layout .gram-info {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.9rem 1rem;
	background: linear-gradient(140deg, #ffffff 0%, #f8fafc 100%);
}

.custom-prices-container.layout-cards .gram-label,
.custom-prices-container.custom-prices-test2-layout .gram-label {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #0f3f59;
}

.custom-prices-container.layout-cards .gram-value,
.custom-prices-container.custom-prices-test2-layout .gram-value {
	font-size: 1rem;
	font-weight: 700;
	color: #0a2d41;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: #edf3f8;
	border: 1px solid rgba(15, 63, 89, 0.2);
}

.custom-prices-container.layout-cards .elegant-price-card,
.custom-prices-container.custom-prices-test2-layout .elegant-price-card {
	position: relative;
	padding: 0.9rem 0.85rem;
	min-height: 120px;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.custom-prices-container.layout-cards .elegant-price-card:hover,
.custom-prices-container.custom-prices-test2-layout .elegant-price-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(10, 45, 65, 0.14);
}

.custom-prices-container.layout-cards .elegant-price-card::before,
.custom-prices-container.custom-prices-test2-layout .elegant-price-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 1rem 1rem 0 0;
	background: linear-gradient(90deg, var(--magista-primary-dark), var(--magista-primary));
}

.custom-prices-container.layout-cards .bank-card,
.custom-prices-container.custom-prices-test2-layout .bank-card {
	background: linear-gradient(135deg, #0a2d41 0%, #0f3f59 100%);
	border-color: rgba(199, 168, 107, 0.45);
}

.custom-prices-container.layout-cards .bank-card::before,
.custom-prices-container.custom-prices-test2-layout .bank-card::before {
	background: linear-gradient(90deg, #f6ddab, #c7a86b);
}

.custom-prices-container.layout-cards .mada-card::before,
.custom-prices-container.custom-prices-test2-layout .mada-card::before {
	background: linear-gradient(90deg, #1f8c4a, #39b56a);
}

.custom-prices-container.layout-cards .visa-card::before,
.custom-prices-container.custom-prices-test2-layout .visa-card::before {
	background: linear-gradient(90deg, #a8864b, #d7b777);
}

.custom-prices-container.layout-cards .card-content,
.custom-prices-container.custom-prices-test2-layout .card-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.85rem;
	height: 100%;
}

.custom-prices-container.layout-cards .payment-label,
.custom-prices-container.custom-prices-test2-layout .payment-label {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	font-size: 0.83rem;
	font-weight: 700;
	color: #0f3f59;
}

.custom-prices-container.layout-cards .payment-icon-elegant,
.custom-prices-container.custom-prices-test2-layout .payment-icon-elegant {
	width: 72px;
	height: auto;
	object-fit: contain;
}

.custom-prices-container.layout-cards .price-value,
.custom-prices-container.custom-prices-test2-layout .price-value {
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #a8864b;
	white-space: nowrap;
	margin-top: auto;
}

.custom-prices-container.layout-cards .bank-card .payment-label,
.custom-prices-container.layout-cards .bank-card .price-value,
.custom-prices-container.custom-prices-test2-layout .bank-card .payment-label,
.custom-prices-container.custom-prices-test2-layout .bank-card .price-value {
	color: #f7ebcf;
}

.custom-prices-container.layout-cards .bank-card .price-value,
.custom-prices-container.custom-prices-test2-layout .bank-card .price-value {
	font-size: 1.34rem;
}

.custom-prices-container.layout-cards .mada-img,
.custom-prices-container.custom-prices-test2-layout .mada-img {
	object-position: right;
}

@media (max-width: 768px) {
	.custom-prices-container.layout-cards,
	.custom-prices-container.custom-prices-test2-layout {
		max-width: 100%;
		margin-top: 1rem;
		padding-inline: 0.2rem;
		padding-bottom: 0.35rem;
		gap: 0.6rem;
		grid-template-columns: repeat(2, minmax(30px, 1fr));
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.custom-prices-container.layout-cards::-webkit-scrollbar,
	.custom-prices-container.custom-prices-test2-layout::-webkit-scrollbar {
		height: 4px;
	}

	.custom-prices-container.layout-cards::-webkit-scrollbar-thumb,
	.custom-prices-container.custom-prices-test2-layout::-webkit-scrollbar-thumb {
		background: rgba(15, 63, 89, 0.32);
		border-radius: 999px;
	}

	.custom-prices-container.layout-cards .gram-info,
	.custom-prices-container.layout-cards .elegant-price-card,
	.custom-prices-container.custom-prices-test2-layout .gram-info,
	.custom-prices-container.custom-prices-test2-layout .elegant-price-card {
		border-radius: 0.85rem;
	}

	.custom-prices-container.layout-cards .elegant-price-card,
	.custom-prices-container.custom-prices-test2-layout .elegant-price-card {
		padding: 0.9rem 0.9rem;
		min-height: 120px;
	}

	.custom-prices-container.layout-cards .payment-icon-elegant,
	.custom-prices-container.custom-prices-test2-layout .payment-icon-elegant {
		width: 74px;
	}

	.custom-prices-container.layout-cards .payment-label,
	.custom-prices-container.custom-prices-test2-layout .payment-label {
		font-size: 0.8rem;
		gap: 0.45rem;
	}

	.custom-prices-container.layout-cards .price-value,
	.custom-prices-container.custom-prices-test2-layout .price-value {
		font-size: 1.03rem;
	}

	.custom-prices-container.layout-cards .bank-card .price-value,
	.custom-prices-container.custom-prices-test2-layout .bank-card .price-value {
		font-size: 1.12rem;
	}

	.custom-prices-container.layout-cards .gram-label,
	.custom-prices-container.custom-prices-test2-layout .gram-label {
		font-size: 0.78rem;
	}

	.custom-prices-container.layout-cards .gram-value,
	.custom-prices-container.custom-prices-test2-layout .gram-value {
		font-size: 0.92rem;
	}
}


.custom-prices-container.layout-cards .gram-info{
  display: none;
}

.custom-prices-container.layout-cards .bank-card{
  background: #ffffff;
}

.custom-prices-container.layout-cards .bank-card .price-value{
color:#ab8b52 ;
}
.custom-prices-container.layout-cards .mada-card::before{
    background: linear-gradient(90deg, #0070ba, #00a551);
}
.custom-prices-container.layout-cards .visa-card::before{
      background: linear-gradient(90deg, #1a1f71, #eb001b, #f79e1b);

}
.custom-prices-container.layout-cards .bank-card::before{
  background:  #111827;
}
.custom-prices-container.layout-cards .bank-card .payment-label{
  color: #0f3f59;
}

/* ==========================================
   قسم من نحن - About Section
   ========================================== */
.about-section {
    background: #11374c !important; /* لون الخلفية */
}

.about-section h1,
.about-section h2,
.about-section h3 {
    color: #C6A87C !important; /* لون النص الرئيسي */
}

.about-section p,
.about-section span {
    color: #F3EDDF !important; /* لون النص الفرعي */
}