:root {
	--wd-text-font: "vazirmatn", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 18px;
	--wd-title-font: "vazirmatn", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "vazirmatn", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 20px;
	--wd-header-el-font: "vazirmatn", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 18px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(83,84,89);
	--wd-alternative-color: rgb(0,0,0);
	--btn-default-font-family: "iransans", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 500;
	--btn-default-bgcolor: rgb(83,84,89);
	--btn-default-bgcolor-hover: rgb(70,71,75);
	--btn-accented-font-family: "vazirmatn", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 500;
	--btn-accented-bgcolor: rgb(83,84,89);
	--btn-accented-bgcolor-hover: rgb(70,71,75);
	--btn-font-family: "vazirmatn", Arial, Helvetica, sans-serif;
	--btn-font-weight: 500;
	--btn-transform: capitalize;
	--btn-color: rgb(255,255,255);
	--btn-bgcolor: rgb(83,84,89);
	--btn-color-hover: rgb(0,0,0);
	--btn-bgcolor-hover: rgb(70,71,75);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--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-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(17,18,17);
	background-image: none;
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a, html .wd-nav.wd-layout-drilldown > li > a, html .wd-nav.wd-layout-drilldown > li [class*="sub-menu"] > :is(.menu-item,.wd-drilldown-back) > a, html .wd-nav.wd-layout-drilldown .woocommerce-MyAccount-navigation-link > a {
	text-transform: none;
}
html .wd-checkout-steps {
	font-size: 28px;
	text-transform: none;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-size: 44px;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(255,255,255);
	background-image: none;
}
.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
	--wd-arrow-gap: 10px;
	--wd-arrow-size: 42px;
	--wd-arrow-offset-h: 0px;
	--wd-arrow-offset-v: 30px;
	--wd-arrow-bg: rgb(249,249,249);
	--wd-arrow-radius: 24px;
	--wd-arrow-brd-color: rgba(0,0,0,0.1);
	--wd-arrow-brd: 1px solid;
}
.wd-nav-scroll {
	--wd-nscroll-width: 100%;
	--wd-nscroll-drag-bg: rgb(41,39,36);
	--wd-nscroll-drag-bg-hover: rgb(41,39,36);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 50px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 36px;
	}
	.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
		--wd-arrow-offset-v: 20px;
	}
	.wd-nav-scroll {
		--wd-nscroll-width: 50%;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-text-font-size: 16px;
	--wd-widget-title-font-size: 18px;
	}
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 28px;
	}
	.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
		--wd-arrow-size: 35px;
	--wd-arrow-icon-size: 14px;
	}
	.wd-nav-scroll {
		--wd-nscroll-width: 70%;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--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: 0px;
}

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


.wd-page-title {
background-color: rgb(83,84,89);
}

@font-face {
	font-family: "Satoshi";
	src: url("//michaelfelliniiran.ir/wp-content/uploads/Satoshi-Regular.woff2") format("woff2");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Satoshi";
	src: url("//michaelfelliniiran.ir/wp-content/uploads/Satoshi-Medium.woff2") format("woff2");
	font-weight: 500;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "Satoshi";
	src: url("//michaelfelliniiran.ir/wp-content/uploads/Satoshi-Bold.woff2") format("woff2");
	font-weight: 600;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "iransans";
	src: url("//michaelfelliniiran.ir/wp-content/uploads/IRANSansFaNum.woff2") format("woff2"), 
url("//michaelfelliniiran.ir/wp-content/uploads/IRANSansFaNum.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

@font-face {
	font-family: "vazirmatn";
	src: url("//michaelfelliniiran.ir/wp-content/uploads/vazirmatn-fanum.woff2") format("woff2"), 
url("//michaelfelliniiran.ir/wp-content/uploads/vazirmatn-fanum.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

.wd-osm-map-wrapper .leaflet-tile-pane {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(100%);
}

/* Hide Leaflet and OpenStreetMap attribution */
.wd-osm-map-wrapper .leaflet-control-attribution {
    display: none !important;
}

/* =========================================
   HEADER 1: Dark Grey Icons (header_601721)
   ========================================= */

.whb-header_601721 .wd-tools-element > a {
    color: #46474b !important; 
}

.whb-header_601721 .wd-tools-element > a:hover {
    color: #53545a !important; 
}

.whb-header_601721 .wd-tools-element .wd-tools-count {
    color: #46474b !important; 
}


/* =========================================
   HEADER 2: White Icons (header_271525)
   ========================================= */

.whb-header_271525 .wd-tools-element > a {
    color: #ffffff !important; 
}

.whb-header_271525 .wd-tools-element > a:hover {
    color: #e5e5e5 !important; /* Slight off-white for hover effect */
}

.whb-header_271525 .wd-tools-element .wd-tools-count {
    color: #ffffff !important; 
}


/* Change sticky (scrolled) background color to white for header 601721 */
.whb-header_601721.whb-sticked .whb-row,
.whb-clone.whb-header_601721 .whb-row {
    background-color: #ffffff !important;
}

/* Remove bottom spacing from the main content wrappers */
.wd-page-content,
.main-page-wrapper,
.wd-content-layout,
.site-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove top spacing from the footer */
.wd-footer {
    margin-top: 0 !important;
}

/* Ensure the last Elementor container doesn't push the footer down */
.elementor-location-single > .e-con:last-child, 
.elementor-location-single > .elementor-section:last-child {
    margin-bottom: 0 !important;
}




/* Hide the free shipping progress bar globally */
.wd-free-progress-bar {
    display: none !important;
}


/* Container Spacing */
.custom-tag-products-wrapper {
    margin-top: 50px;
    margin-bottom: 40px;
    padding: 0 10px;
}

/* Section Title */
.custom-tag-products-title {
    font-size: 20px;
    font-weight: 700;
    text-align: right; /* RTL alignment */
    margin-bottom: 25px;
    color: #222;
}

/* Grid Layout: 5 Columns Desktop */
.custom-products-by-tag {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px; 
}

/* Individual Product Cards */
.custom-tag-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-tag-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.custom-tag-card .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.custom-tag-card .card-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.custom-tag-card .card-title {
    font-size: 13.5px;
    line-height: 1.4;
    margin: 8px 0 5px;
    color: #333;
    font-weight: 600;
    text-align: right; /* RTL */
}

.custom-tag-card .card-price {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: right; /* RTL */
    margin-top: 6px;
}

/* Mobile Responsive Layout: 2 Columns */
@media (max-width: 768px) {
    .custom-products-by-tag {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .custom-tag-card {
        padding: 8px;
    }

    .custom-tag-card .card-title {
        font-size: 12.5px;
    }

    .custom-tag-card .card-price {
        font-size: 13px;
    }
}

/* Glassmorphism Container Effect */
.glass-container {
    /* Semi-transparent white background */
    background: rgba(255, 255, 255, 0.05) !important; 
    
    /* The actual blur effect */
    backdrop-filter: blur(6px) !important; 
    -webkit-backdrop-filter: blur(6px) !important; /* Required for Safari */
    
    /* Optional: A light border highlights the glass edge */
    border: 1px solid rgba(255, 255, 255, 0) !important; 
    
    /* Optional: Rounded corners look best with glass */
    border-radius: 16px !important; 
    
    /* Optional: Subtle drop shadow to lift it off the background */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important; 
}



.product-label.new {
    background-color: transparent !important;
    background-image: url('https://michaelfelliniiran.ir/wp-content/uploads/newbadge.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    color: transparent !important; /* Hides the default "New" text */
    min-width: 50px; /* Adjust to match your image width */
    min-height: 30px; /* Adjust to match your image height */
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Ensure hover states don't override the transparent text */
.product-label.new:hover {
    color: transparent !important; 
}@media (min-width: 577px) and (max-width: 767px) {
	@media (max-width: 767px) {
    /* 1. Remove WoodMart's default mobile bottom navigation padding from the body */
    body, 
    body.woodmart-toolbar-show {
        padding-bottom: 0 !important;
    }

    /* 2. Completely collapse the mobile toolbar wrapper if it exists in the DOM */
    .wd-toolbar,
    .woodmart-toolbar {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
    }

    /* 3. Prevent Elementor's negative gaps from bleeding out the bottom */
    .wd-footer {
        overflow: hidden !important; 
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* 4. Force all Elementor containers inside the footer to sit flush */
    .wd-footer .elementor,
    .wd-footer .elementor-element,
    .wd-footer .e-con {
        margin-bottom: 0 !important;
    }
}
}

@media (max-width: 576px) {
	@media (max-width: 767px) {
    /* 1. Remove WoodMart's default mobile bottom navigation padding from the body */
    body, 
    body.woodmart-toolbar-show {
        padding-bottom: 0 !important;
    }

    /* 2. Completely collapse the mobile toolbar wrapper if it exists in the DOM */
    .wd-toolbar,
    .woodmart-toolbar {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
    }

    /* 3. Prevent Elementor's negative gaps from bleeding out the bottom */
    .wd-footer {
        overflow: hidden !important; 
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* 4. Force all Elementor containers inside the footer to sit flush */
    .wd-footer .elementor,
    .wd-footer .elementor-element,
    .wd-footer .e-con {
        margin-bottom: 0 !important;
    }
}


/* --- Correction for Filter Button --- */

/* 1. Ensure the overall button link has the correct background and shape (verified from image) */
.wd-sidebar-opener.wd-filter-icon > a {
    background-color: #535459 !important; /* Dark grey background */
    border-radius: 5px !important; /* Rounded corners (as in image) */
    border: none !important;
    display: inline-flex !important; /* Prevent text wrapping if present */
    align-items: center;
    text-decoration: none !important;
    padding: 0 10px !important; /* Add horizontal padding for text and icon */
}

/* 2. CRUCIAL FIX: Target the element creating the white square and make it transparent */
/* This specific selector targets the container span and removes its background. */
.wd-sidebar-opener.wd-filter-icon .wd-action-icon {
    background-color: transparent !important; /* Make the white box transparent */
    background: transparent !important; /* To be sure, override all background shorthand properties */
    border: none !important; /* Ensure no accidental border remains */
    margin: 0 !important; /* Ensure no unwanted margin */
    padding: 0 !important;
    display: flex !important; /* Keep items aligned */
    align-items: center;
    justify-content: center;
}

/* 3. CRUCIAL FIX: Color the actual cone icon character or content WHITE */
/* Icons are often characters/font glyphs added via ::before pseudo-element. */
.wd-sidebar-opener.wd-filter-icon .wd-action-icon::before {
    color: #ffffff !important; /* Make the cone WHITE */
    font-size: 1.2em; /* Increase size slightly if needed for visibility */
}

/* 4. Ensure any text (فیلترها) also remains white */
.wd-sidebar-opener.wd-filter-icon .wd-action-text {
    color: #ffffff !important;
}

/* 5. Hover state: Keep consistent with your earlier request for other icons */
.wd-sidebar-opener.wd-filter-icon > a:hover {
    background-color: #46474b !important;
}
}

