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


/* Arabic Styling */

/* 1. Apply Arabic font globally */
/* Arabic global font */
/* =========================
   1. Global Arabic font
========================= */
html[lang="ar"] body,
html[lang="ar"] body * {
  font-family: "FrutigerLT", sans-serif;
}

/* =========================
   2. Headings (Elementor + WoodMart override)
========================= */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .elementor-heading-title {
  font-family: "FrutigerLT", sans-serif !important;
}

/* =========================
   3. Buttons, links, inputs
========================= */
html[lang="ar"] a,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] .elementor-button,
html[lang="ar"] .elementor-button-text,
html[lang="ar"] .btn,
html[lang="ar"] .button,
html[lang="ar"] .wd-button {
  font-family: "FrutigerLT", sans-serif !important;
}

/* =========================
   4. Fix Elementor text wrappers
========================= */
html[lang="ar"] span,
html[lang="ar"] p,
html[lang="ar"] div,
html[lang="ar"] li {
  font-family: "FrutigerLT", sans-serif;
}

/* =========================
   5. Preserve icon fonts (critical)
========================= */
html[lang="ar"] i,
html[lang="ar"] .fa,
html[lang="ar"] .fas,
html[lang="ar"] .far,
html[lang="ar"] .fab,
html[lang="ar"] .fal,
html[lang="ar"] .fa-solid,
html[lang="ar"] .fa-regular,
html[lang="ar"] .fa-brands,
html[lang="ar"] .eicon,
html[lang="ar"] [class^="eicon"],
html[lang="ar"] [class*="elementor-icon"],
html[lang="ar"] [class*="wd-icon"],
html[lang="ar"] [class*="woodmart-icon"] {
  font-family: inherit !important;
}

/* =========================
   6. WooCommerce price (MUST BE LAST)
========================= */
html[lang="ar"] body .woocommerce-Price-amount,
html[lang="ar"] body .woocommerce-Price-amount *,
html[lang="ar"] body .woocommerce-Price-currencySymbol,
html[lang="ar"] body .woocommerce-Price-currencySymbol * {
  font-family: "igNewAEDSymbolFont", sans-serif !important;
}


html[lang="ar"] header .whb-main-header #menu-main-navigation-arabic-1{
	border-top: 0.5px solid #9d9fa1;
	}

#menu-item-14569 .wd-dropdown-menu.wd-dropdown.wd-design-sized.color-scheme-dark{
	right: 0 !important;
}

body.rtl.home{
	.wd-page-title{
		display: none !important;
	}
}

body.rtl{
	
	
	/* Single Product Page */
	
	.single-product-warranty-card {
		.elementor-icon-box-wrapper{
			flex-direction: row !important;
			
			.elementor-icon-box-content{
				text-align: right !important;
			}
		}
	}
	
}
html[dir="rtl"]{
	
	.mobile-nav.wd-side-hidden.wd-side-hidden-nav.wd-left.wd-opener-arrow.wd-opened, .cart-widget-side.wd-side-hidden.wd-left.wd-opened, .mobile-nav.wd-side-hidden.wd-side-hidden-nav.wd-left.wd-opener-item.wd-opened{
		transform: translate3d(0, 0, 0) !important;
	}
	
	.mobile-nav.wd-side-hidden.wd-side-hidden-nav.wd-left.wd-opener-arrow, .cart-widget-side.wd-side-hidden.wd-left, .mobile-nav.wd-side-hidden.wd-side-hidden-nav.wd-left.wd-opener-item {
		right: 0 !important;
        left: auto !important;
        transform: translate3d(100%, 0, 0) !important;
	}
}

.login-form-side{
	.wd-action-text{
		display: none;
	}
}

/* End Arabic Styling */

body{
	padding-bottom: 0 !important;
}

#main-content{
	padding-block-start: 0;
}

.wpml-ls-item {
	font-size: 15px;
	
	a[lang="ar"]{
	font-family: frutigerlt !important;
	}
}

.clearance.product-label{
	background-color: #eb3b5a;
}

.product-labels.labels-rectangular{
	flex-direction: row;
}

.woocommerce-Price-amount.amount{
	font-family: "Century Gothic", Sans-serif !important;
}
.woocommerce-Price-amount.amount bdi{
	font-family: "Century Gothic", Sans-serif !important;	
}

.joinchat{
	.joinchat__button{
		background: #ae9164 var(--joinchat-ico) 50%/60% no-repeat !important;
		transition: 0.5s;
	}
	
	.joinchat__button:hover{
		background: #ae9164 var(--joinchat-ico) 50%/60% no-repeat !important;
		transition: scale(1.1);
	}
}

.wd-sticky-btn.wd-sticky-btn-shown{
	display: none !important;
}

.mobile-nav .wd-nav-product-cat .nav-link-text{
	font-weight: 400 !important;
	text-transform: capitalize !important;
}

.mobile-nav .wd-nav-product-cat .item-level-0[aria-expanded="true"] a{
	    text-transform: capitalize !important;
}

.mobile-nav .woodmart-nav-link{
	text-transform: capitalize !important;
}

.mobile-nav .item-level-0[aria-expanded="true"] a{
	text-transform: capitalize !important;
}

/* Cart Page */

.wd-cart-action-row{
	display: none !important;
}

#cart-page-cart-content{ 
	.wd-cart-action-row{
		display: none !important;
	}
	
}

#cart-page-cart-totals{
	.order-total{
		th{
			font-weight: bold;
			font-size: 22px;
		}
		
		.woocommerce-Price-amount.amount{
			font-size: 20px;
		}
	}
	
	.includes_tax{
		.woocommerce-Price-amount.amount{
			font-size: 12px;
			color: #767676;
		}
	}
	
}

/* End cart page */

/* Homepage */

.home-hero-slider{
	.swiper-slide-inner .swiper-slide-contents{
		margin-bottom: 50px;
		
		.elementor-slide-button{
			padding: 12px 24px;
		}
		.elementor-slide-button:hover{
			transform: scale(1.05);
		}
	}
}


.categories-display-widget img{
    width: 100% !important;
}

/* Header Customize */

header.whb-overcontent .whb-main-header{
	.wpml-ls-slot-shortcode_actions a{
		color: white !important;
	}
}

header .whb-main-header{
	transition: 0.5s;
	
	.site-logo{
		margin-top: 20px;
	}
	
	#menu-main-navigation{
		border-top: 0.5px solid #9d9fa1;
	}
	
	.whb-eaqxfq3cklavr42ggsm4{
		text-align: right !important;
	}
	
	.wd-header-my-account{
		width: 62px;
	}
	
	.wd-header-cart{
		width: 62px;
	}
	
	.wpml-ls-slot-shortcode_actions{
		font-size: 15px;
	}
}

header .whb-main-header:hover{
	background-color: white;
	
	.wd-tools-icon,
	#menu-main-navigation li a.woodmart-nav-link, #menu-main-navigation-arabic-1 li a.woodmart-nav-link{
		color: #333 !important;
	}
	
	.dgwt-wcas-ico-magnifier-handler{
		fill: #333 !important;
	}
	
	.wd-logo.wd-main-logo{
		display: none;
	}
	.wd-logo.wd-sticky-logo{
		display: block;
	}
	
	.wpml-ls-slot-shortcode_actions a{
		color: #333 !important;
	}
}

/* End Header */

/* Product Card Customization */

.wd-products.products.wd-loop-builder-off{
	
	gap: 50px;
	
	img{
		aspect-ratio: 1/1;
		object-fit: cover;
	}

	.wd-product:hover{
		
		.wd-product-card-bg{
			box-shadow: none !important;
		}
	}
	
	.wd-product{
		
		.product-element-bottom{
		flex-direction: column !important;
		}

		.wd-add-btn.wd-add-btn-replace{
			display: none !important;
		}
	
		.wd-swatches-grid{
			display: none !important;
		}
		
		tamara-widget{
			display: none;
		}
		
		.product-wrapper{
			padding: 0 !important;
		}
		
		.product-element-top{
			aspect-ratio: 1/1;
		}
		
		.product-element-bottom{
			padding-left: 0;
            padding-right: 0;
            flex-direction: row;
            justify-content: space-between;
            
			.wd-entities-title{
				font-size: 16px;
			}
			
		}
	}
}

/* End Product Card */

.wd-page-title.page-title{
	height: 436px;
	display: flex;
	align-items: center;
	
	.wd-title-wrapp .entry-title, .entry-title{
		font-size: 30px;
	}
}

.mobile-nav{
	.close-side-widget{
		.wd-action-text{
			display: none;
		}
	}
	
	.dgwt-wcas-search-wrapp{
		margin: 1rem;
    max-width: 100%;
    width: 90%;
    min-width: 80%;
		
		.dgwt-wcas-sf-wrapp{
			width: 100%;
		}
	}
	
	.mobile-categories-menu{
		
		.woodmart-nav-link{
			font-weight: 400 !important;
		}
		
		img{
			display: none !important;
			}
		
		.wd-nav-opener{
			border-right: none;
			border-left: none;
		}
	}
	
	.mobile-pages-menu{
		.woodmart-nav-link{
			font-weight: 400 !important;
		}
		
		.wd-nav-opener{
			border-right: none;
			border-left: none;
		}
	}
}

.mobile-nav{
	.wd-heading{
		padding-bottom: 5px !important;
		justify-content: start;
		border-bottom: none;
	}
	
	.dgwt-wcas-search-wrapp{
		margin-top: 0 !important
	}
	
	.dgwt-wcas-ico-magnifier{
		width: 15px;
	}
} 

.mobile-nav .wd-nav .mobile-tab-title .nav-link-text{
	text-transform: capitalize !important;
}

/* FiboSearch Customization */
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before,
.dgwt-wcas-details-wrapp .dgwt-wcas-pd-addtc,
.dgwt-wcas-details-space .dgwt-wcas-pd-price{
	display: none;
}

.dgwt-wcas-sf-wrapp{
	width: 280px;
}

.dgwt-wcas-search-form{
	top: 0 !important;
}

.dgwt-wcas-sf-wrapp{
	.dgwt-wcas-search-input::-webkit-input-placeholder {
        /* WebKit browsers */
         color: transparent !important;
    }
     .dgwt-wcas-search-input:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
         color: transparent !important;
    }
     .dgwt-wcas-search-input::-moz-placeholder {
        /* Mozilla Firefox 19+ */
         color: transparent !important;
    }
     .dgwt-wcas-search-input:-ms-input-placeholder {
        /* Internet Explorer 10+ */
         color: transparent !important;
    }
     input.dgwt-wcas-search-input::placeholder {
         color: transparent !important;
    }
}


/* Mini Cart */

.cart-widget-side{
	.wd-heading{
		.close-side-widget{
			.wd-action-text{
				display: none;
			}
		}
	}
	
	.widget_shopping_cart{
		.woocommerce-mini-cart__total{
			display: none;
		}
	}
}


/* End Mini Cart */


@media only screen and (max-width: 600px){
	
	.site-logo{
		margin-top: 0 !important;
	}
	
	.joinchat{
		.joinchat__button{
			bottom: 75px !important;
			width: 54px !important;
			height: 54px !important;
		}
	}
	
	.sticky-toolbar-on{
		padding-bottom: 55px !important;
	}
}

@media (max-width: 1024px) {
    .sticky-toolbar-on {
        padding-bottom: 55px !important;
    }
	
	.sorting-dropdown-style .wd-pf-categories{
        display: none !important;
    }
}


/* Single Product Page */

.accordion-single-product{
	.wd-accordion-opener{
		color: #333333;
	}
	
	.wd-accordion-title{
		flex-direction: row !important;
		
		.wd-accordion-title-text{
			justify-content: start !important;
		}
	}
}

@media only screen and (min-width: 1200px) {
	.wd-sticky-btn[aria-label="Sticky add to cart"]{
		display: none !important;
	}
	.wd-sticky-btn.wd-sticky-btn-shown{
		display: none !important;
	}
}