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

:root {
	--wd-cat-brd-radius: 50%;
	--wd-text-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 16px;
	--wd-title-font: "Playfair Display", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Urbanist", 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: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Urbanist", 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: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(210,180,140);
	--wd-alternative-color: rgb(128,128,0);
	--wd-link-color: rgb(210,180,140);
	--wd-link-color-hover: rgb(128,128,0);
	--btn-default-transform: none;
	--btn-default-bgcolor: rgb(210,180,140);
	--btn-default-bgcolor-hover: rgb(128,128,0);
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(210,180,140);
	--btn-accented-bgcolor-hover: rgb(128,128,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;
}
:is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg .wd-product {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(210,180,140);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 480px;
	--wd-popup-padding: 0px;
}
.page-title-default {
	background-color: rgb(210,180,140);
	background-image: none;
	background-size: cover;
	background-position: center top;
}
.footer-container {
	background-color: rgb(60,60,59);
	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 .post-title {
	font-size: 18px;
}
.page .main-page-wrapper {
	background-image: url(https://hamsa.tn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) .main-page-wrapper {
	background-image: url(https://hamsa.tn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-product .main-page-wrapper {
	background-image: url(https://hamsa.tn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.woodmart-archive-blog .main-page-wrapper {
	background-image: url(https://hamsa.tn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-post .main-page-wrapper {
	background-image: url(https://hamsa.tn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
html .wd-buy-now-btn {
	color: rgb(255,255,255);
	background: rgb(210,180,140);
}
html .wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgb(128,128,0);
}
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);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 12px;
}

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

}

@media (max-width: 768.98px) {
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

}
:root{
--wd-container-w: 1404px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--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: 1421px) {
.platform-Windows .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

@media (min-width: 1404px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* PDP desktop: hard-stop any hidden zoom clone & force natural sizing */
@media (min-width: 1025px){
  .single-product .zoomImg { display: none !important; }
  .single-product .woocommerce-product-gallery,
  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image{
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    position: relative !important;
  }
  .single-product .woocommerce-product-gallery__image img{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}
:root{
  /* Core */
  --olive-800:#6F724F; --olive-700:#8A8D63; --olive-600:#9A9E70; --olive-200:#D5D7C1;
  --gold-700:#B78E33; --gold-600:#C9A349; --gold-300:#E7D19C;

  --ink-900:#2A2A2A; --ink-700:#4A4946;
  --sand-50:#F7F5F0; --porcelain-100:#FFFFFF; --line-200:#E6E1D7;

  --success:#5C8F67; --info:#4F8B88; --warning:#D3A14A; --danger:#B25549;
}

/* Base */
body{ background:var(--sand-50); color:var(--ink-900); }
a{ color:var(--olive-700); transition:color .2s ease; }
a:hover{ color:var(--gold-700); }

/* Cards / containers */
.wd-container, .product, .product-grid-item, .wd-product, .site-content .container {
  background:var(--porcelain-100);
  border:1px solid var(--line-200);
  border-radius:16px;
}

/* Buttons (Woo + WoodMart) */
.button, .btn, .wd-btn,
.add_to_cart_button, .single_add_to_cart_button, .checkout-button, .wd-buy-now {
  background:var(--olive-700) !important;
  border-color:var(--olive-700) !important;
  color:#fff !important;
  border-radius:999px !important;
  font-weight:600;
  transition:background .2s ease, transform .15s ease;
}
.button:hover, .btn:hover,
.add_to_cart_button:hover, .single_add_to_cart_button:hover, .checkout-button:hover, .wd-buy-now:hover{
  background:var(--olive-800) !important;
  border-color:var(--olive-800) !important;
  transform:translateY(-1px);
}

/* Outline / ghost buttons */
.button.alt, .wd-btn.color-white{
  background:#fff !important; color:var(--olive-700) !important;
  border:1px solid var(--olive-700) !important;
}
.button.alt:hover, .wd-btn.color-white:hover{
  background:var(--gold-600) !important; color:#fff !important; border-color:var(--gold-600) !important;
}

/* Badges / labels */
.wd-product-label, .onsale, .wd-label{
  background:var(--gold-600) !important; color:#fff !important;
  border-radius:999px !important; font-weight:600;
}

/* Stars avis */
.star-rating span:before, .woocommerce .star-rating span:before{ color:var(--gold-600) !important; }

/* Prices */
.price, .woocommerce-Price-amount{ color:var(--ink-900); font-weight:700; }
.price ins .amount{ color:var(--gold-700); } /* promo highlight */

/* Trust chips */
.trust-bar, .hamsa-trust-row{
  background:#fff; border:1px solid var(--line-200); border-radius:16px; padding:12px 16px;
}
.trust-item i, .trust-ico{ color:#fff; background:var(--olive-600); }

/* Header interactions */
.wd-nav > li > a:hover, .wd-nav > li.current-menu-item > a{
  color:var(--olive-700) !important;
}

/* Form focus */
input:focus, select:focus, textarea:focus{
  border-color:var(--olive-700) !important; box-shadow:0 0 0 3px color-mix(in srgb, var(--olive-700) 25%, transparent);
}

/* Notices */
.woocommerce-message{ border-color:var(--success) !important; }
.woocommerce-info{ border-color:var(--info) !important; }
.woocommerce-error{ border-color:var(--danger) !important; }
.wd-buy-now{
  background: linear-gradient(180deg, var(--olive-700) 0%, var(--olive-800) 100%) !important;
}
/* ===============================
   HAMSA – SLIM TITLE BAR (KEEP TITLES)
   =============================== */

/* 1) Base: show title areas but remove “big banner” formatting */
.page-title,
.page-title-default,
.title-wrapper,
.wd-page-title,
.woocommerce-products-header {
  display: block !important;
  background: #F6F4EF;                  /* subtle warm background */
  padding: clamp(10px, 2vw, 18px) 0 !important;
  margin: 0 !important;                 /* kill white band above/below */
  border: 0 !important;
  box-shadow: none !important;
}

/* 2) Keep things tight inside the container */
.page-title .container,
.wd-page-title .container,
.woocommerce-products-header .container {
  padding-left: clamp(10px, 2vw, 20px) !important;
  padding-right: clamp(10px, 2vw, 20px) !important;
}

/* 3) Title text styling (H1) */
.page-title .entry-title,
.wd-page-title .entry-title,
.woocommerce-products-header__title.page-title {
  margin: 0 !important;
  font-size: clamp(20px, 2.4vw, 28px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #2B2B2B;                       /* ink */
}

/* 4) Breadcrumbs inside the title bar */
.breadcrumbs,
.wd-breadcrumbs,
.woocommerce-breadcrumb {
  margin-top: 4px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  opacity: .9;
}

/* Brand palette for crumbs */
:root{
  --h-olive-700: #586B3D;               /* deep olive text */
  --h-olive-300: #A6B57E;               /* light olive accents */
}
.breadcrumbs a,
.wd-breadcrumbs a,
.woocommerce-breadcrumb a {
  color: var(--h-olive-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.breadcrumbs a:hover,
.wd-breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
  color: var(--h-olive-700);
  border-color: var(--h-olive-300);
}
.breadcrumbs .delimiter,
.wd-breadcrumbs .delimiter,
.woocommerce-breadcrumb .delimiter {
  color: var(--h-olive-300);
  margin: 0 6px;
}

/* 5) Tight first section below titles (removes leftover white gap) */
body .main-page-wrapper,
body .site-content,
#main {
  padding-top: clamp(8px, 1.2vw, 14px) !important;
  margin-top: 0 !important;
}

/* Shop/archive lists specifically */
.woocommerce.archive .site-content,
.woocommerce.archive .main-page-wrapper {
  padding-top: clamp(6px, 1vw, 12px) !important;
}

/* 6) Kill any theme “shadow rulers / separators” that create bands */
.page-title:before,
.page-title:after,
.wd-page-title:before,
.wd-page-title:after {
  content: none !important;
}

/* 7) Make sure H1 isn’t re-printing inside content area */
.woocommerce-products-header__title {
  margin-bottom: 0 !important;
}

/* 8) RTL safety (if Arabic activated) */
html[dir="rtl"] .breadcrumbs,
html[dir="rtl"] .wd-breadcrumbs,
html[dir="rtl"] .woocommerce-breadcrumb {
  direction: rtl;
  text-align: start;
}
/* ===============================
   HAMSA – Global Page Title Styling
   Applies to all pages (Shop, Blog, Contact, About, etc.)
   =============================== */

/* Title wrapper background */
.page-title,
.page-title-default,
.title-wrapper,
.wd-page-title,
.woocommerce-products-header,
.entry-header {
  display: block !important;
  background: #E9E4D8 !important;   /* soft beige bar */
  padding: clamp(20px, 3vw, 45px) 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
}

/* Title text */
.page-title .entry-title,
.wd-page-title .entry-title,
.woocommerce-products-header__title.page-title,
.entry-header .entry-title {
  margin: 0 auto !important;
  font-size: clamp(24px, 2.8vw, 38px) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #2B2B2B !important;        /* ink dark */
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

/* Breadcrumbs centered under titles */
.breadcrumbs,
.wd-breadcrumbs,
.woocommerce-breadcrumb {
  display: block !important;
  margin: 8px auto 0 auto !important;
  font-size: 14px !important;
  line-height:
/* Slim title bar with brand background */
.page-title,
.page-title-default,
.title-wrapper,
.wd-page-title,
.woocommerce-products-header {
  display: block !important;
  background: #E9E4DA !important;   /* <--- change to olive or gold */
  padding: clamp(10px, 2vw, 18px) 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.page-title .entry-title,
.wd-page-title .entry-title,
.woocommerce-products-header__title.page-title {
  color: #2B2B2B !important; /* keep dark if background is light */
}

/* If background is dark olive, use: */
.page-title .entry-title,
.wd-page-title .entry-title,
.woocommerce-products-header__title.page-title {
  color: #FFFFFF !important;
}
@media (min-width: 1025px) {
	@media (min-width:1025px){
  .single-product .woocommerce-product-gallery,
  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image{ /* … */ }
  .single-product .woocommerce-product-gallery__image img{ /* … */ }
  .single-product .summary,
  .single-product .summary.entry-summary{ /* … */ }
  .single-product .entry-summary .wp-block-image,
  .single-product .entry-summary img{ /* … */ }
}

}

@media (max-width: 576px) {
	@media (max-width: 768px) {
  .trust-bar {
    flex-direction: column;
    gap: var(--h-gap-sm);
  }

  .wd-nav {
    font-size: var(--h-size-sm);
  }
}
/* Fix currency alignment and duplication issue on mobile */
.woocommerce-Price-amount {
    display: inline-flex;
    align-items: center;
    direction: ltr; /* keeps numbers + currency in correct order */
    font-weight: 600;
}

.woocommerce-Price-amount bdi {
    direction: ltr !important;
    unicode-bidi: plaintext; /* forces clean rendering */
}

/* Adjust spacing for mobile */
@media (max-width: 767px) {
    .woocommerce-Price-amount {
        font-size: 16px;
        line-height: 1.4;
        margin-right: 4px;
    }
}/* === RTL currency rendering: keep numbers + symbol on one line, correct order === */
html[dir="rtl"] .price,
html[dir="rtl"] .woocommerce-Price-amount,
html[dir="rtl"] .woocommerce-Price-amount bdi {
  direction: ltr !important;          /* force 123,456 before the symbol */
  unicode-bidi: isolate !important;    /* avoid bidi reordering bugs */
  white-space: nowrap !important;      /* no line break between number & symbol */
}

/* Make the pair look like one token and align nicely */
.price,
.woocommerce-Price-amount {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px;                              /* small gap between number and symbol */
  line-height: 1.2;
}

/* Nudge the symbol spacing when site is RTL */
html[dir="rtl"] .woocommerce-Price-currencySymbol {
  margin-left: 4px;                      /* space after the digits */
  margin-right: 0;
}

/* Defensive: totals and mini-cart use the same rule set */
html[dir="rtl"] .order-total .woocommerce-Price-amount,
html[dir="rtl"] .cart_totals .woocommerce-Price-amount,
html[dir="rtl"] .woocommerce-mini-cart__total .woocommerce-Price-amount {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

/* Make sure nothing inserts a duplicate symbol on small screens */
@media (max-width: 767px) {
  .price,
  .summary .price,
  .woocommerce-Price-amount {
    font-size: 16px;
  }
}


}

