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

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

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

:root {
	--wd-cat-brd-radius: 50%;
	--wd-text-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(239,65,54);
	--wd-alternative-color: rgb(224,234,240);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-transform: none;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(0,0,0);
	--btn-accented-bgcolor-hover: rgb(0,0,0);
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-sticky-btn-height: 120px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(245,154,87);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 480px;
	--wd-popup-padding: 0px;
}
: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 {
	background-color: rgb(174,182,161);
	background-image: none;
	background-size: cover;
	background-position: center top;
}
.wd-footer {
	background-color: rgb(15,15,15);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-family: "Work Sans", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 13px;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-size: 18px;
}
.page .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
}
.single-product .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog .wd-page-content {
	background-image: url(https://homicafurniture.com/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-post .wd-page-content {
	background-image: url(https://homicafurniture.com/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button {
	font-size: 16px;
	text-transform: capitalize;
	color: rgb(255,255,255);
	background: rgb(0,0,0);
}
html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover {
	color: rgb(255,255,255);
	background: rgb(51,51,51);
}
html #place_order {
	background: rgb(245,154,87);
}
html #place_order:hover {
	background: rgb(245,154,87);
}
html .wd-buy-now-btn {
	color: rgb(255,255,255);
	background: rgb(241,65,56);
}
html .wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgb(241,65,56);
}
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)7;
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(238,65,53);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 900px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 120px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 5px;
	}

}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--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: 1400px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* تكبير حجم مربعات الألوان */
.wd-swatch {
    width: 50px !important;    /* العرض */
    height: 50px !important;   /* الطول */
    min-width: 50px !important; 
}

@media (min-width: 1025px) {
	/* =====================================================
   HOMICA — Bento Grid للكاتجوري والأرشيف فقط
   الخط: Tajawal (موجود في الموقع)
   اللون الأساسي: #EE4135 (أحمر الموقع)

   أين تضيفه:
   WoodMart → Theme Settings → Custom CSS
   ===================================================== */

/* ======================================================
   SCOPE: بيشتغل على كاتجوري + أرشيف المتجر فقط
   ====================================================== */

body.tax-product_cat .products.wd-products,
body.woodmart-archive-shop .products.wd-products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: 310px !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 0 !important;
}

/* ── كل كرت ثالث = كبير (2 عمود × 2 صف) ── */
body.tax-product_cat .products.wd-products .wd-product:nth-child(3n),
body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n) {
  grid-column: span 2 !important;
  grid-row: span 2 !important;
}

/* ── الكروت الصغيرة ── */
body.tax-product_cat .products.wd-products .wd-product:nth-child(3n+1),
body.tax-product_cat .products.wd-products .wd-product:nth-child(3n+2),
body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n+1),
body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n+2) {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

/* ── شكل الكرت ── */
body.tax-product_cat .products.wd-products .wd-product,
body.woodmart-archive-shop .products.wd-products .wd-product {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: #111 !important;
}

/* ── الـ wrapper الداخلي ── */
body.tax-product_cat .products.wd-products .wd-product .product-wrapper,
body.woodmart-archive-shop .products.wd-products .wd-product .product-wrapper {
  height: 100% !important;
  position: relative !important;
}

/* ── الصورة تملأ الكرت ── */
body.tax-product_cat .products.wd-products .wd-product .product-element-top,
body.woodmart-archive-shop .products.wd-products .wd-product .product-element-top {
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
  width: 100% !important;
}

body.tax-product_cat .products.wd-products .wd-product .product-image-link,
body.woodmart-archive-shop .products.wd-products .wd-product .product-image-link {
  display: block !important;
  height: 100% !important;
  width: 100% !important;
}

body.tax-product_cat .products.wd-products .wd-product .product-element-top img,
body.woodmart-archive-shop .products.wd-products .wd-product .product-element-top img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: brightness(0.78) !important;
  transition: transform 0.55s ease, filter 0.4s ease !important;
}

body.tax-product_cat .products.wd-products .wd-product:hover .product-element-top img,
body.woodmart-archive-shop .products.wd-products .wd-product:hover .product-element-top img {
  transform: scale(1.06) !important;
  filter: brightness(0.5) !important;
}

/* ── Slider ── */
body.tax-product_cat .products.wd-products .wd-product .wd-product-grid-slider,
body.woodmart-archive-shop .products.wd-products .wd-product .wd-product-grid-slider {
  height: 100% !important;
}

/* ── Overlay تدريجي ── */
body.tax-product_cat .products.wd-products .wd-product .product-element-top::after,
body.woodmart-archive-shop .products.wd-products .wd-product .product-element-top::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.35) 45%,
    transparent 100%
  ) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* ── معلومات المنتج في الأسفل ── */
body.tax-product_cat .products.wd-products .wd-product .product-element-bottom,
body.woodmart-archive-shop .products.wd-products .wd-product .product-element-bottom {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 2 !important;
  padding: 1rem 1.1rem !important;
  background: transparent !important;
  border: none !important;
  transform: translateY(6px) !important;
  opacity: 0.88 !important;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}

body.tax-product_cat .products.wd-products .wd-product:hover .product-element-bottom,
body.woodmart-archive-shop .products.wd-products .wd-product:hover .product-element-bottom {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

body.tax-product_cat .products.wd-products .wd-product:nth-child(3n) .product-element-bottom,
body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n) .product-element-bottom {
  padding: 1.5rem 1.6rem !important;
}

/* ── اسم المنتج ── */
body.tax-product_cat .products.wd-products .wd-product .wd-entities-title,
body.woodmart-archive-shop .products.wd-products .wd-product .wd-entities-title {
  margin-bottom: 4px !important;
}

body.tax-product_cat .products.wd-products .wd-product .wd-entities-title a,
body.woodmart-archive-shop .products.wd-products .wd-product .wd-entities-title a {
  font-family: "Tajawal", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  display: block !important;
  line-height: 1.4 !important;
}

body.tax-product_cat .products.wd-products .wd-product:nth-child(3n) .wd-entities-title a,
body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n) .wd-entities-title a {
  font-size: 1.45rem !important;
}

/* ── السعر ── */
body.tax-product_cat .products.wd-products .wd-product .price,
body.woodmart-archive-shop .products.wd-products .wd-product .price {
  font-family: "Tajawal", sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #EE4135 !important;
  margin-bottom: 10px !important;
  display: block !important;
}

body.tax-product_cat .products.wd-products .wd-product:nth-child(3n) .price,
body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n) .price {
  font-size: 18px !important;
}

body.tax-product_cat .products.wd-products .wd-product .price del,
body.woodmart-archive-shop .products.wd-products .wd-product .price del {
  color: rgba(255,255,255,0.4) !important;
  font-size: 18px !important;
  margin-left: 4px !important;
}

body.tax-product_cat .products.wd-products .wd-product .price ins,
body.woodmart-archive-shop .products.wd-products .wd-product .price ins {
  text-decoration: none !important;
  color: #EE4135 !important;
}

/* ── زر السلة ── */
body.tax-product_cat .products.wd-products .wd-product .wd-add-btn a,
body.woodmart-archive-shop .products.wd-products .wd-product .wd-add-btn a {
  font-family: "Tajawal", sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  padding: 5px 16px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background 0.25s ease, border-color 0.25s ease !important;
}

body.tax-product_cat .products.wd-products .wd-product .wd-add-btn a:hover,
body.woodmart-archive-shop .products.wd-products .wd-product .wd-add-btn a:hover {
  background: #EE4135 !important;
  border-color: #EE4135 !important;
  color: #ffffff !important;
}

body.tax-product_cat .products.wd-products .wd-product:nth-child(3n) .wd-add-btn a,
body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n) .wd-add-btn a {
  font-size: 13px !important;
  padding: 7px 22px !important;
}

/* ── بادجات السعر ── */
body.tax-product_cat .products.wd-products .product-labels,
body.woodmart-archive-shop .products.wd-products .product-labels {
  z-index: 3 !important;
}

body.tax-product_cat .products.wd-products .onsale.product-label,
body.woodmart-archive-shop .products.wd-products .onsale.product-label {
  background: #EE4135 !important;
  color: #ffffff !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  border-radius: 20px !important;
}

body.tax-product_cat .products.wd-products .out-of-stock.product-label,
body.woodmart-archive-shop .products.wd-products .out-of-stock.product-label {
  background: rgba(0,0,0,0.5) !important;
  color: rgba(255,255,255,0.7) !important;
  font-family: "Tajawal", sans-serif !important;
  font-size: 10px !important;
  border-radius: 20px !important;
}

/* ── أزرار المقارنة والعرض السريع ── */
body.tax-product_cat .products.wd-products .wd-buttons,
body.woodmart-archive-shop .products.wd-products .wd-buttons {
  z-index: 4 !important;
}

body.tax-product_cat .products.wd-products .wd-action-btn a,
body.tax-product_cat .products.wd-products .wd-compare-btn a,
body.woodmart-archive-shop .products.wd-products .wd-action-btn a,
body.woodmart-archive-shop .products.wd-products .wd-compare-btn a {
  background: rgba(0,0,0,0.55) !important;
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 50% !important;
  transition: background 0.2s, color 0.2s !important;
}

body.tax-product_cat .products.wd-products .wd-action-btn a:hover,
body.tax-product_cat .products.wd-products .wd-compare-btn a:hover,
body.woodmart-archive-shop .products.wd-products .wd-action-btn a:hover,
body.woodmart-archive-shop .products.wd-products .wd-compare-btn a:hover {
  background: #EE4135 !important;
  color: #ffffff !important;
  border-color: #EE4135 !important;
}

/* ── خط أحمر ينزل عند الهوفر ── */
body.tax-product_cat .products.wd-products .wd-product::after,
body.woodmart-archive-shop .products.wd-products .wd-product::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 3px !important;
  height: 0 !important;
  background: #EE4135 !important;
  transition: height 0.35s ease !important;
  z-index: 5 !important;
  border-radius: 0 !important;
}

body.tax-product_cat .products.wd-products .wd-product:hover::after,
body.woodmart-archive-shop .products.wd-products .wd-product:hover::after {
  height: 38% !important;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 1024px) {
  body.tax-product_cat .products.wd-products,
  body.woodmart-archive-shop .products.wd-products {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 260px !important;
  }

  body.tax-product_cat .products.wd-products .wd-product:nth-child(3n),
  body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n) {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
  }
}

@media (max-width: 600px) {
  body.tax-product_cat .products.wd-products,
  body.woodmart-archive-shop .products.wd-products {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 200px !important;
    gap: 8px !important;
  }

  body.tax-product_cat .products.wd-products .wd-product:nth-child(3n),
  body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n) {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
  }

  body.tax-product_cat .products.wd-products .wd-product .wd-entities-title a,
  body.woodmart-archive-shop .products.wd-products .wd-product .wd-entities-title a {
    font-size: 0.85rem !important;
  }

  body.tax-product_cat .products.wd-products .wd-product:nth-child(3n) .wd-entities-title a,
  body.woodmart-archive-shop .products.wd-products .wd-product:nth-child(3n) .wd-entities-title a {
    font-size: 1.1rem !important;
  }
}
}

