@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//mksolutions.co.ke/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//mksolutions.co.ke/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//mksolutions.co.ke/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//mksolutions.co.ke/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//mksolutions.co.ke/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//mksolutions.co.ke/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//mksolutions.co.ke/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//mksolutions.co.ke/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//mksolutions.co.ke/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-header-banner-h: 40px;
	--wd-text-font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(0,123,196);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(0,123,196);
	--btn-accented-bgcolor-hover: rgb(0,106,169);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://mksolutions.co.ke/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
.header-banner {
	background-color: rgb(0,123,196);
	background-image: none;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: url(https://mksolutions.co.ke/wp-content/uploads/2021/10/electronics-page-title.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(10,10,10);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 40px;
	}

}
:root{
--wd-container-w: 1222px;
--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;
--wd-brd-radius: 0px;
}

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


/* Center text and round corners for the Quick Order button */
#sendbtn, 
.wa-shop-button, 
.wa-order-button {
    border-radius: 10px !important; /* Kept from previous step */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px; /* This adds a small space between the WhatsApp icon and the text */
}

/* 1. Header is transparent initially on ALL pages */
.whb-header:not(.whb-sticked),
.whb-header:not(.whb-sticked) .whb-row {
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* 2. Header turns solid black when scrolling down on ALL pages */
.whb-header.whb-sticked,
.whb-header.whb-sticked .whb-row {
    background-color: #000000 !important;
    transition: background-color 0.3s ease-in-out;
}

/* ==========================================
   Remove all icons before menu item names
   ========================================== */

/* 1. Hide image, SVG, and font icons inside menu links */
.whb-header .menu-item > a > img,
.whb-header .menu-item > a > svg,
.whb-header .menu-item > a > i,
.whb-header .menu-item .wd-nav-icon,
.whb-header .menu-item .wd-nav-img,
.whb-header .menu-item .menu-item-icon,
.whb-header .menu-item .category-icon,
.whb-header [class*="nav-icon"],
.whb-header [class*="menu-icon"] {
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Hide CSS pseudo-element icons before the text */
.whb-header .menu-item > a::before,
.whb-header .menu-item > a > span::before {
    display: none !important;
    content: none !important;
}

/* Horizontal Scrollable Menu on Mobile */
@media (max-width: 991px) {
  /* 1. Make the menu container swipeable horizontally */
  .whb-row .wd-nav,
  .whb-row ul.menu,
  .wd-nav-main,
  .wd-header-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important; /* Smooth scrolling on iOS */
    white-space: nowrap !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 8px 15px !important;
    gap: 15px !important;
    scrollbar-width: none !important; /* Hide scrollbar for Firefox */
  }

  /* 2. Hide scrollbar for Chrome, Safari, and Edge */
  .whb-row .wd-nav::-webkit-scrollbar,
  .whb-row ul.menu::-webkit-scrollbar,
  .wd-nav-main::-webkit-scrollbar,
  .wd-header-nav::-webkit-scrollbar {
    display: none !important;
  }

  /* 3. Keep each menu item on a single line without shrinking */
  .whb-row .wd-nav > li,
  .whb-row ul.menu > li,
  .wd-nav-main > li,
  .wd-header-nav > li {
    flex: 0 0 auto !important;
    display: inline-block !important;
    margin: 0 !important;
  }

  /* 4. Touch-friendly link styling */
  .whb-row .wd-nav > li > a,
  .whb-row ul.menu > li > a,
  .wd-nav-main > li > a {
    padding: 6px 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: block !important;
  }

  /* 5. Ensure the header column doesn't clip the scroll */
  .whb-row .whb-col {
    width: 100% !important;
    overflow: visible !important;
  }
}

/* Covers standard WooCommerce, Elementor Products, Elementor Loop Grid & Blocks */
.products,
.elementor-wc-products ul.products,
.elementor-loop-container,
.wc-block-grid__products,
.wp-block-woocommerce-product-template {
  align-items: stretch !important;
}

.products > li,
.products > div,
.e-loop-item,
.wc-block-grid__product,
.wp-block-woocommerce-product-template > li {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
}

/* Make the main product link stretch & align contents vertically */
.products li.product > a:first-child,
.products .product > a:first-child {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Force every product image to the exact same box size */
.products img,
.e-loop-item img,
.wc-block-grid__product img {
  width: 100% !important;
  height: 180px !important;
  max-height: 180px !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Lock product title height to 2 lines */
.products h2,
.products h3,
.products .woocommerce-loop-product__title,
.e-loop-item h2,
.e-loop-item h3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.8em !important;
  line-height: 1.4 !important;
}

/* Push price & QUICK ORDER button to the bottom */
.products .price,
.e-loop-item .price {
  margin-top: auto !important;
}

/* =========================================================
   WoodMart Global Product Card Alignment (All Categories)
   ========================================================= */

/* 1. Force all product cards in a row to equal height */
.wd-products .wd-product,
.products .product-grid-item {
  display: flex;
  flex-direction: column;
}

.wd-product .product-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

.wd-product .product-element-bottom {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* 2. Make all product image boxes identical squares */
.wd-product .product-element-top {
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  overflow: hidden;
}

.wd-product .product-element-top .product-image-link,
.wd-product .product-element-top .hover-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-product .product-element-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

/* 3. Lock product titles to an even 2-line height */
.wd-product .wd-entities-title {
  min-height: 2.8em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

/* Keep consistent spacing under category & price */
.wd-product .wd-product-cats {
  min-height: 1.4em;
  margin-bottom: 6px;
}

.wd-product .price {
  margin-bottom: 12px;
}

/* 4. Pin the Quick Order / Add to Cart button to the very bottom */
.wd-product .product-wrapper > :last-child:not(.product-element-top):not(.product-element-bottom),
.wd-product .product-element-bottom > :last-child,
.wd-product .product-wrapper > .wd-add-btn,
.wd-product .product-element-bottom > .wd-add-btn,
.wd-product .product-wrapper > [class*="wa"],
.wd-product .product-element-bottom > [class*="wa"],
.wd-product .product-wrapper > [class*="quick"],
.wd-product .product-element-bottom > [class*="quick"] {
  margin-top: auto !important;
}

/* =========================================================
   WoodMart Global Product Card Alignment (All Categories)
   ========================================================= */

/* 1. Force all product cards in a row to equal height */
.wd-products .wd-product,
.products .product-grid-item {
  display: flex;
  flex-direction: column;
}

.wd-product .product-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

.wd-product .product-element-bottom {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* 2. Make all product image boxes identical squares */
.wd-product .product-element-top {
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  overflow: hidden;
}

.wd-product .product-element-top .product-image-link,
.wd-product .product-element-top .hover-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-product .product-element-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

/* 3. Lock product titles to an even 2-line height */
.wd-product .wd-entities-title {
  min-height: 2.8em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

/* Keep consistent spacing under category & price */
.wd-product .wd-product-cats {
  min-height: 1.4em;
  margin-bottom: 6px;
}

.wd-product .price {
  margin-bottom: 12px;
}

/* 4. Pin the Quick Order / Add to Cart button to the very bottom */
.wd-product .product-wrapper > :last-child:not(.product-element-top):not(.product-element-bottom),
.wd-product .product-element-bottom > :last-child,
.wd-product .product-wrapper > .wd-add-btn,
.wd-product .product-element-bottom > .wd-add-btn,
.wd-product .product-wrapper > [class*="wa"],
.wd-product .product-element-bottom > [class*="wa"],
.wd-product .product-wrapper > [class*="quick"],
.wd-product .product-element-bottom > [class*="quick"] {
  margin-top: auto !important;
}

/* =========================================================
   Force White WhatsApp Icon on Single Product "QUICK ORDER"
   ========================================================= */
.single-product .entry-summary form.cart .single_add_to_cart_button + a,
.single-product .entry-summary form.cart .single_add_to_cart_button + button,
.single-product .entry-summary a[href*="wa.me"],
.single-product .entry-summary a[href*="whatsapp"],
.single-product .entry-summary [class*="whatsapp"],
.single-product .entry-summary [class*="wa-"],
.single-product .entry-summary [class*="quick"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
}

/* Force white if the button already contains an <i>, <svg>, or <img> */
.single-product .entry-summary form.cart .single_add_to_cart_button + a i,
.single-product .entry-summary form.cart .single_add_to_cart_button + button i,
.single-product .entry-summary [class*="whatsapp"] i,
.single-product .entry-summary [class*="wa-"] i,
.single-product .entry-summary [class*="quick"] i {
  color: #ffffff !important;
}

.single-product .entry-summary form.cart .single_add_to_cart_button + a svg,
.single-product .entry-summary form.cart .single_add_to_cart_button + button svg,
.single-product .entry-summary [class*="whatsapp"] svg,
.single-product .entry-summary [class*="wa-"] svg,
.single-product .entry-summary [class*="quick"] svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.single-product .entry-summary form.cart .single_add_to_cart_button + a img,
.single-product .entry-summary form.cart .single_add_to_cart_button + button img,
.single-product .entry-summary [class*="whatsapp"] img,
.single-product .entry-summary [class*="wa-"] img,
.single-product .entry-summary [class*="quick"] img {
  filter: brightness(0) invert(1) !important;
}

/* Hide the Quick View (search) icon on product cards */
.wd-product .wd-quick-view-icon,
.wd-product .wd-quick-view-btn,
.wd-product .quick-view {
  display: none !important;
}