:root {
	--wd-cat-brd-radius: 50%;
	--wd-text-font: "Albert Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Albert Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 15px;
	--wd-brd-radius: 20px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #ED3237;
	--wd-alternative-color: rgb(237,50,55);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(225,74,92);
	--btn-accented-bgcolor-hover: rgb(205,67,84);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(0,122,255);
	--wd-link-color-hover: rgb(0,63,255);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(255,255,255);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 15px;
	text-transform: none;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-weight: 700;
	font-size: 30px;
	text-transform: capitalize;
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a {
	text-transform: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,245,248);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	color: rgb(225,74,92);
	background: rgb(249,219,223);
}
html .btn.wd-buy-now-btn:hover {
	color: rgb(225,74,92);
	background: rgb(237,208,211);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgb(255,255,255);
}
.wd .product-label.onsale {
	background-color: rgb(140,188,103);
}
.wd .product-label.featured {
	background-color: rgb(225,74,92);
}
.wd .product-label.out-of-stock {
	background-color: rgb(13,6,37);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 24px;
	}

}

@media (max-width: 768.98px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 22px;
	}

}
:root{
--wd-container-w: 1660px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1660px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(246,245,248);
}

/* --- SMT PAKISTAN: MATCHING MAIN MENU WITH SUBMENU STYLE --- */

/* 1. COMPACT LIST & SILVER BACKGROUND (Main & Submenu) */
.wd-nav-vertical > li > a, 
.wd-nav-vertical .wd-dropdown li > a {
    background-color: #f2f2f2 !important; /* Light Silver Background */
    padding-top: 10px !important;         /* Compact spacing for 14+ items */
    padding-bottom: 10px !important;
    margin-bottom: 3px !important;       /* Items separation */
    border-radius: 4px !important;       /* Matching submenu curves */
    min-height: 0px !important;
    display: flex !important;
    align-items: center !important;
    border: none !important;
}

/* 2. MATCHING FONT & TEXT STYLE (Submenu style applied to Main) */
.wd-nav-vertical > li > a .nav-link-text,
.wd-nav-vertical .wd-dropdown li > a .nav-link-text,
.wd-nav-vertical .wd-dropdown li > a {
    font-size: 14px !important;          /* Standard submenu font size */
    line-height: 1.2 !important;
    font-weight: 400 !important;         /* Submenu jaisa clean weight */
    color: #666 !important;               /* Submenu jaisa professional grey color */
    font-family: inherit !important;
}

/* 3. HOVER EFFECT (Same for both) */
.wd-nav-vertical > li > a:hover,
.wd-nav-vertical .wd-dropdown li > a:hover {
    background-color: #e6e6e6 !important;
    color: #ed1c24 !important;            /* SMT Red on hover */
}

/* 4. UPWARD DROPDOWN FIX */
/* Aakhri 6 categories ke dropdowns ko uper ki taraf shift karna */
.wd-nav-vertical > li:nth-last-child(-n+6) .wd-dropdown {
    top: auto !important;
    bottom: -5px !important;
    transform: translateY(0) !important;
}

/* Container cleaning */
.wd-dropdown-menu, .sub-menu {
    padding: 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}
/* 1. Product ka pura naam dikhane ke liye (Text Truncation hatane ke liye) */
.wd-entities-title, 
.product-grid-item .wd-entities-title a {
    white-space: normal !important; /* Text ko wrap hone dega */
    overflow: visible !important;   /* Hidden text ko show karega */
    height: auto !important;       /* Height ki restriction khatam */
    display: block !important;
}

/* 2. Product name ke niche jo Category ka naam aata hai usay puri website se hatane ke liye */
.wd-product-cats,
.product-grid-item .wd-product-cats {
    display: none !important;
}

/* 3. Product Title ki space aur alignment (Optional: Styling behtar karne ke liye) */
.product-grid-item .wd-entities-title {
    margin-bottom: 5px !important;
    min-height: 40px; /* Is se alignment barabar rehti hai agar koi naam 2 lines ka ho */
}
/* --- SMT PAKISTAN: PROMINENT MODEL NUMBER FIX --- */

/* Container ki height thori barhai hai taake bara font fit aa sakay */
.product-grid-item .wd-entities-title {
    min-height: 65px !important;
    max-height: 70px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
}

/* Main Name (Thora chota aur subtle) */
.main-name.normal-font-title {
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #666 !important; /* Halka grey taake model number zyada chamke */
}

.main-name.small-font-title {
    font-size: 12px !important;
    line-height: 1.1 !important;
    color: #666 !important;
}

/* SMT MODEL NUMBER (Sab se bara aur prominent) */
.smt-model {
    display: block !important;
    color: #ed1c24 !important;      /* SMT Red */
    font-weight: 800 !important;    /* Zyada Bold */
    font-size: 17px !important;     /* Sab se bara font size */
    margin-top: 4px !important;
    letter-spacing: 0.5px !important;
}

/* Link clean up */
.wd-entities-title a {
    display: block !important;
    text-decoration: none !important;
}
/* Puri website se mobile/electronics specification table hatane ke liye */
.product-tabs-wrapper,
#tab-specification,
.wd-specifications-table,
.single-product-page .wd-accordion-title[data-id="specification"] {
    display: none !important;
}
/* --- SMT PAKISTAN: PRODUCT CATEGORY TITLE REMOVE --- */

/* Category page ke main title block ko hide karne ke liye */
.archive.woocommerce-page .page-title-shop {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Category page ke breadcrumbs (Home / Power Tools) ko hide karne ke liye */
.archive.woocommerce-page .wd-breadcrumbs {
    display: none !important;
}

/* Extra space jo uper bach jati hai usay khatam karne ke liye */
.archive.woocommerce-page .main-page-wrapper {
    padding-top: 20px !important;
}
/* Puray website ke images par smooth transition lagane ke liye */
img {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important; /* Apple ka signature smooth bezier curve */
}

/* Jis product par mouse jaye, sirf woh halka sa zoom in aur lift ho */
img:hover {
  transform: scale(1.06) translateY(-5px) !important; /* Smooth zoom aur thoda sa upar lift */
  filter: brightness(1.03) !important; /* Halka sa glow effect jese light partii hai */
}
/* 1. Website ka background setup jahan products hain */
body, .site-content, #main-content {
  background-color: #fcfcfc !important; /* Halka sa off-white background */
  position: relative;
  overflow-x: hidden;
}

/* 1. Base Canvas - Bilkul Safe */
html, body {
  background-color: #fafafa !important;
  position: relative;
  min-height: 100%;
}

/* 2. Super Fast 3D Box Grid (GPU Optimized) */
body::before {
  content: "" !important;
  position: fixed !important;
  top: -50% !important; /* Extra space oopar se takay animation cut na ho */
  left: -10% !important;
  width: 120% !important;
  height: 200% !important; /* Height badha di taake transformation smooth ho */
  
  /* Background grid lines */
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px) !important;
  background-size: 60px 60px !important;
  
  /* 3D Static Properties (Will not animate directly, saving CPU) */
  transform-origin: top center !important;
  
  /* Hardware acceleration trigger (Browser ko fast render karne par majboor karta hai) */
  will-change: transform;
  transform: perspective(250px) rotateX(68deg) translateY(0) !important;
  
  animation: ultraLight3DLoop 20s linear infinite !important;
  z-index: -1 !important; /* Hamesha safe background layer */
  pointer-events: none !important;
}

/* 3. Product Cards - No Blur, Lag-Free Transparency */
.product-grid-item, 
.product-wrapper, 
.wd-product, 
div[class*="product"] {
  /* Blur hata kar pure opacity matrix use ki hai takay scroll lag khatam ho */
  background: rgba(255, 255, 255, 0.92) !important; 
  position: relative !important;
  z-index: 2 !important; 
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015) !important;
}

/* 4. GPU Layer Animation (Super Smooth) */
@keyframes ultraLight3DLoop {
  0% {
    /* TranslateY use karne se GPU process active hota hai aur background-position ki tarah lag nahi aata */
    transform: perspective(250px) rotateX(68deg) translateY(0px) !important;
  }
  100% {
    /* 60px grid size hai, toh perfect loop ke liye 60px move kiya */
    transform: perspective(250px) rotateX(68deg) translateY(60px) !important;
  }
}

/* Puri website ka text font change karne ke liye universal target */
html, body, div, p, h1, h2, h3, h4, h5, h6, a, span, button, input, select, textarea, li {
  font-family: 'Scout', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* WoodMart specific components ko handle karne ke liye (agar theme woodmart hai) */
.title, .wpb_heading, .wd-entities-title, .product-title, .menu-item a {
  font-family: 'Scout' !important;
}