/* Add custom CSS styles below */ 
:root {
	--loujan-featured-header-max-width: 1400px;
	--loujan-featured-header-gutter: 48px;
	--loujan-featured-title-size: 24px;
	--loujan-featured-title-line-height: 24px;
	--loujan-more-link-size: 14px;
	--loujan-category-image-ratio: 400 / 423;
	--loujan-category-text-color: #000000;
	--loujan-category-title-size: 20px;
	--loujan-category-subtitle-size: 16px;
	--loujan-category-text-align: right;
	--loujan-home-slider-gutter: 16px;
	--loujan-home-slider-gap: 8px;
	--loujan-home-slider-desktop-view: 4;
	--loujan-home-slider-tablet-view: 3;
	--loujan-home-slider-mobile-view: 2;
	--loujan-features-background: rgba(213, 204, 214, 0.1);
	--loujan-features-title-color: #000000;
	--loujan-features-text-color: #18181b;
	--loujan-features-title-size: 20px;
	--loujan-features-heading-size: 20px;
	--loujan-features-subtitle-size: 16px;
}
.loujan-plp-head-count { display: none !important; }
body.product-single .product-form > .loujan-pdp-made{
  display: none;
}
body.index section.s-block--best-offers.container {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	padding-right: var(--loujan-home-slider-gutter);
	padding-left: var(--loujan-home-slider-gutter);
}

body.index section.s-block--best-offers.container > salla-products-slider {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
}

body.index section.s-block--best-offers.container salla-products-slider .swiper {
	width: 100% !important;
	margin: 0 !important;
	overflow: visible !important;
}

body.index section.s-block--bundle-features-grid {
	margin: 0 !important;
}

@media (min-width: 1024px) {
	body:is(.index, .product-single, .product-index, .cart) .s-advertisement {
		min-height: 64px;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content {
		box-sizing: border-box;
		min-height: 64px;
		padding: 6px 56px !important;
		justify-content: center !important;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content > a {
		font-size: 20px;
		font-weight: 700;
		line-height: 20px;
		letter-spacing: 0;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .inner.group {
		background-color: #ffffff !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header {
		box-sizing: border-box;
		gap: 0;
		padding-right: 56px !important;
		padding-left: 56px !important;
		background-color: #ffffff !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :first-child {
		flex: 0 0 265px !important;
		justify-content: space-between !important;
		width: 265px !important;
		gap: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :first-child > * {
		box-sizing: border-box;
		flex: 0 0 44px;
		width: 44px !important;
		min-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		padding: 12px !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(2) {
		box-sizing: border-box;
		flex: 0 0 142px !important;
		justify-content: center !important;
		width: 142px !important;
		height: 60px !important;
		gap: 0 !important;
		padding: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(2) .navbar-brand {
		position: relative;
		flex: 0 0 142px;
		width: 142px !important;
		height: 42px !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header .navbar-brand > .relative {
		width: 142px !important;
		height: 42px !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header .navbar-brand .logo-primary {
		display: block !important;
		width: 142px !important;
		height: 42px !important;
		max-height: 42px !important;
		object-fit: cover;
		object-position: center;
		visibility: visible !important;
		opacity: 1 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header .navbar-brand .logo-secondary {
		display: none !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) {
		flex: 0 0 650px !important;
		justify-content: flex-start !important;
		width: 650px !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) > .relative,
	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) ul {
		width: 100% !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) ul {
		justify-content: space-between !important;
		gap: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) li > a {
		font-size: 16px;
		line-height: 20px;
	}
}

@media (min-width: 1024px) {
	body:is(.index, .product-single, .product-index, .cart) .s-advertisement {
		min-height: 64px;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content {
		box-sizing: border-box;
		min-height: 64px;
		padding: 6px 56px !important;
		justify-content: center !important;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content-main {
		display: flex;
		flex: 0 0 auto !important;
		align-items: center;
		justify-content: center;
		gap: 7px;
		width: max-content !important;
		max-width: calc(100% - 112px);
		margin: 0 auto;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content-main a {
		font-size: 20px !important;
		font-weight: 700;
		line-height: 20px;
		letter-spacing: 0;
		white-space: nowrap;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content-icon {
		flex: 0 0 32px;
		width: 32px;
		height: 32px;
		font-size: 32px;
		line-height: 32px;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-action {
		display: none !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .inner.group {
		background-color: #ffffff !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header {
		box-sizing: border-box;
		gap: 0;
		padding-right: 56px !important;
		padding-left: 56px !important;
		background-color: #ffffff !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :first-child {
		direction: ltr;
		flex: 0 0 265px !important;
		justify-content: flex-start !important;
		width: 265px !important;
		gap: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :first-child > * {
		box-sizing: border-box;
		flex: 0 0 44px;
		width: 44px !important;
		min-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		padding: 12px !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(2) {
		box-sizing: border-box;
		flex: 0 0 142px !important;
		justify-content: center !important;
		width: 142px !important;
		height: 60px !important;
		gap: 0 !important;
		padding: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(2) .navbar-brand {
		position: relative;
		display: block;
		flex: 0 0 142px;
		width: 142px !important;
		height: 42px !important;
		min-height: 42px !important;
		max-height: 42px !important;
		line-height: 0;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header .navbar-brand > .relative {
		width: 142px !important;
		height: 42px !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header .navbar-brand .logo-primary {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover;
		object-position: center;
		opacity: 1 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header .navbar-brand .logo-secondary {
		display: none !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) {
		direction: rtl;
		flex: 0 0 650px !important;
		justify-content: flex-start !important;
		width: 650px !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) > .relative,
	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) ul {
		width: 100% !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) ul {
		justify-content: space-between !important;
		gap: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) li > a {
		padding: 20px 12px;
		font-size: 16px;
		line-height: 20px;
		white-space: nowrap;
	}

	body.index section.Ar-products-banner-7 > .grid {
		direction: ltr !important;
	}

	body.index section.Ar-products-banner-7 > .grid > div {
		direction: rtl;
	}

	body.index section.AR-promo-banner-10 .text {
		align-items: center;
		text-align: center !important;
	}

	body.index section.AR-promo-banner-10 .text > h2 {
		width: 100%;
		max-width: 448px;
		margin-right: auto;
		margin-left: auto;
		text-align: center !important;
	}

	body.index section.AR-promo-banner-10 .text > p {
		width: 100%;
		max-width: 708px;
		margin-right: auto;
		margin-left: auto;
		text-align: center !important;
	}

	body.index section.AR-promo-banner-10 .text > a {
		align-self: center;
		text-align: center !important;
	}
}

body.index section.Ar-products-banner-6 .loujan-hero-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.loujan-footer-logo-wrap {
	width: min(210px, 100%) !important;
	height: auto !important;
	aspect-ratio: 903 / 343;
	margin: 0 auto 16px !important;
}

.loujan-footer-logo {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer {
		padding-bottom: 20px;
		background-color: #000000;
		color: #fafafa;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .store-footer__inner {
		padding: 32px 0 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .store-footer__inner > .container {
		box-sizing: border-box;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 481px !important;
		align-items: start !important;
		gap: 0 !important;
		width: calc(100% - 112px) !important;
		max-width: none !important;
		min-height: 270px;
		margin: 0 auto !important;
		padding: 0 !important;
		direction: ltr;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-contact,
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-links,
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand {
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
		padding: 20px !important;
		direction: rtl;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-contact {
		grid-column: 1;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 16px;
		text-align: center;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-links {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 16px;
		text-align: center;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand {
		grid-column: 3;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0;
		text-align: center !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand > a {
		justify-content: center !important;
		width: 100%;
		margin: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .store-description {
		width: 100%;
		max-width: 441px;
		margin: 0 auto 24px !important;
		text-align: center !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .store-description p {
		color: #d4d4d4 !important;
		font-size: 16px;
		line-height: 23px;
		text-align: center !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-contact h2,
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-contact h3,
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-links h2,
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-links h3 {
		margin: 0;
		color: #fafafa;
		font-size: 16px;
		font-weight: 700;
		line-height: 24px;
		text-align: center;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-links a,
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-contact a {
		color: #d4d4d4;
		font-size: 16px;
		line-height: 24px;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand salla-social {
		width: 100%;
		margin: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand .s-social-list {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand .s-social-link a {
		display: grid;
		place-items: center;
		width: 32px;
		height: 32px;
		border: 1px solid #fff;
		border-radius: 6px;
		background: #fff;
		transition: background-color .2s;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand .s-social-link a,
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand .s-social-link a i {
		color: #000 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand .s-social-link a:hover {
		background: #e5e5e5;
		border-color: #e5e5e5;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .CA-newsletter {
		display: none !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .bg-primary {
		margin-top: 16px;
		background: #000000 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .bg-primary > .loujan-footer-bottom {
		position: relative;
		box-sizing: border-box;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		grid-template-rows: 40px 16px;
		align-content: space-between;
		align-items: start;
		width: calc(100% - 112px) !important;
		max-width: none !important;
		min-height: 108px;
		margin: 0 auto !important;
		padding: 16px 0 !important;
		background: transparent !important;
		direction: ltr;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .s-payments-list-wrap {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		order: initial !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .s-payments-list {
		display: flex;
		align-items: center;
		gap: 12px;
		margin: 0;
		padding: 0;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .s-payments-list-item {
		width: 38px !important;
		height: 24px !important;
		margin: 0 !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .s-payments-list-item:first-child {
		width: 48px !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .s-payments-list-item img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-tax {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		align-self: center;
		order: initial !important;
		color: #d4d4d4;
		text-align: right;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-tax p,
	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-tax b {
		color: #d4d4d4 !important;
		font-size: 10px;
		line-height: 12px;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer salla-apps-icons {
		display: none !important;
	}

	body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-copyright {
		grid-column: 2;
		grid-row: 2;
		justify-self: center;
		align-self: end;
		margin: 0;
		color: #d4d4d4;
		font-size: 12px;
		line-height: 16px;
		text-align: center;
		white-space: nowrap;
	}
}

@media (min-width: 1024px) {
	body.index section.AR-promo-banner-10 .overflow-hidden {
		height: 500px !important;
	}
}

@media (min-width: 768px) {
	body.index section.AR-hero-section-4 .banner {
		height: clamp(420px, 43.386vw, 656px) !important;
		min-height: 0 !important;
		padding: 0 !important;
		background-size: 100% auto !important;
		background-position: center 26.6% !important;
	}

	body.index section.AR-hero-section-4 .text-wrapper {
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
		height: 100% !important;
		padding: 0 48px !important;
		align-items: flex-end !important;
		justify-content: center !important;
	}

	body.index section.AR-hero-section-4 .position {
		width: min(751px, 100%);
		align-items: flex-end !important;
		gap: 27px;
		margin-right: 0 !important;
		margin-left: auto !important;
		text-align: right !important;
	}

	body.index section.AR-hero-section-4 .blocktitle {
		width: 100%;
		font-size: 40px !important;
		font-weight: 700;
		line-height: 40px !important;
		text-align: right !important;
	}

	body.index section.AR-hero-section-4 .subtext {
		width: 604px;
		max-width: 100%;
		font-size: 24px !important;
		line-height: 40px !important;
		margin-right: 0 !important;
		margin-left: auto !important;
		text-align: right !important;
	}
}

@media (max-width: 767px) {
	body.index section.AR-hero-section-4 .banner {
		box-sizing: border-box;
		width: calc(100% - 34px) !important;
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 406 / 608;
		margin-right: auto !important;
		margin-left: auto !important;
		padding: 0 !important;
		background-size: cover !important;
		background-position: center !important;
	}

	body.index section.AR-hero-section-4 .text-wrapper {
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
		height: 100% !important;
		padding: 0 12px 63px !important;
		align-items: flex-end !important;
		justify-content: flex-end !important;
	}

	body.index section.AR-hero-section-4 .position {
		width: 100%;
		align-items: flex-end !important;
		gap: 8px;
		margin-right: 0 !important;
		margin-left: auto !important;
		text-align: right !important;
	}

	body.index section.AR-hero-section-4 .blocktitle {
		width: 100%;
		font-size: 20px !important;
		font-weight: 700;
		line-height: 20px !important;
		text-align: right !important;
	}

	body.index section.AR-hero-section-4 .subtext {
		width: 291px;
		max-width: 100%;
		font-size: 14px !important;
		line-height: 24px !important;
		margin-right: 0 !important;
		margin-left: auto !important;
		text-align: right !important;
	}
}

/* ==========================================================================
   PDP — صفحة المنتج (body.product-single)
   Figma desktop 173:6054 · mobile 99:2380
   ========================================================================== */

:root {
	--loujan-pdp-gutter: 56px;
	--loujan-pdp-info-width: 425px;
	--loujan-pdp-gap: 32px;
	--loujan-pdp-primary: #491217;
}

/* عناصر مش موجودة في التصميم الجديد */
body.product-single .top-lace,
body.product-single .main-content nav.breadcrumbs,
body.product-single .main-content .product-entry__sub-title,
body.product-single .main-content > .mb-5.rounded-md.inline-flex,
body.product-single .main-content > .mb-4.flex.justify-between.sm\:grid,
body.product-single .product-form > salla-gifting,
body.product-single .product-form .sticky-product-bar > section,
body.product-single .main-content > .feature,
body.product-single .main-content > .lg\:hidden.flex-col,
body.product-single .main-content > .hidden.lg\:flex {
	display: none !important;
}

/* ---------- التخطيط العام ---------- */
body.product-single #main-content {
	background: #ffffff;
}

body.product-single .single > .bg-background > [id^="product-"] {
	box-sizing: border-box;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	overflow: visible;
	padding: 0 16px 24px;
}

@media (min-width: 1024px) {
	body.product-single .single {
		padding-top: 0 !important;
	}

	body.product-single .single > .bg-background > [id^="product-"] {
		flex-direction: row;
		align-items: flex-start;
		gap: var(--loujan-pdp-gap);
		padding: 42px var(--loujan-pdp-gutter) 30px;
	}

	body.product-single .single .sidebar {
		order: 1;
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
		padding-bottom: 0 !important;
	}

	body.product-single .single .main-content {
		order: 2;
		position: sticky;
		top: 32px;
		flex: 0 0 var(--loujan-pdp-info-width);
		width: var(--loujan-pdp-info-width) !important;
		padding: 0 !important;
	}
}

/* ---------- المعرض ---------- */
body.product-single .sidebar .img_items {
	border-radius: 0 !important;
	overflow: hidden;
}

body.product-single .sidebar .img_items img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	body.product-single .sidebar > .grid {
		gap: 8px;
	}

	body.product-single .sidebar > .grid .img_items {
		aspect-ratio: 465 / 640;
		height: auto;
	}
}

@media (max-width: 1023px) {
	body.product-single .sidebar .thumbs-slider .img_items {
		aspect-ratio: 346 / 514;
		height: auto;
	}

	body.product-single .sidebar .thumbs-slider .swiper {
		overflow: hidden;
	}
}

/* ---------- عمود المعلومات ---------- */
body.product-single .main-content {
	display: block;
}

body.product-single .main-content > .flex.align-center.justify-between {
	flex-direction: row;
	margin-bottom: 8px;
}

body.product-single .main-content h1 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 24px;
	color: #18181b;
}

body.product-single .loujan-pdp-rating {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.4px;
	color: #000000;
}

body.product-single .loujan-pdp-stars {
	display: inline-flex;
	gap: 2px;
}

body.product-single .loujan-pdp-stars svg {
	width: 16px;
	height: 16px;
}

body.product-single .loujan-pdp-rating b {
	font-weight: 700;
}

body.product-single .main-content > .flex.items-center.justify-between.pb-2 {
	margin-bottom: 16px;
	padding-bottom: 0;
	border-bottom: 0;
}

body.product-single .main-content > .flex.items-center.justify-between.pb-2 h2 {
	font-size: 24px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.48px;
	color: #1e1e1e;
}

body.product-single .main-content salla-installment > div {
	margin-bottom: 16px;
}

/* النموذج: ترتيب العناصر حسب Figma */
body.product-single .product-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.product-single .product-form > * {
	order: 20;
}

body.product-single .product-form > salla-product-options { order: 1; }
body.product-single .product-form > .sticky-product-bar { order: 2; display: contents; }
body.product-single .product-form > .loujan-pdp-made { order: 3; }
body.product-single .product-form > section.bg-white { order: 4; }
body.product-single .product-form > .loujan-pdp-perks { order: 5; }
body.product-single .product-form > .loujan-pdp-buy-now { order: 7; }

/* مقاسات / خيارات */
body.product-single .s-product-options-option-label {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 20px;
	color: #18181b;
}

body.product-single .s-product-options-option-label b {
	font-weight: 400;
}

body.product-single .s-product-options-option-label > small {
	display: none;
}

body.product-single .loujan-pdp-size-guide > span:first-child {
	display: inline;
}

body.product-single .loujan-pdp-size-guide {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px !important;
	letter-spacing: 0.4px;
	text-decoration: underline;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
}

body.product-single .loujan-pdp-size-guide:hover {
	color: #000000;
	opacity: 0.65;
	text-decoration-thickness: 2px;
}

body.product-single .loujan-pdp-size-guide:focus-visible {
	outline: 2px solid #18181b;
	outline-offset: 2px;
}

body.product-single .loujan-pdp-size-guide-icon {
	position: relative;
	display: block;
	width: 16px;
	height: 9px;
	overflow: hidden;
}

body.product-single .loujan-pdp-size-guide-icon img {
	position: absolute;
	top: -39.93%;
	left: 0;
	width: 100%;
	height: 180.92%;
	max-width: none;
}

body.product-single .custom-radio-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 12px;
}

body.product-single .main-content .product-form .custom-radio-options label.radio-label {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 40px !important;
	margin: 0;
	padding: 8px 12px !important;
	border: 1px solid #9f9fa9 !important;
	border-radius: 4px !important;
	background: #ffffff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.4px;
	color: #27272a;
	cursor: pointer;
}

body.product-single .main-content .product-form .custom-radio-options label.radio-label:has(input:checked) {
	border-color: #27272a;
	background: #27272a;
	color: #ffffff;
}

/* الكمية */
body.product-single .product-form .sticky-product-bar > .w-full {
	display: contents;
}

body.product-single .product-form .sticky-product-bar > .w-full > div:first-child {
	order: 2;
}

body.product-single .product-form .sticky-product-bar > .w-full > div:first-child::before {
	content: "الكمية";
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 20px;
	color: #18181b;
}

body.product-single .product-form .sticky-product-bar__quantity {
	width: max-content;
}

body.product-single .product-form .s-quantity-input-container {
	box-sizing: border-box;
	display: flex;
	flex-direction: row-reverse;
	width: 100px;
	height: 40px;
	border: 1px solid #a1a1a1 !important;
	border-radius: 4px !important;
	background: #ffffff;
}

body.product-single .product-form .s-quantity-input-button {
	width: 40px;
	height: 100%;
	padding: 0;
	border: 0 !important;
	background: transparent;
	color: #18181b;
}

body.product-single .product-form .s-quantity-input-button svg {
	width: 14px;
	height: 14px;
}

body.product-single .product-form .s-quantity-input-input {
	width: 20px;
	height: 100%;
	padding: 0;
	border: 0 !important;
	background: transparent;
	font-size: 16px;
	text-align: center;
}

/* كرت «صُنعت خصيصًا لكِ» */
body.product-single .loujan-pdp-made {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 64px;
	padding: 0 16px;
	border-radius: 8px;
	background: #f7edf5;
}

body.product-single .loujan-pdp-made-art {
	position: relative;
	flex: 0 0 72px;
	align-self: center;
	height: 72px;
	margin: -4px -4px -4px 0;
}

body.product-single .loujan-pdp-made-art::before {
	content: none; /* الأيقونة الجديدة فيها الدايرة */
}

/* الدايرة (::before) خلف الصورة، والصورة (::after) شفافة الخلفية فوقها بدون blend */
body.product-single .loujan-pdp-made-art::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--loujan-pdp-made-img, none) center / contain no-repeat;
}

body.product-single .loujan-pdp-made p {
	margin: 0;
	font-size: 16px;
	line-height: 20px;
	color: #000000;
}

body.product-single .loujan-pdp-made p + p {
	margin-top: 4px;
	font-size: 14px;
	line-height: 16px;
	color: #404040;
}

/* المرفقات */
body.product-single .product-form > section.bg-white {
	padding: 0 !important;
	background: transparent;
}

body.product-single .product-form > section.bg-white .sm\:grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.product-single .product-form > section.bg-white .sm\:col-span-2 > .flex {
	display: block;
}

body.product-single .product-form > section.bg-white label b {
	font-size: 15px;
	font-weight: 400;
	line-height: 22px;
	color: #000000;
}

body.product-single .product-form > section.bg-white .btn-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 35px;
	padding: 8px 0;
	border: 0;
	border-radius: 6px;
	background: #f3f4f6;
	font-size: 14px;
	line-height: 14px;
	color: #6c7480;
}

/* مميزات: أقمشة / قصات */
body.product-single .loujan-pdp-perks {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 0;
}

body.product-single .loujan-pdp-perk {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 8px;
}

body.product-single .loujan-pdp-perk b {
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 24px;
	color: #18181b;
}

body.product-single .loujan-pdp-perk div > span {
	display: block;
	font-size: 10px;
	line-height: 24px;
	color: #18181b;
}

body.product-single .loujan-pdp-perk-art {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	background-image: var(--loujan-pdp-sprite, none);
	background-repeat: no-repeat;
	background-size: 309.74% 232.31%;
}

body.product-single .loujan-pdp-perk-fabric .loujan-pdp-perk-art { background-position: 23.16% 14.59%; }
body.product-single .loujan-pdp-perk-cuts .loujan-pdp-perk-art { background-position: 77.45% 16.06%; }

/* أزرار الشراء */
body.product-single .product-form .sticky-product-bar__btn {
	order: 6;
	display: block;
	width: 100%;
}

body.product-single .product-form .sticky-product-bar__btn .s-button-element,
body.product-single #sticky-product-bar .s-button-element {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	border: 1px solid #000000;
	border-radius: 4px;
	background: #000000;
	font-size: 14px;
	font-weight: 400;
	line-height: 28px;
	color: #ffffff;
}

body.product-single .product-form .sticky-product-bar__btn .s-button-text,
body.product-single #sticky-product-bar .s-button-text {
	font-size: 14px;
	line-height: 28px;
}

body.product-single .product-form .sticky-product-bar__btn .s-button-element .flex.sm\:hidden {
	display: none;
}

body.product-single .loujan-pdp-buy-now {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 48px;
	border: 1.5px solid #262626;
	border-radius: 4px;
	background: #ffffff;
	font-size: 14px;
	line-height: 28px;
	color: #262626;
	cursor: pointer;
}

body.product-single .loujan-pdp-buy-now img {
	width: 20px;
	height: 20px;
	object-fit: cover;
}

body.product-single .main-content .mobile_buttons {
	display: none !important;
}

/* وسائل الدفع */
/* الأيقونات 32px جوه li ارتفاعه 50px (padding من الثيم) → نعوّض 9px فوق وتحت عشان 16px/8px زي Figma */
body.product-single .main-content > .mt-5 {
	margin-top: 15px;
	margin-bottom: -9px;
}

body.product-single .main-content .s-payments-list {
	flex-wrap: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 0 24px;
}

/* مسافات Figma: زر «اشتري الآن» ثم 16px ثم الدفع (32px) ثم 8px ثم «منتجات مشابهة»؛
   البلوك الفاضي (out-of-stock) كان بيدمج margin 64px ويطلّع الفاصل 56px */
body.product-single .main-content > .s-block--bundle-out-of-stock-alternative {
	margin-top: 0 !important;
}

body.product-single .main-content > salla-quick-order {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.product-single .main-content .s-payments-list-item {
	margin: 0;
}

body.product-single .main-content .s-payments-list-item img {
	width: 50px;
	height: auto;
	max-height: 32px;
	object-fit: contain;
}

/* منتجات مشابهة (الشريط الجانبي) */
body.product-single .side_products {
	margin-top: 9px;
	padding-top: 0;
	border-top: 0;
}

body.product-single .side_products h1 {
	font-size: 14px;
	font-weight: 700;
	line-height: 28px;
	color: #0d0702;
}

/* ---------- التبويبات ---------- */
body.product-single .s-tabs-header {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-bottom: 24px;
	border-bottom: 1px solid #e5e5e5;
}

body.product-single .s-tabs-header-item {
	padding: 0 0 6px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	font-size: 30px;
	font-weight: 400;
	line-height: 36px;
	color: #525252;
}

body.product-single .s-tabs-header-item.s-tabs-active {
	border-bottom-color: #262626;
	font-weight: 700;
	color: #262626;
}

body.product-single .product__description > p {
	display: none;
}

body.product-single .product__description .article--main {
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	color: #262626;
	text-align: right;
}

body.product-single .product__description .article--main strong {
	font-weight: 700;
}

body.product-single .product__description .article--main ul {
	padding-right: 24px;
	list-style: disc;
	font-size: 16px;
	line-height: 32px;
}

/* ---------- قد يعجبك أيضا ---------- */
body:is(.product-single, .cart) .single-product-slider {
	box-sizing: border-box;
	margin: 24px 0 !important;
	padding: 0 var(--loujan-pdp-gutter);
	overflow: visible;
}

body:is(.product-single, .cart) .single-product-slider h1 {
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
	color: #18181b;
}

@media (min-width: 1024px) {
	body:is(.product-single, .cart) .single-product-slider h1,
	body.product-single .side_products h1 {
		font-size: 0;
	}

	body:is(.product-single, .cart) .single-product-slider h1::after {
		content: "قد يعجبك أيضا";
		font-size: 20px;
	}

	body.product-single .side_products h1::after {
		content: "منتجات مشابهة";
		font-size: 14px;
	}
}

body:is(.product-single, .cart) .single-product-slider .s-product-card-image,
body.product-single .side_products .s-product-card-image {
	aspect-ratio: 346 / 490;
	overflow: hidden;
	border-radius: 0;
}

body:is(.product-single, .cart) .single-product-slider .s-product-card-image img,
body.product-single .side_products .s-product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body:is(.product-single, .cart) .single-product-slider .s-product-card-content-category,
body.product-single .side_products .s-product-card-content-category {
	display: none;
}

body:is(.product-single, .cart) .single-product-slider .s-product-card-content-title {
	font-size: 20px;
	line-height: 24px;
	color: #18181b;
}

body:is(.product-single, .cart) .single-product-slider .s-product-card-price {
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.4px;
	color: #1e1e1e;
}

body:is(.product-single, .cart) .single-product-slider .salla-add-product-button,
body.product-single .side_products .salla-add-product-button {
	width: 38px;
	height: 38px;
	border-radius: 99px;
	background: var(--loujan-pdp-primary);
	color: #ffffff;
}

/* ---------- الشريط الثابت (desktop) ---------- */
body.product-single #sticky-product-bar {
	background: #ffffff;
}

body.product-single #sticky-product-bar h3 {
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
}

/* ---------- موبايل ---------- */
@media (max-width: 1023px) {
	body.product-single .main-content {
		padding: 16px 0 0 !important;
	}

	body.product-single .main-content h1 {
		font-size: 20px;
		line-height: 24px;
	}

	body.product-single .s-tabs-header {
		gap: 24px;
		justify-content: flex-start;
	}

	body.product-single .s-tabs-header-item {
		font-size: 16px;
		line-height: 20px;
	}

	body.product-single .product__description .article--main {
		font-size: 14px;
		line-height: 20px;
	}

	body:is(.product-single, .cart) .single-product-slider {
		padding: 0 16px;
	}


	body.product-single .s-advertisement-content {
		min-height: 37px;
		padding: 0 16px !important;
	}

	body.product-single .s-advertisement-content-main a {
		font-size: 12px;
		font-weight: 700;
		line-height: 12px;
	}

	body.product-single .side_products .s-products-list-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	body.product-single .side_products .s-products-list-wrapper > :nth-child(n+3) {
		display: none;
	}

	body.product-single .product__description .article--main ul {
		font-size: 14px;
		line-height: 20px;
	}

	body.product-single .loujan-pdp-perks {
		gap: 16px;
	}
}

/* كروت المنتجات: مقاسات وارتفاع */
body:is(.product-single, .cart) .single-product-slider .s-products-slider-card,
body:is(.product-single, .cart) .single-product-slider custom-salla-product-card {
	height: auto;
}

body:is(.product-single, .cart) .single-product-slider .s-product-card-content {
	flex-grow: 0;
	gap: 16px;
	padding: 24px 16px 0;
}

body:is(.product-single, .cart) .single-product-slider .s-product-card-content-sub {
	margin-top: 4px !important;
}

body:is(.product-single, .cart) .single-product-slider .sizes-wrapper:not(:first-child) {
	display: none;
}

body:is(.product-single, .cart) .single-product-slider .sizes-wrapper {
	margin-bottom: 0;
}

body:is(.product-single, .cart) .single-product-slider .sizes {
	gap: 8px;
}

body:is(.product-single, .cart) .single-product-slider .sizes > button,
body:is(.product-single, .cart) .single-product-slider .sizes > span {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 28px;
	padding: 8px 12px;
	border: 1px solid #a1a1a1;
	border-radius: 2px;
	background: #ffffff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.4px;
	line-height: 20px;
	color: #27272a;
}

/* ==========================================================================
   PLP — صفحة التصنيف (body.product-index)
   Figma desktop 182:6592 · mobile 99:1706
   ========================================================================== */

:root {
	--loujan-plp-gutter: 56px;
	--loujan-plp-filters-width: 280px;
	--loujan-plp-filters-gap: 66px;
	--loujan-plp-columns: 3;
	--loujan-plp-gap: 8px;
}

/* عناصر مش موجودة في التصميم */
body.product-index .top-lace,
body.product-index .AR-index > .container:first-child,
body.product-index .AR-index .main-content > .mb-4,
body.product-index #main-content > section.container {
	display: none !important;
}

body.product-index custom-salla-product-card[hidden] {
	display: none !important;
}

/* ---------- رأس الصفحة ---------- */
body.product-index .AR-index {
	margin-top: 0;
}

body.product-index .loujan-plp-head {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 42px var(--loujan-plp-gutter) 0;
	color: #18181b;
	text-align: center;
}

body.product-index .loujan-plp-head h1 {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
}

body.product-index .loujan-plp-head-count {
	font-size: 16px;
}

body.product-index .loujan-plp-head p {
	margin: 0;
	font-size: 16px;
	line-height: 28px;
}

body.product-index .loujan-plp-head nav {
	margin-top: 8px;
	font-size: 14px;
	line-height: 28px;
}

body.product-index .loujan-plp-head nav a {
	color: inherit;
}

/* ---------- التخطيط ---------- */
body.product-index .AR-index > .container.mb-10 {
	box-sizing: border-box;
	max-width: none;
	margin-top: 40px;
	padding: 0 var(--loujan-plp-gutter);
}

body.product-index .AR-index > .container.mb-10 > .flex {
	flex-direction: row;
	align-items: flex-start;
	gap: var(--loujan-plp-filters-gap);
}

/* ---------- الشريط ---------- */
body.product-index .loujan-plp-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 40px;
	margin-bottom: 16px;
}

body.product-index .loujan-plp-sort {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 16px;
	line-height: 28px;
	color: #18181b;
	cursor: pointer;
}

body.product-index .loujan-plp-sort::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 1.5px solid #18181b;
	border-bottom: 1.5px solid #18181b;
	transform: rotate(45deg);
}

body.product-index .loujan-plp-sort #product-filter {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

body.product-index .loujan-plp-views {
	display: flex;
	gap: 8px;
}

body.product-index .loujan-plp-view {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 24px;
	height: 24px;
	padding: 2px;
	border: 0.5px solid #999999;
	background: #ffffff;
	cursor: pointer;
}

body.product-index .loujan-plp-view i {
	display: block;
	width: 8px;
	height: 20px;
	background: #999999;
}

body.product-index .loujan-plp-view[data-view="large"] i {
	width: 18px;
	height: 18px;
}

body.product-index .loujan-plp-view.is-active {
	border-color: #000000;
}

body.product-index .loujan-plp-view.is-active i {
	background: #000000;
}

body.product-index .loujan-plp-filter-btn {
	display: none;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75'/></svg>") center / 24px no-repeat;
	cursor: pointer;
}

/* ---------- الفلاتر ---------- */
body.product-index .loujan-plp-filters {
	flex: 0 0 var(--loujan-plp-filters-width);
	width: var(--loujan-plp-filters-width);
	padding-top: 56px;
	color: #18181b;
}

body.product-index .loujan-plp-filters-head {
	display: none;
}

body.product-index .loujan-plp-filter {
	margin-bottom: 24px;
	padding-bottom: 8px;
}

body.product-index .loujan-plp-filter[hidden] {
	display: none;
}

body.product-index .loujan-plp-filter-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 16px;
	line-height: 24px;
	color: #18181b;
	cursor: pointer;
}

body.product-index .loujan-plp-filter-title::after {
	content: "";
	width: 8px;
	height: 8px;
	margin: 0 8px;
	border-top: 1.5px solid #18181b;
	border-left: 1.5px solid #18181b;
	transform: rotate(45deg);
}

body.product-index .loujan-plp-filter.is-collapsed .loujan-plp-filter-title::after {
	margin-top: -4px;
	transform: rotate(225deg);
}

body.product-index .loujan-plp-filter.is-collapsed .loujan-plp-filter-body {
	display: none;
}

body.product-index .loujan-plp-filter-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

body.product-index .loujan-plp-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	line-height: 24px;
	color: #52525c;
	cursor: pointer;
}

body.product-index .loujan-plp-check input {
	appearance: none;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin: 0;
	border: 1px solid #52525c;
	border-radius: 4px;
	background: #ffffff center / 10px no-repeat;
	cursor: pointer;
}

body.product-index .loujan-plp-check input:checked {
	border-color: #27272a;
	background-color: #27272a;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M2 5.2 4.1 7.3 8 2.7'/></svg>");
}

body.product-index .loujan-plp-price-boxes {
	display: flex;
	gap: 8px;
}

body.product-index .loujan-plp-price-box {
	box-sizing: border-box;
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 8px 12px;
	border: 1px solid #e4e4e7;
	border-radius: 2px;
	background: #ffffff;
	font-size: 16px;
	color: #27272a;
}

body.product-index .loujan-plp-price-box i {
	font-size: 12px;
	color: #9f9fa9;
}

body.product-index .loujan-plp-price-box b {
	font-weight: 400;
}

body.product-index .loujan-plp-range {
	position: relative;
	height: 16px;
	margin-top: 4px;
	direction: rtl;
}

body.product-index .loujan-plp-range::before,
body.product-index .loujan-plp-range::after {
	content: "";
	position: absolute;
	top: 6px;
	height: 4px;
	border-radius: 8px;
}

body.product-index .loujan-plp-range::before {
	right: 0;
	left: 0;
	background: #d4d7d9;
	opacity: 0.5;
}

body.product-index .loujan-plp-range::after {
	right: var(--loujan-plp-from, 0%);
	left: calc(100% - var(--loujan-plp-to, 100%));
	background: #27272a;
}

body.product-index .loujan-plp-range input {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 16px;
	margin: 0;
	background: none;
	appearance: none;
	pointer-events: none;
}

body.product-index .loujan-plp-range input::-webkit-slider-thumb {
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border: 2px solid #27272a;
	border-radius: 999px;
	background: #ffffff;
	appearance: none;
	pointer-events: auto;
	cursor: pointer;
}

body.product-index .loujan-plp-range input::-moz-range-thumb {
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border: 2px solid #27272a;
	border-radius: 999px;
	background: #ffffff;
	pointer-events: auto;
	cursor: pointer;
}

body.product-index .loujan-plp-range input::-webkit-slider-runnable-track {
	background: transparent;
}

/* ---------- الشبكة والكروت ---------- */
body.product-index .main-content > .flex.min-h-screen {
	min-height: 0;
}

body.product-index .s-products-list-wrapper {
	display: grid;
	grid-template-columns: repeat(var(--loujan-plp-columns), minmax(0, 1fr));
	gap: 40px var(--loujan-plp-gap);
}

body.product-index .loujan-plp-large .s-products-list-wrapper {
	--loujan-plp-columns: 2;
}

body.product-index .s-products-list-wrapper > * {
	width: auto;
	max-width: none;
}

body.product-index .s-products-list .s-product-card-image {
	position: relative;
	aspect-ratio: 346 / 490;
	overflow: hidden;
	border-radius: 0;
}

body.product-index .s-products-list .s-product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* القلب أعلى يمين الصورة، وإخفاء العين */
body.product-index .s-products-list .s-product-card-image .flex-action {
	top: 11px !important;
	right: 16px !important;
	left: auto !important;
	opacity: 1 !important;
}

body.product-index .s-products-list .s-product-card-quick-btn {
	display: none;
}

body.product-index .s-products-list .s-product-card-wishlist-btn {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.35);
}

body.product-index .s-products-list .s-product-card-content {
	flex-grow: 0;
	gap: 16px;
	padding: 24px 16px 0;
}

body.product-index .s-products-list .s-product-card-content-category {
	display: none;
}

body.product-index .s-products-list .s-product-card-content-sub {
	margin-top: 4px !important;
}

body.product-index .s-products-list .s-product-card-content-title {
	font-size: 20px;
	font-weight: 400;
	line-height: 24px;
	color: #18181b;
}

body.product-index .s-products-list .s-product-card-price {
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.4px;
	color: #1e1e1e;
}

body.product-index .s-products-list .salla-add-product-button {
	width: 38px;
	height: 38px;
	border-radius: 99px;
	background: var(--loujan-pdp-primary, #491217);
	color: #ffffff;
}

body.product-index .s-products-list .sizes-wrapper:not(:first-child) {
	display: none;
}

body.product-index .s-products-list .sizes-wrapper {
	margin-bottom: 0;
}

body.product-index .s-products-list .sizes {
	gap: 8px;
}

body.product-index .s-products-list .sizes > button,
body.product-index .s-products-list .sizes > span {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 28px;
	padding: 8px 12px;
	border: 1px solid #a1a1a1;
	border-radius: 2px;
	background: #ffffff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.4px;
	line-height: 20px;
	color: #27272a;
}

/* ---------- موبايل ---------- */
@media (max-width: 1023px) {
	:root {
		--loujan-plp-gutter: 16px;
		--loujan-plp-columns: 2;
	}

	body.product-index .loujan-plp-head {
		gap: 8px;
		padding-top: 24px;
	}

	body.product-index .loujan-plp-head h1,
	body.product-index .loujan-plp-head-count {
		font-size: 16px;
		line-height: 19px;
	}

	body.product-index .loujan-plp-head p {
		font-size: 14px;
		line-height: 21px;
	}

	body.product-index .loujan-plp-head nav {
		font-size: 12px;
		line-height: 19px;
	}

	body.product-index .AR-index > .container.mb-10 {
		margin-top: 24px;
	}

	body.product-index .loujan-plp-toolbar {
		height: 24px;
		margin-bottom: 16px;
	}

	body.product-index .AR-index > .container.mb-10 > .flex {
		display: block;
	}

	body.product-index .loujan-plp-large .s-products-list-wrapper {
		--loujan-plp-columns: 1;
	}

	body.product-index .loujan-plp-filter-btn {
		display: block;
	}

	body.product-index .loujan-plp-filters {
		position: fixed;
		inset: 0;
		z-index: 1000;
		box-sizing: border-box;
		display: none;
		width: auto;
		padding: 16px;
		overflow-y: auto;
		background: #ffffff;
	}

	body.product-index .loujan-plp-filters.is-open {
		display: block;
	}

	body.product-index .loujan-plp-filters-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 24px;
		font-size: 18px;
	}

	body.product-index .loujan-plp-filters-close {
		position: relative;
		width: 32px;
		height: 32px;
		border: 0;
		background: transparent;
	}

	body.product-index .loujan-plp-filters-close::before,
	body.product-index .loujan-plp-filters-close::after {
		content: "";
		position: absolute;
		top: 15px;
		left: 6px;
		width: 20px;
		height: 1.5px;
		background: #18181b;
		transform: rotate(45deg);
	}

	body.product-index .loujan-plp-filters-close::after {
		transform: rotate(-45deg);
	}


	body.product-index .s-advertisement-content {
		min-height: 37px;
		padding: 0 16px !important;
	}

	body.product-index .s-advertisement-content-main a {
		font-size: 12px;
		font-weight: 700;
		line-height: 12px;
	}
}

/* ==========================================================================
   Cart — صفحة السلة (body.cart)
   Figma desktop 182:8778 · mobile 99:2084
   ========================================================================== */

/* عناصر مش موجودة في التصميم */
body.cart .top-lace,
body.cart #main-content > div.px-4 > nav.breadcrumbs,
body.cart #cart-gifting,
body.cart .loujan-cart-card > .py-5.mb-5,
body.cart #shipping-cost,
body.cart section.cart-item section.bg-white {
	display: none !important;
}

body.cart #main-content > div.px-4 {
	box-sizing: border-box;
	padding-right: 16px;
	padding-left: 16px;
	background: #ffffff;
}

/* ---------- العنوان ---------- */
body.cart .loujan-cart-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 24px 0 16px;
}

body.cart .loujan-cart-head h1 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	color: #27272a;
}

body.cart .loujan-cart-head-count {
	font-size: 12px;
	line-height: 16px;
	color: #71717b;
}

/* ---------- التخطيط ---------- */
body.cart .loujan-cart-page > div.flex {
	padding-top: 0;
	padding-bottom: 24px;
}

body.cart .loujan-cart-page .main-content {
	width: 100%;
}

body.cart .loujan-cart-summary {
	position: static;
	width: 100%;
	margin: 0 !important;
}

/* ---------- الأصناف ---------- */
body.cart .loujan-cart-page .main-content form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.cart section.cart-item {
	position: relative;
	margin: 0;
	padding: 10px;
	border-radius: 4px;
	background: #ffffff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
}

body.cart section.cart-item > div.items-start {
	display: block;
	margin: 0;
}

body.cart section.cart-item > div.items-start > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.cart section.cart-item > div.items-start > div > div {
	margin: 0 !important;
}

/* صورة + تفاصيل */
body.cart section.cart-item > div.items-start > div > div:first-child {
	display: flex;
	flex-direction: row;
	gap: 16px;
	width: 100%;
	margin-bottom: 0 !important;
}

body.cart section.cart-item a.relative {
	flex: 0 0 95px;
	width: 95px;
	height: 160px;
	overflow: hidden;
}

body.cart section.cart-item a.relative img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.cart section.cart-item .space-y-1 {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.cart section.cart-item .space-y-1 > * {
	margin: 0 !important;
}

body.cart section.cart-item h1 {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.4px;
	color: #27272a;
}

body.cart section.cart-item h1 a {
	font-size: 14px;
}

body.cart section.cart-item .s-product-options-option {
	display: flex;
	align-items: center;
	gap: 12px;
}

body.cart section.cart-item .s-product-options-option-label {
	flex: none;
	margin: 0;
	font-size: 12px;
	line-height: 20px;
	color: #18181b;
}

body.cart section.cart-item .s-product-options-option-label b {
	font-weight: 400;
}

body.cart section.cart-item .s-product-options-option-label b span,
body.cart section.cart-item .s-product-options-option-label small {
	display: none;
}

body.cart section.cart-item .s-product-options-option-content {
	flex: 0 0 120px;
	width: 120px;
	max-width: 120px;
	overflow: visible;
}

body.cart section.cart-item .s-product-options-option-content > div {
	width: 100%;
}

body.cart section.cart-item .s-product-options-option-content select {
	box-sizing: border-box;
	width: 100%;
	height: 28px;
	padding: 0 12px;
	border: 1px solid #d4d4d8;
	border-radius: 0;
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position: left 8px center;
	background-size: 16px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.4px;
	color: #27272a;
}

body.cart section.cart-item .item-price {
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #1e1e1e;
}

/* السعر داخل التفاصيل (موبايل) وفي عمود الأزرار (ديسكتوب) */
body.cart section.cart-item .space-y-1 > div.md\:hidden {
	display: flex !important;
}

body.cart section.cart-item div.hidden.md\:flex {
	display: none !important;
}

/* الأزرار: كمية + حذف + مفضلة */
body.cart section.cart-item > div.items-start > div > div:last-child {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

body.cart section.cart-item salla-quantity-input {
	display: block;
}

body.cart section.cart-item .s-quantity-input-container {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	height: 32px;
	border: 1px solid #e4e4e7 !important;
	border-radius: 2px !important;
	background: #ffffff;
}

body.cart section.cart-item .s-quantity-input-button {
	width: 28px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: #52525c;
}

body.cart section.cart-item .s-quantity-input-button svg,
body.cart section.cart-item .s-quantity-input-button i {
	width: 12px;
	height: 12px;
	font-size: 12px;
}

body.cart section.cart-item .s-quantity-input-input {
	width: 28px;
	height: 100%;
	border: 0;
	background: transparent;
	font-size: 12px;
	letter-spacing: 0.2px;
	text-align: center;
	color: #52525c;
}

body.cart section.cart-item span.flex {
	gap: 4px;
}

body.cart section.cart-item span.flex .s-button-element {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: transparent;
	box-shadow: none;
}

/* ---------- ملخص الطلب ---------- */
body.cart .loujan-cart-card {
	box-sizing: border-box;
	margin: 0 !important;
	padding: 24px 0 !important;
	border-radius: 4px;
	background: #ffffff;
	box-shadow: none;
}

body.cart .loujan-cart-card h2 {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: #27272a;
}

body.cart .loujan-cart-card #free-shipping,
body.cart .loujan-cart-card #coupon-input + salla-button,
body.cart .loujan-cart-card > .border-b {
	display: none;
}

body.cart .loujan-cart-card .flex.justify-between.text-sm {
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 20px;
}

body.cart .loujan-cart-card .flex.justify-between.text-sm span,
body.cart .loujan-cart-card .flex.justify-between.text-sm b {
	font-weight: 400;
	color: #71717b;
}

body.cart .loujan-cart-card .flex.justify-between.text-lg {
	align-items: center;
	margin: 0 0 16px;
	padding-top: 16px;
	border-top: 1px solid #e4e4e7;
	font-size: 16px;
	line-height: 24px;
}

body.cart .loujan-cart-card .flex.justify-between.text-lg span,
body.cart .loujan-cart-card .flex.justify-between.text-lg b {
	font-weight: 500;
	color: #27272a;
}

body.cart .loujan-cart-total-desktop {
	display: none;
}

body.cart #cart-submit .s-button-element {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: 0;
	background: #000000;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: #ffffff;
}

body.cart .cart-submit-wrap,
body.cart .cart-submit-wrap.sticky-cart-button {
	position: static !important;
	inset: auto !important;
	width: 100% !important;
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.cart #cart-submit-placeholder {
	display: none !important;
}

body.cart section.cart-item .s-product-options-option-content > div {
	overflow: visible;
}

body.cart section.cart-item .s-product-options-option-content select {
	min-width: 0;
}

body.cart .loujan-cart-installments,
body.cart .loujan-cart-trust {
	display: none;
}

body.cart .loujan-cart-card .mt-5 {
	margin-top: 24px;
}

/* ---------- قد يعجبك أيضا ---------- */
body.cart .single-product-slider h1 {
	font-size: 0;
}

body.cart .single-product-slider h1::after {
	content: "قطع مشابهة";
	font-size: 20px;
}

/* ---------- ديسكتوب ---------- */
@media (min-width: 1024px) {
	body.cart #main-content > div.px-4 {
		padding-right: 56px;
		padding-left: 56px;
	}

	body.cart .loujan-cart-head {
		padding: 42px 0 42px;
	}

	body.cart .loujan-cart-page > div.flex {
		flex-direction: row;
		align-items: flex-start;
		gap: 32px;
		padding-bottom: 40px;
	}

	body.cart .loujan-cart-summary {
		order: 2;
		flex: 0 0 419px;
		width: 419px;
	}

	body.cart .loujan-cart-page .main-content {
		order: 1;
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	body.cart .loujan-cart-page .main-content form {
		gap: 0;
		padding: 16px;
		border-radius: 4px;
		background: #ffffff;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
	}

	body.cart section.cart-item {
		padding: 16px 0;
		border-radius: 0;
		border-bottom: 1px solid #e4e4e7;
		box-shadow: none;
	}

	body.cart section.cart-item:first-of-type {
		padding-top: 0;
	}

	body.cart section.cart-item:last-of-type {
		padding-bottom: 0;
		border-bottom: 0;
	}

	body.cart section.cart-item > div.items-start > div {
		flex-direction: row;
		align-items: stretch;
		justify-content: space-between;
		gap: 16px;
	}

	body.cart section.cart-item > div.items-start > div > div:first-child {
		flex: 1 1 0;
		width: auto;
	}

	body.cart section.cart-item a.relative {
		flex: 0 0 120px;
		width: 120px;
		height: 161px;
	}

	body.cart section.cart-item > div.items-start > div > div:last-child {
		flex: 0 0 auto;
		flex-direction: column-reverse;
		align-items: flex-start;
		justify-content: space-between;
		width: auto;
		padding: 4px 0;
	}

	body.cart section.cart-item .space-y-1 > div.md\:hidden {
		display: none !important;
	}

	body.cart section.cart-item div.hidden.md\:flex {
		display: flex !important;
	}

	body.cart .loujan-cart-card {
		padding: 16px !important;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
	}

	body.cart .loujan-cart-card #free-shipping {
		display: block;
		margin: 0 0 16px;
		padding: 0 !important;
		background: transparent;
		box-shadow: none;
	}

	body.cart #free-shipping p,
	body.cart #free-shipping-msg {
		font-size: 12px;
		line-height: 16px;
		color: #71717b;
	}

	body.cart #free-shipping-bar {
		height: 4px;
		margin-top: 8px;
		border-radius: 42px;
		background: #e4e4e7;
	}

	body.cart #free-shipping-bar .progress-bg {
		border-radius: 42px;
		background: #491217;
	}

	body.cart .loujan-cart-card > .border-b {
		display: block;
		margin: 0 0 16px;
		padding: 0;
		border: 0;
	}

	body.cart .loujan-cart-card > .border-b label {
		display: none;
	}

	body.cart .loujan-cart-card > .border-b .mt-2\.5 {
		margin: 0;
	}

	body.cart .loujan-cart-card #coupon-input {
		box-sizing: border-box;
		width: 100%;
		height: 40px;
		padding: 4px 12px 4px 100px;
		border: 1px solid #d4d4d8;
		border-radius: 4px;
		background: #ffffff;
		font-size: 14px;
		letter-spacing: 0.4px;
	}

	body.cart .loujan-cart-card #coupon-input + salla-button {
		display: block;
		position: absolute;
		top: 4px;
		left: 4px;
	}

	body.cart #coupon-btn .s-button-element {
		height: 32px;
		padding: 8px 24px;
		border: 0;
		border-radius: 2px;
		background: #000000;
		font-size: 14px;
		letter-spacing: 0.4px;
		color: #ffffff;
	}

	body.cart .loujan-cart-card .flex.justify-between.text-sm {
		font-size: 16px;
		line-height: 24px;
	}

	body.cart .loujan-cart-total-desktop {
		display: inline;
	}

	body.cart .loujan-cart-total-mobile {
		display: none;
	}

	body.cart .loujan-cart-installments {
		display: flex;
		gap: 8px;
		margin-top: 24px;
	}

	body.cart .loujan-cart-installment {
		flex: 1 1 0;
		min-width: 0;
	}

	body.cart .loujan-cart-installment img {
		position: relative;
		z-index: 2;
		display: block;
		height: 26px;
		margin: 0 12px -10px auto;
	}

	body.cart .loujan-cart-installment p {
		position: relative;
		z-index: 1;
		margin: 0;
		padding: 16px 12px;
		border: 1px solid #e4e4e7;
		border-radius: 2px;
		font-size: 12px;
		line-height: 18px;
		color: #27272a;
	}

	body.cart .loujan-cart-installment b {
		font-weight: 700;
		color: #491217;
	}

	body.cart .loujan-cart-trust {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
		margin-top: 24px;
	}

	body.cart .loujan-cart-trust > div {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		text-align: center;
	}

	body.cart .loujan-cart-trust img {
		width: 35px;
		height: 35px;
		object-fit: contain;
	}

	body.cart .loujan-cart-trust span {
		font-size: 14px;
		font-weight: 300;
		line-height: 20px;
		color: #27272a;
	}

	body.cart .single-product-slider h1::after {
		content: "قد يعجبك أيضا";
	}
}

body.cart .single-product-slider:not(:has(custom-salla-product-card)) {
	display: none;
}

/* أيقونتا المفضلة والمشاركة بدون إطار (PDP) */
body.product-single .main-content > .flex.align-center .s-button-element,
body.product-single .main-content > .flex.align-center .s-social-share-btn {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0 !important;
	border-radius: 2px;
	background: transparent !important;
	box-shadow: none;
}

/* ==========================================================================
   Drawer — السلة الجانبية (#sidecart-panel)
   Figma desktop 193:7311 · mobile 99:1745
   ========================================================================== */

#sidecart-panel {
	box-sizing: border-box;
	width: 589px !important;
	max-width: 100vw;
	background: #ffffff;
	box-shadow: none;
}

#sidecart-panel .side-panel__top {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 0;
	padding: 0;
}

#sidecart-panel .menu-close {
	top: 48px !important;
	left: 32px !important;
	right: auto !important;
	width: 24px;
	height: 24px;
	border-radius: 0;
	background: transparent !important;
	color: #18181b !important;
}

#sidecart-panel .menu-close i {
	font-size: 20px;
}

#sidecart-panel .side-panel__content {
	padding: 48px 32px 16px;
}

#sidecart-panel .side-panel__content > h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e4e4e7;
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	color: #3f3f46;
}

#sidecart-panel .sidecart-products-count {
	font-size: 16px;
	font-weight: 400;
	line-height: 16px;
	color: #71717b;
}

#sidecart-panel #free-shipping {
	display: none !important;
}

/* ---------- الأصناف ---------- */
#sidecart-panel #sidecart-items form {
	margin: 0;
}

#sidecart-panel section.cart-item {
	position: relative;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid #e4e4e7;
	background: transparent;
}

#sidecart-panel #sidecart-items form:first-child section.cart-item {
	padding-top: 0;
}

#sidecart-panel #sidecart-items form:last-child section.cart-item {
	padding-bottom: 0;
	border-bottom: 0;
}

#sidecart-panel section.cart-item > .grid {
	grid-template-columns: 120px 1fr;
	gap: 0 16px;
	min-height: 161px;
}

#sidecart-panel section.cart-item > .grid > a {
	width: 120px !important;
	height: 161px !important;
	overflow: hidden;
}

#sidecart-panel section.cart-item > .grid > a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#sidecart-panel section.cart-item > .grid > .flex:nth-child(2) {
	display: block;
	padding: 4px 0 0 96px;
}

#sidecart-panel section.cart-item > .grid > .flex:nth-child(2) > a {
	display: -webkit-box;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.4px;
	color: #27272a;
}

#sidecart-panel section.cart-item .delete-btn {
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 2px;
	color: #18181b;
}

#sidecart-panel section.cart-item .delete-btn i {
	font-size: 18px;
}

#sidecart-panel section.cart-item > .grid > .flex:nth-child(3) {
	position: absolute;
	top: 20px;
	left: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

#sidecart-panel #sidecart-items form:first-child section.cart-item > .grid > .flex:nth-child(3) {
	top: 4px;
}

#sidecart-panel #sidecart-items form:last-child section.cart-item .delete-btn {
	bottom: 4px;
}

#sidecart-panel section.cart-item > .grid > .flex:nth-child(3) span {
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #1e1e1e;
}

#sidecart-panel section.cart-item .s-quantity-input-container {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: 80px;
	height: 32px;
	border: 1px solid #e4e4e7 !important;
	border-radius: 2px !important;
	background: #ffffff;
}

#sidecart-panel section.cart-item .s-quantity-input-button {
	width: 28px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: #52525c;
}

#sidecart-panel section.cart-item .s-quantity-input-button svg {
	width: 12px;
	height: 12px;
}

#sidecart-panel section.cart-item .s-quantity-input-input {
	width: 24px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 12px;
	letter-spacing: 0.2px;
	text-align: center;
	color: #52525c;
}

/* ---------- الفوتر ---------- */
#sidecart-panel .side-panel__bottom {
	gap: 12px;
	padding: 16px 32px 38px;
	border-top: 1px solid #e4e4e7;
	background: #ffffff;
}

#sidecart-panel .side-panel__bottom > .border-b,
#sidecart-panel .side-panel__bottom > .flex.justify-between.text-sm,
#sidecart-panel .close-side-panel {
	display: none !important;
}

#sidecart-panel .cart-subtotal {
	height: 36px;
	padding: 0;
	border-top: 0;
}

#sidecart-panel .cart-subtotal h5 {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.4px;
	color: #27272a;
}

#sidecart-panel #sidecart-total {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: -0.32px;
	color: #000000;
}

#sidecart-panel .side-panel__bottom > .flex.gap-1 {
	gap: 8px;
}

#sidecart-panel #sidecart-submit,
#sidecart-panel .loujan-drawer-checkout {
	box-sizing: border-box;
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 12px 0;
	border: 1px solid #000000;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.4px;
	line-height: 20px;
	cursor: pointer;
}

#sidecart-panel #sidecart-submit {
	background: #ffffff;
	color: #000000;
}

#sidecart-panel .loujan-drawer-checkout {
	background: #000000;
	color: #ffffff;
}

#sidecart-panel .loujan-drawer-label-mobile {
	display: none;
}

/* ---------- موبايل ---------- */
@media (max-width: 1023px) {
	#sidecart-panel {
		top: var(--loujan-drawer-top, 93px) !important;
		bottom: 0;
		height: auto !important;
		width: 297px !important;
	}

	#sidecart-overlay {
		top: var(--loujan-drawer-top, 93px);
	}

	#sidecart-panel .menu-close {
		top: 16px !important;
		left: 16px !important;
		width: 20px;
		height: 20px;
	}

	#sidecart-panel .side-panel__content {
		padding: 16px 16px 16px;
	}

	#sidecart-panel .side-panel__content > h2 {
		padding-bottom: 8px;
	}

	#sidecart-panel section.cart-item > .grid {
		grid-template-columns: 90px 1fr;
		min-height: 121px;
	}

	#sidecart-panel section.cart-item > .grid > a {
		width: 90px !important;
		height: 121px !important;
	}

	#sidecart-panel section.cart-item > .grid > .flex:nth-child(2) {
		padding: 0;
	}

	#sidecart-panel section.cart-item > .grid > .flex:nth-child(3) {
		position: static;
		justify-content: space-between;
		gap: 0;
		align-self: stretch;
	}

	#sidecart-panel section.cart-item > .grid > .flex:nth-child(3) span {
		font-size: 14px;
		line-height: 19px;
	}

	#sidecart-panel section.cart-item .delete-btn {
		bottom: 16px;
	}

	#sidecart-panel #sidecart-items form:last-child section.cart-item .delete-btn {
		bottom: 0;
	}

	#sidecart-panel .side-panel__bottom {
		padding: 16px 16px 24px;
	}

	#sidecart-panel .loujan-drawer-label-desktop {
		display: none;
	}

	#sidecart-panel .loujan-drawer-label-mobile {
		display: inline;
	}
}

/* ==========================================================================
   مراجعة المطابقة — كروت المنتجات (عام) + الرئيسية
   ========================================================================== */

@media (min-width: 1024px) {
	:root {
		--loujan-home-slider-gutter: 56px;
	}
}

/* كرت المنتج حسب Figma (كل الصفحات) */
body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image {
	position: relative;
	aspect-ratio: 346 / 490;
	overflow: hidden;
	border-radius: 0;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image .flex-action {
	top: 11px !important;
	right: 16px !important;
	left: auto !important;
	opacity: 1 !important;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-quick-btn {
	display: none;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-wishlist-btn {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.35);
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content {
	flex-grow: 0;
	gap: 16px;
	padding: 24px 16px 0;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-category {
	display: none !important;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-sub {
	margin-top: 4px !important;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-title {
	font-size: 20px;
	font-weight: 400;
	line-height: 24px;
	color: #18181b;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-price {
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.4px;
	color: #1e1e1e;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .salla-add-product-button {
	width: 38px;
	height: 38px;
	border-radius: 99px;
	background: var(--loujan-pdp-primary, #491217);
	color: #ffffff;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .sizes-wrapper:not(:first-child) {
	display: none;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .sizes-wrapper {
	margin-bottom: 0;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .sizes {
	gap: 8px;
}

body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .sizes > button,
body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .sizes > span {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 28px;
	padding: 8px 12px;
	border: 1px solid #a1a1a1;
	border-radius: 2px;
	background: #ffffff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.4px;
	line-height: 20px;
	color: #27272a;
}

@media (max-width: 1023px) {
	body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image {
		aspect-ratio: 199 / 298;
	}

	body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content {
		gap: 6px;
		padding: 12px 0 0;
	}

	body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-title {
		font-size: 14px;
		line-height: 24px;
	}

	body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-price {
		font-size: 16px;
		font-weight: 500;
		letter-spacing: -0.32px;
	}

	body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .sizes {
		flex-wrap: nowrap;
		gap: 4px;
	}

	body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .sizes > button {
		flex: 0 0 38px;
		min-width: 0;
		height: 24px;
		padding: 0;
		border-radius: 2px;
	}

	body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .sizes > span {
		flex: 0 0 auto;
		min-width: 0;
		height: 24px;
		padding: 0 4px;
		border: 0;
		background: transparent;
		color: #71717b;
	}

	body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .salla-add-product-button {
		width: 32px;
		height: 32px;
		background: rgba(230, 230, 230, 0.5);
		color: #18181b;
	}
}

/* كروت داخل بانرات الرئيسية (أصغر) */
body.index .Ar-products-banner custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-title,
body.index .Ar-products-banner custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-price {
	font-size: 16px;
}

/* عنوان السلايدرات: «شاهدي المزيد» بدل «عرض الكل» + بدون أسهم */
body.index section.s-block--best-offers .s-slider-block__title {
	margin-bottom: 24px;
}

body.index section.s-block--best-offers .s-slider-block__title h2 {
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	color: #18181b;
}

body.index section.s-block--best-offers .s-slider-block__title-nav {
	display: none;
}

body.index section.s-block--best-offers .s-slider-block__display-all {
	font-size: 0;
}

body.index section.s-block--best-offers .s-slider-block__display-all::after {
	content: "شاهدي المزيد";
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.4px;
	line-height: 24px;
	color: #18181b;
	text-decoration: underline;
}

/* هيرو الرئيسية: ارتفاع ثابت حسب Figma (1512×685) */
@media (min-width: 768px) {
	body.index section.AR-hero-section-0 .banner {
		height: clamp(420px, 45.3vw, 760px) !important;
	}
}

/* ==========================================================================
   مراجعة المطابقة — PDP موبايل (Figma 296:4467)
   ========================================================================== */

body.product-single .loujan-pdp-dots {
	display: none;
}

@media (max-width: 1023px) {
	/* مسار التنقل أعلى المعرض */
	body.product-single #main-content > nav.breadcrumbs {
		display: block !important;
		padding: 14px 18px;
		font-size: 12px;
		line-height: 19px;
		color: #18181b;
	}

	body.product-single #main-content > nav.breadcrumbs .s-breadcrumb-wrapper {
		display: flex;
		align-items: center;
		gap: 4px;
		flex-wrap: nowrap;
		overflow: hidden;
		white-space: nowrap;
	}

	body.product-single #main-content > nav.breadcrumbs li:last-child {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.product-single #main-content > nav.breadcrumbs a,
	body.product-single #main-content > nav.breadcrumbs li {
		font-size: 12px;
		color: #18181b;
	}

	body.product-single #main-content > nav.breadcrumbs .s-breadcrumb-arrow svg {
		display: none;
	}

	body.product-single #main-content > nav.breadcrumbs .s-breadcrumb-arrow::before {
		content: "/";
	}

	/* مؤشرات المعرض */
	body.product-single .loujan-pdp-dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 16px 0 8px;
	}

	body.product-single .loujan-pdp-play {
		width: 20px;
		height: 20px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #71717b;
		position: relative;
	}

	body.product-single .loujan-pdp-play::before {
		content: "";
		position: absolute;
		top: 5px;
		left: 8px;
		border-top: 5px solid transparent;
		border-bottom: 5px solid transparent;
		border-left: 8px solid #ffffff;
	}

	body.product-single .loujan-pdp-bar {
		width: 50px;
		height: 2px;
		padding: 0;
		border: 0;
		background: #d4d4d8;
	}

	body.product-single .loujan-pdp-bar.is-active {
		background: #18181b;
	}

	/* أيقونات المشاركة والمفضلة بجانب العنوان */
	body.product-single .main-content > .flex.align-center > div.hidden {
		display: flex !important;
		align-items: center;
	}

	body.product-single .main-content > .flex.align-center {
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	/* أزرار الشراء: شريط ثابت أسفل الشاشة (الأزرار الأصلية تبقى مخفية وتستقبل الضغط) */
	body.product-single .product-form .sticky-product-bar__btn,
	body.product-single .product-form .loujan-pdp-buy-now {
		display: none !important;
	}

	body.product-single .loujan-pdp-fixed-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 60;
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 16px;
		background: #ffffff;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
	}

	body.product-single .loujan-pdp-fixed-bar button {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		width: 100%;
		height: 48px;
		border-radius: 4px;
		font-size: 14px;
		line-height: 28px;
		cursor: pointer;
	}

	body.product-single .loujan-pdp-fixed-bar .loujan-pdp-fixed-add {
		border: 1px solid #000000;
		background: #000000;
		color: #ffffff;
	}

	body.product-single .loujan-pdp-fixed-bar .loujan-pdp-fixed-buy {
		border: 1.5px solid #262626;
		background: #ffffff;
		color: #262626;
	}

	body.product-single .loujan-pdp-fixed-bar img {
		width: 20px;
		height: 20px;
		object-fit: cover;
	}

	body.product-single #main-content {
		padding-bottom: 140px;
	}

	body.product-single .main-content > .flex.align-center > div.hidden {
		flex-direction: row-reverse;
	}
}

@media (min-width: 1024px) {
	body.product-single .loujan-pdp-fixed-bar {
		display: none;
	}
}

.s-products-slider-card > custom-salla-product-card,
.swiper-slide > custom-salla-product-card {
	width: 100% !important;
	max-width: none;
}

/* عناصر خارج التصميم في كل الصفحات */
.top-lace {
	display: none !important;
}

/* لوجو الموبايل: 129×49 */
@media (max-width: 1023px) {
	.site-header-mobile > .flex.shrink-0 {
		flex: 0 0 129px;
		width: 129px !important;
		height: 49px !important;
		padding: 0 !important;
	}

	.site-header-mobile .navbar-brand {
		display: block;
		width: 129px;
		height: 49px;
	}

	.site-header-mobile .navbar-brand img.loujan-mobile-logo {
		width: 129px !important;
		height: 49px !important;
		max-width: none;
		object-fit: contain;
	}
}

/* هيرو الرئيسية موبايل: 440×727 */
@media (max-width: 767px) {
	body.index section.AR-hero-section-0 .banner {
		height: auto !important;
		aspect-ratio: 440 / 727;
	}

	body.index section.s-block--best-offers .s-slider-block__title h2 {
		font-size: 16px;
		line-height: 24px;
	}

	body.index section.s-block--best-offers .s-slider-block__display-all::after {
		font-size: 12px;
	}
}

/* فراغ الهيدر حسب Figma (الإعلان 64 + 11 + الهيدر 60) */
.main-nav-container .top-navbar {
	display: none !important;
}

@media (min-width: 1024px) {
	.main-nav-container .inner {
		margin-top: 11px;
	}
}

/* ==========================================================================
   بانر + سلايدر منتجات (الرئيسية موبايل): الكروت فوق أسفل صورة البانر
   Figma 294:5457 / 294:5539 — الصورة 406×608، السلايدر يبدأ بعد 456px من أعلاها
   ========================================================================== */

@media (max-width: 1023px) {
	body.index section.Ar-products-banner > .grid {
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
		gap: 0;
		padding: 32px 17px;
	}

	/* العنوان أولاً */
	body.index section.Ar-products-banner > .grid > .lg\:hidden.features-products-head {
		order: 1;
		display: flex !important;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		margin-bottom: 16px;
		text-align: center;
	}

	body.index section.Ar-products-banner > .grid > .lg\:hidden.features-products-head a {
		font-size: 20px;
		font-weight: 700;
		line-height: 24px;
		color: #18181b;
	}

	body.index section.Ar-products-banner > .grid > .lg\:hidden.features-products-head h2 {
		font-size: 16px;
		line-height: 24px;
		color: #18181b;
	}

	/* صورة البانر */
	body.index section.Ar-products-banner > .grid > .overflow-hidden {
		order: 2;
		height: auto !important;
		aspect-ratio: 406 / 608;
		width: 100%;
	}

	/* السلايدر يتداخل مع أسفل الصورة */
	body.index section.Ar-products-banner > .grid > .lg\:col-span-2 {
		order: 3;
		position: relative;
		z-index: 2;
		box-sizing: border-box;
		width: 100%;
		margin: -152px 0 0 !important;
		padding: 0 20px;
	}

	body.index section.Ar-products-banner > .grid > .lg\:col-span-2 > .relative {
		margin: 0 !important;
	}

	body.index section.Ar-products-banner salla-products-slider {
		margin-top: 0 !important;
		max-width: none !important;
	}

	body.index section.Ar-products-banner .swiper {
		background: transparent;
	}

	body.index section.Ar-products-banner .s-products-slider-card {
		background: #ffffff;
	}
}


/* ===== Loujan — كوبون "LJ" على شكل تذكرة (كود مستقل) ===== */
.lj-coupon { font-family: inherit; color: #18181b; --lj-green: #1f5c2e; --lj-notch: #fff; }
.lj-coupon .sicon-sar { font-size: .85em; }

/* ---------- التذكرة (زرار واحد — الضغط في أي مكان بينسخ) ---------- */
.lj-ticket {
  display: inline-flex;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 0 1.5px var(--lj-green), 0 4px 12px rgba(31, 92, 46, .18);
  transition: transform .15s, box-shadow .15s;
}
.lj-ticket:hover { transform: translateY(-1px); box-shadow: 0 0 0 1.5px var(--lj-green), 0 6px 16px rgba(31, 92, 46, .28); }
.lj-ticket:active { transform: scale(.97); }

/* الجزء الأخضر: قيمة الخصم + لمعة متحركة */
.lj-ticket__off {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  min-height: 40px;
  background: var(--lj-green);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.lj-ticket__off::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  animation: lj-shine 3.2s ease-in-out infinite;
}
@keyframes lj-shine {
  0%, 55% { inset-inline-start: -60%; }
  100%    { inset-inline-start: 130%; }
}

/* جزء الكود: حد متقطع + قصّتين دائريتين عند الفاصل */
.lj-ticket__code {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: var(--lj-green);
  border-inline-start: 2px dashed var(--lj-green);
  position: relative;
  white-space: nowrap;
}
.lj-ticket__code::before,
.lj-ticket__code::after {
  content: "";
  position: absolute;
  inset-inline-start: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lj-notch);
  box-shadow: 0 0 0 1.5px var(--lj-green);
}
.lj-ticket__code::before { top: -7px; }
.lj-ticket__code::after  { bottom: -7px; }
.lj-ticket__code small { font-size: 11px; font-weight: 500; opacity: .75; }
.lj-ticket__code b { font-size: 16px; font-weight: 800; letter-spacing: .3px; }

.lj-ticket.is-copied .lj-ticket__code { background: var(--lj-green); color: #fff; }
.lj-ticket.is-copied .lj-ticket__code small,
.lj-ticket.is-copied .lj-ticket__code svg { display: none; }

@media (prefers-reduced-motion: reduce) {
  .lj-ticket__off::after { animation: none; display: none; }
  .lj-ticket { transition: none; }
}

/* ---------- صفحة المنتج: جنب السعر ---------- */
.lj-coupon--product {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
}
.lj-coupon--product .lj-coupon__after { font-size: 13px; color: #555; }
.lj-coupon--product .lj-coupon__after b { color: var(--lj-green); font-size: 15px; }

/* ---------- الشريط تحت الهيدر ---------- */
.lj-coupon--strip {
  --lj-notch: #f4efe7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-height: 56px;
  padding: 8px 16px;
  background: #f4efe7;
  border-bottom: 1px solid #e6dfd3;
  text-align: center;
}
.lj-coupon__lead { font-size: 14px; font-weight: 700; color: #18181b; }

/* الرئيسية: الشريط بياخد مسافته من تحت الهيدر بنفسه (الـ JS بيحدّث المتغير) */
body.index .lj-coupon--home { margin-top: var(--lj-strip-top, 60px) !important; }


/* ==========================================================================
   Header — داخل الـ flow، أبيض ثابت، ملازق لحافة الشاشة (كل الصفحات)
   الثيم بيخلّي الهيدر absolute فوق الهيرو ويحرّكه بـ style.top حسب الإعلان؛
   هنا بنرجّعه في مكانه الطبيعي: [إعلان] → [هيدر] → [شريط الكوبون] → [المحتوى]
   ========================================================================== */
header.store-header {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	z-index: 50;
}

header.store-header {
	min-height: 56px; /* يحجز مكان الهيدر لما .inner يتحول fixed مع السكرول */
}

@media (min-width: 1024px) {
	header.store-header {
		min-height: 60px;
	}

	.main-nav-container .inner {
		margin-top: 0 !important;
	}
}

/* ألوان الهيدر ثابتة: خلفية بيضا + كتابة وأيقونات غامقة (مفيش تحويل لأبيض) */
header.store-header .inner,
header.store-header .site-header-mobile {
	background-color: #fff !important;
	color: #18181b !important;
}

header.store-header .inner :is(a, button, span, i, svg, li),
header.store-header .site-header-mobile :is(a, button, span, i, svg) {
	color: #18181b !important;
}

/* ترتيب الهيدر ديسكتوب (Figma 402:5175): أيقونات شمال 56 / قائمة 650 متمركزة / لوجو يمين 56 (142×42) */
@media (min-width: 1024px) {
	html[dir="rtl"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header {
		position: relative;
		height: 60px;
	}

	html[dir="rtl"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(2) {
		position: absolute;
		top: 9px;
		right: 56px;
		left: auto;
		height: 42px !important;
	}

	html[dir="rtl"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) {
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}
}

/* شريط الكوبون تحت الهيدر مخفي في كل الصفحات وكل الأجهزة */
.lj-coupon--strip {
	display: none !important;
}

body.index .lj-coupon--home,
.lj-coupon--home {
	margin-top: 0 !important;
}


/* ==========================================================================
   كروت المنتجات — حالة المقاس المختار (الثيم بيضيف bg-primary للزر المختار
   لكن ستايل المقاسات فوق كان بيمسحها)
   ========================================================================== */
body .sizes > button.bg-primary,
body .sizes > button.bg-primary:hover {
	background: #18181b !important;
	border-color: #18181b !important;
	color: #ffffff !important;
}


/* صور الكروت المربعة (باندلز/مجموعات): تظهر كاملة بدون قص */
custom-salla-product-card.lj-card-wide-img .s-product-card-image {
	background: #e2dfdc;
}

custom-salla-product-card.lj-card-wide-img .s-product-card-image img {
	object-fit: contain !important;
	object-position: center;
}


/* ==========================================================================
   الرئيسية — مسافات السكشنز حسب Figma: 72px ديسكتوب / 32px موبايل
   (الـ features و hero-4 ليهم padding داخلي فسيبناهم)
   ========================================================================== */
body.index .s-block--bundle-categories-grid-slider,
body.index .s-block--best-offers,
body.index .Ar-products-banner-6,
body.index .s-block--bundle-loujan-imprint,
body.index .AR-promo-banner-10 {
	margin-top: 32px !important;
}

@media (min-width: 1024px) {
	body.index .s-block--bundle-categories-grid-slider,
	body.index .s-block--best-offers,
	body.index .Ar-products-banner-6,
	body.index .s-block--bundle-loujan-imprint,
	body.index .AR-promo-banner-10 {
		margin-top: 72px !important;
	}

	/* «بصمة لوجان»: الـ component كان واخد padding 80px فوق وتحت (Figma: العنوان ملازق للسكشن) */
	body.index .s-block--bundle-loujan-imprint > * {
		padding-top: 0 !important;
		padding-bottom: 40px !important;
	}
}

@media (max-width: 1023px) {
	body.index .s-block--bundle-loujan-imprint > * {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}


/* بانر الأساسيات (ديسكتوب): اسم القسم أولاً ثم «تسوقي الان» تحته صغير (Figma) */
@media (min-width: 1024px) {
	body.index section.Ar-products-banner .features-products-head:not(.lg\:hidden) {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		gap: 4px;
		text-align: center;
	}

	body.index section.Ar-products-banner .features-products-head:not(.lg\:hidden) a {
		font-size: 24px;
		font-weight: 700;
		line-height: 28px;
		color: #18181b;
	}

	body.index section.Ar-products-banner .features-products-head:not(.lg\:hidden) h2 {
		font-size: 14px;
		font-weight: 400;
		line-height: 20px;
		color: #18181b;
	}
}


/* شريط الإعلان (موبايل): Figma ارتفاع 37px، سطر واحد، خط 12px، أيقونة 24px */
@media (max-width: 1023px) {
	body:is(.index, .product-single, .product-index, .cart) .s-advertisement {
		min-height: 37px;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content {
		box-sizing: border-box;
		min-height: 37px;
		padding: 6px 16px !important;
		justify-content: center !important;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content-main {
		display: flex;
		flex: 0 0 auto !important;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: max-content !important;
		max-width: 100%;
		margin: 0 auto;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content-main a,
	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content > a {
		font-size: 12px !important;
		font-weight: 700;
		line-height: 12px;
		white-space: nowrap;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-content-icon {
		flex: 0 0 24px;
		width: 24px;
		height: 24px;
		font-size: 24px;
		line-height: 24px;
	}

	body:is(.index, .product-single, .product-index, .cart) .s-advertisement-action {
		display: none !important;
	}
}


/* عناوين سكشنز الرئيسية (موبايل): Figma عنوان 16px سطر واحد، padding جانبي 16px، «شاهدي المزيد» 12px */
@media (max-width: 767px) {
	:root {
		--loujan-featured-header-gutter: 32px;
		--loujan-featured-title-size: 16px;
		--loujan-featured-title-line-height: 24px;
		--loujan-more-link-size: 12px;
		--loujan-category-title-size: 16px;
		--loujan-category-subtitle-size: 14px;
	}
}


/* «لوجان ليست مجرد اسم» (موبايل): Figma — صورة تقريبًا مربعة، عنوان 20px، وصف 14px بعرض كامل */
@media (max-width: 1023px) {
	body.index section.AR-promo-banner-10 > div {
		padding: 0 !important;
		gap: 16px;
	}

	body.index section.AR-promo-banner-10 .overflow-hidden {
		width: calc(100% - 32px) !important;
		height: auto !important;
		aspect-ratio: 364 / 398;
		margin: 0 auto;
	}

	body.index section.AR-promo-banner-10 .overflow-hidden img {
		height: 100% !important;
		object-fit: cover;
	}

	body.index section.AR-promo-banner-10 .text {
		box-sizing: border-box;
		padding: 0 16px !important;
	}

	body.index section.AR-promo-banner-10 .text > h2 {
		font-size: 20px !important;
		font-weight: 700 !important;
		line-height: 28px !important;
		margin-bottom: 8px !important;
	}

	body.index section.AR-promo-banner-10 .text > p {
		max-width: none !important;
		margin: 0 0 12px !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		line-height: 24px !important;
	}

	body.index section.AR-promo-banner-10 .text > a {
		font-size: 14px;
		font-weight: 700;
	}
}


/* نافذة جدول المقاسات (صورة): تظهر كاملة داخل الشاشة بدون سكرول */
.loujan-size-chart {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.6);
}

.loujan-size-chart.is-open {
	display: flex;
}

.loujan-size-chart__box {
	position: relative;
	display: flex;
	max-width: 100%;
	max-height: 100%;
	overflow: hidden;
	border-radius: 8px;
	background: #ffffff;
}

.loujan-size-chart__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 48px);
	object-fit: contain;
}

.loujan-size-chart__close {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.7);
	color: #ffffff;
	font-size: 24px;
	line-height: 36px;
	cursor: pointer;
}

html.loujan-size-chart-open {
	overflow: hidden;
}


/* ترتيب ثابت فوق الهيرو: الهيدر (z 50) ← الشريط ← الهيرو، والشريط داخل الـ flow ومش فوق الهيرو */
body.index .lj-coupon--strip {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body.index section.AR-hero-section-0 {
	position: relative;
	z-index: 0;
	margin-top: 0 !important;
}


/* هيرو الرئيسية: الصورة تتعرض من فوق (top) بدل النص */
body.index section.AR-hero-section-0 .banner {
	background-position: center top !important;
}


/* ==========================================================================
   الرئيسية — صفوف سلايدرات المنتجات حسب Figma (ديسكتوب):
   العنوان على حافة 56، والكروت صف أعرض بـ 4px من كل ناحية (حافة 52)،
   كارت 346 وفاصل 8. كان الثيم بيحط max-width 1280 على صف العنوان و320 على السلايد.
   ========================================================================== */
@media (min-width: 1024px) {
	html body.index section.s-block--best-offers .s-slider-block__title {
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	html body.index section.s-block--best-offers.container salla-products-slider .swiper {
		width: calc(100% + 8px) !important;
		margin: 0 -4px !important;
	}
}

html body.index .s-products-slider-card {
	max-width: none !important;
}


/* قسم التصنيفات (الرئيسية): Figma — العنوان على حافة 56، كارت 400 بفاصل 8، ومسافة 48 تحت العنوان */
@media (min-width: 1024px) {
	:root {
		--loujan-featured-header-max-width: none;
		--loujan-featured-header-gutter: 112px;
		--loujan-featured-header-gap: 48px;
		--loujan-category-card-width: 400px;
		--loujan-category-gap: 8px;
	}
}

@media (max-width: 767px) {
	:root {
		--loujan-featured-header-gap: 20px;
		--loujan-category-card-width: 280px;
		--loujan-category-gap: 8px;
	}
}


/* ==========================================================================
   بانرات الأساسيات 6 / 7 (ديسكتوب) — Figma 402:5300
   قسم بارتفاع 730: صورة 487×730 عند حافة 148 (92 من الكونتينر) + سلايدر 710 عند حافة 56
   (الصورة يسار/السلايدر يمين في 6، والعكس في 7 — اتجاه الـ grid محفوظ)
   ========================================================================== */
@media (min-width: 1024px) {
	html body.index section.Ar-products-banner-6 > .grid,
	html body.index section.Ar-products-banner-7 > .grid {
		display: grid !important;
		grid-template-columns: 710px 487px !important;
		align-items: center;
		justify-content: space-between;
		gap: 0 !important;
		box-sizing: border-box;
		padding: 56px 56px 56px 148px !important;
	}

	html body.index section.Ar-products-banner-6 > .grid > .lg\:col-span-2,
	html body.index section.Ar-products-banner-7 > .grid > .lg\:col-span-2 {
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 710px !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.index section.Ar-products-banner-6 > .grid > .overflow-hidden,
	html body.index section.Ar-products-banner-7 > .grid > .overflow-hidden {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: 487px !important;
		max-width: none !important;
		height: 730px !important;
		margin: -56px 0 !important;
	}

	html body.index section.Ar-products-banner-6 > .grid > .lg\:col-span-2 > .relative,
	html body.index section.Ar-products-banner-7 > .grid > .lg\:col-span-2 > .relative {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	/* الـ wrapper بتاع سلة كان عليه max-width 97% + padding 28 → السلايدر 596 (كارتين 286 + فاصل 24) بأسهم 57 */
	html body.index section.Ar-products-banner salla-products-slider {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.index section.Ar-products-banner salla-slider {
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.index section.Ar-products-banner .s-products-slider-slider .swiper {
		margin: 0 57px !important;
		padding: 0 !important;
	}

	/* عنوان البانر: اسم القسم 20px bold + «تسوقي الان» 16px */
	body.index section.Ar-products-banner .features-products-head:not(.lg\:hidden) a {
		font-size: 20px;
		line-height: 24px;
	}

	body.index section.Ar-products-banner .features-products-head:not(.lg\:hidden) h2 {
		font-size: 16px;
		line-height: 24px;
	}
}


/* «كل ما تحتاجينه»: Figma ارتفاع 200 (عنوان على 38، صف أيقونات 64، 38 تحت) — بدون padding الـ component الخارجي */
body.index .s-block--bundle-features-grid > * {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* hero الإطلالات + سلايدر الترندات بلوك واحد في Figma (فاصل 33 مش 72) */
body.index .AR-hero-section-4 + .s-block--best-offers {
	margin-top: 32px !important;
}


/* «لوجان ليست مجرد اسم» (ديسكتوب) — Figma 402:5381: قسم 550، صورة 501×550 عند حافة 56، والنص متمركز في باقي العرض */
@media (min-width: 1024px) {
	html body.index section.AR-promo-banner-10 > div {
		align-items: center;
		gap: 0 !important;
		padding: 0 !important;
	}

	html body.index section.AR-promo-banner-10 .text {
		flex: 1 1 0;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 24px;
	}

	html body.index section.AR-promo-banner-10 .overflow-hidden {
		flex: 0 0 501px;
		width: 501px !important;
		max-width: none !important;
		height: 550px !important;
		margin: 0 56px 0 0 !important;
	}

	html body.index section.AR-promo-banner-10 .text > h2 {
		font-size: 28px !important;
		font-weight: 700 !important;
		line-height: 32px !important;
		margin: 0 !important;
	}

	html body.index section.AR-promo-banner-10 .text > a {
		margin-top: 16px;
		font-size: 16px;
		font-weight: 700;
		line-height: 24px;
	}
}

.loujan-promo-eyebrow {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #18181b;
	text-align: center;
}


/* ==========================================================================
   كارت المنتج — Figma 402:5248 (ديسكتوب): صورة 346×490، 24 تحتها، صف المقاسات 28،
   16، الاسم سطرين (48)، 4، السعر 24 → معلومات 120. زر السلة دايرة 38 على الشمال (22 / تحت 4)
   الثيم كان مثبّت الصورة على 480px (min/max-height) وعلى padding 4/8 فبيتجاهل نسبة التصميم.
   ========================================================================== */
html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	aspect-ratio: 346 / 490;
}

html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image .product-flip-wrapper {
	position: absolute !important;
	inset: 0 !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
}

@media (min-width: 1024px) {
	html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content {
		position: relative;
		box-sizing: border-box;
		gap: 0 !important;
		min-height: 144px;
		padding: 24px 16px 0 !important;
	}

	html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-options {
		margin-bottom: 16px !important;
	}

	html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-title {
		min-height: 48px;
		margin: 0 !important;
	}

	html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-sub {
		height: 24px;
		min-height: 0;
		margin-top: 4px !important;
	}

	html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-sub .salla-add-product-button {
		position: absolute;
		bottom: 4px;
		left: 22px;
	}
}


/* ==========================================================================
   صفحة المنتج (ديسكتوب) — Figma 173:6054
   المعرض: صور 465×640 (نسبة 465/640) وفاصل 8 (كان 16 وبنسبة الصورة الأصلية 2:3)
   «قد يعجبك أيضا»: صف العنوان على حافة 56 وكروت 346 بفاصل 8 زي الرئيسية
   ========================================================================== */
@media (min-width: 1024px) {
	html body.product-single .sidebar .grid-cols-2 {
		gap: 8px !important;
	}

	html body.product-single .sidebar .grid-cols-2 .img_items {
		height: auto !important;
		overflow: hidden;
		aspect-ratio: 465 / 640;
	}

	html body.product-single .sidebar .grid-cols-2 .img_items img {
		height: 100% !important;
		object-fit: cover;
	}

	html body.product-single .single-product-slider .s-slider-block__title {
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	html body.product-single .single-product-slider salla-products-slider .swiper {
		width: calc(100% + 8px) !important;
		margin: 0 -4px !important;
	}
}

html body.product-single .s-products-slider-card {
	max-width: none !important;
}


/* فلاتر المقاس واللون (PLP) — Figma: مقاسات مربعات 55×44، ألوان 28×28 بعنوان تحتها */
body.product-index .loujan-plp-filter-body.loujan-plp-sizes,
body.product-index .loujan-plp-filter-body.loujan-plp-colors {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

body.product-index .loujan-plp-size {
	box-sizing: border-box;
	min-width: 55px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid #e4e4e7;
	border-radius: 2px;
	background: #ffffff;
	color: #18181b;
	font-size: 16px;
	line-height: 24px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.product-index .loujan-plp-size:hover {
	border-color: #18181b;
}

body.product-index .loujan-plp-size.is-active {
	border-color: #18181b;
	background: #18181b;
	color: #ffffff;
}

body.product-index .loujan-plp-colors {
	gap: 16px 24px;
}

body.product-index .loujan-plp-color {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

body.product-index .loujan-plp-color-swatch {
	box-sizing: border-box;
	display: block;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 2px;
	background: #d4d4d8;
	outline: 2px solid transparent;
	outline-offset: 2px;
	transition: outline-color 0.2s ease;
}

body.product-index .loujan-plp-color.is-active .loujan-plp-color-swatch {
	outline-color: #18181b;
}

body.product-index .loujan-plp-color small {
	font-size: 12px;
	line-height: 16px;
	color: #52525c;
}


/* ==========================================================================
   إيقاع المسافات (موبايل) — Figma: 32px بين كل سكشنين في الرئيسية، بدون padding رأسي داخلي
   ========================================================================== */
@media (max-width: 1023px) {
	body.index .s-block--bundle-categories-grid-slider,
	body.index .s-block--best-offers,
	body.index .s-block--bundle-features-grid,
	body.index .AR-hero-section-4,
	body.index .Ar-products-banner-6,
	body.index .Ar-products-banner-7,
	body.index .s-block--bundle-loujan-imprint,
	body.index .AR-promo-banner-10 {
		margin-top: 32px !important;
		margin-bottom: 0 !important;
	}

	body.index .AR-hero-section-4 + .s-block--best-offers {
		margin-top: 32px !important;
	}

	body.index section.Ar-products-banner > .grid {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.index .s-block--bundle-features-grid > * {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.index section.AR-promo-banner-10 > div {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}


/* مكوّنات الـ bundle (تصنيفات / مميزات / بصمة لوجان): الـ host بتاعها عليه margin-top 48 بيتدمج مع margin السكشن
   ويطلّع الفاصل 48 بدل 32 على الموبايل (و72 فاضل 72 على الديسكتوب) — بنصفّره والفاصل بييجي من السكشن بس */
body.index section[class*="s-block--bundle-"] > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* mini checkout الأصلي من سلة: يبقى موجود للـ JS (زر «اشتري الآن» عندنا يضغط عليه) لكن مخفي بصريًا */
body.product-single .s-add-product-button-mini-checkout,
body.product-single salla-add-product-button salla-quick-buy {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* مع quick-buy الزر يصير داخل صف flex مع الودجت المخفي، فنرجّعه بعرض كامل */
body.product-single .product-form .s-add-product-button-main {
	width: 100%;
}

body.product-single .product-form .s-add-product-button-main > salla-button {
	flex: 1 1 100%;
	width: 100%;
}

/* سطر وصف تحت عنوان «المجموعات» (يتحقن من JS) */
body.index .loujan-bundles-subtitle {
	margin: 4px 0 0;
	color: #52525b;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
}

@media (max-width: 767px) {
	body.index .loujan-bundles-subtitle {
		font-size: 12px;
		line-height: 16px;
		margin-top: 2px;
	}
}

/* إخفاء شريط الاشتراك في النشرة البريدية على الموبايل (ديسكتوب مخفي أصلًا) */
@media (max-width: 767px) {
	footer.store-footer .CA-newsletter {
		display: none !important;
	}
}

/* السلة (موبايل): خيارات الصنف (مقاس الفستان …) كانت بتطلع برا الكرت لأن العرض ثابت 120px + التسمية؛ نسمح بالالتفاف */
@media (max-width: 767px) {
	body.cart section.cart-item .s-product-options-option {
		flex-wrap: wrap;
		gap: 4px 12px;
		min-width: 0;
	}

	body.cart section.cart-item .s-product-options-option-content {
		flex: 1 1 100px;
		width: auto;
		min-width: 100px;
		max-width: 120px;
	}
}


/* ==========================================================================
   الإنجليزي (/en) — اتجاه LTR
   كل القواعد هنا تحت html[dir="ltr"] فما بتأثرش على العربي.
   الفكرة: أي حاجة متثبتة يمين/يسار للعربي بتتعكس هنا (مرآة للتصميم العربي).
   النصوص المحقونة بالإنجليزي في الـ JS (ljT)، ونصوص الـ CSS (content) تحت html[lang="en"].
   ========================================================================== */
html[dir="ltr"] {
	--loujan-category-text-align: left;
}

/* نصوص CSS content */
html[lang="en"] body.index section.s-block--best-offers .s-slider-block__display-all::after {
	content: "View More";
}

html[lang="en"] body.product-single .product-form .sticky-product-bar > .w-full > div:first-child::before {
	content: "Quantity";
}

html[lang="en"] body.cart .single-product-slider h1::after {
	content: "Similar Pieces";
}

@media (min-width: 1024px) {
	html[lang="en"] body:is(.product-single, .cart) .single-product-slider h1::after {
		content: "You May Also Like";
	}

	html[lang="en"] body.product-single .side_products h1::after {
		content: "Similar Products";
	}
}

@media (min-width: 1024px) {
	/* الهيدر: القائمة يسار (اللوجو والأيقونات متعكسين أصلًا من الثيم) — الأسماء الإنجليزي أعرض من 650 */
	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :first-child {
		justify-content: flex-end !important;
	}

	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) {
		direction: ltr;
		flex: 0 1 auto !important;
		width: auto !important;
		min-width: 650px;
	}

	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) li > a {
		padding-right: 7px;
		padding-left: 7px;
	}

	/* مرآة هيدر العربي: لوجو شمال 56 / قائمة متمركزة / أيقونات يمين */
	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header {
		position: relative;
		height: 60px;
	}

	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(2) {
		position: absolute;
		top: 9px;
		right: auto;
		left: 56px;
		height: 42px !important;
	}

	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) {
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}

	/* الهيرو: النص على الشمال */
	html[dir="ltr"] body.index section.AR-hero-section-4 .text-wrapper {
		align-items: flex-start !important;
	}

	html[dir="ltr"] body.index section.AR-hero-section-4 .position {
		align-items: flex-start !important;
		margin-right: auto !important;
		margin-left: 0 !important;
		text-align: left !important;
	}

	html[dir="ltr"] body.index section.AR-hero-section-4 .blocktitle,
	html[dir="ltr"] body.index section.AR-hero-section-4 .subtext {
		margin-right: auto !important;
		margin-left: 0 !important;
		text-align: left !important;
	}

	/* بانرات الأساسيات: مرآة العربي — 6: سلايدر شمال (56) وصورة يمين (148) / 7: صورة شمال (56) وسلايدر يمين (148) */
	html[dir="ltr"] body.index section.Ar-products-banner-6 > .grid,
	html[dir="ltr"] body.index section.Ar-products-banner-7 > .grid {
		padding: 56px 148px 56px 56px !important;
	}

	html[dir="ltr"] body.index section.Ar-products-banner-6 > .grid {
		direction: ltr !important;
	}

	html[dir="ltr"] body.index section.Ar-products-banner-7 > .grid {
		direction: rtl !important;
	}

	html[dir="ltr"] body.index section.Ar-products-banner-6 > .grid > div,
	html[dir="ltr"] body.index section.Ar-products-banner-7 > .grid > div {
		direction: ltr;
	}

	/* كارت المنتج: زر السلة يمين والسعر شمال */
	html[dir="ltr"] body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-sub .salla-add-product-button {
		right: 22px;
		left: auto;
	}

	/* الفوتر: البراند شمال والتواصل يمين، والمدفوعات يمين تحت */
	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .store-footer__inner > .container,
	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .bg-primary > .loujan-footer-bottom {
		direction: rtl;
	}

	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-contact,
	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-links,
	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-brand,
	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) footer.store-footer.loujan-footer .loujan-footer-bottom > * {
		direction: ltr;
	}
}

/* PLP: سلايدر السعر من الشمال لليمين */
html[dir="ltr"] body.product-index .loujan-plp-range {
	direction: ltr;
}

html[dir="ltr"] body.product-index .loujan-plp-range::after {
	right: calc(100% - var(--loujan-plp-to, 100%));
	left: var(--loujan-plp-from, 0%);
}

/* PDP: الوصف */
html[dir="ltr"] body.product-single .product__description .article--main {
	text-align: left;
}

/* السلة الجانبية: الدرج بيفتح من الشمال في الإنجليزي — زر الإغلاق والعمود (سعر/كمية/حذف) على اليمين */
html[dir="ltr"] #sidecart-panel .menu-close {
	right: 32px !important;
	left: auto !important;
}

html[dir="ltr"] #sidecart-panel section.cart-item > .grid > .flex:nth-child(2) {
	padding: 4px 96px 0 0;
}

html[dir="ltr"] #sidecart-panel section.cart-item .delete-btn,
html[dir="ltr"] #sidecart-panel section.cart-item > .grid > .flex:nth-child(3) {
	right: 0;
	left: auto;
}

html[dir="ltr"] #sidecart-panel section.cart-item > .grid > .flex:nth-child(3) {
	align-items: flex-end;
}

@media (max-width: 1023px) {
	html[dir="ltr"] #sidecart-panel .menu-close {
		right: 16px !important;
		left: auto !important;
	}
}

/* السلة: زر «Apply» جوه خانة الكوبون على اليمين، وسهم اختيار المقاس يمين */
@media (min-width: 1024px) {
	html[dir="ltr"] body.cart .loujan-cart-card #coupon-input {
		padding: 4px 100px 4px 12px;
	}

	html[dir="ltr"] body.cart .loujan-cart-card #coupon-input + salla-button {
		right: 4px;
		left: auto;
	}
}

html[dir="ltr"] body.cart section.cart-item .s-product-options-option-content select {
	background-position: right 8px center;
}

/* الهيرو (موبايل): النص على الشمال */
@media (max-width: 767px) {
	html[dir="ltr"] body.index section.AR-hero-section-4 .text-wrapper,
	html[dir="ltr"] body.index section.AR-hero-section-4 .position {
		align-items: flex-start !important;
	}

	html[dir="ltr"] body.index section.AR-hero-section-4 .position,
	html[dir="ltr"] body.index section.AR-hero-section-4 .blocktitle,
	html[dir="ltr"] body.index section.AR-hero-section-4 .subtext {
		margin-right: auto !important;
		margin-left: 0 !important;
		text-align: left !important;
	}
}

/* ===== عداد السلة على أيقونة الهيدر ===== */
/* الثيم بيخفي .s-cart-summary-wrapper (اللي فيه العداد) ويعرض أيقونة sicon-shopping بس؛ نظهر العداد لوحده */
salla-cart-summary.my-summary {
	position: relative;
}
salla-cart-summary.my-summary .s-cart-summary-wrapper {
	display: contents !important;
}
salla-cart-summary.my-summary #s-cart-icon,
salla-cart-summary.my-summary .s-cart-summary-content {
	display: none !important;
}
html body salla-cart-summary.my-summary .s-cart-summary-wrapper .s-cart-summary-count {
	position: absolute !important;
	top: -7px !important;
	right: -9px !important;
	left: auto !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--loujan-pdp-primary, #491217) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	pointer-events: none;
}
html body salla-cart-summary.my-summary .s-cart-summary-wrapper .s-cart-summary-count[data-lj-empty] {
	display: none !important;
}

/* ===== زر اللغة في أيقونات الهيدر (ديسكتوب) ===== */
.main-nav-container .site-header .loujan-lang-toggle {
	padding: 0;
	border: 0;
	background: none;
	color: #000;
	cursor: pointer;
}

.main-nav-container .site-header .loujan-lang-toggle i {
	font-size: 20px;
	line-height: 1;
}

/* ===== كارت المنتج: بدون تقييمات (مش موجودة في تصميم Figma) ===== */
.s-product-card-entry .s-product-card-rating,
.s-product-card-entry salla-rating-stars {
	display: none !important;
}

/* ##########################################################################
   تعديلات Claude (الكود اللي فوق هو كود live الأصلي) — امسحي من هنا لآخر الملف لو عايزة تعزليها
   ########################################################################## */

/* ===== شريط أزرار صفحة المنتج (موبايل/تابلت): «إضافة للسلة» و«اشتري الآن» جنب بعض =====
   الارتفاع الكلي 64px بدل 136px (الزرين كانوا فوق بعض). الشريط نفسه بيتبني في live.js (.loujan-pdp-fixed-bar) */
@media (max-width: 1023px) {
	body.product-single .loujan-pdp-fixed-bar {
		flex-direction: row !important;
		align-items: stretch !important;
		gap: 8px !important;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body.product-single .loujan-pdp-fixed-bar button {
		height: 44px !important;
		min-height: 44px !important;
		font-size: 14px !important;
		line-height: 1 !important;
		border-radius: 6px !important;
		white-space: nowrap !important;
	}

	body.product-single .loujan-pdp-fixed-bar .loujan-pdp-fixed-add {
		flex: 1.3 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
	}

	body.product-single .loujan-pdp-fixed-bar .loujan-pdp-fixed-buy {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		gap: 6px !important;
	}

	body.product-single .loujan-pdp-fixed-bar img {
		width: 18px !important;
		height: 18px !important;
		object-fit: contain !important;
	}

	/* المساحة اللي تحت المحتوى عشان الشريط ما يغطيش آخر الصفحة (كانت 140px للشريط الطويل) */
	body.product-single #main-content {
		padding-bottom: 88px !important;
	}
}

/* ===== زر الواتساب العائم (ويدجت Cartat) =====
   الحجم الافتراضي للويدجت 72px (ضخم): موبايل 56px، ديسكتوب 60px.
   في صفحة المنتج بس بيترفع فوق شريط الأزرار الثابت، وباقي الصفحات مكانه الطبيعي.
   (لو الزر مش ظاهر أصلاً: الويدجت مطفي من لوحة Cartat، مش من الـ CSS) */
#cartat-livechat-root .cartat-lc-launcher {
	width: 56px !important;
	height: 56px !important;
	box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28) !important;
}

#cartat-livechat-root .cartat-lc-launcher svg,
#cartat-livechat-root .cartat-lc-launcher img {
	width: 55% !important;
	height: 55% !important;
}

@media (min-width: 768px) {
	#cartat-livechat-root .cartat-lc-launcher {
		width: 60px !important;
		height: 60px !important;
	}
}

@media (max-width: 1023px) {
	body.product-single #cartat-livechat-root.cartat-lc-bottom-right,
	body.product-single #cartat-livechat-root.cartat-lc-bottom-left {
		bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

@media (min-width: 1024px) {
	body.product-single #cartat-livechat-root.cartat-lc-bottom-right,
	body.product-single #cartat-livechat-root.cartat-lc-bottom-left {
		bottom: 100px !important;
	}
}


/* ===== قائمة الموبايل (Burger Menu): قائمة جانبية رأسية =====
   الثيم بيعرض التصنيفات أفقياً في شريط قصير فوق صفحة معتمة. هنا بقت درج جانبي بالطول،
   التصنيفات تحت بعض، كل واحد بعرض كامل وخط فاصل. (الأوفرلاي المعتم بيغطي باقي الشاشة وبيقفل القائمة بالضغط عليه) */
@media (max-width: 1023px) {
	#mobile-menu-overlay #mobile-menu-wrapper {
		position: absolute !important;
		top: 0 !important;
		bottom: 0 !important;
		right: 0 !important;
		left: auto !important;
		width: 78vw !important;
		max-width: 320px !important;
		height: auto !important;
		max-height: none !important;
		background: #ffffff !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
	}

	/* الإنجليزي (LTR): الدرج من الشمال */
	html[dir="ltr"] #mobile-menu-overlay #mobile-menu-wrapper {
		right: auto !important;
		left: 0 !important;
		box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
	}

	#mobile-menu-wrapper .tabs {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	#mobile-menu-wrapper .tabs > div {
		align-items: stretch !important;
		gap: 0 !important;
		width: 100% !important;
	}

	#mobile-menu-tabs {
		display: flex !important;
		flex-direction: column !important;
		justify-content: flex-start !important;
		align-items: stretch !important;
		gap: 0 !important;
		width: 100% !important;
		overflow: visible !important;
	}

	#mobile-menu-tabs button {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		width: 100% !important;
		min-height: 52px !important;
		margin: 0 !important;
		padding: 12px 20px !important;
		background: transparent !important;
		border: 0 !important;
		border-bottom: 1px solid #eeeeee !important;
		color: #18181b !important;
		font-size: 16px !important;
		font-weight: 500 !important;
		line-height: 1.5 !important;
		text-align: start !important;
		white-space: normal !important;
		cursor: pointer;
	}

	#mobile-menu-tabs button:last-child {
		border-bottom: 0 !important;
	}

	/* التبويب المحدد (text-black / border-b-2) بنفس شكل باقي العناصر */
	#mobile-menu-tabs button.text-black,
	#mobile-menu-tabs button.text-gray-500 {
		color: #18181b !important;
		border-bottom: 1px solid #eeeeee !important;
	}

	#mobile-menu-tabs button:last-child.text-black,
	#mobile-menu-tabs button:last-child.text-gray-500 {
		border-bottom: 0 !important;
	}

	/* المحتوى القديم بتاع الثيم مش محتاجينه: التصنيفات الفرعية بتظهر تحت التصنيف نفسه (أكورديون — live.js بلوك [12]) */
	#mobile-menu-content,
	#mobile-subcategory-content {
		display: none !important;
	}

	/* قفل سكرول الصفحة وهي مفتوحة */
	html.loujan-menu-open,
	body.loujan-menu-open {
		overflow: hidden !important;
		overscroll-behavior: none;
	}
}


/* ===== زر «دليل القياسات» (.loujan-pdp-size-guide): حجم الخط 15px (كان 10px) =====
   !important لأن في قاعدة تانية في ستايلات الثيم بتغلب الأصغر */
body.product-single .loujan-pdp-size-guide {
	gap: 8px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2px;
	text-underline-offset: 3px;
	color: #000000 !important;
}

body.product-single .loujan-pdp-size-guide > span:first-child {
	font-size: inherit !important;
}

/* الأيقونة بنفس نسبة الأصل (16×9) بس أكبر */
body.product-single .loujan-pdp-size-guide-icon {
	width: 30px !important;
	height: 16.9px !important;
}


/* ##########################################################################
   لون هوية لوجان الأساسي: #491217 (عنابي غامق)
   - لون الثيم الأساسي (--color-primary) متخزن في ستايل بيتحط في آخر الصفحة (:root)،
     فنستخدم html:root عشان نغلبه بالـ specificity من غير ما نحتاج !important.
   - الأزرار الأساسية (إضافة للسلة / إتمام الطلب / كوبون ...) كانت أسود ثابت في الكود، والبنفسجي القديم (#4b225b)
     اتبدّل بالعنابي في أماكنه فوق.
   - الفوتر فضل أسود (مقصود في التصميم).
   لو عايزة تغيري اللون بعدين: غيري القيمة في --loujan-brand بس (والباقي بيتبعها).
   ########################################################################## */

:root {
	--loujan-brand: #491217;
	--loujan-brand-dark: #350d11;
	--loujan-brand-light: #5f1d23;
}

html:root {
	--color-primary: #491217;
	--color-primary-d: #3a0e12;
	--color-primary-dark: #350d11;
	--color-primary-l: #7a3a40;
	--color-primary-light: #5f1d23;
	--color-primary-reverse: #ffffff;
	--theme-primary-color: #491217;
	--loujan-pdp-primary: #491217;
}

/* الأزرار الأساسية */
body.product-single #sticky-product-bar .s-button-element,
body.cart #cart-submit .s-button-element,
body.cart #coupon-btn .s-button-element,
#sidecart-panel .loujan-drawer-checkout,
body.product-single .loujan-pdp-fixed-bar .loujan-pdp-fixed-add {
	background: var(--loujan-brand) !important;
	border-color: var(--loujan-brand) !important;
	color: #ffffff !important;
}

body.product-single #sticky-product-bar .s-button-element:hover,
body.cart #cart-submit .s-button-element:hover,
body.cart #coupon-btn .s-button-element:hover,
#sidecart-panel .loujan-drawer-checkout:hover {
	background: var(--loujan-brand-dark) !important;
	border-color: var(--loujan-brand-dark) !important;
}

/* المقاس المختار في صفحة المنتج + علامة الفلتر المحددة */
body.product-single .main-content .product-form .custom-radio-options label.radio-label:has(input:checked) {
	border-color: var(--loujan-brand) !important;
	background: var(--loujan-brand) !important;
	color: #ffffff !important;
}

body.product-index .loujan-plp-check input:checked {
	border-color: var(--loujan-brand) !important;
	background-color: var(--loujan-brand) !important;
}

/* العناصر التفاعلية المحددة (مؤشر المعرض، فلتر المقاس، زر العرض) */
body.product-single .loujan-pdp-bar.is-active,
body.product-index .loujan-plp-size.is-active,
body.product-index .loujan-plp-view.is-active i {
	background: var(--loujan-brand) !important;
}

body.product-index .loujan-plp-size.is-active {
	border-color: var(--loujan-brand) !important;
	color: #ffffff !important;
}



/* ===== قائمة الهيدر (ديسكتوب): 10 تصنيفات ظاهرة («بطاقات اهداء» اتشالت من القائمة المخفية في live.js) =====
   القائمة متمركزة في نص الهيدر، فمع 10 عناصر كانت بتتداخل مع أيقونات الهيدر في الشاشات المتوسطة،
   فنصغّر الخط والمسافات تدريجياً حسب العرض. */
@media (min-width: 1200px) and (max-width: 1535px) {
	.main-nav-container .site-header #menu-tabs > li > a {
		font-size: clamp(13.5px, calc(7px + 0.55vw), 16px) !important;
		padding-inline: clamp(8px, calc((100vw - 800px) / 48), 12px) !important;
	}
}

/* (اتشالت 2026-11-05: إخفاء «بطاقات اهداء» تحت 1200px — الخط بيصغر عشان كل التصنيفات تكفي في سطر واحد، بلوك [23]) */


/* إزالة أيقونة X (تويتر) من الفوتر */
footer.store-footer .s-social-link:has(> a[href*="x.com"]),
footer.store-footer .s-social-link:has(> a[href*="twitter.com"]),
footer.store-footer .s-social-link:has(> a[aria-label="twitter" i]) {
	display: none !important;
}


/* ===== دليل القياسات (.loujan-pdp-size-guide): قفل حجم الخط 15px (Bulletproof) =====
   - Specificity عالية (html body.product-single span.…) + !important عشان ما يغلبهوش أي ستايل من الثيم.
   - الموبايل (≤768px): الكلاس نفسه وكل اللي جواه (النص والأيقونة) بنفس الحجم، و line-height ثابت.
   - بلوك [16] في live.js بيحط نفس القاعدة كـ <style> في آخر الصفحة كخط دفاع تاني. */
html body.product-single span.loujan-pdp-size-guide {
	font-size: 15px !important;
}

@media (max-width: 768px) {
	html body.product-single .loujan-pdp-size-guide,
	html body.product-single .loujan-pdp-size-guide * {
		font-size: 15px !important;
	}

	html body.product-single .loujan-pdp-size-guide {
		line-height: normal !important;
	}
	body.product-single .loujan-pdp-size-guide {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px !important;
	letter-spacing: 0.4px;
	text-decoration: underline;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
}

}
body.product-single .loujan-pdp-size-guide {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px !important;
	letter-spacing: 0.4px;
	text-decoration: underline;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Loujan — صفحة «دليل المقاسات» (Size Chart) — حسب تصميم فيجما (node 518:1612)
   تتحط في: Custom CSS بتاع سلة (مع size-chart.js في Custom JS).
   كل الستايل متقيّد بـ .loujan-sc و body.loujan-size-chart-page، فمبيأثرش على أي صفحة تانية.
   ========================================================================== */

/* ---------- قالب صفحة سلة: نشيل العنوان والفتات وخلفية الكارت ونفرد العرض (بس لما الصفحة فيها العلامة) ---------- */
body.loujan-size-chart-page nav.breadcrumbs,
body.loujan-size-chart-page .content--single-page > h1,
body.loujan-size-chart-page .content--single-page > salla-comments,
body.loujan-size-chart-page .content--single-page > .s-comments {
	display: none !important;
}

body.loujan-size-chart-page .content--single-page {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.loujan-size-chart-page .content--single-page .content-entry {
	margin: 0 !important;
	padding: 0 !important;
}

/* ---------- الصفحة ---------- */
.loujan-sc {
	--sc-black: #000000;
	--sc-text: #18181b;
	--sc-muted: #626266;
	--sc-size-bg: #f7f7f7;
	--sc-line: #dedee0;
	--sc-card: rgba(75, 34, 91, 0.02);
	--sc-side: clamp(16px, 6.3vw, 81px);

	box-sizing: border-box;
	width: 100%;
	max-width: 1284px;
	margin: 0 auto;
	padding: 56px 0 108px;
	color: var(--sc-black);
	text-align: start;
	font-family: inherit;
	line-height: normal;
}

.loujan-sc *,
.loujan-sc *::before,
.loujan-sc *::after {
	box-sizing: border-box;
}

/* ---------- عنوان الصفحة (1120px على الشمال/اليمين حسب اللغة) ---------- */
.loujan-sc .loujan-sc__head {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 1120px;
	margin: 0 0 36px;
	margin-inline-end: auto;
}

.loujan-sc .loujan-sc__title {
	margin: 0;
	font-size: 32px;
	font-weight: 400;
	line-height: 32px;
	color: var(--sc-black);
}

.loujan-sc .loujan-sc__subtitle {
	margin: 0;
	font-size: 22px;
	font-weight: 400;
	line-height: 22px;
	color: var(--sc-muted);
}

/* ---------- الكارت (خلفية فاتحة جداً + الجداول جواه) ---------- */
.loujan-sc .loujan-sc__card {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin: 0 0 60px;
	padding: 37px var(--sc-side);
	background: var(--sc-card);
	border-radius: 8px;
	overflow: hidden;
}

.loujan-sc .loujan-sc__card--abaya {
	padding-top: 23px;
	padding-bottom: 22px;
}

.loujan-sc .loujan-sc__card:last-child {
	margin-bottom: 0;
}

.loujan-sc .loujan-sc__block {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
}

/* عنوان الجدول + «بالإنش» */
.loujan-sc .loujan-sc__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
}

.loujan-sc .loujan-sc__block--length .loujan-sc__bar {
	min-height: 36px;
}

.loujan-sc .loujan-sc__h {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.7;
	color: var(--sc-black);
}

.loujan-sc .loujan-sc__block--length .loujan-sc__h {
	font-size: 21px;
	font-weight: 400;
}

.loujan-sc .loujan-sc__unit {
	flex: 0 0 auto;
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	color: var(--sc-muted);
	white-space: nowrap;
}

/* ---------- الجدول ---------- */
.loujan-sc .loujan-sc__scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.loujan-sc .loujan-sc__table {
	width: 100%;
	min-width: 0;
	margin: 0;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	border-top: 1px solid var(--sc-black);
	background: #ffffff;
}

.loujan-sc .loujan-sc__table th,
.loujan-sc .loujan-sc__table td {
	height: 48px;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-bottom: 1px solid var(--sc-line);
	background: #ffffff;
	color: var(--sc-black);
	text-align: center;
	vertical-align: middle;
	font-size: 14px;
	line-height: 1.6;
	word-break: break-word;
}

/* الأرقام: Inter زي فيجما */
.loujan-sc .loujan-sc__table td,
.loujan-sc .loujan-sc__table tbody th {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	font-weight: 400;
}

/* عمود المقاس */
.loujan-sc .loujan-sc__table .is-size {
	background: var(--sc-size-bg);
}

.loujan-sc .loujan-sc__table tbody th.is-size {
	font-weight: 600;
}

/* رأس الجدول: Bukra Bold + خط أسود تحته */
.loujan-sc .loujan-sc__table thead th {
	height: 48px;
	border-bottom: 1px solid var(--sc-black);
	font-family: inherit;
	font-weight: 700;
	color: var(--sc-text);
}

.loujan-sc .loujan-sc__table thead th.is-size {
	background: var(--sc-size-bg);
}

/* الإنجليزي: رأس الجدول بنفس الخط */
.loujan-sc[dir='ltr'] .loujan-sc__table thead th {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ---------- الموبايل (فيجما 440px) ---------- */
@media (max-width: 767px) {
	/* الموبايل: نلغي padding الـ container بتاع الثيم (فيجما: الهوامش 16px بس، وهي بتتحط جوه التصميم) */
	body.loujan-size-chart-page #main-content > .container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.loujan-sc {
		padding: 28px 0 0;
	}

	.loujan-sc .loujan-sc__head {
		gap: 16px;
		margin-bottom: 20px;
		padding-inline: 16px;
	}

	.loujan-sc .loujan-sc__title {
		font-size: 20px;
		line-height: 20px;
	}

	.loujan-sc .loujan-sc__subtitle {
		font-size: 14px;
		line-height: 14px;
	}

	.loujan-sc .loujan-sc__card {
		gap: 0;
		margin: 0;
		padding: 0;
		background: transparent;
		border-radius: 0;
		overflow: visible;
	}

	.loujan-sc .loujan-sc__block {
		gap: 16px;
		max-width: none;
		margin-bottom: 10px;
		padding: 16px 0;
	}

	.loujan-sc .loujan-sc__bar,
	.loujan-sc .loujan-sc__block--length .loujan-sc__bar {
		min-height: 18px;
		padding-inline: 16px;
	}

	.loujan-sc .loujan-sc__h,
	.loujan-sc .loujan-sc__block--length .loujan-sc__h {
		font-size: 18px;
		line-height: 18px;
	}

	.loujan-sc .loujan-sc__unit {
		font-size: 12px;
	}

	.loujan-sc .loujan-sc__scroll {
		width: calc(100% - 32px);
		margin-inline: auto;
	}

	/* رأس الجدول على الموبايل: Bukra Regular 13px، وعمود «المقاس» Bold 14px */
	.loujan-sc .loujan-sc__table thead th {
		height: 47px;
		padding: 0 2px;
		font-size: 13px;
		font-weight: 400;
		line-height: 1.6;
	}

	.loujan-sc .loujan-sc__table thead th.is-size {
		font-size: 14px;
		font-weight: 700;
	}

	.loujan-sc .loujan-sc__table th,
	.loujan-sc .loujan-sc__table td {
		height: 48px;
		padding: 0 2px;
	}

	.loujan-sc .loujan-sc__table thead th {
		border-bottom: 1px solid var(--sc-black);
	}
}
span.loujan-pdp-size-guide {
  background-color: #491217 !important;
}
/* دليل القياسات (الأصلي): ستايل احتياطي لو الزر الجديد (JS) ما اتحقنش. الأصلي بيتخفى لما الجديد يظهر */
body.product-single .loujan-pdp-size-guide:not(:has(+ .loujan-size-guide-btn)) {
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 6px 14px !important;
  align-items: center !important;
  gap: 8px !important;
}
body.product-single .loujan-pdp-size-guide:not(:has(+ .loujan-size-guide-btn)) > span:first-child {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 5px !important;
}
body.product-single .loujan-pdp-size-guide-icon img {
  filter: brightness(0) invert(1) !important;
}
/* ===== زرار البانر الرئيسي بعد نقله جوه .position (live.js [17]) ===== */
/* أقصى الشمال في العربي (RTL): .position هو flex-col و items-end، فـ flex-end = الشمال */
.banner .position > a.loujan-hero-cta {
  align-self: flex-end !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
}

/* مسافة العنوان الرئيسي ← النص الفرعي */
.banner .position .subtext {
  margin-top: 12px !important;
}

/* زرار البانر: شيل الـ border الأبيض (كمان في حالة hover) */
.banner .position > a.loujan-hero-cta,
.banner .position > a.loujan-hero-cta:hover,
.banner .position > a.loujan-hero-cta:focus {
  border: 0 !important;
  border-color: transparent !important;
}
.s-infinite-scroll-last,
.infinite-scroll-last {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}
/* ===== البانر الرئيسي على الموبايل (<=768px): المحتوى يطلع فوق في المساحة الفاضية فوق المودل (بدل التوسيط الرأسي) ===== */
@media (max-width: 768px) {
  .banner:is(:has(> a.button), :has(.loujan-hero-cta)) .text-wrapper {
    justify-content: flex-start !important;
    padding-top: 48px !important;
  }
}

/* ===== أقسام المنتجات المقترحة في صفحة المنتج (ديسكتوب + موبايل): صور بطول موحّد وكاملة من غير قص ومن غير مساحات بيضا =====
   الأقسام: .side_products («منتجات مختارة» تحت الوصف) و .similar-products__list («منتجات مشابهة») و .single-product-slider («قد يعجبك أيضاً»).
   - صندوق الصورة نسبته ثابتة 2/3 (نسبة صور سلة 666×1000) فكل الصور بنفس الطول، والصورة بـ object-fit: contain فمفيش قص.
   - الارتفاع الثابت بيشيل المساحة البيضا تحت الكروت الأقصر (كان السلايدر بياخد ارتفاع أطول كارت).
   - في .side_products كمان الكارت كان max-height:267px والصورة flex:1 1 0 فبتتضغط لـ 113px: اتشالوا. */
html body.product-single :is(.side_products, .similar-products__list, .single-product-slider) .s-products-list-wrapper {
	grid-template-rows: none !important;
	grid-auto-rows: auto !important;
	height: auto !important;
	max-height: none !important;
	align-items: start;
}

html body.product-single :is(.side_products, .similar-products__list, .single-product-slider) .products-fixed-slider- {
	height: auto !important;
	max-height: none !important;
}

html body.product-single :is(.side_products, .similar-products__list, .single-product-slider) custom-salla-product-card.s-product-card-entry.s-product-card-vertical {
	height: auto !important;
	max-height: none !important;
}

html body.product-single :is(.side_products, .similar-products__list, .single-product-slider) custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image {
	flex: 0 0 auto !important;
	aspect-ratio: 2 / 3 !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: hidden;
}

html body.product-single :is(.side_products, .similar-products__list, .single-product-slider) custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image .product-flip-wrapper {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
}

html body.product-single :is(.side_products, .similar-products__list, .single-product-slider) custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image .product-flip-inner {
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
}

html body.product-single :is(.side_products, .similar-products__list, .single-product-slider) custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image .product-flip-face.front,
html body.product-single :is(.side_products, .similar-products__list, .single-product-slider) custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image .product-flip-face.back {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: contain !important;
}

/* إخفاء قسم «قد يعجبك أيضاً» (.single-product-slider آخر صفحة المنتج) بالكامل: العنوان والسلايدر.
   لإرجاعه: امسحي القاعدة دي بس. */
body.product-single .single-product-slider {
	display: none !important;
}

/* ===== لوحة البحث: مكانها تحت الهيدر الفعلي (live.js [19] بيحدّث --lj-header-bottom) ===== */
html body #search-panel-wrapper.not-scrolled {
  top: var(--lj-header-bottom, var(--header-height)) !important;
}

/* ===== دليل المقاسات: الزر القديم (.loujan-pdp-size-guide) مخفي من أول لحظة (CSS قبل أي JS)، والشريط الجديد (live.js [16]) هو اللي بيظهر ===== */
body.product-single .loujan-pdp-size-guide {
  display: none !important;
}

/* ===== صفحة التصنيف: هيكل التحميل (live.js [20]) — نفس شبكة الكروت (3 أعمدة ديسكتوب / 2 موبايل) ===== */
body.product-index .flex:has(> .loujan-plp-skeleton) {
  flex-direction: column;
}

body.product-index .loujan-plp-skeleton {
  display: grid;
  grid-template-columns: repeat(var(--loujan-plp-columns, 3), minmax(0, 1fr));
  gap: 40px var(--loujan-plp-gap, 8px);
  width: 100%;
  pointer-events: none;
}

@media (max-width: 1023px) {
  body.product-index .loujan-plp-skeleton .loujan-plp-skeleton__card:nth-child(n+5) {
    display: none;
  }
}

body.product-index .loujan-plp-skeleton__card {
  min-width: 0;
}

body.product-index .loujan-plp-skeleton__img,
body.product-index .loujan-plp-skeleton__line {
  background: linear-gradient(90deg, #f1f1f2 25%, #e7e7e9 37%, #f1f1f2 63%);
  background-size: 400% 100%;
  animation: loujan-plp-shimmer 1.4s ease infinite;
}

body.product-index .loujan-plp-skeleton__img {
  aspect-ratio: 346 / 490;
  width: 100%;
}

body.product-index .loujan-plp-skeleton__line {
  height: 14px;
  margin-top: 14px;
  border-radius: 4px;
}

body.product-index .loujan-plp-skeleton__chips { width: 55%; height: 22px; margin-top: 20px; }
body.product-index .loujan-plp-skeleton__title { width: 90%; }
body.product-index .loujan-plp-skeleton__title2 { width: 60%; }
body.product-index .loujan-plp-skeleton__price { width: 30%; height: 16px; }

@keyframes loujan-plp-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
  body.product-index .loujan-plp-skeleton__img,
  body.product-index .loujan-plp-skeleton__line {
    animation: none;
  }
}

/* صورة الكارت: رمادي فاتح لحد ما الصورة تتحمّل (بدل أبيض فاضي) */
body.product-index .s-products-list .s-product-card-image {
  background-color: #f1f1f2;
}

/* ===== صفحة التصنيف: صف رمادي فوري (CSS بس) من أول رسم لقايمة المنتجات =====
   الهيكل بتاع live.js [20] بيتحط بعد تشغيل الـ JS (defer) بحوالي 0.2 ثانية، وفي الفترة دي كانت المنطقة فاضية.
   الـ ::before ده بيتحط مع الـ CSS (قبل أي JS) بصف من 3 مربعات (2 على الموبايل) بنفس أبعاد صور الكروت،
   وبيختفي أول ما الهيكل الكامل يتحط أو أول ما أول كارت يترسم (أو بعد 10 ثواني لو التصنيف فاضي). */
body.product-index .main-content salla-products-list::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 2.15 / 1;
  background: repeating-linear-gradient(90deg, #f1f1f2 0, #f1f1f2 calc((100% - 16px) / 3), transparent calc((100% - 16px) / 3), transparent calc((100% - 16px) / 3 + 8px));
  animation: loujan-plp-pre-hide 0s linear 10s forwards;
}

@media (max-width: 1023px) {
  body.product-index .main-content salla-products-list::before {
    aspect-ratio: 1.41 / 1;
    background: repeating-linear-gradient(90deg, #f1f1f2 0, #f1f1f2 calc((100% - 8px) / 2), transparent calc((100% - 8px) / 2), transparent calc((100% - 8px) / 2 + 8px));
  }
}

body.product-index .main-content salla-products-list:has(.s-product-card-image)::before,
body.product-index .flex:has(> .loujan-plp-skeleton) > salla-products-list::before {
  display: none;
}

@keyframes loujan-plp-pre-hide {
  to { max-height: 0; aspect-ratio: auto; overflow: hidden; visibility: hidden; }
}

/* ===== خانة «ملاحظة على الطلب» في السلة: خط أصغر ولون رمادي بدل الأسود الصريح =====
   الثيم كان بيفرض 16px ولون غامق على الـ textarea (قاعدة live.js [7] = 13px كانت بتخسر قدامه). */
body.cart .loujan-order-note textarea {
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #52525b !important;
}

body.cart .loujan-order-note textarea::placeholder {
  font-size: 13px !important;
  color: #a1a1aa !important;
  opacity: 1 !important;
}

/* ===== بانر «إطلالات الخريف 2026» (اللي لينكه c2062248108) — ديسكتوب فقط: ننزّل الصورة شوية عشان راس المودل ما تتقصش =====
   الصورة 1350×900 بتتكبّر لعرض البانر (cover) فبتفيض 321px رأسياً، والتوسيط (50%) كان بيقص 160px من فوق.
   25% بيقص ~80px بس من فوق، فالراس بتظهر كاملة. */
@media (min-width: 1024px) {
  .banner:has(> a[href*="c2062248108"]) {
    background-position: 50% 25% !important;
  }
}

/* ===== [Claude 2026-10-25] PDP: إخفاء USPs (أقمشة مميزة / قصات متنوعة) ===== */
body.product-single .loujan-pdp-perks { display: none !important; }

/* ===== [Claude 2026-10-25] هيرو الرئيسية: النص والوصف والزر بمحاذاة اتجاه اللغة =====
   مكان البلوك (النهاية) متعيّن من لوحة سلة؛ هنا بس محاذاة المحتوى جواه (start = يمين في العربي / شمال في الإنجليزي) */
body.index section.AR-hero-section-0 .banner .position {
  align-items: flex-start !important;
  text-align: start !important;
}
body.index section.AR-hero-section-0 .banner .position :is(.blocktitle, .subtext) {
  text-align: start !important;
  margin-inline: 0 auto !important;
}
body.index section.AR-hero-section-0 .banner .position > a.loujan-hero-cta,
body.index section.AR-hero-section-0 .banner .position > a.button {
  align-self: flex-start !important;
  margin-inline: 0 auto !important;
}

/* ===== [Claude 2026-10-25] أيقونات السوشيال في الفوتر (موبايل): نفس ستايل الديسكتوب ===== */
@media (max-width: 767px) {
	footer.store-footer.loujan-footer .loujan-footer-brand .s-social-list {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	footer.store-footer.loujan-footer .loujan-footer-brand .s-social-link a {
		display: grid;
		place-items: center;
		width: 32px;
		height: 32px;
		border: 1px solid #fff;
		border-radius: 6px;
		background: #fff;
		transition: background-color .2s;
	}

	footer.store-footer.loujan-footer .loujan-footer-brand .s-social-link a,
	footer.store-footer.loujan-footer .loujan-footer-brand .s-social-link a i {
		color: #000 !important;
	}

	footer.store-footer.loujan-footer .loujan-footer-brand .s-social-link a:hover {
		background: #e5e5e5;
		border-color: #e5e5e5;
	}
}

/* ===== [Claude 2026-10-26] هيرو الرئيسية موبايل: العنوان سطر واحد والوصف سطر واحد والزر تحتهم، الكتلة في منتصف الهيرو، ثم margin-top بالسالب (--loujan-hero-m-shift) عشان النص ما يبقاش فوق الموديل ===== */
@media (max-width: 767px) {
  :root { --loujan-hero-m-shift: -246px; --loujan-hero-x-shift: 30px; }
  body.index section.AR-hero-section-0 .banner {
    padding-top: 0 !important;
  }
  body.index section.AR-hero-section-0 .banner .text-wrapper {
    justify-content: center !important;
    padding-top: 0 !important;
  }
  body.index section.AR-hero-section-0 .banner .position {
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    width: fit-content !important;
    max-width: calc(100% - 32px) !important;
    margin-top: var(--loujan-hero-m-shift) !important;
    padding-inline: 16px !important;
    transform: none !important;
    align-self: flex-end !important; /* RTL: flex-end = شمال الشاشة */
    align-items: flex-start !important; /* RTL: عناصر الكتلة على اليمين جواها */
    text-align: start !important;
    position: relative !important;
    right: var(--loujan-hero-x-shift) !important; /* يزيح الكتلة شمال */
  }
  html[dir="ltr"] body.index section.AR-hero-section-0 .banner .position {
    right: auto !important;
    left: -30px !important; /* النص ييجي على 10px من الحافة */
    margin-top: calc(var(--loujan-hero-m-shift) - 60px) !important;
    width: calc(100vw + 12px) !important; /* المحتوى = 100vw - 20px (10px من كل حافة) */
    max-width: none !important;
    align-self: flex-start !important; /* LTR: البلوك على شمال الشاشة */
    align-items: flex-start !important; /* LTR: العناصر شمال جوه البلوك */
  }
  body.index section.AR-hero-section-0 .banner .position :is(.blocktitle, .subtext) {
    max-width: 100% !important;
    white-space: nowrap !important;
  }
  body.index section.AR-hero-section-0 .banner .position .blocktitle {
    margin-top: 0 !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
  }
  body.index section.AR-hero-section-0 .banner .position .subtext {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}

/* الإنجليزي موبايل: النص أطول من العربي — العنوان سطر واحد بخط يتصغّر مع العرض، والوصف يلتف لو احتاج */
@media (max-width: 767px) {
  html[dir="ltr"] body.index section.AR-hero-section-0 .banner .position .blocktitle {
    font-size: min(20px, 4.6vw) !important;
  }
  html[dir="ltr"] body.index section.AR-hero-section-0 .banner .position .subtext {
    white-space: normal !important;
    font-size: min(13px, 3.4vw) !important;
  }
}

/* هيرو الرئيسية — الإنجليزي ديسكتوب: الكتلة على شمال الشاشة (حافة 56) بدل ما تبقى فوق الموديل */
@media (min-width: 768px) {
  html[dir="ltr"] body.index section.AR-hero-section-0 .banner .position {
    align-self: flex-start !important;
    width: fit-content !important;
    max-width: calc(100% - 80px) !important;
    margin-inline: -24px auto !important; /* يوصل لحافة 56 */
    align-items: flex-start !important;
    text-align: left !important;
  }
  html[dir="ltr"] body.index section.AR-hero-section-0 .banner .position .blocktitle {
    font-size: 2.75vw !important; /* أصغر من الأصلي (~3.06vw) عشان العنوان ما يكملش فوق الموديل */
  }
}

/* ===== [Claude 2026-11-05] قائمة الموبايل: التصنيفات الفرعية (أكورديون) — مع بلوك [12] في live.js ===== */
@media (max-width: 1023px) {
	/* التصنيفات الفرعية المتكررة كعناصر رئيسية: تظهر جوه الأب بس */
	#mobile-menu-tabs > button.lj-menu-child {
		display: none !important;
	}

	/* التصنيف اللي ليه فرعيات: سهم على الطرف التاني */
	#mobile-menu-tabs > button.lj-has-subs {
		justify-content: space-between !important;
		gap: 12px !important;
	}

	#mobile-menu-tabs > button.lj-has-subs::after {
		content: "";
		flex: 0 0 auto;
		width: 8px;
		height: 8px;
		margin-top: -4px;
		border-right: 1.5px solid #18181b;
		border-bottom: 1.5px solid #18181b;
		transform: rotate(45deg);
		transition: transform 0.2s ease, margin 0.2s ease;
	}

	#mobile-menu-tabs > button.lj-has-subs.lj-open::after {
		margin-top: 4px;
		transform: rotate(225deg);
	}

	#mobile-menu-tabs > button.lj-has-subs.lj-open {
		font-weight: 700 !important;
	}

	/* قائمة الفرعيات */
	#mobile-menu-tabs > .lj-subs {
		display: none;
		flex-direction: column;
		width: 100%;
		background: #fafafa;
		border-bottom: 1px solid #eeeeee;
	}

	#mobile-menu-tabs > .lj-subs.is-open {
		display: flex;
	}

	#mobile-menu-tabs > .lj-subs a {
		display: block;
		padding: 12px 20px;
		padding-inline-start: 36px;
		border-bottom: 1px solid #f0f0f0;
		color: #3f3f46;
		font-size: 15px;
		line-height: 1.5;
		text-align: start;
		text-decoration: none;
	}

	#mobile-menu-tabs > .lj-subs a:last-child {
		border-bottom: 0;
	}

	#mobile-menu-tabs > .lj-subs a.lj-subs-all {
		color: #18181b;
		font-weight: 600;
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* ===== [Claude 2026-11-05] قائمة الهيدر (ديسكتوب): كل التصنيفات ظاهرة من غير تداخل + قوائم الفرعيات — مع بلوك [23] في live.js =====
   الأيقونات: حافة 56 + 5 أيقونات × 44 = 276 من الشمال (صندوقها 265 بس آخر 45px فاضيين)، واللوجو: حافة 56 + 142 = 198 من اليمين.
   القائمة بتاخد المساحة اللي بينهم (4px فاصل من كل ناحية) في سطر واحد بدل الصندوق الثابت 650px المتمركز.
   حجم الخط والمسافات (--lj-nav-fs / --lj-nav-pad) بيحددهم بلوك [23] عشان كل التصنيفات تكفي. */
@media (min-width: 1024px) {
	html body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) {
		position: absolute !important;
		top: 0 !important;
		right: 202px !important;
		left: 280px !important;
		flex: none !important;
		width: auto !important;
		min-width: 0 !important;
		height: 60px;
		transform: none !important;
	}

	/* الإنجليزي: مرآة (اللوجو شمال والأيقونات يمين) */
	html[dir="ltr"] body:is(.index, .product-single, .product-index, .cart, .page-single) .main-nav-container .site-header > :nth-child(3) {
		right: 280px !important;
		left: 202px !important;
	}

	.main-nav-container .site-header #menu-tabs {
		flex-wrap: nowrap !important;
		justify-content: center !important;
		gap: 0 !important;
		overflow: visible !important;
	}

	.main-nav-container .site-header #menu-tabs > li {
		flex: 0 0 auto;
	}

	html body .main-nav-container .site-header #menu-tabs > li > a {
		padding-right: var(--lj-nav-pad, 10px) !important;
		padding-left: var(--lj-nav-pad, 10px) !important;
		font-size: var(--lj-nav-fs, 16px) !important;
		white-space: nowrap;
	}

	.main-nav-container .site-header #menu-tabs > li.lj-nav-child {
		display: none !important;
	}

	/* سهم صغير جنب التصنيف اللي ليه فرعيات */
	.main-nav-container .site-header #menu-tabs > li.lj-nav-has-sub > a {
		display: inline-flex !important;
		align-items: center;
		gap: 5px;
	}

	.main-nav-container .site-header #menu-tabs > li.lj-nav-has-sub > a::after {
		content: "";
		width: 5px;
		height: 5px;
		margin-top: -3px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
	}

	/* قائمة الفرعيات */
	.main-nav-container .site-header .lj-nav-sub {
		position: absolute;
		top: 100%;
		inset-inline-start: 0;
		z-index: 60;
		display: none;
		flex-direction: column;
		box-sizing: border-box;
		min-width: 220px;
		max-height: calc(100vh - 140px);
		margin: 0;
		padding: 8px 0;
		overflow-y: auto;
		background: #ffffff;
		border: 1px solid #eeeeee;
		border-radius: 4px;
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
	}

	.main-nav-container .site-header #menu-tabs > li.lj-nav-has-sub:hover > .lj-nav-sub,
	.main-nav-container .site-header #menu-tabs > li.lj-nav-has-sub:focus-within > .lj-nav-sub {
		display: flex;
	}

	.main-nav-container .site-header .lj-nav-sub a {
		display: block !important;
		padding: 10px 20px !important;
		color: #3f3f46 !important;
		font-size: 15px !important;
		line-height: 22px !important;
		text-align: start;
		white-space: nowrap;
		transition: background-color 0.15s ease;
	}

	.main-nav-container .site-header .lj-nav-sub a:hover {
		background: #f7f7f7;
		color: #18181b !important;
	}

	.main-nav-container .site-header .lj-nav-sub a.lj-nav-sub-all {
		color: #18181b !important;
		font-weight: 600;
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* ===== [Claude 2026-11-05] قائمة التصنيفات الفرعية بتاعة الثيم (#simple-menu) =====
   الثيم مثبّت ارتفاعها على 375px وعرضها 242px، فالتصنيفات الكتير (زي «حسب النقشة والتفاصيل» — 11 تصنيف)
   كانت بتطلع تحت الخلفية البيضا. دلوقتي الارتفاع على قد المحتوى (ولو أطول من الشاشة تعمل سكرول)، والعرض على قد أطول اسم. */
@media (min-width: 1024px) {
	#simple-menu {
		height: auto !important;
		max-height: calc(100vh - 100px) !important;
		overflow-y: auto !important;
		width: max-content !important;
		min-width: 242px !important;
		max-width: 360px !important;
	}
}

/* ===== [Claude 2026-11-09] الرئيسية: البانر الرئيسي يظهر أول حاجة =====
   البانر الرئيسي (s-block--bundle-collection-banner) كومبوننت من twilight-bundles: بيترسم بس بعد ما السكريبتات بتاعته
   تتحمل، وصورته loading="lazy"، فارتفاعه بيفضل 0 لثواني. السكاشن العادية اللي تحته (زي بانر الفيديو) بتظهر الأول في أعلى
   الشاشة، وبعدين بتنزل لتحت لما البانر يترسم. ده سبب «التحميل من تحت لفوق».
   الحل: بنحجز مكان البانر بنفس نسبة الصورة (مربع بلون فاتح لحد ما الصورة الحقيقية تظهر)، فالسكاشن اللي تحته تفضل في مكانها.
   (Claude 2026-11-10) شلنا صورة الخلفية من هنا: كانت صورة البانر القديمة، فلما الصورة اتغيرت من لوحة سلة
   كانت القديمة بتظهر ثواني قبل الجديدة. دلوقتي مفيش صورة في الـ CSS، فأي صورة تحطيها في سلة هي اللي هتظهر.
   ⚠️ لو غيرتي نسبة صورة البانر (ديسكتوب ~2.8:1 / موبايل ~5:6)، غيري الـ aspect-ratio هنا. */
body.index .s-block--bundle-collection-banner {
	display: block;
	aspect-ratio: 1440 / 514;
	background-color: #f4f1ee;
}

@media (max-width: 767px) {
	body.index .s-block--bundle-collection-banner {
		aspect-ratio: 500 / 600;
	}
}

/* باقي سكاشن الـ bundle (التصنيفات / المميزات): بنحجز مكانها لحد ما الكومبوننت يتسجّل (:not(:defined))
   عشان الصفحة ما تنطّش، والسكاشن تفضل في ترتيبها من فوق لتحت */
body.index .s-block--bundle-categories-grid-slider > :not(:defined) {
	display: block;
	min-height: 564px;
}

body.index .s-block--bundle-features-grid > :not(:defined) {
	display: block;
	min-height: 200px;
}

@media (max-width: 767px) {
	body.index .s-block--bundle-categories-grid-slider > :not(:defined) {
		min-height: 409px;
	}

	body.index .s-block--bundle-features-grid > :not(:defined) {
		min-height: 180px;
	}
}

/* ===== [Claude 2026-11-09] شيل دايرة التحميل اللي بتغطي الموقع أول ما يفتح =====
   الثيم بيحط شاشة بيضا فيها دايرة (.loader-init) فوق الصفحة كلها، ومبيشيلهاش غير بعد window.load
   (يعني بعد ما كل الصور والسكريبتات وأكواد التتبّع تخلص) + 0.75 ثانية fade.
   كده الصفحة بتظهر وهي بتتحمّل من فوق لتحت، والبانر الرئيسي ظاهر من أول لحظة (القاعدة اللي فوق). */
.loader-init {
	display: none !important;
}

/* ===== [Claude 2026-11-22/23] صفحة السلة: بوكس «الشحن المجاني» =====
   live.js بلوك [21] بيحط data-lj-free-shipping على البوكس لما المتجر عامل شحن مجاني (الحد بيتقري من شريط الإعلان).
   من غيره البوكس مخفي. لما يظهر بيعرض «متبقي ... للوصول للشحن المجاني» أو «مبروك تستاهلين شحن مجاني». */
body.cart .loujan-cart-card #free-shipping:not([data-lj-free-shipping]) {
	display: none !important;
}

body.cart .loujan-cart-card #free-shipping[data-lj-free-shipping] {
	display: block !important;
	margin: 0 0 16px;
	padding: 0 !important;
	background: transparent;
	box-shadow: none;
}

/* ===== [Claude 2026-11-23] كروت المنتجات: كل الصور بنفس الطول جنب بعض =====
   الثيم عامل صندوق الصورة flex: 1 1 0، فلما اسم المنتج يبقى سطر واحد الصورة كانت بتتمط وتملا مكان السطر التاني
   (مثلاً «أيقونة لوجان | بني داكن» 261px و«دهماء | عباية ربع بشت...» 237px في نفس الصف).
   الحل: الصورة بارتفاع ثابت حسب النسبة بس، والاسم على الموبايل واخد مكان سطرين دايماً عشان الأسعار تيجي على نفس الخط. */
html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-image {
	flex: 0 0 auto !important;
}

@media (max-width: 1023px) {
	html body custom-salla-product-card.s-product-card-entry.s-product-card-vertical .s-product-card-content-title {
		min-height: 48px;
	}
}

/* ===== [Claude 2026-11-23] السلة الجانبية: نفس شريط «الشحن المجاني» بتاع صفحة السلة =====
   live.js بلوك [21] بيحط data-lj-free-shipping على البوكس لما فيه شحن مجاني والسلة مش فاضية. من غيره مخفي زي ما كان. */
#sidecart-panel #free-shipping[data-lj-free-shipping] {
	display: block !important;
	margin: 0 0 16px;
	padding: 0 !important;
	background: transparent;
	box-shadow: none;
}

#sidecart-panel #free-shipping-msg {
	font-size: 12px;
	line-height: 16px;
	color: #71717b;
}

#sidecart-panel #free-shipping-bar {
	height: 4px;
	margin-top: 8px;
	border-radius: 42px;
	background: #e4e4e7;
}

#sidecart-panel #free-shipping-bar .progress-bg {
	border-radius: 42px;
	background: #491217;
}