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

:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(127,127,127);
	--wd-text-font-size: 16px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 700;
	--wd-title-color: rgb(79,79,79);
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: rgb(71,71,71);
	--wd-entities-title-color-hover: rgb(112, 112, 112);
	--wd-alternative-font: YekanBakhFaNum;
	--wd-widget-title-font: YekanBakhFaNum;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(102,102,102);
	--wd-widget-title-font-size: 14px;
	--wd-header-el-font: YekanBakhFaNum;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-primary-color: rgb(28,28,28);
	--wd-alternative-color: rgb(102,102,102);
	--wd-link-color: rgb(204,204,204);
	--wd-link-color-hover: rgb(206,206,206);
	--btn-default-bgcolor: rgb(28,28,28);
	--btn-default-bgcolor-hover: rgb(197,1,21);
	--btn-accented-bgcolor: rgb(28,28,28);
	--btn-accented-bgcolor-hover: rgb(245,245,245);
	--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: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.wd-page-title {
	background-color: rgb(28,28,28);
	background-image: none;
	background-repeat: repeat;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgba(255,255,255,0);
	background-image: none;
}
html .wd-product .price, html .wd-product .price > .amount, html .wd-product .price ins > .amount {
	font-size: 16px;
}
.page .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(255,255,255);
	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(160,160,160);
	--wd-form-placeholder-color: rgb(153,153,153);
	--wd-form-brd-color: rgb(221,221,221);
	--wd-form-brd-color-focus: rgb(186,186,186);
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(168,38,38);
	color: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(198,41,104);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #333;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

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


/* ===============================
   DISABLE KALITEH IMAGE ZOOM (JS IN WPCODE)
================================ */

/* Safety net over custom JS: never show zoom image for gallery items */
.mg-no-zoom .zoomImg {
  display: none !important;
}

.wd-product-cats
{
    display: none !important;
}

.price .woocommerce-Price-amount bdi {
    font-size: 26px !important;
}

.price .woocommerce-Price-currencySymbol {
    font-size: 20px !important;
}

.price .woocommerce-Price-currencySymbol {
    margin-right: 3px;
}


/* Numeric attribute filter – widget title */
.widget_wc_numeric_attribute_filter_widget .widget-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

/* Price filter widget title */
.widget-title {
  font-size: 18px;
	font-weight: 600;
  line-height: 1.4;
}

/* ===============================
   SLIDER TRACK (THINNER)
================================ */

.wc-numeric-filter-wrapper .noUi-target {
  height: 4px !important;
  border-radius: 2px !important;
  background: #ddd !important;
  border: none !important;
  box-shadow: none !important;
}

.wc-numeric-filter-wrapper .noUi-connect {
  background: #000 !important;
  border-radius: 2px !important;
}

/* ===============================
   HANDLE — FORCE VERTICAL LINE
================================ */

.wc-numeric-filter-wrapper .noUi-horizontal .noUi-handle {
  width: 4px !important;
  height: 22px !important;

  background: #000 !important;
  border-radius: 1px !important;
  border: none !important;

  top: -9px !important;
	left: 0px !important;
	/* transform: translateX(-50%); */
  cursor: ew-resize !important;

  box-shadow: none !important;
}


/* REMOVE CIRCULAR PARTS COMPLETELY */
.wc-numeric-filter-wrapper .noUi-handle::before,
.wc-numeric-filter-wrapper .noUi-handle::after {
  display: none !important;
  content: none !important;
}

/* Reduce excessive spacing above/below slider widgets */
.wc-numeric-filter-wrapper {
    padding: 6px 0 !important;
}

/* Correctly center thin noUiSlider handles */
.wc-numeric-filter-wrapper
.noUi-horizontal
.noUi-handle {
  width: 4px;
  margin-left: -2px; /* half of width */
}

/* Reduce inner padding around slider container */
.ruler-slider-container {
    padding: 10px 5px 20px 5px !important;
}

/* Reduce margin under slider bar */
.numeric-range-slider {
    margin-bottom: 5px !important;
}

/* Reduce spacing above the value display */
.slider-values {
    margin: 8px 0 !important;
}

/* ===============================
   cleaner ticks look
================================ */

.wc-numeric-filter-wrapper .noUi-pips-horizontal {
  padding-top: 6px;
}

.wc-numeric-filter-wrapper .noUi-marker {
  background: #999;
}

.wc-numeric-filter-wrapper .noUi-value {
  font-size: 11px;
}



/* === RANGE TEXT: USE FULL ROW === */
.wc-numeric-filter-wrapper .slider-values {
  display: block !important;
  width: 100% !important;
  margin-top: 8px !important;

  text-align: center;
  white-space: nowrap;
}

.wc-numeric-filter-wrapper .slider-values span {
  display: inline-block;
  font-size: 13px;
}


#woocommerce_product_categories-3 .widget-title {
    font-size: 16px !important;
}


/* === TIGHTEN SIDEBAR FILTER SPACING === */
.widget-area .sidebar-widget {
  margin-bottom: 10px !important; /* default is usually ~30–40px */
}

/* Reduce padding inside numeric filter */
.wc-numeric-filter-wrapper {
  padding: 12px 0 !important;
}

/* Tighten space under filter titles */
.sidebar-widget > .widget-title {
  margin-bottom: 6px !important;
}

/* Reduce vertical padding around sliders */
.wc-numeric-filter-wrapper .ruler-slider-container {
  padding: 12px 14px 12px 14px !important;
}

/* === CLEAN RESET ICON (NO HOVER BOX) === */
.wc-numeric-reset-icon,
.wc-numeric-reset-icon:hover,
.wc-numeric-reset-icon:focus,
.wc-numeric-reset-icon:active {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.wc-numeric-filter-title {
  min-height: 24px;
}

.wc-numeric-filter-wrapper .slider-values span {
  display: inline-block;
  margin-top: 6px;
}



/* Color Container */
.mg-product-color-badges {
  display: flex;
  flex-direction: column;   /* ← THIS IS THE KEY */
  gap: 6px;
  align-items: center;      /* center rows horizontally */
  margin-top: 6px;
  width: 100%;              /* override Woodmart constraints */
}


/* Each row (tones, halftones, puffs) */
.mg-color-row {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}


/* circle for tone colors */
.mg-tone-dot {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset;
}

/* square for half-tone colors */
.mg-halftone-square {
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}

/* ===============================
   Puff color triangle badges
================================ */

.mg-puff-triangle {
  display: inline-block;
  width: 0;
  height: 0;

  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid transparent; /* color comes from inline style */

  margin: 0 4px;
}


/* small hover effect and focus for keyboard accessibility */
.mg-tone-dot,
.mg-halftone-square,
.mg-puff-triangle {
  transition: transform .12s ease, box-shadow .12s ease;
}
.mg-tone-dot:hover,
.mg-halftone-square:hover,
.mg-puff-triangle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
  cursor: default;
}

/* responsive: reduce size on small screens */
@media (max-width: 480px) {
  .mg-tone-dot,
  .mg-halftone-square,
  .mg-puff-triangle {
    width: 12px;
    height: 10px;
  }
  .mg-product-color-badges { gap: 6px; }
}

/* ===============================
   Tooltip Styling
================================ */

/* Prepare the container to anchor the tooltip */
.mg-color-row {
  position: relative;
}

/* create the tooltip box */
.mg-color-row:hover::after {
  content: attr(data-tooltip); /* Pulls the Persian text from PHP */
  
  /* Positioning: center above the row */
  position: absolute;
  bottom: 100%; 
  left: 50%;
  transform: translateX(-50%);
  
  /* Visual Styling */
  background-color: #333; /* Dark background */
  color: #fff;            /* White text */
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;    /* Prevent text wrapping */
  pointer-events: none;   /* Lets clicks pass through */
  z-index: 20;            /* Ensure it sits on top of other elements */
  margin-bottom: 5px;     /* Small gap between badge and text */
  opacity: 0;             /* Hidden by default */
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Show on hover */
.mg-color-row:hover::after {
  opacity: 1;
}


/* ===============================
   TOP OF STORE: PRODUCT CATEGORIES
================================ */

.wd-nav-product-cat {
  display: flex;
}

.wd-nav-product-cat > li.cat-item {
  flex: 1;
  position: relative;
}

.wd-nav-product-cat > li.cat-item > a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Hide counts */
.wd-nav-product-cat .nav-link-count {
  display: none !important;
}

/* === Correct RTL divider placement === */
.wd-nav-product-cat > li.cat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 0;
  transform: translate(50%, -50%); /* 🔑 THIS */
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  pointer-events: none;
}

/* ===============================
   QUICK VIEW: REMOVE THE EXTRA "ADD TO CART" BUTTON
================================ */

/* Hide the "Add to Cart" button in Quick View only */
.popup-quick-view .single_add_to_cart_button:first-of-type {
  display: none !important;
}


/* ===============================
   Top category icons
================================ */

.wd-nav-product-cat .category-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Category icon */
.wd-nav-product-cat .mg-cat-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Sidebar category: icon + text alignment */
.product-categories > li.cat-parent > a {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar icon size (slightly smaller than top bar) */
.mg-cat-icon--sidebar {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* .product-label-badge {
	background-color: #008080; !important;
} */

/* Force ALL carousel images to grayscale */
.elementor-image-carousel .swiper-slide-image {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

/* Color ONLY on actual hover */
.elementor-image-carousel .swiper-slide:hover .swiper-slide-image {
    filter: grayscale(0%);
}


/* ===============================
Watermark ONLY main product image (Woodmart-safe) 
.single-product .woocommerce-product-gallery
.woocommerce-product-gallery__image::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("/wp-content/uploads/2026/01/watermark.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;

    opacity: 0.15;
    pointer-events: none;
    z-index: 2;
}

.single-product .woocommerce-product-gallery__image:hover::after {
    opacity: 0;
}
/* ================================ */@media (min-width: 1025px) {
	.wd-nav.wd-style-default {
	--nav-color: #ffff;
	
}
.pagin-style-1 .flickity-page-dots {
    bottom: 50px;
    background: white;
	border-radius: 40px;}
.arrows-style-3 .flickity-button.previous
{
	left:auto;
	right:40px;
}
.arrows-style-3 .flickity-button.next
{
	left:40px;
	right:auto;
}
.flickity-page-dots
{
	bottom:40px;
}
.wd-nav-wrapper.wd-nav-tabs-wrapper.text-center{
	border: 1px solid #E8E2E2;
	border-radius:10px;
	padding:8px
}
}

