.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: url(https://cleopatrastainlesssteel.com/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}

.page-title-default{
	background-color:rgb(17,32,63);
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:rgb(17,32,63);
}

:root{
--wd-text-font:Arial, Helvetica, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:rgb(0,0,0);
--wd-text-font-size:14px;
}
:root{
--wd-title-font:Arial, Helvetica, sans-serif;
--wd-title-font-weight:500;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:"IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
--wd-entities-title-font-weight:500;
--wd-entities-title-color:#333333;
--wd-entities-title-color-hover:rgb(51 51 51 / 65%);
}
:root{
--wd-alternative-font:"Roboto", Arial, Helvetica, sans-serif;
}
:root{
--wd-widget-title-font:"Oswald", Arial, Helvetica, sans-serif;
--wd-widget-title-font-weight:500;
--wd-widget-title-transform:uppercase;
--wd-widget-title-color:#333;
--wd-widget-title-font-size:16px;
}
:root{
--wd-header-el-font:Arial, Helvetica, sans-serif;
--wd-header-el-font-weight:700;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:18px;
}
html .wd-nav.wd-nav-main > li > a{
	font-family: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;font-weight: 600;font-size: 16px;color: rgb(255,255,255);
}

html .wd-nav.wd-nav-main > li:hover > a, html .wd-nav.wd-nav-main > li.current-menu-item > a{
	color: rgb(0,168,145);
}

:root{
--wd-primary-color:rgb(6,47,79);
}
:root{
--wd-alternative-color:rgb(155,144,144);
}
:root{
--wd-link-color:rgb(26,22,140);
--wd-link-color-hover:rgb(12,158,133);
}
body{
	background-repeat:no-repeat;
	background-size:cover;
	background-attachment:fixed;
	background-position:center center;
}

.page .main-page-wrapper{
	background-repeat:no-repeat;
	background-size:cover;
	background-attachment:fixed;
	background-position:center center;
}

:root{
--btn-default-bgcolor:#f7f7f7;
}
:root{
--btn-default-bgcolor-hover:#efefef;
}
:root{
--btn-shop-bgcolor:rgb(44,55,142);
}
:root{
--btn-shop-bgcolor-hover:rgb(22,16,86);
}
:root{
--btn-accent-bgcolor:rgb(60,77,173);
}
:root{
--btn-accent-bgcolor-hover:rgb(38,22,107);
}
:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}
	:root{
	
			--wd-form-brd-radius: 5px;
	
	
	--wd-form-brd-width: 2px;

	--btn-default-color: #333;
	--btn-default-color-hover: #333;

	--btn-shop-color: #fff;
	--btn-shop-color-hover: #fff;

	--btn-accent-color: #fff;
	--btn-accent-color-hover: #fff;
	
	
			--btn-accent-brd-radius: 0px;
		--btn-accent-box-shadow: none;
		--btn-accent-box-shadow-hover: none;
		--btn-accent-box-shadow-active: none;
		--btn-accent-bottom: 0px;
	
	
	
	
	
	
	
			--btn-default-brd-radius: 5px;
		--btn-default-box-shadow: none;
		--btn-default-box-shadow-hover: none;
	
			--btn-shop-brd-radius: 5px;
		--btn-shop-box-shadow: none;
		--btn-shop-box-shadow-hover: none;
	
		}

	/* Site width */
		/* Header Boxed */
	@media (min-width: 1025px) {
		.whb-boxed:not(.whb-sticked):not(.whb-full-width) .whb-main-header {
			max-width: 1570px;
		}
	}

	.container {
		max-width: 1600px;
	}
	
	
		.elementor-section.wd-section-stretch > .elementor-column-gap-no {
			max-width: 1570px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-narrow {
			max-width: 1580px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-default {
			max-width: 1590px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-extended {
			max-width: 1600px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-wide {
			max-width: 1610px;
		}

		.elementor-section.wd-section-stretch > .elementor-column-gap-wider {
			max-width: 1630px;
		}

		@media (min-width: 1617px) {

			.platform-Windows .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}

		@media (min-width: 1600px) {

			html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}

	
/* Quick view */
div.wd-popup.popup-quick-view {
	max-width: 920px;
}

/* Shop popup */
div.wd-popup.wd-promo-popup {
	max-width: 800px;
}

/* Age verify */
div.wd-popup.wd-age-verify {
	max-width: 500px;
}

/* Header Banner */
.header-banner {
	height: 40px;
}

body.header-banner-display .website-wrapper {
	margin-top:40px;
}

/* Tablet */
@media (max-width: 1024px) {
	/* header Banner */
	.header-banner {
		height: 40px;
	}
	
	body.header-banner-display .website-wrapper {
		margin-top:40px;
	}
}


@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//cleopatrastainlesssteel.com/wp-content/themes/woodmart-woocommerce-wordpress-theme.6.2.4/fonts/woodmart-font.woff2?v=6.2.4") format("woff2");
}

/* إخفاء أو تعديل النصوص العشوائية أسفل القائمة إذا كانت ناتجة عن ودجت */
header .sub-menu, header .nav {
    margin-bottom: 0;
}/* دفع محتوى صفحة المنتج لأسفل لتفادي تداخل الهيدر الثابت */
.single-product .whb-sticky-prepared .main-page-wrapper,
.single-product .main-page-wrapper {
    padding-top: 300px !important;
}
/* إصلاح محاذاة كروت المنتجات وترتيبها */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* إخفاء أو تعديل النصوص العشوائية أسفل القائمة إذا كانت ناتجة عن ودجت */
header .sub-menu, header .nav {
    margin-bottom: 0;
}
/* إخفاء المربعات السفلية الخاصة بإضافة الخصائص */
/* إخفاء المربعات الفارغة فقط */
.product-grid-item .variations_form,
.product-grid-item .wd-swatches-product-by-attribute {
    display: none !important;
}

/* التأكيد على إظهار دواير الألوان العلوية */
.product-grid-item .wd-swatches-grid {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* إخفاء السعر في صفحات المتجر والأرشيف وبطاقات المنتجات */
.woocommerce ul.products li.product .price,
.product-grid-item .price,
.wd-product .price {
    display: none !important;
}
/* تحويل الأيقونة المفقودة إلى نص صريح */
.woocommerce-account span.show-password-input {
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    font-size: 13px !important;
    color: #000 !important;
    cursor: pointer;
    margin-top: 5px;
}

.woocommerce-account span.show-password-input::after {
    content: "Show / Hide" !important;
    font-family: inherit !important;
}
/* إعادة إظهار زر إتمام الشراء الافتراضي */
.woocommerce-cart .checkout-button,
.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    display: inline-block !important;
    margin-top: 10px !important;
    width: 100% !important;
    text-align: center !important;
}
/* تنسيق حقول المقاسات الخاصة بالمعدن */
.custom-dim-field {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin-bottom: 15px;
}

/* شكل خانة الإدخال نفسها */
.custom-dim-field input[type="number"],
.custom-dim-field input[type="text"] {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

/* تأثير عند الوقوف أو الكتابة جوه الحقل */
.custom-dim-field input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* تحسين شكل المسميات (Labels) فوق الحقل */
.custom-dim-field label {
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

/* ضبط العرض على الشاشات الصغيرة (الموبايل) */
@media (max-width: 600px) {
    .custom-dim-field {
        width: 100% !important;
        margin-right: 0 !important;
    }
}
/* لون الـ placeholder رمادي شفاف */
.custom-dim-field input::placeholder {
    color: rgba(107, 114, 128, 0.6) !important;
    opacity: 1; /* لضمان ظهور الشفافية بنفس الدرجة في كل المتصفحات */
}

/* لمتصفح فايرفوكس */
.custom-dim-field input::-moz-placeholder {
    color: rgba(107, 114, 128, 0.6) !important;
    opacity: 1;
}

/* لمتصفحات إنترنت إكسبلورر وإيدج القديمة */
.custom-dim-field input:-ms-input-placeholder {
    color: rgba(107, 114, 128, 0.6) !important;
}

.custom-dim-field input::-ms-input-placeholder {
    color: rgba(107, 114, 128, 0.6) !important;
}
/* ============================================
   Product variation swatches: clean layout
   ============================================ */

/* 1. Table layout: one aligned row per attribute */
.single-product form.cart table.variations {
    direction: ltr !important;
    text-align: left !important;
    width: 100% !important;
    border: 0 !important;
    margin-bottom: 20px !important;
}

.single-product form.cart table.variations tr {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 16px !important;
}

/* Label column */
.single-product form.cart table.variations td.label {
    order: 1 !important;
    width: 90px !important;
    min-width: 90px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single-product form.cart table.variations td.label label {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #222 !important;
    margin: 0 !important;
}

.single-product form.cart table.variations td.label .wd-attr-selected {
    display: none !important;
}

/* Options column */
.single-product form.cart table.variations td.value {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single-product form.cart table.variations td.value .cfvsw-hidden-select {
    display: none !important;
}

.single-product form.cart table.variations td.value .cfvsw-swatches-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

/* 2. Shared base style for every option */
.single-product form.cart table.variations td.value .cfvsw-swatches-option {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px !important;
    margin: 0 !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease !important;
}

.single-product form.cart table.variations td.value .cfvsw-swatches-option:hover {
    border-color: #222 !important;
}
/* 3. Color swatches: uniform squares */
/*  FIX COLOR SWATCH SIZE & INNER FILL */
.single-product form.cart table.variations td.value .cfvsw-swatches-option[swatches-attr="attribute_pa_color"],
.single-product form.cart table.variations td.value .cfvsw-swatches-option .cfvsw-swatch-inner {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    border-radius: 2px !important;
    margin: 0 auto !important;
}/* 4. Text buttons (3 cm, 244 cm, Custom) */
.single-product form.cart table.variations td.value .cfvsw-label-option {
    min-width: 56px !important;
    height: 34px !important;
    padding: 0 12px !important;
}

.single-product form.cart table.variations td.value .cfvsw-label-option .cfvsw-swatch-inner {
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #333 !important;
    white-space: nowrap !important;
}

/* 5. Selected state */
.single-product form.cart table.variations td.value .cfvsw-swatches-option.cfvsw-selected-swatch {
    border-color: #111 !important;
    box-shadow: 0 0 0 1px #111 !important;
}

.single-product form.cart table.variations td.value .cfvsw-label-option.cfvsw-selected-swatch {
    background: #111 !important;
}

.single-product form.cart table.variations td.value .cfvsw-label-option.cfvsw-selected-swatch .cfvsw-swatch-inner {
    color: #fff !important;
}

/* 6. Unavailable / disabled options */
.single-product form.cart table.variations td.value .cfvsw-swatches-option.cfvsw-swatches-disabled,
.single-product form.cart table.variations td.value .cfvsw-swatches-option.cfvsw-swatches-out-of-stock {
    opacity: .4 !important;
    cursor: not-allowed !important;
    background: #f7f7f7 !important;
}

/* 7. "Clear" link */
.single-product form.cart .reset_variations {
    font-size: 12px !important;
    color: #888 !important;
    text-decoration: underline !important;
}

/* 8. Mobile: stack label above options */
@media (max-width: 575px) {
    .single-product form.cart table.variations tr {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .single-product form.cart table.variations td.label {
        margin-bottom: 8px !important;
        width: 100% !important;
    }
}
.single-product .summary > .price,
.single-product .summary p.price {
    display: none !important;
}
/* About section (column 15736f51) — Arabic only */
:is(body.rtl, body.translatepress-ar) .elementor-element-15736f51 .title-wrapper,
:is(body.rtl, body.translatepress-ar) .elementor-element-15736f51 .title-wrapper .title-subtitle,
:is(body.rtl, body.translatepress-ar) .elementor-element-15736f51 .title-wrapper .title,
:is(body.rtl, body.translatepress-ar) .elementor-element-15736f51 .wd-text-block,
:is(body.rtl, body.translatepress-ar) .elementor-element-15736f51 .wd-info-box {
  text-align: right !important;
}

/* The green line above the columns: move it to the right edge */
:is(body.rtl, body.translatepress-ar) .elementor-element-15736f51 .elementor-divider-separator {
  margin-left: auto !important;
  margin-right: 0 !important;
}
/* Image banners: caption + button on the right (Arabic only) */
:is(body.rtl, body.translatepress-ar) .wrapper-content-banner {
  justify-content: flex-start !important; /* in RTL, flex-start = right side */
}

:is(body.rtl, body.translatepress-ar) .wrapper-content-banner .content-banner,
:is(body.rtl, body.translatepress-ar) .wrapper-content-banner .banner-title,
:is(body.rtl, body.translatepress-ar) .wrapper-content-banner .banner-btn-wrapper,
:is(body.rtl, body.translatepress-ar) .wrapper-content-banner .wd-button-wrapper {
  text-align: right !important;
}
/* Feature boxes row: icon on the right, text right-aligned (Arabic only) */
:is(body.rtl, body.translatepress-ar) .wd-info-box.box-icon-align-left {
  display: flex !important;
  flex-direction: row !important;   /* in RTL, row starts from the right */
  direction: rtl !important;
  align-items: center;
  gap: 15px;
  text-align: right !important;
}

:is(body.rtl, body.translatepress-ar) .wd-info-box.box-icon-align-left .box-icon-wrapper {
  margin: 0 !important;             /* the gap above replaces the theme's side margin */
}

:is(body.rtl, body.translatepress-ar) .wd-info-box.box-icon-align-left .info-box-content,
:is(body.rtl, body.translatepress-ar) .wd-info-box.box-icon-align-left .info-box-title,
:is(body.rtl, body.translatepress-ar) .wd-info-box.box-icon-align-left .info-box-inner {
  text-align: right !important;
}
/* All section titles and text blocks that the builder set to "left" — Arabic only */
:is(body.rtl, body.translatepress-ar) .title-wrapper.text-left,
:is(body.rtl, body.translatepress-ar) .title-wrapper.text-left .title-subtitle,
:is(body.rtl, body.translatepress-ar) .title-wrapper.text-left .title,
:is(body.rtl, body.translatepress-ar) .title-wrapper.text-left .title-after_title,
:is(body.rtl, body.translatepress-ar) .wd-text-block.text-left {
  text-align: right !important;
}
:is(body.rtl, body.translatepress-ar) .title-wrapper .title-after_title {
  font-size: 15px;
  line-height: 1.9;
}
/* Product options (color / width / length): label on the right, options after it */
:is(body.rtl, body.translatepress-ar) table.variations,
:is(body.rtl, body.translatepress-ar) table.variations tr {
  direction: rtl;
}

:is(body.rtl, body.translatepress-ar) table.variations td.label,
:is(body.rtl, body.translatepress-ar) table.variations td.value {
  text-align: right;
}

/* Swatches start from the right side */
:is(body.rtl, body.translatepress-ar) .cfvsw-swatches-container {
  direction: rtl;
  justify-content: flex-start;
}
/* ===== Home slider (SR7_2_1) – Arabic only ===== */

/* 4 numbers to tweak: right edge + width of the text block, per slide group */
:is(body.rtl, body.translatepress-ar) #SR7_2_1 {
  --s6-right: 52%;   /* slide 1: gap between the text block and the slide's right edge */
  --s6-width: 44%;   /* slide 1: text block width */
  --s78-right: 38%;  /* slides 2-3: gap to the right edge */
  --s78-width: 52%;  /* slides 2-3: text block width */
}

/* Slide 1: heading + paragraph, right-aligned in one block */
:is(body.rtl, body.translatepress-ar) #SR7_2_1-6-14,
:is(body.rtl, body.translatepress-ar) #SR7_2_1-6-16 {
  left: auto !important;
  right: var(--s6-right) !important;
  width: var(--s6-width) !important;
  text-align: right !important;
}

/* Slide 1: buttons - "Our products" on the right edge, "About us" next to it */
:is(body.rtl, body.translatepress-ar) #SR7_2_1-6-9 {
  left: auto !important;
  right: var(--s6-right) !important;
}
:is(body.rtl, body.translatepress-ar) #SR7_2_1-6-8 {
  left: auto !important;
  right: calc(var(--s6-right) + 17%) !important;
}

/* Slides 2 and 3: text layers */
:is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-7-12, #SR7_2_1-7-11, #SR7_2_1-7-5,
                                          #SR7_2_1-8-27, #SR7_2_1-8-28, #SR7_2_1-8-4) {
  left: auto !important;
  right: var(--s78-right) !important;
  width: var(--s78-width) !important;
  text-align: right !important;
}

/* Slides 2 and 3: buttons */
:is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-7-25, #SR7_2_1-8-31) {
  left: auto !important;
  right: var(--s78-right) !important;
}
:is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-7-26, #SR7_2_1-8-30) {
  left: auto !important;
  right: calc(var(--s78-right) + 17%) !important;
}
/* Shop page background */
html,
 {
  background:
    /* left blue glow */
    radial-gradient(ellipse 45% 55% at 0% 38%, rgba(0, 100, 255, .60) 0%, transparent 70%),
    /* right blue glow */
    radial-gradient(ellipse 45% 50% at 100% 30%, rgba(0, 85, 240, .50) 0%, transparent 70%),
    /* soft diagonal light streaks */
    linear-gradient(115deg, transparent 20%, rgba(30, 110, 255, .12) 32%, transparent 45%),
    linear-gradient(65deg, transparent 55%, rgba(30, 110, 255, .10) 68%, transparent 80%),
    /* base navy */
    linear-gradient(180deg, #030a1a 0%, #04143a 50%, #031030 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

/* make theme wrappers transparent so the background shows */
body.woocommerce-shop .website-wrapper,
body.woocommerce-shop .main-page-wrapper,
body.woocommerce-shop .site-content,
body.woocommerce-shop .page-title,
body.woocommerce-shop .wd-page-title {
  background: transparent !important;
}
.reset_variations {
	font-size:15px;
    font-weight: bold;
}
/* Target your navigation menu items */
.elementor-nav-menu--main .elementor-item,
.main-navigation ul li a {
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Create the hidden sliding line using a pseudo-element */
.elementor-nav-menu--main .elementor-item::after,
.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0b1329; /* Change to your brand color */
    transition: width 0.3s ease-in-out;
}
/* Base navigation link styling */
.main-nav-links a, 
.main-navigation a,
.elementor-nav-menu--main .elementor-item {
    position: relative;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Create the sliding line using a pseudo-element */
.main-nav-links a::after, 
.main-navigation a::after,
.elementor-nav-menu--main .elementor-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0099D1; /* Adjust to match your theme color */
    transition: width 0.3s ease-in-out;
}

/* Expand the line on hover AND keep it full-width on the active page */
.main-nav-links a:hover::after, 
.main-navigation a:hover::after,
.elementor-nav-menu--main .elementor-item:hover::after,
.main-nav-links a.active::after,
.main-navigation .current-menu-item a::after,
.elementor-nav-menu--main .elementor-item-active::after {
    width: 100%;
}
/* Add side spacing to the cart page */
.woocommerce-cart .main-page-wrapper .container,
.woocommerce-cart .site-content,
.woocommerce-cart .entry-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
}html[lang^="ar"] .elementor-element-63feb8e4 .wd-info-box,
html[lang^="ar"] .elementor-element-63feb8e4 .info-box-title,
html[lang^="ar"] .elementor-element-63feb8e4 .info-box-inner,
html[lang^="ar"] .elementor-element-63feb8e4 .info-box-inner p {
    direction: rtl;
    text-align: right !important;
}

/* optional: hide the empty paragraphs */
html[lang^="ar"] .elementor-element-63feb8e4 .info-box-inner p:empty {
    display: none;
}
html[lang^="ar"] .elementor-element-63feb8e4 .wd-info-box,
html[lang^="ar"] .elementor-element-63feb8e4 .info-box-title,
html[lang^="ar"] .elementor-element-63feb8e4 .info-box-inner,
html[lang^="ar"] .elementor-element-63feb8e4 .info-box-inner p,
html[lang^="ar"] .elementor-element-11a7c0d .wd-info-box,
html[lang^="ar"] .elementor-element-11a7c0d .info-box-title,
html[lang^="ar"] .elementor-element-11a7c0d .info-box-inner,
html[lang^="ar"] .elementor-element-11a7c0d .info-box-inner p {
    direction: rtl;
    text-align: right !important;
}

/* hide the empty paragraphs */
html[lang^="ar"] .elementor-element-63feb8e4 .info-box-inner p:empty,
html[lang^="ar"] .elementor-element-11a7c0d .info-box-inner p:empty {
    display: none;
}
html[lang^="ar"] .elementor-element-3c548bca .title-wrapper,
html[lang^="ar"] .elementor-element-3c548bca .title-wrapper .title-subtitle,
html[lang^="ar"] .elementor-element-3c548bca .title-wrapper .title,
html[lang^="ar"] .elementor-element-3c548bca .title-wrapper .title-after_title,
html[lang^="ar"] .elementor-element-3c548bca .title-wrapper .title-after_title p,
html[lang^="ar"] .elementor-element-3c548bca .wd-text-block {
    direction: rtl;
    text-align: right !important;
}@media (max-width: 576px) {
	/* ============================================
   Mobile: compact and organized
   ============================================ */
@media (max-width: 767px) {

    .single-product form.cart table.variations {
        margin-bottom: 12px !important;
    }

    /* Each attribute: label on top, options below, left-aligned */
    .single-product form.cart table.variations tr {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 12px !important;
    }

    .single-product form.cart table.variations td.label {
        width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 6px !important;
        text-align: left !important;
    }

    .single-product form.cart table.variations td.label label {
        font-size: 10px !important;
        letter-spacing: 0.1em !important;
    }

    .single-product form.cart table.variations td.value {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .single-product form.cart table.variations td.value .cfvsw-swatches-container {
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    /* Color swatches: 28px box, 20px color square */
    .single-product form.cart table.variations td.value .cfvsw-swatches-option[swatches-attr="attribute_pa_color"] {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        padding: 3px !important;
    }

    .single-product form.cart table.variations td.value .cfvsw-swatches-option[swatches-attr="attribute_pa_color"] .cfvsw-swatch-inner {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }

    /* Text buttons (3 cm, 244 cm, Custom) */
    .single-product form.cart table.variations td.value .cfvsw-label-option {
        min-width: 44px !important;
        height: 28px !important;
        padding: 0 9px !important;
    }

    .single-product form.cart table.variations td.value .cfvsw-label-option .cfvsw-swatch-inner {
        font-size: 11px !important;
    }

    /* Custom size fields: tighter */
    .custom-dims {
        margin: 10px 0 !important;
        padding-top: 10px !important;
    }

    .custom-dims h4 {
        font-size: 13px !important;
    }

    .custom-dims input[type="number"] {
        height: 34px !important;
        font-size: 13px !important;
    }
}
/* ===== Home slider (SR7_2_1) – Arabic only ===== */

/* ---------- Desktop / tablet (wider than 480px): text block on the right ---------- */
@media (min-width: 481px) {
  :is(body.rtl, body.translatepress-ar) #SR7_2_1 {
    --s6-right: 52%;
    --s6-width: 44%;
    --s78-right: 38%;
    --s78-width: 52%;
  }

  :is(body.rtl, body.translatepress-ar) #SR7_2_1-6-14,
  :is(body.rtl, body.translatepress-ar) #SR7_2_1-6-16 {
    left: auto !important;
    right: var(--s6-right) !important;
    width: var(--s6-width) !important;
    text-align: right !important;
  }
  :is(body.rtl, body.translatepress-ar) #SR7_2_1-6-9 {
    left: auto !important;
    right: var(--s6-right) !important;
  }
  :is(body.rtl, body.translatepress-ar) #SR7_2_1-6-8 {
    left: auto !important;
    right: calc(var(--s6-right) + 17%) !important;
  }

  :is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-7-12, #SR7_2_1-7-11, #SR7_2_1-7-5,
                                            #SR7_2_1-8-27, #SR7_2_1-8-28, #SR7_2_1-8-4) {
    left: auto !important;
    right: var(--s78-right) !important;
    width: var(--s78-width) !important;
    text-align: right !important;
  }
  :is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-7-25, #SR7_2_1-8-31) {
    left: auto !important;
    right: var(--s78-right) !important;
  }
  :is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-7-26, #SR7_2_1-8-30) {
    left: auto !important;
    right: calc(var(--s78-right) + 17%) !important;
  }
}

/* ---------- Mobile (480px and below): everything centered ---------- */
@media (max-width: 480px) {
  /* All text layers: same gap on both sides, centered text */
  :is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-6-14, #SR7_2_1-6-16,
                                            #SR7_2_1-7-12, #SR7_2_1-7-11, #SR7_2_1-7-5,
                                            #SR7_2_1-8-27, #SR7_2_1-8-28, #SR7_2_1-8-4) {
    left: 4% !important;
    right: auto !important;
    width: 92% !important;
    text-align: center !important;
  }

  /* Buttons: one row, centered as a pair. "Our products" on the right, "About us" on the left */
  :is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-6-9, #SR7_2_1-7-25, #SR7_2_1-8-31) {
    left: calc(50% + 6px) !important;
    right: auto !important;
  }
  :is(body.rtl, body.translatepress-ar) :is(#SR7_2_1-6-8, #SR7_2_1-7-26, #SR7_2_1-8-30) {
    left: auto !important;
    right: calc(50% + 6px) !important;
  }
}

/* Mobile / tablet */
@media (max-width: 1024px) {
    .woocommerce-cart .main-page-wrapper .container,
    .woocommerce-cart .site-content,
    .woocommerce-cart .entry-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
}

