@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: 10px;
}

@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: 1278px;
--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: 1295px) {
.platform-Windows .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

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


/* ===============================
   HAMSA – SAFE LAYOUT FIX (GLOBAL CSS)
   ONLY adjusts proportions, preserves gallery functionality
   =============================== */

/* PDP desktop: SAFE proportion adjustment */
@media (min-width: 1025px){
  /* SAFE: Only adjust the width proportions, don't force flex layout */
  body.single-product div.product .woocommerce-product-gallery {
    width: 65% !important;
    max-width: 65% !important;
    float: left !important; /* Keep original float behavior */
  }
  
  body.single-product div.product .summary.entry-summary {
    width: 35% !important;
    max-width: 35% !important;
    float: right !important; /* Keep original float behavior */
    /* Remove all height restrictions */
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding-bottom: 30px !important;
  }

  /* SAFE: Allow gallery to be taller for bigger images */
  body.single-product .woocommerce-product-gallery__wrapper {
    max-height: 680px !important;
    height: auto !important;
  }

  /* SAFE: Ensure images scale nicely */
  body.single-product .woocommerce-product-gallery__image img {
    max-height: 680px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ===============================
   HAMSA BRAND COLORS & STYLING
   =============================== */
:root{
  /* Core Brand Colors */
  --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;

  /* Hamsa Specific */
  --hamsa-gold:#CFB575;
  --hamsa-ink:#2B2B2B;
  --hamsa-sub:#6C6C6C;
  --hamsa-bg:#FCFAF7;
  --hamsa-line:#EADFC6;
}

/* Base Styling */
body{ 
  background: var(--hamsa-bg); 
  color: var(--hamsa-ink); 
}
a{ 
  color: var(--olive-700); 
  transition: color .2s ease;
  text-decoration: none !important;
}
a:hover{ 
  color: var(--gold-700);
  text-decoration: none !important;
}

/* 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(--hamsa-gold) !important;
  border-color: var(--hamsa-gold) !important;
  color: #1e1e1e !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 600;
  transition: filter .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{
  filter: brightness(0.95);
  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: #FFF7E6 !important;
  color: #8A6F3F !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: 13px !important;
  font-weight: 600;
}

/* Stars rating */
.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); 
}

/* 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; }

/* ===============================
   PAGE TITLE STYLING (GLOBAL)
   =============================== */
.page-title,
.page-title-default,
.title-wrapper,
.wd-page-title,
.woocommerce-products-header {
  display: block !important;
  background: #E9E4DA !important;
  padding: clamp(10px, 2vw, 18px) 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.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;
}

.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 !important;
}

/* Breadcrumbs */
.breadcrumbs,
.wd-breadcrumbs,
.woocommerce-breadcrumb {
  margin-top: 4px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  opacity: .9;
}

.breadcrumbs a,
.wd-breadcrumbs a,
.woocommerce-breadcrumb a {
  color: #586B3D;
  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: #586B3D;
  border-color: #A6B57E;
}

/* Tight first section below titles */
body .main-page-wrapper,
body .site-content,
#main {
  padding-top: clamp(8px, 1.2vw, 14px) !important;
  margin-top: 0 !important;
}

/* ===============================
   PRODUCT CARDS STYLING
   =============================== */
.product-grid-item, .product-element-top, .product-grid-item .hover-img {
  border-radius: 18px !important;
}
.product-grid-item .product-wrapper {
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-grid-item .product-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
}
.product-grid-item .price { 
  color: #1f1f1f; 
  font-weight: 700; 
}
.product-grid-item del { 
  color: var(--hamsa-sub); 
}

/* Product image ratio */
.product-grid-item .product-image img,
.wd-product .product-image img {
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  width: 100% !important;
}

/* ===============================
   TRUST BAR STYLING
   =============================== */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
  padding: 12px;
}
.trust-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}
.trust-item:hover {
  transform: translateY(-2px);
  background: #fafafa;
  border-color: #d1d1d1;
}

/* Mobile trust bar */
@media (max-width: 768px){
  .trust-bar { 
    flex-direction: column; 
    align-items: stretch; 
  }
  .trust-item { 
    justify-content: center; 
  }
}/* ===================================================
   SAFE GAP REMOVAL - WordPress Admin → WoodMart → Theme Settings → Styling → CSS
   =================================================== */

/* Remove gap between product gallery and summary - CONSERVATIVE APPROACH */
body.single-product div.product .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Reduce padding on gallery container */
body.single-product div.product .woocommerce-product-gallery {
    padding-right: 10px !important; /* Small padding to prevent touching */
    margin-right: 0 !important;
}

/* Reduce padding on summary container */
body.single-product div.product .summary {
    padding-left: 10px !important; /* Small padding to prevent touching */
    margin-left: 0 !important;
}

/* Remove any flex gap if present */
body.single-product div.product {
    gap: 0 !important;
    column-gap: 0 !important;
}

/* Ensure no extra spacing on mobile */
@media (max-width: 768px) {
    body.single-product div.product .woocommerce-product-gallery,
    body.single-product div.product .summary {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 !important;
  /* ===================================================
COMPLETE GAP REMOVAL - WordPress Admin → Appearance → Customize → Additional CSS
REMOVES ALL SPACING between images and summary
=================================================== */
/* COMPLETE GAP REMOVAL: Zero out all spacing */
body.single-product div.product .woocommerce-product-gallery {
padding-right: 0px !important; /* REMOVED: was 10px */
margin-right: 0 !important;
width: 65% !important;
max-width: 65% !important;
float: left !important;
}
body.single-product div.product .summary.entry-summary {
padding-left: 0px !important; /* REMOVED: was 10px */
margin-left: 0 !important;
width: 35% !important;
max-width: 35% !important;
float: right !important;
height: auto !important;
min-height: auto !important;
overflow: visible !important;
padding-bottom: 30px !important;
}
/* Remove any remaining gaps in the row */
body.single-product div.product .row {
margin-left: 0 !important;
margin-right: 0 !important;
}
/* Complete gap removal from product container */
body.single-product div.product {
gap: 0 !important;
column-gap: 0 !important;
}
/* Ensure no default margins create gaps */
body.single-product div.product .col-lg-7,
body.single-product div.product .col-lg-5,
body.single-product div.product .col-12,
body.single-product div.product .col {
padding-left: 0 !important;
padding-right: 0 !important;
margin: 0 !important;
}
/* Mobile adjustments */
@media (max-width: 768px) {
body.single-product div.product .woocommerce-product-gallery,
body.single-product div.product .summary {
width: 100% !important;
float: none !important;
padding-left: 15px !important;
padding-right: 15px !important;
margin: 0 !important;
}
}@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;
  }
}


}

