/*
 * Child Theme Created By NagaTheme.com
 * RTL Codes That Are Necessary for Astra Added By NagaTheme.com
 */

/* Search Icon in Sidebar */
.widget_search .search-field, .widget_search .search-field:focus {
    padding: 16px 45px 16px 15px;
}

/* woocommerce onsale circle */
.woocommerce div.product.ast-product-gallery-with-no-image .onsale {
	right: -.5em !important;
	left: auto !important;
}

@media (min-width:768px) {
.woocommerce div.product.ast-product-gallery-layout-vertical .onsale {
	right: 12.5%;
	right: -webkit-calc(12.5% - .5em);
	right: calc(12.5% - .5em);
	left: auto !important;
}
}
#ast-quick-view-content .onsale {
    right: 15px !important;
    left: auto !important;
}

/* Woocommerce Thumbnail image on Tablet is gone! */
.woocommerce #content table.cart .product-thumbnail,
.woocommerce table.cart .product-thumbnail,
.woocommerce-page #content table.cart .product-thumbnail,
.woocommerce-page table.cart .product-thumbnail {
    display: block;
    text-align: center !important;
}

/* Header SubMenu Icons -> New Versions */
.ast-desktop .ast-mega-menu-enabled.main-header-menu > .menu-item-has-children > .menu-link .sub-arrow::after,
.ast-desktop .ast-mega-menu-enabled.ast-below-header-menu > .menu-item-has-children > .menu-link .sub-arrow::after,
.ast-desktop .ast-mega-menu-enabled.ast-above-header-menu > .menu-item-has-children > .menu-link .sub-arrow::after {
    margin-right: 10px;
	margin-left: auto;
}
.main-header-bar .main-header-bar-navigation .page_item_has_children > a::after,
.main-header-bar .main-header-bar-navigation .menu-item-has-children > a::after,
.site-header-focus-item .main-header-bar-navigation .menu-item-has-children > .menu-link::after {
	margin-right: 10px;
	margin-left: auto;
}
.main-header-menu .sub-menu .menu-item.menu-item-has-children > .menu-link::after {
    left: 1em;
	right: auto;
    transform: translate(0px,-50%) rotate(90deg);
}
/* Header SubMenu Icons -> New Versions -> Mobile */
.content-align-flex-start .main-header-menu {
    text-align: right;
}
@media (max-width:768px) {
	.ast-header-break-point .ast-builder-menu-1 .menu-item.menu-item-has-children > .ast-menu-toggle {
		left: calc( 20px - 0.907em );
		right: auto;
	}
}
/* Header Nested SubMenu Icons -> New Versions -> Mobile */
@media (max-width:768px) {
	.ast-header-break-point .ast-builder-menu-1 .sub-menu .menu-item.menu-item-has-children > .ast-menu-toggle {
		left: calc( 20px - 0.907em );
		right: auto !important;
	}
	.ast-header-break-point .ast-builder-menu-1 .main-header-menu .sub-menu > .menu-item > .menu-link {
		padding-left: 20px !important;
		padding-right: 30px !important;
	}
	.ast-header-break-point .main-navigation .sub-menu .menu-item .menu-item .menu-link {
		padding-right: 40px !important;
	}
	.ast-header-break-point .main-navigation .sub-menu .menu-item .menu-item .menu-item .menu-link {
		padding-right: 50px  !important;
	}
}
.ast-header-break-point .main-navigation ul.sub-menu .menu-item .menu-link::before {
    transform: translate(0,-2px) rotateZ(90deg);
	margin-left: 5px;
	margin-right: auto;
}

/* Astra Builder > Customizing > Header Builder > Off-Canvas > Content Alignment */
/* Astra Builder > Customizing > Header Builder > Off-Canvas > Content Alignment > Left */
.content-align-flex-start .ast-builder-layout-element {
    justify-content: flex-start !important;
}
/* Astra Builder > Customizing > Header Builder > Off-Canvas > Content Alignment > Rigth */
.content-align-flex-end .ast-builder-layout-element {
    justify-content: flex-end !important;
}

/* Astra Builder > Customizing > Header > Off-Canvas > Flyout */
/* Astra Builder > Customizing > Header > Off-Canvas > Flyout > Left Position */
.ast-mobile-popup-drawer.ast-mobile-popup-left .ast-mobile-popup-inner {
    transform: translateX(-100%);
    left: 0;
    right: auto;
}
/* Astra Builder > Customizing > Header > Off-Canvas > Flyout > Right Position */
.ast-mobile-popup-drawer .ast-mobile-popup-inner {
	transform: translateX(100%);
	right: 0;
	left: auto;
}
/* Astra Builder > Customizing > Header > Off-Canvas > Flyout > Active Off-Canvas */
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
    transform: translateX(0%);
}


/* OutLine of Menu Items */
a, a:hover, a:active, a:focus {
	outline: 0;
}

/* Single Blog Page > Comment > Author Title */
.ast-comment-cite-wrap {
    text-align: right;
}

/* Archive Woocommerce Page > Off-Canvas */
.ast-off-canvas-overlay .woocommerce .astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar, .ast-off-canvas-overlay .woocommerce-page .astra-off-canvas-sidebar-wrapper .astra-off-canvas-sidebar {
    margin-right: -17px;
}

/* Single Woocommerce Page > Review Form > Checkbox */
.woocommerce #reviews #review_form #respond p {
    margin: 2px 2px 6px;
}
/* Single Woocommerce Page > Review Form > Wrapper */
.woocommerce #reviews {
    display: block;
}
.woocommerce #reviews #comments {
    width: 100%;
    float: right;
}
.woocommerce #reviews #review_form_wrapper {
    width: 100%;
    float: left;
    padding: 0;
}
/* Single Woocommerce Page > Prev/Next Buttons */
.ast-icon-previous::before {
	transform: rotate(-90deg);
	margin: 8px;
}
.ast-icon-next::before {
  transform: rotate(90deg);
  margin: 8px;
}

/* Single Woocommerce Page > Zoom Icon */
html[dir="rtl"] .woocommerce-js div.product div.images .woocommerce-product-gallery__trigger {
	left: auto;
	right: .5em;
}
html[dir="rtl"] .woocommerce-js div.product div.images .woocommerce-product-gallery__trigger span {
	display: none;
}


/* Plugins Integration */
/* Fix Yith Woocommerce Checkout > input checkbox */
.woocommerce form .form-row .input-checkbox {
    margin: 7px 0 0 8px;
}
.woocommerce-checkout input[type="checkbox"] {
   float: right;
   clear: right;
}
.woocommerce-checkout label.checkbox {
    float: right;
}

/* Header Footer Elementor > Menu Element */
.hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-menu,
.hfe-submenu-action-hover .hfe-layout-vertical .hfe-nav-menu .sub-menu {
	text-align: right !important;
}
.hfe-nav-menu .menu-item-has-children .menu-item-has-children .sub-menu {
	right: 100% !important;
	left: auto  !important;
}
.hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-arrow {
	margin: 0 10px 0 0 !important;
}

/* WPForms Integration */
/* Long Horizontal Scroll in Mobile Menu When Lable & Sub-Lable is Hide */
div.wpforms-container-full .wpforms-form .wpforms-field-label.wpforms-label-hide,
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel.wpforms-sublabel-hide {
    display: none;
    left: auto;
    top: auto;
}

/*----------------------------------*/
/* Astra Addon > Sticky Add to Cart */
#ast-scroll-top {
	z-index: 9999;
}
.ast-sticky-add-to-cart {
	position:fixed;
	left: 0;
	right: 0;
	opacity: 0;
	z-index: 1200;
	transition: opacity .4s ease-in-out,transform .6s ease-in-out;
	transform: translate(0,0);
	background-color: var(--ast-global-color-5);
}
.ast-sticky-add-to-cart.is-active {
	transform: translate(0,0);
	opacity: 1;
}
.ast-sticky-add-to-cart .ast-sticky-add-to-cart-content {
	display: flex;
	min-height: 60px;
	padding: 10px 0;
}
.ast-sticky-add-to-cart .ast-sticky-add-to-cart-content .ast-sticky-add-to-cart-title-wrap {
	display: flex;
	align-items: center;
	flex-grow: 1;
}
.ast-sticky-add-to-cart .ast-sticky-add-to-cart-content .ast-sticky-add-to-cart-title-wrap img {
	max-height: 50px;
	width: auto;
}
.ast-sticky-add-to-cart .ast-sticky-add-to-cart-content .ast-sticky-add-to-cart-title-wrap .ast-sticky-add-to-cart-title {
	padding: 5px 20px;
	font-size: 18px;
	font-weight: inherit;
	line-height: 1.5;
}
.ast-sticky-add-to-cart .ast-sticky-add-to-cart-content .ast-stock-detail {
	display:none;
}
.ast-sticky-add-to-cart-action-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.ast-sticky-add-to-cart-action-wrap .ast-quantity-add-to-cart {
	display: flex;
	align-items: flex-start;
}
.ast-sticky-add-to-cart-action-wrap .cart {
	display: flex;
	align-items: center;
}
.ast-sticky-add-to-cart-action-wrap .quantity {
	padding-right: 14px;
}
.ast-sticky-add-to-cart-action-wrap .quantity.ast-vertical-style-applied {
	margin-right: 1em;
}
.ast-sticky-add-to-cart-action-wrap .ast-sticky-add-to-cart-action-price {
	font-weight: 700;
	padding-right: 20px;
}
.ast-sticky-add-to-cart-action-wrap .ast-sticky-add-to-cart-action-price del {
	opacity: 0.5;
	font-weight: 400;
}
.woocommerce div.ast-sticky-add-to-cart-action-wrap .button.single_add_to_cart_button {
	padding:11px 25px;
	width:100%;
}
/* Astra Addon > Sticky Add to Cart > Naga RTL Codes */
.ast-sticky-add-to-cart-action-wrap .ast-sticky-add-to-cart-action-price {
	padding-left: 20px;
	padding-right: 0;
}
.ast-sticky-add-to-cart-action-wrap .quantity {
	padding-left: 14px;
	padding-right: 0;
}
/*------------------------------*/