:root {
	--wd-text-font: "iransansweb", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 16px;
	--wd-primary-color: rgb(255,204,0);
	--wd-alternative-color: rgb(192,159,66);
}
html .wd-nav.wd-nav-main > li > a, html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a, html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a, html .wd-nav.wd-nav-secondary > li > a, .whb-top-bar .wd-nav.wd-nav-secondary > li > a, .whb-general-header .wd-nav.wd-nav-secondary > li > a, .whb-header-bottom .wd-nav.wd-nav-secondary > li > a, html .whb-header .wd-header-cats .menu-opener, html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a, html .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li > a, html .wd-dropdown-my-account .wd-sub-menu li a, 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, html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title, html .wd-page-title .wd-breadcrumbs :is(a,span), html .wd-page-title .breadcrumb li::after, html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title, html .wd-product .price, html .product.wd-product del, html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title, html .product.wd-cat .wd-cat-count, html .product.wd-cat.cat-design-replace-title .wd-cat-count, html .product-image-summary-wrap .product_title, html .wd-single-title .product_title, html .product-image-summary-wrap .summary-inner > .price, html .wd-single-price .price, html .product-image-summary-wrap .summary-inner > .price del, html .wd-single-price .price del, html .product-image-summary-wrap .variations_form .woocommerce-variation-price .price, html .wd-single-add-cart .variations_form .woocommerce-variation-price .price, html .product-image-summary-wrap .variations_form .woocommerce-variation-price > .price del, html .wd-single-add-cart .variations_form .woocommerce-variation-price .price del, html .wd-product-nav-desc .price, html .wd-builder-off .tabs-layout-accordion > .wd-accordion-item > .wd-accordion-title .wd-accordion-title-text, html .wd-builder-off .tabs-layout-tabs .wd-nav-tabs > li > a, html .product-quick-view .product_title, html .product-quick-view .summary-inner > .price, html .product-quick-view .summary-inner > .price del, html .product-quick-view .variations_form .woocommerce-variation-price .price, html .product-quick-view .variations_form .woocommerce-variation-price > .price del, html .post.wd-post:not(.blog-design-small) .wd-entities-title, html .wd-carousel .wd-carousel-item .post.wd-post .wd-entities-title, html .wd-single-post-header .title, html .wd-single-post-title .wd-post-title, html .widget-area .widget .price, html .widget_product_categories .product-categories > li > a, html .widget_product_categories .product-categories > li > .children > li > a, html .widget_product_categories .product-categories li a, html table th,  {
	font-family: "iransansweb ", Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: 14px;
	text-transform: none;
}
body[class*="wrapper-boxed"] {
	background-image: url(https://dn-24.com/wp-content/uploads/2023/12/pattern3-2.png);
	background-repeat: repeat;
}




@font-face {
	font-family: "iransansweb";
	src: url("//dn-24.com/wp-content/uploads/2024/02/IRANSansWebFaNum.woff2") format("woff2"), 
url("//dn-24.com/wp-content/uploads/2024/02/IRANSansWebFaNum.woff") format("woff");
	font-weight: 400;
	font-display:swap;
	font-style: normal;
}

.wd-sticky-nav:is(:hover,.wd-opened) {
    width: 400px;
}

html,body,div,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  
    font-family: iransansweb !important;
}

.category-grid-item .hover-mask {
    padding: 10px !important;
}



.col-lg-3.col-md-3.col-6.first.category-grid-item.cat-design-alt.without-product-count.product-category.product {
    height: 341px !important;
}
.col-lg-3.col-md-3.col-6.category-grid-item.cat-design-alt.without-product-count.product-category.product {
    height: 341px !important;
}
.star-rating {visibility: hidden;}

/* =========================================================
   DN24 - Product Content Gallery + WoodMart Lightbox
   ========================================================= */


/* =========================================================
   1) CLASSIC WORDPRESS GALLERY
   ========================================================= */

.woocommerce-Tabs-panel .gallery {
    --gallery-columns: 2;
    --gallery-image-height: 260px;

    display: grid;
    grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr));

    gap: 28px 18px;

    width: 100%;

    /* فاصله از Heading / متن قبل و بعد */
    margin: 52px 0 58px !important;
}


/* Desktop columns */

.woocommerce-Tabs-panel .gallery.gallery-columns-2 {
    --gallery-columns: 2;
}

.woocommerce-Tabs-panel .gallery.gallery-columns-3 {
    --gallery-columns: 3;
}

.woocommerce-Tabs-panel .gallery.gallery-columns-4 {
    --gallery-columns: 4;
}

.woocommerce-Tabs-panel .gallery.gallery-columns-5 {
    --gallery-columns: 5;
}


/* Gallery item */

.woocommerce-Tabs-panel .gallery .gallery-item {
    float: none !important;

    display: flex;
    flex-direction: column;

    /* فاصله کم بین تصویر و Caption */
    row-gap: 6px;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center;
}


/* Image area */

.woocommerce-Tabs-panel .gallery .gallery-icon {
    width: 100%;
    height: var(--gallery-image-height);

    margin: 0;
    padding: 0;
}


/* Image card */

.woocommerce-Tabs-panel .gallery .gallery-icon a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 10px;

    /* زمینه تصویر کاملاً سفید */
    background: #fff;

    border: 1px solid #ededed;
    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


/* Image */

.woocommerce-Tabs-panel .gallery .gallery-icon img {
    display: block;

    width: auto;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    margin: 0;
    padding: 0;

    border: 0 !important;
    border-radius: 8px;

    transform: none;
}


/* Hover */

.woocommerce-Tabs-panel .gallery .gallery-icon a:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.woocommerce-Tabs-panel .gallery .gallery-icon a:hover img {
    transform: none;
}


/* Caption */

.woocommerce-Tabs-panel .gallery .gallery-caption {
    width: 100%;

    margin: 0 !important;
    padding: 9px 12px;

    color: #444;

    /* همان زمینه قبلی Caption */
    background: #f7f7f7;

    border: 1px solid #e8e8e8;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}


/* Remove WordPress classic clear */

.woocommerce-Tabs-panel .gallery > br {
    display: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .woocommerce-Tabs-panel .gallery.gallery-columns-2,
    .woocommerce-Tabs-panel .gallery.gallery-columns-3,
    .woocommerce-Tabs-panel .gallery.gallery-columns-4,
    .woocommerce-Tabs-panel .gallery.gallery-columns-5 {
        --gallery-columns: 2;
        --gallery-image-height: 230px;
    }

    .woocommerce-Tabs-panel .gallery {
        gap: 26px 16px;

        margin: 44px 0 50px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce-Tabs-panel .gallery.gallery-columns-2,
    .woocommerce-Tabs-panel .gallery.gallery-columns-3,
    .woocommerce-Tabs-panel .gallery.gallery-columns-4,
    .woocommerce-Tabs-panel .gallery.gallery-columns-5 {
        --gallery-columns: 2;
        --gallery-image-height: 170px;
    }

    .woocommerce-Tabs-panel .gallery {
        gap: 24px 12px;

        margin: 38px 0 44px !important;
    }

    .woocommerce-Tabs-panel .gallery .gallery-item {
        row-gap: 5px;
    }

    .woocommerce-Tabs-panel .gallery .gallery-icon a {
        padding: 6px;

        border-radius: 10px;
    }

    .woocommerce-Tabs-panel .gallery .gallery-caption {
        padding: 7px 8px;

        font-size: 12px;
        line-height: 1.7;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .woocommerce-Tabs-panel .gallery.gallery-columns-2,
    .woocommerce-Tabs-panel .gallery.gallery-columns-3,
    .woocommerce-Tabs-panel .gallery.gallery-columns-4,
    .woocommerce-Tabs-panel .gallery.gallery-columns-5 {
        --gallery-columns: 1;
        --gallery-image-height: 240px;
    }

    .woocommerce-Tabs-panel .gallery {
        gap: 28px;

        margin: 38px 0 46px !important;
    }

    .woocommerce-Tabs-panel .gallery .gallery-caption {
        font-size: 13px;
    }
}


/* =========================================================
   2) WOODMART GALLERY LIGHTBOX
   ========================================================= */

.mfp-wrap.wd-popup-gallery-wrap .mfp-content {
    width: auto;
    max-width: 92vw;

    text-align: center;
}


.mfp-wrap.wd-popup-gallery-wrap .wd-popup-wrap,
.mfp-wrap.wd-popup-gallery-wrap .wd-popup-gallery {
    width: fit-content;
    max-width: 92vw;

    margin: 0;
    padding: 0;

    background: transparent;
    box-shadow: none;
}


.mfp-wrap.wd-popup-gallery-wrap .wd-popup-gallery > figure {
    position: relative;

    margin: 0;
}


/* Popup image */

.mfp-wrap.wd-popup-gallery-wrap .mfp-img {
    display: block;

    width: auto;
    height: auto;

    max-width: min(88vw, 1200px);

    margin: 0;

    border-radius: 10px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, .3);
}


/* Close */

.mfp-wrap.wd-popup-gallery-wrap .wd-popup-close {
    position: absolute;

    top: 12px;
    right: 12px;
    left: auto;

    z-index: 20;
}


.mfp-wrap.wd-popup-gallery-wrap .wd-popup-close a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    color: #fff;
    background: rgba(0, 0, 0, .55);

    border-radius: 50%;
}


.mfp-wrap.wd-popup-gallery-wrap .wd-action-text {
    display: none;
}


/* Counter */

.mfp-wrap.wd-popup-gallery-wrap figcaption {
    position: absolute;

    right: 0;
    bottom: 12px;
    left: 0;

    text-align: center;

    pointer-events: none;
}


.mfp-wrap.wd-popup-gallery-wrap .mfp-bottom-bar,
.mfp-wrap.wd-popup-gallery-wrap .mfp-counter {
    position: static;
}


.mfp-wrap.wd-popup-gallery-wrap .mfp-counter {
    display: inline-flex;

    padding: 6px 11px;

    direction: ltr;

    color: #fff;
    background: rgba(0, 0, 0, .58);

    border-radius: 30px;
}


/* =========================================================
   POPUP NAVIGATION
   ========================================================= */

.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow {
    position: fixed;

    top: 50%;

    width: 48px;
    height: 48px;

    margin: 0;

    transform: translateY(-50%);

    opacity: 1;

    background: rgba(0, 0, 0, .55);

    border: 0;
    border-radius: 50%;
}


.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-left {
    left: 20px;
}


.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-right {
    right: 20px;
}


/* Remove default Magnific arrows */

.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow::before,
.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow::after {
    display: none;
}


/* Custom arrows */

.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-left::after,
.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-right::after {
    content: "";

    position: absolute;
    display: block;

    top: 50%;
    left: 50%;

    width: 12px;
    height: 12px;

    margin: 0;

    border: 0;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}


.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-left::after {
    transform: translate(-35%, -50%) rotate(-135deg);
}


.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-right::after {
    transform: translate(-65%, -50%) rotate(45deg);
}


/* Popup hover */

.mfp-wrap.wd-popup-gallery-wrap .mfp-arrow:hover,
.mfp-wrap.wd-popup-gallery-wrap .wd-popup-close a:hover {
    background: rgba(0, 0, 0, .82);
}


/* =========================================================
   LIGHTBOX MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mfp-wrap.wd-popup-gallery-wrap .mfp-content,
    .mfp-wrap.wd-popup-gallery-wrap .wd-popup-wrap {
        max-width: 94vw;
    }

    .mfp-wrap.wd-popup-gallery-wrap .mfp-img {
        max-width: 94vw;

        border-radius: 8px;
    }

    .mfp-wrap.wd-popup-gallery-wrap .mfp-arrow {
        width: 38px;
        height: 38px;
    }

    .mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-left {
        left: 6px;
    }

    .mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-right {
        right: 6px;
    }

    .mfp-wrap.wd-popup-gallery-wrap .wd-popup-close {
        top: 8px;
        right: 8px;
    }

    .mfp-wrap.wd-popup-gallery-wrap .wd-popup-close a {
        width: 38px;
        height: 38px;
    }

    .mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-left::after,
    .mfp-wrap.wd-popup-gallery-wrap .mfp-arrow-right::after {
        width: 10px;
        height: 10px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .woocommerce-Tabs-panel .gallery .gallery-icon a {
        transition: none;
    }
}
/* =========================================================
   Single Image Gallery
   ========================================================= */

/* تک تصویر کل عرض گرید را بگیرد */
.woocommerce-Tabs-panel .gallery .gallery-item:only-of-type {
    grid-column: 1 / -1;
}

/* فضای بزرگ‌تر برای تصویر تک */
.woocommerce-Tabs-panel
.gallery
.gallery-item:only-of-type
.gallery-icon {
    height: 420px;
}

/* عرض کارت کنترل‌شده و وسط‌چین */
.woocommerce-Tabs-panel
.gallery
.gallery-item:only-of-type
.gallery-icon a {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
}


/* Tablet */

@media (max-width: 1024px) {

    .woocommerce-Tabs-panel
    .gallery
    .gallery-item:only-of-type
    .gallery-icon {
        height: 360px;
    }

}


/* Mobile */

@media (max-width: 767px) {

    .woocommerce-Tabs-panel
    .gallery
    .gallery-item:only-of-type
    .gallery-icon {
        height: 300px;
    }

    .woocommerce-Tabs-panel
    .gallery
    .gallery-item:only-of-type
    .gallery-icon a {
        max-width: 100%;
    }

}


/* Small mobile */

@media (max-width: 480px) {

    .woocommerce-Tabs-panel
    .gallery
    .gallery-item:only-of-type
    .gallery-icon {
        height: 270px;
    }

}@media (min-width: 1025px) {
	.wd-dropdown {
	margin-top: 2px !important;}
.wd-dropdown-menu.wd-design-default {
    --wd-dropdown-width: max-content!important;
}
/* Kia Style - For Aside Menu
.wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li > a {
    font-family: "IranSansWeb", Arial, Helvetica, sans-serif;
    font-weight: 200!important;
    font-size: 13px!important;
    text-transform: none;
    color: rgb(255,255,255);
}

.wd-sub-menu li>a {
  font-size: 15px;
	font-weight:200!important;
}
.wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp>.wd-sub-menu {
	max-width: 325px;
}

.wd-dropdown-menu.wd-design-aside .wd-dropdown {
	right: 300px;}*/
}

