.elementor-165 .elementor-element.elementor-element-3d76b93{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--flex-wrap:nowrap;}.elementor-165 .elementor-element.elementor-element-6434e40{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:10px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-165 .elementor-element.elementor-element-53f6cab{--e-filter-direction:column;--e-filter-white-space:initial;--e-filter-align-items:flex-start;--e-filter-item-width:initial;--e-filter-item-max-width:calc(100% - calc(var( --e-filter-item-padding )*3 ) );--e-filter-item-flex-grow:initial;--e-filter-item-box-sizing:initial;--e-filter-item-align-text:start;}.elementor-165 .elementor-element.elementor-element-9fd0d9f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-165 .elementor-element.elementor-element-e37a808{--grid-columns:3;--grid-row-gap:8px;--grid-column-gap:8px;}@media(max-width:1024px){.elementor-165 .elementor-element.elementor-element-e37a808{--grid-columns:2;}}@media(max-width:767px){.elementor-165 .elementor-element.elementor-element-3d76b93{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-165 .elementor-element.elementor-element-6434e40{--width:100%;}.elementor-165 .elementor-element.elementor-element-9fd0d9f{--width:100%;}.elementor-165 .elementor-element.elementor-element-e37a808{--grid-columns:1;}}@media(min-width:768px){.elementor-165 .elementor-element.elementor-element-6434e40{--width:25%;}.elementor-165 .elementor-element.elementor-element-9fd0d9f{--width:75%;}}/* Start custom CSS for taxonomy-filter, class: .elementor-element-53f6cab *//* ===================================================
   استایل فیلتر دسته‌بندی‌ها (راست‌چین کامل و ظریف)
   =================================================== */

/* ۱. کل لیست دسته‌ها راست‌چین */
.elementor-widget-taxonomy-filter .e-filter,
.elementor-widget-taxonomy-filter ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* چسبیدن به راست در زبان فارسی */
    gap: 9px !important;               /* فاصله عمودی متناسب بین گزینه‌ها */
    padding: 6px 12px !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    direction: rtl !important;
}

/* ۲. ردیف هر دسته‌بندی: دایره در راست، متن بلافاصله بعد از آن */
.elementor-widget-taxonomy-filter .e-filter-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 8px !important;
    cursor: pointer !important;
    font-size: 12.5px !important;      /* فونت جمع‌وجور و خوانا */
    font-weight: 700 !important;
    color: #4a2c17 !important;
    text-align: right !important;
    text-decoration: none !important;
    width: auto !important;
    padding: 0 !important;
    transition: color 0.2s ease !important;
}

/* تغییر رنگ متن هنگام بردن ماوس */
.elementor-widget-taxonomy-filter .e-filter-item:hover {
    color: #F45108 !important;
}

/* ۳. دایره‌های رادیویی کوچک و ظریف */
.elementor-widget-taxonomy-filter .e-filter-item::before {
    content: '' !important;
    width: 13px !important;            /* دایره ظریف ۱۳ پیکسلی */
    height: 13px !important;
    min-width: 13px !important;
    border-radius: 50% !important;
    border: 1.5px solid #d4c3b3 !important;
    background: #ffffff !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.elementor-widget-taxonomy-filter .e-filter-item:hover::before {
    border-color: #F45108 !important;
}

/* حذف شبه‌عنصر احتمالی سمت چپ */
.elementor-widget-taxonomy-filter .e-filter-item::after {
    display: none !important;
}

/* ۴. استایل دسته‌بندی انتخاب‌شده (فعال) */
.elementor-widget-taxonomy-filter .e-filter-item.e-filter-item-active,
.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"],
.elementor-widget-taxonomy-filter .e-filter-item.active {
    color: #F45108 !important;
    font-weight: 900 !important;
}

/* دایره فعال با هسته نارنجی رنگی */
.elementor-widget-taxonomy-filter .e-filter-item.e-filter-item-active::before,
.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"]::before,
.elementor-widget-taxonomy-filter .e-filter-item.active::before {
    border-color: #F45108 !important;
    background: radial-gradient(circle, #F45108 42%, #ffffff 48%) !important;
    box-shadow: 0 1px 4px rgba(244, 81, 8, 0.25) !important;
}

/* مخفی‌سازی کامل اینپوت‌های خام مرورگر */
.elementor-widget-taxonomy-filter input {
    display: none !important;
}/* End custom CSS */
/* Start custom CSS *//* ۱. پس‌زمینه کلی و نوار هدر بالای آرشیو */
.dook-top-bar {
    background-color: #fffbeb !important;
    border: 1px solid #fed7aa !important;
    border-radius: 20px !important;
    padding: 16px 24px !important;
    margin-bottom: 24px !important;
}
.dook-sort-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
}
.dook-sort-wrap label {
    font-size: 13px;
    font-weight: 800;
    color: #78350f;
    margin: 0;
}
.dook-sort-wrap select {
    background-color: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #451a03;
    min-width: 155px;
    outline: none;
    cursor: pointer;
}

/* مخفی کردن مرتب‌سازی و شمارنده پیش‌فرض ووکامرس بالای کارت‌ها (چون در نوار بالا گذاشتیم) */
.woocommerce-ordering,
.woocommerce-result-count {
    display: none !important;
}

/* ۲. استایل باکس سایدبار فیلترهای پیشرفته (سمت راست) */
.dook-sidebar-box {
    background-color: #ffffff !important;
    border: 1px solid #fed7aa !important;
    border-radius: 24px !important;
    padding: 20px !important;
    box-shadow: 0 4px 20px rgba(251, 146, 60, 0.05) !important;
    align-self: flex-start;
}
.dook-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffedd5;
    padding-bottom: 12px;
    margin-bottom: 14px;
    direction: rtl;
}
.dook-filter-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 900;
    color: #451a03;
}
.dook-clear-btn {
    font-size: 12px;
    font-weight: 700;
    color: #ea580c !important;
    text-decoration: none;
}
.dook-sec-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #78350f;
    margin-bottom: 10px;
    text-align: right;
    direction: rtl;
}
.dook-extra-filters {
    direction: rtl;
    text-align: right;
}
.dook-f-group {
    border-top: 1px solid #ffedd5;
    padding-top: 14px;
    margin-top: 14px;
}
.dook-select-input {
    width: 100%;
    background-color: #fffbeb;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #451a03;
    outline: none;
}
.dook-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.dook-price-badge {
    font-size: 12px;
    font-weight: 900;
    color: #ea580c;
}
.dook-range {
    width: 100%;
    accent-color: #f97316;
    cursor: pointer;
}
.dook-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #451a03;
    cursor: pointer;
}
.dook-check-row input {
    width: 16px;
    height: 16px;
    accent-color: #f97316;
    cursor: pointer;
}

/* ۳. استایل کارت‌های محصول در ویجت آرشیو محصولات (مطابق عکس دوم) */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    border: 1px solid #fed7aa !important;
    border-radius: 24px !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 10px rgba(251, 146, 60, 0.04) !important;
    text-align: right !important;
    direction: rtl !important;
}
.woocommerce ul.products li.product:hover {
    border-color: #fb923c !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px -6px rgba(249, 115, 22, 0.14) !important;
}

/* تصویر محصول با نسبت ۴ به ۳ و گوشه‌های گرد */
.woocommerce ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    background-color: #fffbeb !important;
    margin-bottom: 12px !important;
}

/* بج حراج / تخفیف کپسولی قرمز بالا راست (حذف نوار پهن قرمز عکس اول) */
.woocommerce ul.products li.product .onsale {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
    line-height: 1.4 !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 12px !important;
    border-radius: 999px !important;
    margin: 0 !important;
    z-index: 5 !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3) !important;
}

/* بج ستاره ۴.۹ پایین سمت چپ تصویر */
.dook-star-badge {
    position: absolute;
    top: 175px;
    left: 24px;
    background: rgba(255, 255, 255, 0.94);
    color: #451a03;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    z-index: 4;
    pointer-events: none;
}

/* ردیف دسته و کد DK بالای عنوان */
.dook-injected-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 6px;
}
.dook-m-cat {
    color: #ea580c;
    font-weight: 700;
}
.dook-m-sku {
    color: #9a3412;
    opacity: 0.7;
    font-family: monospace, sans-serif;
}

/* عنوان محصول */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #451a03 !important;
    line-height: 1.5 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* قیمت محصول (سمت راست پایین کارت - تغییر از رنگ آبی عکس اول به نارنجی عکس دوم) */
.woocommerce ul.products li.product .price {
    color: #ea580c !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}
.woocommerce ul.products li.product .price del {
    font-size: 11px !important;
    color: #a16207 !important;
    opacity: 0.65 !important;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: #ea580c !important;
    font-weight: 900 !important;
}

/* دکمه "+ خرید" و دکمه آیکون چشم (سمت چپ پایین کارت) */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    position: absolute !important;
    bottom: 14px !important;
    left: 14px !important;
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 7px 14px !important;
    border-radius: 12px !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25) !important;
}
.dook-eye-btn {
    position: absolute !important;
    bottom: 14px !important;
    left: 82px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    border: 1px solid #fed7aa !important;
    background-color: #fffbeb !important;
    color: #78350f !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.dook-eye-btn:hover {
    background-color: #ffedd5 !important;
    color: #ea580c !important;
}

/* ۴. ریسپانسیو تبلت و موبایل */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .dook-top-bar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .dook-sort-wrap select {
        flex: 1;
    }
}/* End custom CSS */