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

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

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

:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 600;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(0,0,0);
	--wd-entities-title-font: "Playfair Display", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: rgb(0,0,0);
	--wd-entities-title-color-hover: rgb(212, 180, 131);
	--wd-alternative-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(0,0,0);
	--wd-widget-title-font-size: 13px;
	--wd-header-el-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(212,180,131);
	--wd-alternative-color: rgb(0,0,0);
	--btn-default-font-family: "Inter", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 500;
	--btn-default-bgcolor: rgba(212,180,131,0);
	--btn-default-bgcolor-hover: rgba(239,239,239,0);
	--btn-accented-font-family: "Inter", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 500;
	--btn-accented-bgcolor: rgb(0,0,0);
	--btn-accented-bgcolor-hover: rgb(212,180,131);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(244,244,244);
	--notices-success-color: rgb(31,122,90);
	--notices-warning-bg: rgb(250,243,232);
	--notices-warning-color: rgb(138,109,59);
	--wd-link-color: rgb(17,17,17);
	--wd-link-color-hover: rgb(212,180,131);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://mariadelmar.ma/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 190px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(249,249,249);
	background-image: none;
}
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(0,0,0);
	--wd-form-placeholder-color: rgb(153,153,153);
	--wd-form-brd-color: rgb(229,229,229);
	--wd-form-brd-color-focus: rgb(212,180,131);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-size: 32px;
	--wd-arrow-icon-size: 16px;
	--wd-arrow-offset-h: 12px;
	--wd-arrow-offset-v: 0px;
	--wd-arrow-color: rgb(17,17,17);
	--wd-arrow-color-hover: rgb(212,180,131);
	--wd-arrow-color-dis: rgb(204,204,204);
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-size: 8px;
	--wd-pagin-bg: rgb(204,204,204);
	--wd-pagin-bg-hover: rgb(17,17,17);
	--wd-pagin-bg-act: rgb(212,180,131);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
		--wd-arrow-size: 28px;
	}
	.wd-nav-pagin-wrap:not(.wd-custom-style) {
		--wd-pagin-size: 7px;
	}

}

@media (max-width: 768.98px) {
	.wd-nav-pagin-wrap:not(.wd-custom-style) {
		--wd-pagin-size: 6px;
	}

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

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


.wd-page-title {
background-color: #0a0a0a;
}

/* ===== HEADER RULES (WoodMart) ===== */

/* 1) Mobile + Tablet: always white, no overlap */
@media (max-width: 1024px){
  .whb-header{
    background:#fff !important;
    position:relative !important;
    top:auto !important; left:auto !important; right:auto !important;
  }
}

/* 2) Desktop: other pages always white */
@media (min-width: 1025px){
  body:not(.home) .whb-header,
  body:not(.home) .whb-header .whb-row,
  body:not(.home) .whb-header .whb-main-header,
  body:not(.home) .whb-header .whb-general-header{
    background:#fff !important;
  }

  /* 3) Desktop Home top: transparent + overlap */
  body.home .whb-header{
    position:absolute !important;
    top:0; left:0; right:0;
    width:100%;
    z-index:900;
    background:transparent !important;
  }
  body.home .whb-header .whb-row,
  body.home .whb-header .whb-main-header,
  body.home .whb-header .whb-general-header{
    background:transparent !important;
  }

  /* 4) Desktop Home hover: white */
  body.home .whb-header:hover,
  body.home .whb-header:hover .whb-row,
  body.home .whb-header:hover .whb-main-header,
  body.home .whb-header:hover .whb-general-header{
    background:#fff !important;
  }

  /* 5) Desktop Home on scroll (sticky): white
     (covers most WoodMart sticky variants) */
  body.home .whb-sticked .whb-header,
  body.home .whb-sticked .whb-row,
  body.home .whb-sticked .whb-main-header,
  body.home .whb-sticked .whb-general-header,
  body.home .whb-header.whb-sticked,
  body.home .whb-header.whb-sticky,
  body.home .whb-sticky .whb-header,
  body.home .whb-header-sticky .whb-header,
  body.home .whb-sticked-header .whb-header{
    background:#fff !important;
  }
}

/* 6) Menu above header */
.wd-side-hidden,
.wd-side-hidden-overlay,
.wd-dropdown-menu,
.wd-nav-wrapper,
.whb-navigation,
.mobile-nav{
  z-index:999999 !important;
}
/* ===== FIX #1: Desktop Home header not fully visible (force on top + highest z-index) ===== */
@media (min-width: 1025px){
  body.home .whb-header{
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
  }
  body.home .whb-header .whb-row,
  body.home .whb-header .whb-main-header,
  body.home .whb-header .whb-general-header{
    z-index: 99999 !important;
  }
}

/* ===== FIX #2: Mobile/Tablet ALWAYS WHITE (override any transparency) ===== */
@media (max-width: 1024px){
  .whb-header,
  .whb-header .whb-row,
  .whb-header .whb-main-header,
  .whb-header .whb-general-header{
    background: #ffffff !important;
  }

  /* cancel overlap/absolute/fixed on mobile */
  body.home .whb-header{
    position: relative !important;
    top: auto !important;
  }
}
/* Desktop فقط: في الصفحة الرئيسية عندما الهيدر Transparent (قبل الـ scroll)
   نخلي الشعار + الأيقونات باللون الأبيض.
   عند hover أو عند sticky (scroll) يرجعوا أسود. */

@media (min-width: 1025px) {

  /* 1) الحالة: أعلى الصفحة الرئيسية + غير sticky = أبيض */
  body.home .whb-header:not(.whb-sticked),
  body.home .whb-header:not(.whb-sticked) .whb-main-header,
  body.home .whb-header:not(.whb-sticked) .whb-row,
  body.home .whb-header:not(.whb-sticked) .whb-general-header{
    color:#fff !important;
  }

  body.home .whb-header:not(.whb-sticked) a,
  body.home .whb-header:not(.whb-sticked) .whb-header a,
  body.home .whb-header:not(.whb-sticked) .wd-tools-icon,
  body.home .whb-header:not(.whb-sticked) .wd-tools-element a,
  body.home .whb-header:not(.whb-sticked) .wd-tools-element span,
  body.home .whb-header:not(.whb-sticked) .whb-nav a{
    color:#fff !important;
  }

  body.home .whb-header:not(.whb-sticked) svg,
  body.home .whb-header:not(.whb-sticked) svg *{
    fill:#fff !important;
    stroke:#fff !important;
  }

  /* لو اللوغو صورة سوداء (PNG/SVG) نخليه أبيض مؤقتاً */
  body.home .whb-header:not(.whb-sticked) .site-logo img,
  body.home .whb-header:not(.whb-sticked) .wd-logo img{
    filter: brightness(0) invert(1) !important;
  }

  /* 2) عند hover على الهيدر في الصفحة الرئيسية = يرجع أسود */
  body.home .whb-header:not(.whb-sticked):hover a,
  body.home .whb-header:not(.whb-sticked):hover .wd-tools-icon,
  body.home .whb-header:not(.whb-sticked):hover .wd-tools-element a,
  body.home .whb-header:not(.whb-sticked):hover .wd-tools-element span,
  body.home .whb-header:not(.whb-sticked):hover .whb-nav a{
    color:#000 !important;
  }

  body.home .whb-header:not(.whb-sticked):hover svg,
  body.home .whb-header:not(.whb-sticked):hover svg *{
    fill:#000 !important;
    stroke:#000 !important;
  }

  body.home .whb-header:not(.whb-sticked):hover .site-logo img,
  body.home .whb-header:not(.whb-sticked):hover .wd-logo img{
    filter:none !important;
  }

  /* 3) عند sticky (scroll) = أسود (لأن الخلفية بيضاء) */
  body.home .whb-header.whb-sticked a,
  body.home .whb-header.whb-sticked .wd-tools-icon,
  body.home .whb-header.whb-sticked .wd-tools-element a,
  body.home .whb-header.whb-sticked .wd-tools-element span,
  body.home .whb-header.whb-sticked .whb-nav a{
    color:#000 !important;
  }

  body.home .whb-header.whb-sticked svg,
  body.home .whb-header.whb-sticked svg *{
    fill:#000 !important;
    stroke:#000 !important;
  }

  body.home .whb-header.whb-sticked .site-logo img,
  body.home .whb-header.whb-sticked .wd-logo img{
    filter:none !important;
  }
}
