/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ==== RosaBella – Arabic (RTL) fixes ==== */
/* Mega menu (aside design): anchor to the header instead of Woodmart's JS offset, which drifts in RTL */
html[dir="rtl"] .whb-header .wd-nav-main > li:has(> .wd-design-aside) { position: static; }
html[dir="rtl"] .whb-header .wd-nav-main > li > .wd-dropdown-menu.wd-design-aside { right: 0 !important; left: 0 !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; transform: none !important; }
/* Arabic body text reads right-to-left */
html[dir="rtl"] .woocommerce-product-details__short-description, html[dir="rtl"] .woocommerce-Tabs-panel { text-align: right; }

/* Mirror hero photos on Arabic pages (contact + about) so the text sits on the empty side */
html[dir="rtl"] .elementor-element-41f774e, html[dir="rtl"] .elementor-element-fb4ad62 { transform: scaleX(-1); }
html[dir="rtl"] .elementor-element-41f774e > *, html[dir="rtl"] .elementor-element-fb4ad62 > * { transform: scaleX(-1); }
/* Footer: mirror the logo column's side padding and align its text right */
html[dir="rtl"] body .elementor .elementor-element.elementor-element-511523d { padding-left: 213px !important; padding-right: 0 !important; }
@media (max-width: 1024px) { html[dir="rtl"] body .elementor .elementor-element.elementor-element-511523d { padding-left: 0 !important; } }
html[dir="rtl"] .elementor-element-7a660aa .elementor-image-box-wrapper, html[dir="rtl"] .elementor-element-7a660aa .elementor-image-box-description { text-align: right !important; }
