/* Mega Menu Column Width */
.mega-menu .mega-menu__column {
    min-width: 150px;
}

/* Owl Carousel Image Styling */
.owl-carousel .owl-item img {
    width: auto;
    padding: 10px;
}

/* Order Detail Section Title */
.bb-order-detail-wrapper .bb-section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Hide Sell on Marketplace Link - FIXED: استهداف محدد بدلاً من first-child */
.navigation__extra > li.sell-on-marketplace-link {
    display: none;
}

/* Sub-menu Images - استهداف أقوى للصور */
.sub-menu > li > a > img,
[dir="ltr"] .sub-menu > li > a > img,
[dir="rtl"] .sub-menu > li > a > img {
    max-width: 60px !important;
    max-height: 35px !important;
    min-width: unset !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 10px !important;
    float: none !important;
}

/* Sub-menu Link Layout - للتأكد من أن الرابط flex */
.sub-menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row-reverse !important; /* عكس الترتيب: النص أولاً ثم الصورة */
}

/* Force LTR for prices and numbers */
.ps-product__content > p,
.ps-product--detail .ps-product__price,
.ps-product .ps-product__price,
.bb-order-product-card-price-item .value,
.bb-order-total-item .value,
.cart-price,
.ps-cart__footer,
.bb-customer-card-list.order-cards .bb-customer-card .bb-customer-card-body .bb-customer-card-info .info-item .value {
    direction: ltr;
}

/* General LTR Direction - These might not need LTR - review if needed */
.text-center,
.ps-block__header,
.ps-block__content,
.position-relative .p-3 .cart-item-wrapper {
    direction: ltr;
}
.ps-product__price {
  direction: ltr;
}