:root {
	--wd-text-font: iransans, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 14px;
	--wd-title-font: iransans, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(0,0,0);
	--wd-entities-title-font: iransans, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(0,0,0);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iransans, sans-serif;
	--wd-widget-title-font: iransans, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(0,0,0);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iransans, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(251,188,52);
	--wd-alternative-color: rgb(0,0,128);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(221,51,51);
	--btn-accented-bgcolor-hover: rgb(221,51,51);
	--wd-form-brd-width: 2px;
	--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-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 233px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(8,10,11);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--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: 8px;
}


rs-slides :is([data-type=text],[data-type=button]) {
font-family: iransans, sans-serif !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iransans, sans-serif !important;
}

.wd-page-title {
background-color: #e8e8e8;
}

/* ==========================================================
   CARSE7EN - PREMIUM SHOP DESIGN
   WoodMart Product Grid
   ========================================================== */


/* ==========================================================
   1. تنظیمات قبلی سایت
   ========================================================== */

.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}

.promo-banner .banner-image img {
    border-radius: 15px;
}


/* ==========================================================
   2. کارت محصول
   ========================================================== */

.product-grid-item {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease !important;

    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
}


/* هاور کارت محصول - فقط دسکتاپ */
@media (hover: hover) {

    .product-grid-item:hover {
        transform: translateY(-3px);
        border-color: rgba(251, 188, 52, 0.35);

        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.22),
            0 0 0 1px rgba(251, 188, 52, 0.05);
    }

}


/* ==========================================================
   3. بخش عکس محصول
   ========================================================== */

.wd-hover-tiled {
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
}


/* همان تنظیم اصلی و سالم قبلی */
.product-grid-item .product-image-link {
    display: block;
    padding: 20px;
    background: #fff;
    overflow: hidden;
}


/* مربع 1:1 کردن خود تصویر بدون Absolute */
.product-grid-item .product-image-link img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;
    object-fit: contain;

    background: #fff;

    margin: 0 auto;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}


/* Zoom بسیار ملایم عکس */
@media (hover: hover) {

    .product-grid-item:hover .product-image-link img {
        transform: scale(1.025);
    }

}


/* ==========================================================
   4. عنوان محصول - حداکثر دو خط
   ========================================================== */

.product-grid-item .wd-entities-title,
.product-grid-item .product-title {
    display: -webkit-box !important;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;

    line-height: 1.8 !important;

    min-height: 3.6em;
    max-height: 3.6em;

    margin-top: 12px;
    margin-bottom: 8px;

    transition: color 0.25s ease;
}


/* عنوان هنگام هاور */
@media (hover: hover) {

    .product-grid-item:hover .wd-entities-title,
    .product-grid-item:hover .product-title {
        color: #fbbc34 !important;
    }

}


/* ==========================================================
   5. قیمت محصولات
   ========================================================== */

/* کل بخش قیمت */
.product-grid-item .price {
    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin-top: 5px;
    margin-bottom: 10px;

    font-weight: 700;
}


/* قیمت اصلی خط خورده */
.product-grid-item .price del,
.product-grid-item .price del .woocommerce-Price-amount {
    color: #777 !important;
    opacity: 0.8;

    font-size: 12px;
    font-weight: 500;
}


/* قیمت نهایی */
.product-grid-item .price ins,
.product-grid-item .price > .woocommerce-Price-amount,
.product-grid-item .price ins .woocommerce-Price-amount {
    color: #fbbc34 !important;

    text-decoration: none !important;

    font-weight: 800;
}


/* واحد پول */
.product-grid-item .price .woocommerce-Price-currencySymbol {
    color: inherit;
}


/* ==========================================================
   6. دکمه افزودن به سبد
   ========================================================== */

.product-grid-item .wd-add-btn a,
.product-grid-item .add_to_cart_button,
.product-grid-item .single_add_to_cart_button {
    min-height: 42px;

    border-radius: 10px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease !important;
}


/* هاور دکمه */
@media (hover: hover) {

    .product-grid-item .wd-add-btn a:hover,
    .product-grid-item .add_to_cart_button:hover {
        transform: translateY(-1px);

        box-shadow:
            0 6px 16px rgba(0, 0, 0, 0.25);
    }

}


/* ==========================================================
   7. برچسب تخفیف
   ========================================================== */

.labels-rectangular .product-label {
    padding: 5px 10px;

    min-width: 42px;
    min-height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;

    border-radius: 20px;

    margin-right: 5px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}


/* تخفیف */
.product-label.onsale {
    background: #fbbc34 !important;
    color: #111 !important;
}


/* محصول جدید */
.product-label.new {
    border-radius: 20px;
}


/* ==========================================================
   8. علاقه‌مندی - مقایسه - مشاهده سریع
   ========================================================== */

.product-grid-item .wd-buttons {
    gap: 6px;
}


/* دکمه‌های کناری */
.product-grid-item .wd-buttons > div > a,
.product-grid-item .wd-buttons > a {
    width: 38px !important;
    height: 38px !important;

    min-width: 38px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 50% !important;

    background: rgba(10, 10, 10, 0.90) !important;
    color: #fff !important;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease !important;
}


/* هاور دکمه‌های ابزار */
@media (hover: hover) {

    .product-grid-item .wd-buttons > div > a:hover,
    .product-grid-item .wd-buttons > a:hover {
        background: #fbbc34 !important;
        color: #111 !important;

        transform: scale(1.06);
    }

}


/* ==========================================================
   9. فاصله داخلی کارت
   ========================================================== */

.product-grid-item .product-wrapper {
    padding-bottom: 12px;
}


/* اطلاعات محصول */
.product-grid-item .product-element-bottom {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
}


/* ==========================================================
   10. Pagination
   ========================================================== */

.woocommerce-pagination ul,
.wd-pagination {
    gap: 7px;
}


/* شماره صفحات */
.woocommerce-pagination li .page-numbers,
.wd-pagination .page-numbers {
    min-width: 40px;
    height: 40px;

    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px !important;

    border: 1px solid rgba(255, 255, 255, 0.10);

    background: #151515;
    color: #fff;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* صفحه فعال */
.woocommerce-pagination li .page-numbers.current,
.wd-pagination .page-numbers.current {
    background: #fbbc34 !important;
    color: #111 !important;

    border-color: #fbbc34 !important;

    font-weight: 800;
}


/* هاور صفحات */
@media (hover: hover) {

    .woocommerce-pagination li .page-numbers:hover,
    .wd-pagination .page-numbers:hover {
        border-color: #fbbc34;

        color: #fbbc34;

        transform: translateY(-2px);
    }

}


/* ==========================================================
   11. Loading / Skeleton
   ========================================================== */

.wd-products-loader,
.wd-loader {
    border-radius: 10px;
}


/* حالت در حال بارگذاری */
.products.loading,
.wd-products.loading {
    opacity: 0.65;

    transition: opacity 0.25s ease;
}


/* ==========================================================
   12. MOBILE
   ========================================================== */

@media (max-width: 767px) {

    /* کارت */
    .product-grid-item {
        border-radius: 12px;
    }


    /* عکس */
    .product-grid-item .product-image-link {
        padding: 10px;
    }


    /* روی موبایل Zoom نداریم */
    .product-grid-item .product-image-link img {
        transform: none !important;
    }


    /* عنوان */
    .product-grid-item .wd-entities-title,
    .product-grid-item .product-title {
        font-size: 13px !important;

        line-height: 1.7 !important;

        min-height: 3.4em;
        max-height: 3.4em;
    }


    /* قیمت */
    .product-grid-item .price {
        font-size: 13px !important;

        min-height: 28px;

        flex-wrap: wrap;
    }


    /* دکمه خرید */
    .product-grid-item .wd-add-btn a,
    .product-grid-item .add_to_cart_button {
        min-height: 44px;

        font-size: 12px !important;

        border-radius: 9px !important;
    }


    /* Badge تخفیف */
    .labels-rectangular .product-label {
        padding: 4px 8px;

        min-width: 36px;
        min-height: 24px;

        font-size: 10px;
    }


    /* دکمه‌های ابزار */
    .product-grid-item .wd-buttons > div > a,
    .product-grid-item .wd-buttons > a {
        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;
    }


    /* صفحه بندی */
    .woocommerce-pagination li .page-numbers,
    .wd-pagination .page-numbers {
        min-width: 36px;
        height: 36px;

        padding: 0 7px;
    }

}


/* ==========================================================
   13. جلوگیری از انیمیشن اضافی برای کاربرانی که
   Reduce Motion فعال دارند
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .product-grid-item,
    .product-grid-item *,
    .woocommerce-pagination * {
        transition: none !important;
        animation: none !important;
    }

}
/* ==========================================================
   CARSE7EN - PREMIUM SHOP - PHASE 2
   این کد را بعد از CSS قبلی قرار بده
   ========================================================== */


/* ==========================================================
   1. نوار ابزار / فیلترهای بالای فروشگاه
   ========================================================== */

.shop-loop-head,
.wd-shop-tools,
.wd-products-per-page,
.wd-products-shop-view,
.woocommerce-ordering {
    border-radius: 12px;
}

.wd-shop-tools,
.shop-loop-head {
    padding-top: 8px;
    padding-bottom: 8px;
}

.woocommerce-ordering select,
.wd-products-per-page a,
.wd-products-shop-view a {
    transition: all .25s ease;
}

@media (hover:hover) {
    .wd-products-per-page a:hover,
    .wd-products-shop-view a:hover {
        color: #fbbc34 !important;
    }
}


/* ==========================================================
   2. Badge ارسال رایگان روی کارت محصول
   ========================================================== */

.product-grid-item .product-element-top {
    position: relative;
}

.product-grid-item .product-element-top::after {
    content: "ارسال رایگان";

    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 5;

    padding: 5px 9px;

    border-radius: 20px;

    background: rgba(10,10,10,.88);
    color: #fbbc34;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    box-shadow: 0 3px 10px rgba(0,0,0,.18);

    pointer-events: none;
}


/* ==========================================================
   3. وضعیت موجودی
   ========================================================== */

.product-grid-item .stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 4px 9px;
    margin: 5px auto;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;
}

.product-grid-item .stock.in-stock {
    background: rgba(40, 190, 90, .12);
    color: #48d77c;
}

.product-grid-item .stock.out-of-stock {
    background: rgba(230, 55, 55, .12);
    color: #ff6262;
}


/* ==========================================================
   4. نوار اعتماد زیر اطلاعات محصول
   ========================================================== */

.product-grid-item .product-element-bottom::after {
    content: "✓ ضمانت اصالت   •   ارسال سریع   •   خرید اقساطی";

    display: block;

    margin-top: 10px;
    padding-top: 9px;

    border-top: 1px solid rgba(255,255,255,.06);

    color: #888;

    text-align: center;

    font-size: 9px;
    font-weight: 500;

    white-space: nowrap;
}


/* ==========================================================
   5. دکمه افزودن به سبد حرفه‌ای‌تر
   ========================================================== */

.product-grid-item .wd-add-btn a,
.product-grid-item .add_to_cart_button {
    position: relative;

    overflow: hidden;

    border-radius: 10px !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease !important;
}

@media (hover:hover) {

    .product-grid-item .wd-add-btn a:hover,
    .product-grid-item .add_to_cart_button:hover {
        transform: translateY(-2px);

        box-shadow:
            0 7px 18px rgba(0,0,0,.25);

        filter: brightness(1.07);
    }

}


/* ==========================================================
   6. Quick View / مشاهده سریع
   ========================================================== */

.popup-quick-view,
.wd-popup,
.mfp-content .product-quick-view {
    border-radius: 16px;
    overflow: hidden;
}

.mfp-bg {
    backdrop-filter: blur(5px);
}

.mfp-close {
    border-radius: 50% !important;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

@media (hover:hover) {
    .mfp-close:hover {
        color: #fbbc34 !important;
        transform: rotate(90deg);
    }
}


/* ==========================================================
   7. Sticky Add To Cart
   در صورتی که WoodMart آن را فعال کرده باشد
   ========================================================== */

.wd-sticky-btn,
.wd-sticky-btn-shown .wd-sticky-btn {
    box-shadow:
        0 -5px 25px rgba(0,0,0,.22);

    backdrop-filter: blur(12px);
}

.wd-sticky-btn .button {
    border-radius: 10px !important;
}


/* ==========================================================
   8. Breadcrumb
   ========================================================== */

.woocommerce-breadcrumb,
.wd-breadcrumbs {
    font-size: 12px;

    opacity: .85;
}

.woocommerce-breadcrumb a,
.wd-breadcrumbs a {
    transition: color .2s ease;
}

@media (hover:hover) {

    .woocommerce-breadcrumb a:hover,
    .wd-breadcrumbs a:hover {
        color: #fbbc34 !important;
    }

}


/* ==========================================================
   9. عنوان دسته‌بندی / صفحه فروشگاه
   ========================================================== */

.page-title .entry-title,
.page-title .title {
    letter-spacing: -.3px;

    font-weight: 800;
}

.page-title {
    border-bottom: 1px solid rgba(255,255,255,.05);
}


/* ==========================================================
   10. محصولات ویژه / تخفیف‌دار
   ========================================================== */

.product-grid-item:has(.product-label.onsale) {
    border-color: rgba(251,188,52,.12);
}

@media (hover:hover) {

    .product-grid-item:has(.product-label.onsale):hover {
        border-color: rgba(251,188,52,.45);

        box-shadow:
            0 8px 28px rgba(0,0,0,.25),
            0 0 18px rgba(251,188,52,.05);
    }

}


/* ==========================================================
   11. ظاهر دکمه‌های Wishlist / Compare / Quick View
   ========================================================== */

.product-grid-item .wd-buttons {
    padding: 5px;

    border-radius: 25px;
}

.product-grid-item .wd-buttons > div > a,
.product-grid-item .wd-buttons > a {
    box-shadow: 0 3px 12px rgba(0,0,0,.18);
}

@media (hover:hover) {

    .product-grid-item .wd-buttons > div > a:hover,
    .product-grid-item .wd-buttons > a:hover {

        box-shadow:
            0 5px 15px rgba(251,188,52,.20);
    }

}


/* ==========================================================
   12. Pagination حرفه‌ای‌تر
   ========================================================== */

.woocommerce-pagination,
.wd-pagination {
    margin-top: 30px;
    margin-bottom: 20px;
}

.woocommerce-pagination li .page-numbers,
.wd-pagination .page-numbers {

    box-shadow:
        0 3px 12px rgba(0,0,0,.12);
}

.woocommerce-pagination li .page-numbers.current,
.wd-pagination .page-numbers.current {

    box-shadow:
        0 5px 18px rgba(251,188,52,.18);
}


/* ==========================================================
   13. Load More
   اگر در WoodMart به جای Pagination فعال شود
   ========================================================== */

.wd-load-more,
.load-more-btn {

    min-width: 180px;

    padding: 12px 25px;

    border-radius: 12px !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease !important;
}

@media (hover:hover) {

    .wd-load-more:hover,
    .load-more-btn:hover {

        transform: translateY(-2px);

        box-shadow:
            0 8px 20px rgba(0,0,0,.20);
    }

}


/* ==========================================================
   14. ورود نرم محصولات هنگام لود
   ========================================================== */

@keyframes cs7ProductFade {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.product-grid-item {
    animation: cs7ProductFade .40s ease both;
}


/* اختلاف بسیار جزئی زمان نمایش کارت‌ها */

.product-grid-item:nth-child(2n) {
    animation-delay: .03s;
}

.product-grid-item:nth-child(3n) {
    animation-delay: .06s;
}

.product-grid-item:nth-child(4n) {
    animation-delay: .09s;
}


/* ==========================================================
   15. Loading
   ========================================================== */

.products.loading,
.wd-products.loading,
.wd-products.wd-loading {

    opacity: .55;

    filter: saturate(.7);

    transition:
        opacity .25s ease,
        filter .25s ease;
}


/* ==========================================================
   16. موبایل
   ========================================================== */

@media (max-width: 767px) {

    /* حذف حرکت کارت روی موبایل */

    .product-grid-item {
        transform: none !important;
    }


    /* Badge ارسال رایگان */

    .product-grid-item .product-element-top::after {

        left: 7px;
        bottom: 7px;

        padding: 4px 7px;

        font-size: 9px;
    }


    /* نوار اعتماد */

    .product-grid-item .product-element-bottom::after {

        content: "✓ اصالت  •  ارسال سریع";

        font-size: 8px;

        margin-top: 7px;

        padding-top: 7px;
    }


    /* دکمه خرید */

    .product-grid-item .wd-add-btn a,
    .product-grid-item .add_to_cart_button {

        min-height: 44px;

        border-radius: 9px !important;

        font-size: 11px !important;
    }


    /* Pagination */

    .woocommerce-pagination,
    .wd-pagination {

        margin-top: 20px;
    }

}


/* ==========================================================
   17. کاهش حرکت برای Accessibility
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .product-grid-item,
    .product-grid-item *,
    .wd-load-more,
    .woocommerce-pagination * {

        animation: none !important;
        transition: none !important;
    }

}