ul.sub-menu .menu-link-holder a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: max-content;
}

.remove-star .qodef-woo-ratings.qodef-m {
    display: none;
}


html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li:hover>.qodef-drop-down-second {
    left: 0% !important;
    transform: translateX(-100%) !important;
    padding-left: 0 !important;
}

html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li>.qodef-drop-down-second {
    padding-right: 43px !important;
    transform: translateX(-100%) !important;
    left: 0 !important;
}

html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li {
    float: right;
}

html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li .sub-menu .menu-link-holder>a:before {
    left: auto;
    right: -12px;
}

html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li .sub-menu .menu-link-holder.current-menu-ancestor>a, 
html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li .sub-menu .menu-link-holder.current-menu-item>a, 
html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li .sub-menu .menu-link-holder:hover>a {
    padding-left: 0;
    padding-right: 12px;
}

html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li .sub-menu .menu-link-holder>a {
    padding-left: 12px;
    padding-right: 0;
}

html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li .sub-menu .menu-link-holder.current-menu-ancestor>a:before, 
html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li .sub-menu .menu-link-holder.current-menu-item>a:before,
html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown>li .qodef-drop-down-second .qodef-drop-down-second-inner>.sub-menu>li .sub-menu .menu-link-holder:hover>a:before {
    right: 0;
}

html[dir="rtl"] .qodef-header--standard .qodef-standard-header-bottom-inner > .qodef-widget-holder {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu {
    margin-left: 44px;
    margin-right: 0px;
    width: 310px;
}

html[dir="rtl"] .qodef-icon-pharmacy-icons.pharmacy-drops.qodef-menu-item-icon {
  margin-right: 0;
  margin-left: 27px;
}


html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown > li > div > a .qodef-icon-pharmacy-icons {
  margin-right: 0px !important;
  margin-left: 27px !important;
}
html[dir="rtl"] .qodef-header--standard .qodef-extended-dropdown-menu .qodef-extended-dropdown > li.menu-item-has-children > .menu-link-holder::after { 
    right: auto;
    left: 10px;
    transform: scaleX(-1);
    top: 10px;
}
html[dir="rtl"] .qodef-header-navigation > ul > li:first-child {
    margin-left: 22px;
    margin-right: 0;
}
html[dir="rtl"] .widget_pharmacare_core_woo_dropdown_cart .qodef-cart-text-holder {
    margin-right: 17px ;
    margin-left: 0 ;
}

html[dir="rtl"] .widget[class*="_search"] input {
    padding-right: 70px ;
}
html[dir="rtl"] #qodef-page-header .qodef-widget-holder {
        margin-left: 0px;
        margin-right: 24px;
}

html[dir="rtl"] .qodef-extended-dropdown-menu.qodef-dropdown-always-opened {
  margin-right: 0;
  margin-left: 44px;
}
html[dir="rtl"] .qodef-login-opener-widget .qodef-login-opener .qodef-login-text-holder {
    margin-left: 0;
    margin-right: 5px;
}
html[dir="rtl"] #qodef-page-header .qodef-widget-holder .widget:first-child {
    margin-left: 0;
    margin-right: 12px;
}
html[dir="rtl"] #qodef-top-area .qodef-widget-holder.qodef-top-area-left {
    margin-left: auto;
    margin-right: 0;
}


html[dir="rtl"] .qodef-woo-product-list.qodef-swiper-container .swiper-button-prev {
  float: left;
  right: auto;
  left: -66px;
}

html[dir="rtl"] .qodef-woo-product-list.qodef-swiper-container .swiper-button-next {
  float: right;
  left: auto;
  right: -66px;
}

html[dir="rtl"] .qodef-woo-product-list.qodef-swiper-container .swiper-button-prev::after, 
html[dir="rtl"] .qodef-woo-product-list.qodef-swiper-container .swiper-button-next::after {
  opacity: 0;
}

html[dir="rtl"] #qodef-woo-page.qodef--single form.cart button.single_add_to_cart_button {
    order: 3;
}
html[dir="rtl"] #qodef-woo-page.qodef--single form.cart .qodef-quantity-buttons.quantity {
    order: 1;
    margin: 0;
}
html[dir="rtl"] #qodef-woo-page.qodef--single form.cart .qodef-quantity-label {
    order: 2;
    margin-left: 14px;
}

html[dir="rtl"] .qwfw-add-to-wishlist-wrapper.qodef-pharmacare-theme.qwfw--single.qwfw-position--after-add-to-cart {
    margin-left: 35px;
    margin-right: 0;
    top: -2px;
}
html[dir="rtl"] .qodef-woo-results .woocommerce-ordering {
    margin-left: 0;
    margin-right: auto;
}
html[dir="rtl"] .qodef-product-list-layouts ul {
    margin: 0 0 0 25px;
}
html[dir="rtl"] .qodef-login-opener-widget .qodef-logged-in-user .qodef-m-user-holder{
    margin-left: 0;
    margin-right: 7px;
}
html[dir="rtl"] .qodef-login-opener-widget .qodef-logged-in-user .qodef-m-user-image {
    margin-right: 0;
    margin-left: 5px;
}
html[dir="rtl"] #qodef-woo-page.qodef--single .product_meta .qodef-woo-meta-label {
    margin-right: 0;
    margin-left: 4px;
}
html[dir="rtl"] .qodef-header-navigation>ul>li.qodef-menu-item--narrow ul:not(.qodef-drop-down--right) li>a {
    justify-content: end;
}
html[dir="rtl"] #qodef-membership-login-modal .qodef-membership-login-modal-navigation .qodef-m-navigation-item:first-child .qodef-e-link {
    padding-left: 22px;
    padding-right: 0;
}
html[dir="rtl"] #qodef-membership-login-modal .qodef-membership-login-modal-navigation .qodef-m-navigation-item:last-child .qodef-e-link {
    padding-right: 22px;
}
html[dir="rtl"] #qodef-membership-login-modal .qodef-membership-login-modal-navigation .qodef-m-navigation-item:after {
    right: auto;
    left: 0;
}
html[dir="rtl"] #qodef-membership-login-modal-part .qodef-m-links-remember-me input[type=checkbox] {
    margin-right: 0;
    margin-left: 6px;
}
html[dir="rtl"] #qodef-membership-login-modal .qodef-membership-login-modal-content .qodef-membership-login-modal-close {
    left: 27px;
    right: auto;
}
html[dir="rtl"] .qodef-footer-list li:before {
    margin-right: 0;
    margin-left: 9px;
}
html[dir="rtl"] .qodef-icon-list-item .qodef-icon-holder {
    margin-right: 0;
    margin-left: 7px;
}
html[dir="rtl"] .qwfw-wishlist-table.qodef-pharmacare-theme .shop_table.qwfw-m-items tr th.product-name {
    text-align: right;
}
html[dir="rtl"] div#pharmacare_core_social_icons_group-2 {
    text-align: left;
}
html[dir="rtl"] #qodef-page-footer.qodef-custom-footer #qodef-page-footer-top-area .widget_text p {
    padding-right: 00;
    padding-left: 50px;
}
html[dir="rtl"] .otgs-development-site-front-end .icon{
    position: static;
    margin: 0 0 -7px 7px;
}
html[dir="rtl"] #qodef-woo-page .add_to_cart_button:before,
html[dir="rtl"] #qodef-woo-page .added_to_cart:before,
html[dir="rtl"] #qodef-woo-page .product_type_external:before,
html[dir="rtl"] #qodef-woo-page .product_type_grouped:before,
html[dir="rtl"] .qodef-woo-shortcode .add_to_cart_button:before,
html[dir="rtl"] .qodef-woo-shortcode .added_to_cart:before,
html[dir="rtl"] .qodef-woo-shortcode .product_type_external:before,
html[dir="rtl"] .qodef-woo-shortcode .product_type_grouped:before {
    margin-left: 7px;
}
html[dir="rtl"] #qodef-side-area-mobile-header .qodef-m-navigation>ul>li .qodef-drop-down-second-inner ul li.current-menu-ancestor>a,
html[dir="rtl"] #qodef-side-area-mobile-header .qodef-m-navigation>ul>li .qodef-drop-down-second-inner ul li.current-menu-item>a,
html[dir="rtl"] #qodef-side-area-mobile-header .qodef-m-navigation>ul>li .qodef-drop-down-second-inner ul li:hover>a {
    padding-left: 0;
    padding-right: 12px;
}
html[dir="rtl"] #qodef-side-area-mobile-header .qodef-m-navigation>ul>li .qodef-drop-down-second-inner ul li.current-menu-ancestor>a:before,
html[dir="rtl"] #qodef-side-area-mobile-header .qodef-m-navigation>ul>li .qodef-drop-down-second-inner ul li.current-menu-item>a:before,
html[dir="rtl"] #qodef-side-area-mobile-header .qodef-m-navigation>ul>li .qodef-drop-down-second-inner ul li:hover>a:before {
    right: 0px;
    left: auto;
}
html[dir="rtl"] #qodef-side-area-mobile-header .qodef-m-navigation>ul>li .qodef-drop-down-second-inner>ul {
    padding: 0;
}


/* product image issue */
.qodef-woo-product-list .qodef-woo-product-image {
   width: 100%;
}
section.elementor-section.elementor-top-section.elementor-element-bb5a0fb .qodef-woo-product-inner,
section.elementor-section.elementor-element-194a1f9 .qodef-woo-product-inner {
    min-height: 470px;
}
section.elementor-section.elementor-top-section.elementor-element.elementor-element-b2061da .qodef-woo-product-inner {
    min-height: 300px;
}


@media (max-width: 1440px){
    section.elementor-section.elementor-top-section.elementor-element-bb5a0fb .qodef-woo-product-inner,
    section.elementor-section.elementor-element-194a1f9 .qodef-woo-product-inner { 
        min-height: 440px;
    }
}
@media (max-width: 1199px){
    section.elementor-section.elementor-top-section.elementor-element-bb5a0fb .qodef-woo-product-inner,
    section.elementor-section.elementor-element-194a1f9 .qodef-woo-product-inner { 
        min-height: 420px;
    }
    section.elementor-section.elementor-top-section.elementor-element.elementor-element-b2061da .qodef-woo-product-inner {
        min-height: 290px;
    }
    .qwfw-wishlist-table.qodef-pharmacare-theme .shop_table.qwfw-m-items tr td, .qwfw-wishlist-table.qodef-pharmacare-theme .shop_table.qwfw-m-items tr th {
        padding: 10px 10px;
    }
    .qwfw-wishlist-table  .qwfw-m-inner {
        overflow-x: auto;
    }
    td.qwfw-e-item.product-thumbnail {
        min-width: 100px;
    }
}
@media (max-width: 1024px){
    section.elementor-section.elementor-top-section.elementor-element-bb5a0fb .qodef-woo-product-inner, section.elementor-section.elementor-element-194a1f9 .qodef-woo-product-inner {
        min-height: 520px;
    }
    .qwfw-wishlist-table.qodef-pharmacare-theme .shop_table.qwfw-m-items tr td.product-remove {
        padding: 10px 16px;
    }
    .qwfw-wishlist-table.qodef-pharmacare-theme .shop_table.qwfw-m-items .product-add-to-cart .add_to_cart_button,
    .qwfw-wishlist-table.qodef-pharmacare-theme .shop_table.qwfw-m-items thead {
        white-space: nowrap;
    }
}
@media (max-width: 991px){
    section.elementor-section.elementor-top-section.elementor-element-bb5a0fb .qodef-woo-product-inner,
    section.elementor-section.elementor-element-194a1f9 .qodef-woo-product-inner { 
        min-height: 520px;
    }
    section.elementor-section.elementor-top-section.elementor-element.elementor-element-b2061da .qodef-woo-product-inner {
        min-height: 320px;
    }
}
@media (max-width: 767px){
    section.elementor-section.elementor-top-section.elementor-element-bb5a0fb .qodef-woo-product-inner {
        min-height: 460px;
    }
    section.elementor-section.elementor-top-section.elementor-element.elementor-element-b2061da .qodef-woo-product-inner {
        min-height: 300px;
    }
    .qwfw-wishlist-table.qodef-pharmacare-theme .shop_table.qwfw-m-items .product-name .qwfw-e-item-name {
        font-size: 15px;
        line-height: 1.3;
    }
    .qwfw-wishlist-table .qwfw-m-items .qwfw-e-item.product-name .qwfw-e-item-category {
        margin-bottom: 0.3rem;
        font-size: 12px;
        line-height: 1;
    }
}
@media (max-width: 680px){
    section.elementor-section.elementor-top-section.elementor-element-bb5a0fb .qodef-woo-product-inner {
        min-height: unset;
    }
    section.elementor-section.elementor-top-section.elementor-element.elementor-element-b2061da .qodef-woo-product-inner {
        min-height: unset;
    }
}

.faq-accordion .qodef-accordion-title {
 padding: 28px 10px 28px 5px !important;
}


.qodef-woo-product-list.qodef-item-layout--info-on-image .qodef-woo-product-inner .qodef-woo-product-title {
    min-height: 70px !important;
}

.qodef-e-link {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.qodef-login-opener-widget .qodef-logged-in-user .qodef-m-navigation-items {
    width: 230px;
    left : 0px;
}

.review-slider .qodef-e-inner{
     min-height:206px !important;
}

.swiper-button-next.swiper-button-outside, .swiper-container-rtl .swiper-button-prev.swiper-button-outside {
    transform: translateX(300%) translateY(-105%);
}

.swiper-button-prev.swiper-button-outside, .swiper-container-rtl .swiper-button-next.swiper-button-outside {
    transform: translateX(-300%) translateY(-105%);
}


html[dir="rtl"] .qodef-rating-holder {
    padding-right: 25px !important;
}

.otgs-development-site-front-end {
    display: none;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button {
    background: #66bc89;
    color: white;
}

.wc-block-components-button__text {
    font-size: 18px;
}

.wc-block-components-checkout-place-order-button {
    background: #66bc89;
    color: white;
}

.wc-block-checkout__actions_row button{
    border: none !important; 
}
#search-3 .widgettitle {
    display: none;
}

/* Pagination Style */
.woocommerce-pagination,
.qodef-m-pagination-items {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 2rem 0 !important;
    flex-wrap: wrap !important;
}

.woocommerce-pagination .page-numbers,
.qodef-m-pagination-item.qodef--number,
.qodef-m-pagination-item.qodef--prev,
.qodef-m-pagination-item.qodef--next {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    color: #333 !important;
    background-color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

.woocommerce-pagination .page-numbers:hover,
.qodef-m-pagination-item.qodef--number:hover,
.qodef-m-pagination-item.qodef--prev:hover,
.qodef-m-pagination-item.qodef--next:hover {
    background-color: #66bc89 !important; 
    color: #fff !important;
    border-color: #66bc89 !important;
}

.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers.current:hover,
.qodef-m-pagination-item.qodef--active,
.qodef-m-pagination-item.qodef--active:hover {
    background-color: #66bc89 !important;
    color: #fff !important;
    border-color: #66bc89 !important;
    cursor: default !important;
}


.qodef-m-pagination-item.qodef--prev span,
.qodef-m-pagination-item.qodef--next span {
    font-size: 18px !important;
    line-height: 1 !important;
}

@media (max-width: 480px) {
    .woocommerce-pagination .page-numbers,
    .qodef-m-pagination-item.qodef--number,
    .qodef-m-pagination-item.qodef--prev,
    .qodef-m-pagination-item.qodef--next {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}

html[lang="ar"] body *:not(i):not(.qodef-icon):not(.qodef-icon-fontkiko):not(.qodef-icon-pharmacy-icons):not(.qodef-icon-font-awesome){
    font-family: 'Cairo', sans-serif !important;
}


.menu_custom_icon {vertical-align:middle; margin-right:10px;}
html[dir="rtl"] .menu_custom_icon {vertical-align:middle; margin-left:10px;}

