/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/* =========================================================
   ۰۱. متغیرها
   ========================================================= */

:root {
    --offer-bg-dark: #241F1C;
    --offer-bg-card: #2E2520;
    --offer-bg-card-hover: #3A2E26;
    --offer-accent: #B08D4F;
    --offer-accent-light: #C9A96A;
    --offer-cream: #F1EADD;
    --offer-cream-dim: #E5DCCB;
    --offer-line: #4A3A2E;

    --my-box-border: #DED3C1;
    --my-box-line: #E5DCCB;
    --my-text-soft: #5C5049;
    --my-text-mute: #8A7F76;
    --my-text-dark: #241F1C;
    --my-gold: #8A6E45;
}
/* =========================================================
   ۰۲. فونت و پایه
   ========================================================= */

html {
    scroll-behavior: smooth;
}

h2[id] {
    scroll-margin-top: var(--wd-sticky-offset);
}

html,
body,
button,
input,
select,
textarea,
.wd-entities-title,
h1, h2, h3, h4, h5, h6,
.woocommerce-Price-currencySymbol,
.woodmart-title-container .title,
.wd-nav > li > a,
.price,
.widget_price_filter .price_slider_amount,
.wd-sticky-social .wd-icon-name {
    font-family: "iransans", sans-serif !important;
}

/* آیکون‌ها فونت خودشان را نگه دارند */
.star-rating,
.star-rating span,
.star-rating span::before,
.star-rating::before {
    font-family: 'woodmart-font' !important;
}

.star-rating {
    width: 100% !important;
}

.star-rating span::before {
    transform: translate(0%, 0);
}

.star-rating.wd-style-simple {
    justify-content: end;
}

.wd-accordion:where(.wd-style-default)>.wd-accordion-item:first-of-type,
.wd-accordion:where(.wd-style-default)>.wd-nav-wrapper+.wd-accordion-item{
    border-top: none !important;
}

/* =========================================================
   ۰۳. فرم‌ها و گوشه‌های گرد
   ========================================================= */

input[type=email],
input[type=date],
input[type=search],
input[type=number],
input[type=text],
input[type=tel],
input[type=url],
input[type=password],
.wd textarea,
.wd select {
    border-radius: 8px !important;
}

:is(.products-bordered-grid-ins,
    .wd-products-with-bg:not(.products-bordered-grid),
    .wd-products-with-shadow:not(.products-bordered-grid)) .wd-product.wd-hover-buttons-on-hover {
    border-radius: 8px !important;
}

.wd-tools-element:is([class*=wd-design-6], [class*=wd-design-7]) :is(.wd-tools-inner, .wd-tools-icon) {
    border-radius: 8px !important;
    background-color: #F6EFE3 !important;
    border-color: #e7dcc9 !important;
    color: #9a8b76 !important;
}


/* =========================================================
   ۰۴. بردکرامب تمام‌عرض بالای محصول
   ========================================================= */

.my-top-breadcrumbs {
    width: 100%;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--my-box-line);
}

.my-top-breadcrumbs .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--my-text-mute);
}

.my-top-breadcrumbs .woocommerce-breadcrumb a {
    color: var(--my-text-mute);
}

.my-top-breadcrumbs .woocommerce-breadcrumb a:hover {
    color: var(--my-gold);
}

/* پنهان کردن بردکرامب و برند باقی‌مانده داخل summary */
.single-product .summary-inner > .single-breadcrumbs-wrapper,
.single-product .summary-inner > .wd-product-brands {
    display: none !important;
}
.wd-accordion-content{
    opacity: 1 !important;
}
.single-product .wd-accordion:where(.wd-style-default)>.wd-accordion-item{
    border: none !important;
}
.page-id-4439 .gform_button.button{
    width: auto !important;
    margin: 1rem 0 0 0 !important;
}
.e-n-tabs-heading.e-scroll button{
    border: none !important;
}

@media (max-width: 768px) {
    .my-top-breadcrumbs {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }
    .wd-el-title{
        font-size: 18px !important;
    }
    .wd-tools-element>a{
        gap: 0 !important;
        padding-inline: 0 !important;
    }
    .gform_button.button,.page-id-4439 .gform_button.button{
    width: 100% !important;
    margin: 1rem 0 0 0 !important;
}
a.btn.btn-style-default.btn-shape-semi-round.btn-size-default.btn-color-custom.btn-icon-pos-right{
    width: 100% !important;
}
}


/* =========================================================
   ۰۵. چیدمان سه‌ستونی صفحه محصول
   ========================================================= */

@media (min-width: 1025px) {

    /* ستون گالری باریک‌تر — override متغیر inline وودمارت */
    .single-product .product-image-summary-inner > .product-images {
        --wd-col-lg: 4 !important;
        --wd-col-md: 4 !important;
    }

    /* ستون summary پهن‌تر */
    .single-product .product-image-summary-inner > .summary {
        --wd-col-lg: 8 !important;
        --wd-col-md: 8 !important;
    }

    /* تقسیم داخلی summary به دو ستون */
    .single-product .summary-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
        grid-auto-flow: row dense;
        gap: 0 30px;
        align-items: start;
    }

    /* المان‌های عرض کامل: سایزگاید، اشتراک‌گذاری */
    .single-product .summary-inner > *:not(.my-col-info):not(.my-col-buy) {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .single-product .my-col-info {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .single-product .my-col-buy {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        position: sticky;
        top: 100px;
    }
}


/* =========================================================
   ۰۶. ستون اطلاعات
   ========================================================= */

.single-product .my-col-info {
    text-align: right;
}

.single-product .my-col-info .product_title {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.5;
}

.single-product .my-col-info .woocommerce-product-details__short-description {
    margin: 0 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--my-box-line);
    font-size: 14px;
    line-height: 2;
    color: var(--my-text-soft);
}

.single-product .my-col-info .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

.single-product .my-col-info .product_meta {
    font-size: 13px;
    color: var(--my-text-soft);
}

.single-product .my-col-info .product_meta > span {
    display: block;
    margin-bottom: 6px;
}

.single-product .my-col-info .product_meta .meta-label {
    font-weight: 600;
    color: var(--my-text-dark);
}


/* =========================================================
   ۰۷. باکس خرید
   ========================================================= */

.single-product .my-col-buy {
    border: 1px solid var(--my-box-border);
    border-radius: 12px;
    background: #fff;
    padding: 24px 22px;
}

.single-product .my-col-buy .price {
    display: block;
    margin: 0 0 18px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.single-product .my-col-buy form.cart {
    display: block;
    margin: 0;
}

.single-product .my-col-buy .quantity {
    margin: 0 0 14px;
    width: 100%;
}

.single-product .my-col-buy .single_add_to_cart_button {
    width: 100%;
    white-space: nowrap;
    padding: 15px 20px;
    font-size: 15px;
}

/* دکمه‌های مقایسه و علاقه‌مندی */
.single-product .my-col-buy .wd-action-btn {
    display: inline-flex;
    width: auto;
    margin: 16px 0 0 16px;
}

.single-product .my-col-buy .wd-action-btn > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 12px;
}

@media (max-width: 1024px) {
    .single-product .my-col-buy {
        margin-top: 24px;
    }
}


/* =========================================================
   ۰۸. باکس اطمینان
   ========================================================= */

.my-trust-info {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--my-box-line);
}

.my-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.85;
    color: var(--my-text-soft);
    white-space: normal;
    overflow-wrap: anywhere;
}

.my-trust-item:last-of-type {
    margin-bottom: 0;
}

.my-trust-icon {
    flex: 0 0 auto;
    width: 18px;
    text-align: center;
    color: var(--my-gold);
    font-size: 15px;
    line-height: 1.85;
}

.my-trust-icon::before {
    font-family: 'woodmart-font' !important;
    font-weight: normal;
}

.my-trust-shipping  .my-trust-icon::before { content: '\f125'; }
.my-trust-warranty  .my-trust-icon::before { content: '\f105'; }
.my-trust-payment   .my-trust-icon::before { content: '\f127'; }
.my-trust-packaging .my-trust-icon::before { content: '\f11f'; }

.my-trust-text {
    min-width: 0;
}

.my-wholesale-link {
    display: block;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--my-box-line);
    font-size: 13px;
    font-weight: 600;
    color: #8a6d4f;
    text-decoration: none;
}

.my-wholesale-link:hover {
    color: var(--my-gold);
    text-decoration: underline;
}


/* =========================================================
   ۰۹. اصلاح گالری در ستون باریک
   ========================================================= */

.single-product .wd-gallery-thumb .wd-carousel-item {
    height: auto !important;
}

.single-product .wd-gallery-thumb .wd-carousel-item img {
    width: 100%;
    height: auto;
}


/* =========================================================
   ۱۰. بنر و بخش خبرم کن در آرشیو
   ========================================================= */

.products .wd-loop-banner {
    grid-column: 1 / -1;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.elementor-widget-woocommerce-archive-products .woocommerce {
    display: flex;
    flex-direction: column;
}

.elementor-widget-woocommerce-archive-products .woocommerce-pagination {
    order: 99;
    margin-top: 40px;
}


/* =========================================================
   ۱۱. بنتو گرید بخش پیشنهاد ویژه
   /* =========================================================
   Offer Section – Products Grid
========================================================= */

   .elementor-element-21ca93d {
       background-color: var(--offer-bg-dark) !important;
   }

   .elementor-element-21ca93d .wd-products.grid-columns-3 {
       display: grid !important;
       grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
       grid-auto-rows: auto;
   }

   .elementor-element-21ca93d .wd-products.grid-columns-3>.wd-product {
       min-width: 0;
   }

   .elementor-element-21ca93d .wd-products.grid-columns-3>.wd-product:nth-child(1) {
       grid-column: span 2;
       grid-row: span 2;
   }

   .elementor-element-21ca93d .wd-products.grid-columns-3>.wd-product:nth-child(n+2) {
       grid-column: span 1;
       grid-row: span 1;
   }

   /* ---------- Card ---------- */
   .elementor-element-21ca93d .wd-product-wrapper {
       background: var(--offer-bg-card) !important;
       border: 1px solid var(--offer-line) !important;
       border-radius: 14px !important;
       height: 100%;
       display: flex;
       flex-direction: column;
       align-items: stretch;
       text-align: center;
       overflow: hidden;
       transition: transform .25s ease, border-color .25s ease;
   }

   .elementor-element-21ca93d .wd-product-wrapper>* {
       width: 100%;
       min-width: 0;
   }

   .elementor-element-21ca93d .wd-product-wrapper:hover {
       transform: translateY(-4px);
       border-color: var(--offer-accent) !important;
   }

   /* ---------- Image ---------- */
   .elementor-element-21ca93d .wd-product-thumb {
       flex: none;
       aspect-ratio: 1 / 1;
       overflow: hidden;
   }

   .elementor-element-21ca93d .wd-product-thumb a,
   .elementor-element-21ca93d .wd-product-thumb picture {
       display: block;
       width: 100%;
       height: 100%;
   }

   .elementor-element-21ca93d .wd-product-thumb img {
       width: 100% !important;
       height: 100% !important;
       object-fit: cover;
   }

   /* ---------- Text ---------- */
   .elementor-element-21ca93d .wd-entities-title,
   .elementor-element-21ca93d .wd-product-cats {
       white-space: normal !important;
       overflow-wrap: anywhere;
       padding-inline: 8px;
   }

   .elementor-element-21ca93d .wd-product:nth-child(1) .wd-entities-title {
       font-size: 1.4rem !important;
   }

   .elementor-element-21ca93d .wd-product:nth-child(1) .price {
       font-size: 1.3rem !important;
   }

   .elementor-element-21ca93d .wd-entities-title,
   .elementor-element-21ca93d .wd-entities-title a {
       color: var(--offer-cream) !important;
       font-weight: 600 !important;
   }

   .elementor-element-21ca93d .wd-product-cats,
   .elementor-element-21ca93d .wd-product-cats a {
       color: var(--offer-cream-dim) !important;
   }

   .elementor-element-21ca93d .price,
   .elementor-element-21ca93d .woocommerce-Price-amount {
       color: var(--offer-accent-light) !important;
       font-weight: 700 !important;
   }

   .elementor-element-21ca93d .star-rating {
       color: var(--offer-accent) !important;
   }

   /* ---------- Button (pinned to bottom) ---------- */
   .elementor-element-21ca93d .wd-add-btn {
       margin-top: auto;
       padding: 10px 8px 14px;
   }

   .elementor-element-21ca93d .add_to_cart_button,
   .elementor-element-21ca93d .wd-add-btn .button {
       background: var(--offer-accent) !important;
       color: var(--offer-bg-dark) !important;
       border-color: var(--offer-accent) !important;
   }

   .elementor-element-21ca93d .add_to_cart_button:hover {
       background: var(--offer-accent-light) !important;
   }

   .elementor-element-21ca93d .product-label.new {
       background: var(--offer-accent) !important;
       color: var(--offer-bg-dark) !important;
   }

   /* ---------- Tablet & Mobile ---------- */
   @media (max-width: 1024px) {
       .elementor-element-21ca93d .wd-products.grid-columns-3 {
           grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
       }

       .elementor-element-21ca93d .wd-products.grid-columns-3>.wd-product:nth-child(1) {
           grid-column: span 2;
           grid-row: span 1;
       }

       .elementor-element-21ca93d .wd-product:nth-child(1) .wd-product-thumb {
           aspect-ratio: 16 / 10;
       }
   }

   @media (max-width: 767px) {
       .elementor-element-21ca93d .wd-product:nth-child(1) .wd-entities-title {
           font-size: 1.15rem !important;
       }

       .elementor-element-21ca93d .wd-product:nth-child(1) .price {
           font-size: 1.1rem !important;
       }

       .elementor-element-21ca93d .wd-entities-title {
           font-size: .9rem !important;
           line-height: 1.5;
       }

       .elementor-element-21ca93d .price del {
           display: block;
       }

       .elementor-element-21ca93d .add_to_cart_button,
       .elementor-element-21ca93d .wd-add-btn .button {
           font-size: .8rem !important;
           padding-inline: 10px !important;
       }
   }

   /* ---------- Single Product ---------- */
   .product-summary-shadow .summary-inner {
       background-color: transparent !important;
       box-shadow: none !important;
   }

   .summary-inner .product_meta {
       border: none !important;
   }

/* =========================================================
   ۱۲. تب‌های صفحه محصول
   ========================================================= */

.single-product .woocommerce-tabs {
    margin-top: 50px;
}

/* نوار تب‌ها — راست‌چین */
.single-product .wc-tabs,
.single-product .woocommerce-tabs .tabs {
    display: flex;
    justify-content: flex-start;
    gap: 34px;
    margin: 0 0 28px;
    padding: 0 0 0;
    border-bottom: 1px solid var(--my-box-line);
    list-style: none;
}

.single-product .wc-tabs li,
.single-product .woocommerce-tabs .tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.single-product .wc-tabs li a,
.single-product .woocommerce-tabs .tabs li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--my-text-mute);
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.single-product .wc-tabs li a:hover {
    color: var(--my-text-dark);
}


/* بج تعداد نظرات */
.single-product .wc-tabs li a .count,
.single-product .wc-tabs li.reviews_tab a::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f4ece0;
    color: var(--my-gold);
    font-size: 11px;
    font-weight: 600;
}
.pa-specs{
    background-color: #fff;
    border: 1px solid #e6ddd0;
    padding: 8px 16px;
    border-radius: 8px;
}
.whb-col-right, .whb-mobile-right {
    justify-content: flex-end !important;
    }
@media (max-width: 768px) {

    .product-summary-shadow .summary-inner{
        padding: 0 !important;
    }
    .product-tabs-wrapper {
        padding: 0;
    }
    .single-product .wc-tabs,
    .single-product .woocommerce-tabs .tabs {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .single-product .wc-tabs::-webkit-scrollbar {
        display: none;
    }

    .single-product .wc-tabs li a {
        font-size: 14px;
    }
}


/* =========================================================
   ۱۳. جدول مشخصات — دو ستونه
   ========================================================= */

/* .single-product .woocommerce-Tabs-panel--additional_information {
    border: 1px solid var(--my-box-border);
    border-radius: 12px;
    background: #fff;
    padding: 8px 26px;
} */

.single-product .woocommerce-Tabs-panel--additional_information h2 {
    display: none;
}

.single-product .shop_attributes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 50px;
    width: 100%;
    margin: 0;
    border: none;
}

.single-product .shop_attributes tbody {
    display: contents;
}

.single-product .shop_attributes tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    /* padding: 16px 0; */
    border-bottom: 1px solid var(--my-box-line);
    background: none !important;
}

/* حذف خط آخرین ردیف هر ستون */
.single-product .shop_attributes tr:nth-last-child(-n+2) {
    border-bottom: none;
}

.single-product .shop_attributes th,
.single-product .shop_attributes td {
    display: block;
    padding: 0;
    border: none;
    background: none;
    font-size: 14px;
    line-height: 1.7;
}

.single-product .shop_attributes th {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--my-text-dark);
}

.single-product .shop_attributes td {
    flex: 1 1 auto;
    text-align: left;
    color: var(--my-text-soft);
    font-style: normal;
}

.single-product .shop_attributes td p {
    margin: 0;
}
div#tab-additional_information .wc-tab-inner.wd-entry-content {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #E7DCC9;
    padding: 1rem;
}
.single-product .shop_attributes {
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wd-nav.wd-style-underline-reverse>li>a>.nav-link-text:after{
    bottom: 0 !important;
    top: auto !important;
}
.my-single-bottom-sections{
    margin-top: 2rem;
}
@media (max-width: 768px) {
    h2{
        font-size: 16px;
    }
    .single-product .shop_attributes {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .single-product .shop_attributes tr:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--my-box-line);
    }

    .single-product .shop_attributes tr:last-child {
        border-bottom: none;
    }

    /* .single-product .woocommerce-Tabs-panel--additional_information {
        padding: 8px 18px;
    } */
}
.elementor .e-c2facde-abf21e6{
    padding: 0;
}

@media (max-width: 768px) {
    .wd-product.wd-hover-info-alt .top-information{
            padding-bottom: 1rem;
    }
    .star-rating span::before {
        transform: translate(-61%, 0);
    }
    .elementor-element.elementor-element-c2facde.e-con.e-atomic-element.e-flexbox-base.e-c2facde-abf21e6 {
        padding: 0;
    }
    .elementor-element-21ca93d {
        padding: 32px 16px !important;
    }

    .elementor-element-21ca93d .wd-products.grid-columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: auto;
    }

    .elementor-element-21ca93d .wd-products.grid-columns-3 > .wd-product:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .elementor-element-21ca93d .wd-product-thumb,
    .elementor-element-21ca93d .wd-product-grid-slider {
        min-height: 200px;
    }
}

/* ردیف تعداد */
.single-product .my-col-buy .my-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    padding: 6px 16px;
    border: 1px solid var(--my-box-border);
    border-radius: 10px;
    background: #fff;
}

.single-product .my-col-buy .my-qty-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--my-text-dark);
}

.single-product .my-col-buy .quantity {
    display: flex !important;
    align-items: center;
    gap: 4px;
    width: auto !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
}

/* دکمه‌های منفی و مثبت */
.single-product .my-col-buy .quantity .minus,
.single-product .my-col-buy .quantity .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--my-text-soft);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.single-product .my-col-buy .quantity .minus:hover,
.single-product .my-col-buy .quantity .plus:hover {
    background: #f6efe3;
    color: var(--my-gold);
}

/* عدد وسط */
.single-product .my-col-buy .quantity input[type=number] {
    width: 42px !important;
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--my-text-dark);
    border-radius: 0 !important;
}

/* حذف فلش‌های پیش‌فرض مرورگر */
.single-product .my-col-buy .quantity input[type=number]::-webkit-inner-spin-button,
.single-product .my-col-buy .quantity input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single-product .my-col-buy .quantity input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.blog-design-masonry {
    border: 1px solid #E7DCC9;
    border-radius: 8px;
    background-color: #fff;
}

.blog-design-masonry h3 {
    font-size: 17px !important;
	margin-bottom: 1rem;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    padding-right: 0 !important;
}
.blog-design-masonry.wd-add-shadow .wd-post-inner{
    box-shadow: none !important;
}
.wd-product-cats {
    white-space: nowrap;
    overflow: hidden;
}
.page-id-29330 .gform_button.button{
    width: auto !important;
    margin: 1rem 0 0 0 !important ;
}
.page-id-29330 .gform-footer.gform_footer.top_label{
    margin: 0 !important;
}
.gform_button.button {
    background: var(--offer-accent) !important;
    width: 100% !important;
    border-radius: 6px !important;
}
.gform_button.button:focus {
    border-color: var(--offer-accent) !important;
}

.gform_wrapper input {
    background-color: #fff !important;
    border-color: #d6d2cb !important;
}

.gform_wrapper input:focus {
    outline-color: var(--offer-accent) !important;
}
.gform_wrapper input::placeholder {
    color: #d6d2cb !important;
}
.gform-theme--framework .gfield:where(.gfield--type-multiselect, .gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework .gfield:where(.gfield--type-phone) .gform-phone__search-wrapper input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework .gfield:where(.gfield--type-select, .gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework .gfield:where(.gfield--type-select, .gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework.gform-theme.gform_wrapper .gform-datepicker-calendar .nav.btn:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit], [type=button], [type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit], [type=button], [type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus{
        outline-color: var(--offer-accent) !important;
}
.recentPosts ul li {
    list-style: decimal !important;
    border-bottom: 1px dashed #E7DCC9;
    color: #000000 !important;
    font-size: 14px !important;
    padding-bottom: 6px !important;
}

.recentPosts ul li:last-child{
    border: none;
}

.recentPosts ul li a{

    color: #2e2620 !important;
}
.recentPosts ul li::marker {
    list-style: decimal !important;
    color: #D9C29A;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}
/* =========================================================
   11. فهرست مطالب (Table of Contents)
   ========================================================= */

.tocDiv {
    position: sticky;
    top: var(--wd-sticky-offset);
}

.tocDiv .elementor-shortcode {
    padding: 20px;
    border: 1px solid var(--wd-gold-dark);
    border-radius: var(--wd-radius-xl);
    background-color: var(--wd-gold-surface);
}

.my-toc-box {
    color: var(--wd-text-muted);
}

.my-toc-title {
    display: block;
    margin: 0 0 15px;
    color: var(--wd-gold);
    font-size: 15px;
    font-weight: bold;
}

.my-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.my-toc-list li {
    margin-bottom: 10px;
}

.my-toc-list li a {
    display: block;
    color: var(--wd-text-muted);
    text-decoration: none;
    transition: all 0.3s linear;
}

.my-toc-list a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 6px 10px;
    border-right: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.my-toc-list a.active {
    color: #C9A24B;
    font-weight: 700;
    border-right-color: #C9A24B;
}

.my-toc-list li a:hover {
    color: var(--wd-gold-light);
}

.my-toc-list li a:active,
.my-toc-list li a.active {
    color: var(--wd-gold);
}

.my-toc-list li a.active::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C9A24B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6l-6 6 6 6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
.wd-post-cat.wd-style-default a {
    background-color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    border: 1px solid var(--my-box-line);

}

/* archive blog */
.wd-blog-archive .wd-posts > article.wd-post:first-of-type{
    width: 100%;
      grid-column: 1 / -1 !important;
}



.wd-blog-archive .wd-posts > article.wd-post:first-of-type .wd-post-inner.article-inner {
  display: flex;
  align-items: center;
  background-color: #fff;
  text-align: right;
}

.wd-blog-archive .wd-posts > article.wd-post:first-of-type .wd-post-inner.article-inner .wd-post-thumb{
  width: 40%;
}


.wd-post-cat.wd-style-with-bg.meta-post-categories {
    display: none;
}

.elementor-element.elementor-element-91ddd46.elementor-widget.elementor-widget-wp-widget-categories h5 {
    display: none;
}
.elementor-element.elementor-element-91ddd46.elementor-widget.elementor-widget-wp-widget-categories ul {
    display: flex;
    list-style: none;
}
.elementor-element.elementor-element-91ddd46.elementor-widget.elementor-widget-wp-widget-categories ul li{
    padding: 4px 12px;
    margin-left: 1rem;
    border-radius: 20px;
    background-color: #EFE4D1;
    border: 1px solid #D9C29A;
    display: flex;
    align-items: center;
    height: fit-content;
}
.elementor-element.elementor-element-91ddd46.elementor-widget.elementor-widget-wp-widget-categories ul li a{
    cursor: pointer;
}
.elementor-widget-container li.cat-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #E7DCC9;
}
.elementor-widget-container li.cat-item:last-child {
    border-bottom: none;
}
.wd-post-content.article-body-container {
    text-align: right;
    display: block;
}
.blog-design-masonry.wd-add-shadow:hover .wd-post-inner,.blog-design-masonry{
    box-shadow: none !important;
}


.blog-inline-cta {
    grid-column: 1 / -1;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.blog-inline-cta form#gform_1 {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.blog-inline-cta button#gform_submit_button_1 {
    margin-right: 8px;
}

.blog-inline-cta input#input_1_4 {
    background-color: #fff !important;
}
.info-box-content span {
    font-family: "iransans" !important;
}
.gift-filter-box {
    direction: rtl;
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    /* margin-top: -40px; */
    position: relative;
    z-index: 2;
}

.gf-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.gf-field {
    flex: 1;
    min-width: 180px;
}
.search-filter-label {
    font-size: 14px !important;
    color: #6E6156 !important;
    padding-bottom: 4px !important;
}
/* لیبل بالای هر فیلد (از خود افزونه می‌آید) */
.gf-field .sf-field-label,
.gf-field label {
    display: block;
    font-size: 13px;
    color: #8b7355;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Select ها */
.gf-field select,
.gf-field .select2-container .select2-selection,
.gf-field .sf-input-select {
    width: 100%;
    height: 52px;
    border: 1px solid #ece2d0;
    border-radius: 12px;
    background: #faf6ef;
    padding: 0 16px;
    font-size: 14px;
    color: #333;
    appearance: none;
}

/* دکمهٔ پیشنهاد بده */
.gf-btn {
    flex: 0 0 auto;
    min-width: 160px;
}

.gf-btn button,
.gf-btn input[type="submit"] {
    width: 100%;
    height: 52px;
    background: #a9835a;
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}

.gf-btn button:hover {
    background: #8f6d48;
}

.gift-filter-box,
.gift-filter-box * {
    font-family: inherit;
}

body:not(.single-post) form#gform_1 {
    display: flex;
    align-items: center;
    width: 100%;
}
 form#gform_1 .gform-body.gform_body{
	width: 100%;
}
body:not(.single-post) input#input_1_4 {
    background-color: #fff !important;
}
body:not(.single-post) input#input_1_4:not(footer *):not(.footer-container *) {
.gform_wrapper input
}

body:not(.single-post) .gform-footer.gform_footer.top_label {
    margin: 0 1rem 0 0;
}
/* 
body:not(.single-post) .gform-body.gform_body {
    width: 90%;
} */

.category-grid-item .wd-cat-thumb{
    border-radius: 8px 8px 0 0 !important;
}

.wd-cat-wrap {
    padding: 0 !important;
}
.bts span {
    border: 1px solid #E7DCC9;
    background-color: #F6EFE3;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 4px 5px;
    font-size: 13px !important;
}

.wd-tools-element.wd-design-8 .wd-tools-icon {
    width: 32px !important;
        height: 32px !important;
        background-color: #F6EFE3 !important;
        border: 1px solid #E7DCC9 !important;
        border-radius: 4px !important;
        color: #7C5A34 !important;
}
.wd-tools-element.wd-design-8 .wd-tools-inner{
    background-color: transparent !important;
}
.testimonial-avatar img{
    border-radius: 8px !important;
}
.wd-accordion:where(.wd-style-default)>.wd-accordion-item:last-child{
    border: none !important;
}
.star-rating{display: none !important;}
.gform_button.button{
    background-color: #000 !important;
}
/* موبایل: ستونی شود */
@media (max-width: 768px) {

    body:not(.single-post) .gform-body.gform_body {
            width: 100%;
        }
    body:not(.single-post) .gform-footer.gform_footer.top_label {
        width: 100%;
        }
    body:not(.single-post) form#gform_1 {
        flex-direction: column;
        }
    body:not(.single-post) .gform-footer.gform_footer.top_label {
        margin: 1rem 0 0;
        width: 100%;
    }
    .gf-row {
        flex-direction: row-column;
        align-items: stretch;
    }

    .gf-field {
        min-width: 100%;
    }

  

    .whb-column {
        justify-content: space-between !important;
    }
    .whb-mobile-right{
        justify-content: flex-end !important;
    }

    .elementor-element-21ca93d .wd-product:nth-child(1) .wd-entities-title {
        font-size: 1.1rem !important;
    }

  
}
@media (min-width: 1025px) {

    /* عکس اصلی بزرگ‌تر و مربعی */
    .single-product .woocommerce-product-gallery .wd-carousel-container:not(.wd-gallery-thumb) .wd-carousel-item img,
    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        background: #f7f2ea;
        border-radius: 12px;
    }

    /* ستون تصاویر کوچک باریک‌تر تا ۴ تا جا شوند */
    .single-product .thumbs-position-left {
        --wd-thumbs-width: 85px;
    }

    .single-product .thumbs-position-left .wd-gallery-thumb img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 10px;
    }

    /* دکمه بزرگ‌نمایی داخل عکس */
    .single-product .woocommerce-product-gallery {
        position: relative;
    }

    .single-product .product-additional-galleries {
        position: absolute;
        bottom: 15px;
        left: 15px;
        z-index: 3;
    }

    /* عنوان */
    .single-product .product_title {
        font-size: 1.6rem !important;
        line-height: 1.6;
    }
}


/* =========================================================
   Payam Edalat – Product Info
========================================================= */

.pa-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
    margin-top: 6px;
}

.pa-subtitle {
    margin: 0;
    color: #7a6a58;
    font-size: .95rem;
    line-height: 1.9;
}

.pa-cats,
.pa-cats a {
    font-size: .85rem;
    color: #a0896b;
}

/* ---------- Rating ---------- */
.pa-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .9rem;
    color: #7a6a58;
}

.pa-stars {
    display: inline-block;
    width: 90px;
    height: 16px;
    background: linear-gradient(
        to left,
        #c9a063 var(--pa-rate, 0%),
        #ddd3c4 var(--pa-rate, 0%)
    );
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/></svg>") repeat-x right center / 18px 16px;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/></svg>") repeat-x right center / 18px 16px;
}

.pa-avg {
    color: #3d2e22;
    font-weight: 700;
}

.pa-rating a {
    color: #7a6a58 !important;
    text-decoration: none;
}

.pa-rating a:hover {
    color: #a67c52 !important;
}

.pa-empty {
    color: #9a8a76;
}

.pa-dot {
    color: #c8bba8;
}

/* ---------- Chips ---------- */
.pa-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pa-chip {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #e3d8c8;
    border-radius: 999px;
    background: #fff;
    color: #3d2e22;
    font-size: .88rem;
    line-height: 1.6;
}

/* ---------- Features ---------- */
.pa-features {
    list-style: none;
    margin: 6px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #ece4d8;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pa-features li {
    position: relative;
    padding-right: 24px;
    color: #3d2e22;
    font-size: .95rem;
    line-height: 1.8;
}

.pa-features li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .55em;
    width: 12px;
    height: 7px;
    border-right: 2px solid #a67c52;
    border-bottom: 2px solid #a67c52;
    transform: rotate(315deg) scaleX(-1);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .pa-chip {
        padding: 5px 12px;
        font-size: .82rem;
    }
}


/* =========================================================
   Payam Edalat – Reviews Tab
========================================================= */

.pa-tab-count {
    display: inline-block;
    min-width: 24px;
    padding: 1px 8px;
    margin-right: 6px;
    border-radius: 999px;
    background: #efe7da;
    color: #7a6a58;
    font-size: .75rem;
    line-height: 1.7;
    text-align: center;
}

.pa-reviews {
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: right;
}

/* ---------- Summary box ---------- */
.pa-rv-summary {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px;
    border: 1px solid #ece4d8;
    border-radius: 14px;
    background: #fff;
}

.pa-rv-score {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-left: 32px;
    border-left: 1px solid #ece4d8;
}

.pa-rv-summary.is-empty .pa-rv-score {
    flex: 1;
    padding-left: 0;
    border-left: 0;
}

.pa-rv-avg {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: #3d2e22;
}

.pa-stars--md {
    width: 100px;
    height: 18px;
    -webkit-mask-size: 20px 18px;
            mask-size: 20px 18px;
}

.pa-rv-total {
    color: #7a6a58;
    font-size: .9rem;
}

.pa-rv-btn {
    margin-top: 10px;
    padding: 12px 28px;
    border: 1px solid #a67c52;
    border-radius: 10px;
    background: transparent;
    color: #3d2e22;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.pa-rv-btn:hover {
    background: #a67c52;
    color: #fff;
}

/* ---------- Bars ---------- */
.pa-rv-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pa-rv-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pa-rv-label {
    flex: 0 0 56px;
    color: #7a6a58;
    font-size: .88rem;
    white-space: nowrap;
}

.pa-rv-track {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: #efe7da;
    overflow: hidden;
    display: flex;
}

.pa-rv-fill {
    height: 100%;
    border-radius: 999px;
    background: #c9a063;
}

.pa-rv-num {
    flex: 0 0 20px;
    color: #7a6a58;
    font-size: .85rem;
    text-align: left;
}

/* ---------- Review list ---------- */
.pa-rv-list {
    display: flex;
    flex-direction: column;
}

.pa-rv-item {
    padding: 20px 0;
    border-bottom: 1px solid #ece4d8;
}

.pa-rv-item:first-child {
    padding-top: 0;
}

.pa-rv-item:last-child {
    border-bottom: 0;
}

.pa-rv-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: .88rem;
    color: #9a8a76;
}

.pa-rv-who.is-verified {
    color: #7a6a58;
}

.pa-rv-text p {
    margin: 0;
    color: #3d2e22;
    font-size: .98rem;
    line-height: 1.9;
}

.pa-rv-reply {
    margin-top: 12px;
    padding: 12px 16px;
    border-right: 3px solid #c9a063;
    border-radius: 8px;
    background: #faf6f0;
}

.pa-rv-reply-who {
    display: block;
    margin-bottom: 4px;
    color: #a67c52;
    font-size: .82rem;
    font-weight: 700;
}

.pa-rv-reply p {
    margin: 0;
    color: #3d2e22;
    font-size: .92rem;
    line-height: 1.8;
}

/* ---------- Review form ---------- */
.pa-review-form {
    display: none;
}

.pa-review-form.is-open {
    display: block;
    padding: 24px;
    border: 1px solid #ece4d8;
    border-radius: 14px;
    background: #fff;
}

/* لیست پیش‌فرض ووکامرس مخفی؛ فقط فرم */
.pa-review-form #comments,
.pa-review-form .woocommerce-Reviews-title,
.pa-review-form .woocommerce-noreviews {
    display: none !important;
}

.pa-review-form #review_form_wrapper,
.pa-review-form .wd-col,
.pa-review-form [class*="wd-grid-col"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .pa-rv-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 18px;
    }

    .pa-rv-score {
        flex: none;
        padding-left: 0;
        padding-bottom: 18px;
        border-left: 0;
        border-bottom: 1px solid #ece4d8;
    }

    .pa-rv-summary.is-empty .pa-rv-score {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .pa-rv-btn {
        width: 100%;
    }
}


/* =========================================================
   Payam Edalat – Reviews Tab
========================================================= */

.pa-tab-count {
    display: inline-block;
    min-width: 24px;
    padding: 1px 8px;
    margin-right: 6px;
    border-radius: 999px;
    background: #efe7da;
    color: #7a6a58;
    font-size: .75rem;
    line-height: 1.7;
    text-align: center;
}

.pa-reviews {
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: right;
}

/* ---------- Summary box ---------- */
.pa-rv-summary {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px;
    border: 1px solid #ece4d8;
    border-radius: 14px;
    background: #fff;
}

.pa-rv-score {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-left: 32px;
    border-left: 1px solid #ece4d8;
}

.pa-rv-summary.is-empty .pa-rv-score {
    flex: 1;
    padding-left: 0;
    border-left: 0;
}

.pa-rv-avg {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: #3d2e22;
}

.pa-stars--md {
    width: 100px;
    height: 18px;
    -webkit-mask-size: 20px 18px;
            mask-size: 20px 18px;
}

.pa-rv-total {
    color: #7a6a58;
    font-size: .9rem;
}

.pa-rv-btn {
    margin-top: 10px;
    padding: 12px 28px;
    border: 1px solid #a67c52;
    border-radius: 10px;
    background: transparent;
    color: #3d2e22;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.pa-rv-btn:hover {
    background: #a67c52;
    color: #fff;
}

/* ---------- Bars ---------- */
.pa-rv-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pa-rv-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pa-rv-label {
    flex: 0 0 56px;
    color: #7a6a58;
    font-size: .88rem;
    white-space: nowrap;
}

.pa-rv-track {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: #efe7da;
    overflow: hidden;
    display: flex;
}

.pa-rv-fill {
    height: 100%;
    border-radius: 999px;
    background: #c9a063;
}

.pa-rv-num {
    flex: 0 0 20px;
    color: #7a6a58;
    font-size: .85rem;
    text-align: left;
}

/* ---------- Review list ---------- */
.pa-rv-list {
    display: flex;
    flex-direction: column;
}

.pa-rv-item {
    padding: 20px 0;
    border-bottom: 1px solid #ece4d8;
}

.pa-rv-item:first-child {
    padding-top: 0;
}

.pa-rv-item:last-child {
    border-bottom: 0;
}

.pa-rv-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: .88rem;
    color: #9a8a76;
}

.pa-rv-who.is-verified {
    color: #7a6a58;
}

.pa-rv-text p {
    margin: 0;
    color: #3d2e22;
    font-size: .98rem;
    line-height: 1.9;
}

.pa-rv-reply {
    margin-top: 12px;
    padding: 12px 16px;
    border-right: 3px solid #c9a063;
    border-radius: 8px;
    background: #faf6f0;
}

.pa-rv-reply-who {
    display: block;
    margin-bottom: 4px;
    color: #a67c52;
    font-size: .82rem;
    font-weight: 700;
}

.pa-rv-reply p {
    margin: 0;
    color: #3d2e22;
    font-size: .92rem;
    line-height: 1.8;
}

/* ---------- Review form ---------- */
.pa-review-form {
    display: none;
}

.pa-review-form.is-open {
    display: block;
    padding: 24px;
    border: 1px solid #ece4d8;
    border-radius: 14px;
    background: #fff;
}

/* لیست پیش‌فرض ووکامرس مخفی؛ فقط فرم */
.pa-review-form #comments,
.pa-review-form .woocommerce-Reviews-title,
.pa-review-form .woocommerce-noreviews {
    display: none !important;
}

.pa-review-form #review_form_wrapper,
.pa-review-form .wd-col,
.pa-review-form [class*="wd-grid-col"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .pa-rv-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 18px;
    }

    .pa-rv-score {
        flex: none;
        padding-left: 0;
        padding-bottom: 18px;
        border-left: 0;
        border-bottom: 1px solid #ece4d8;
    }

    .pa-rv-summary.is-empty .pa-rv-score {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .pa-rv-btn {
        width: 100%;
    }
}


/* =========================================================
   Payam Edalat – Specs Tab
========================================================= */

.pa-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    text-align: right;
}

.pa-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed #e3d8c8;
}

/* حذف خط زیر ردیف آخر */
.pa-spec:last-child,
.pa-spec:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
}

.pa-spec-label {
    color: #8a7a66;
    font-size: .92rem;
    white-space: nowrap;
}

.pa-spec-value {
    color: #3d2e22;
    font-size: .95rem;
    font-weight: 600;
    text-align: left;
}

@media (max-width: 767px) {
    .pa-specs {
        grid-template-columns: 1fr;
    }

    .pa-spec:nth-last-child(2):nth-child(odd) {
        border-bottom: 1px dashed #e3d8c8;
    }

    .pa-spec:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   Payam Edalat – Buy Box (wireframe)
========================================================= */

/* عنوان و زیرعنوان */
.single-product .summary .product_title {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    line-height: 1.6;
    color: #3d2e22;
}

.single-product .pa-subtitle {
    color: #7a6a58 !important;
}

/* قیمت: جدید بزرگ + قدیم کوچک کنارش */
.single-product .summary .price {
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 0 0 10px !important;
}

.single-product .summary .price ins {
    order: 1;
    text-decoration: none;
}

.single-product .summary .price del {
    order: 2;
    opacity: .5;
}

.single-product .summary .price ins .amount,
.single-product .summary .price > .amount {
    color: #7a5230 !important;
    font-size: 1.75rem;
    font-weight: 800;
}

.single-product .summary .price del .amount {
    color: #8a7a66 !important;
    /* font-size: .85rem; */
    font-weight: 400;
}

.single-product .summary .price .woocommerce-Price-currencySymbol {
    font-size: .55em;
    font-weight: 500;
    margin-right: 4px;
}

/* نشان تخفیف */
.pa-saving-wrap {
    margin-bottom: 12px;
}

.pa-saving {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: #8b3a2b;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}

.pa-saving .woocommerce-Price-amount,
.pa-saving .woocommerce-Price-currencySymbol {
    color: #fff !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* موجودی */
.pa-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px !important;
    font-size: .9rem;
}

.pa-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pa-stock.is-in       { color: #4f6b3a; }
.pa-stock.is-in  .pa-stock-dot { background: #5a8a3a; }
.pa-stock.is-out      { color: #9a3b2c; }
.pa-stock.is-out .pa-stock-dot { background: #b04a3a; }

/* مخفی کردن موارد خارج از وایرفریم */
.single-product .summary .stock:not(.pa-stock),
.single-product .summary .wd-compare-btn,
.single-product .summary .wd-wishlist-btn,
.single-product .summary .product-share,
.single-product .summary .wd-social-icons {
    display: none !important;
}

/* باکس اطمینان */
.pa-trust {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ece4d8;
    color: #3d2e22;
    font-size: .9rem;
    line-height: 1.8;
}

.pa-trust-ico {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: #8a7a66;
}

.pa-trust-ship {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ece4d8;
}

.pa-trust-list {
    list-style: none;
    margin: 0;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pa-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.pa-trust-bulk {
    display: block;
    padding-top: 14px;
    border-top: 1px solid #ece4d8;
    color: #3d2e22 !important;
    font-size: .92rem;
    text-decoration: none;
}

.pa-trust-bulk:hover {
    color: #a67c52 !important;
}


/* =========================================================
   Payam Edalat – Mobile Tabs (wireframe)
========================================================= */

@media (max-width: 1024px) {

    /* نمایش نوار تب‌ها و مخفی کردن عنوان‌های آکاردئون */
    .single-product .woocommerce-tabs .wd-nav-tabs-wrapper,
    .single-product .woocommerce-tabs ul.tabs,
    .single-product .woocommerce-tabs .wd-nav-tabs {
        display: flex !important;
    }

    .single-product .woocommerce-tabs .wd-accordion-title {
        display: none !important;
    }

    /* نوار تب افقی با اسکرول */
    .single-product .woocommerce-tabs .wd-nav-tabs,
    .single-product .woocommerce-tabs ul.tabs {
        flex-wrap: nowrap !important;
        gap: 22px;
        margin: 0 0 18px !important;
        padding: 0 !important;
        overflow-x: auto;
        border-bottom: 1px solid #ece4d8;
        scrollbar-width: none;
    }

    .single-product .woocommerce-tabs .wd-nav-tabs::-webkit-scrollbar,
    .single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
        display: none;
    }

    .single-product .woocommerce-tabs .wd-nav-tabs li,
    .single-product .woocommerce-tabs ul.tabs li {
        flex: 0 0 auto;
        margin: 0 !important;
    }

    .single-product .woocommerce-tabs .wd-nav-tabs li a,
    .single-product .woocommerce-tabs ul.tabs li a {
        display: block;
        padding: 10px 2px 12px !important;
        font-size: .92rem;
        white-space: nowrap;
    }

    /* فقط پنل فعال نمایش داده شود */
    .single-product .woocommerce-tabs .woocommerce-Tabs-panel {
        border: 0 !important;
    }

    /* مشخصات یک‌ستونه در موبایل */
    .pa-specs {
        grid-template-columns: 1fr;
        padding: 4px 14px;
        border: 1px solid #ece4d8;
        border-radius: 14px;
        background: #fff;
    }
}
@media (max-width: 1024px) {
  .elementor-element-9b2ec3a .e-n-tabs {
    display: flex !important;
    flex-direction: column !important;
  }
  .elementor-element-9b2ec3a .e-n-tabs-heading {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #e5ddd0;
    gap: 0 !important;
    margin-bottom: 1rem;
  }
  .elementor-element-9b2ec3a .e-n-tabs-heading::-webkit-scrollbar {
    display: none;
  }
  .elementor-element-9b2ec3a .e-n-tab-title {
    order: 0 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    white-space: nowrap;
    padding: 10px 14px !important;
    border: none !important;
    margin: 0 !important;
  }
  .elementor-element-9b2ec3a .e-n-tab-title[aria-selected="true"] {
    border-bottom: 2px solid #b8955a !important;
  }
  .elementor-element-9b2ec3a .e-n-tabs-content {
    display: block !important;
  }
  .elementor-element-9b2ec3a .e-n-tabs-content > .e-con {
    order: 0 !important;
  }
  .elementor-element-9b2ec3a .e-n-tabs-content > .e-con:not(.e-active) {
    display: none !important;
  }
}


@media (max-width: 767px) {

  /* خنثی کردن Masonry و گرید */
  .wd-blog-element .wd-posts {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    height: auto !important;
  }
  .wd-blog-element .wd-posts > article.wd-post {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* کارت‌های فشرده: عکس راست، متن چپ */
  .wd-blog-element .wd-post-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    padding: 10px !important;
    background: #fff;
    border: 1px solid #eee4d6;
    border-radius: 12px;
    box-shadow: none !important;
    overflow: hidden;
  }
  .wd-blog-element .wd-post-thumb {
    order: -1;
    flex: 0 0 84px !important;
    width: 84px !important;
    height: 84px !important;
    margin: 0 !important;
    border-radius: 8px;
    overflow: hidden;
  }
  .wd-blog-element .wd-post-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .wd-blog-element .wd-post-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    gap: 4px !important;
    overflow: hidden;
  }
  .wd-blog-element .wd-entities-title {
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
  }

  /* حذف موارد اضافی (نویسنده، اشتراک، کامنت، ادامه مطلب) */

  /* خلاصه و تاریخ فقط در کارت شاخص */
  .wd-blog-element article.wd-post:not(:first-of-type) .wd-post-excerpt,
  .wd-blog-element article.wd-post:not(:first-of-type) .wd-post-date {
    display: none !important;
  }

  /* پست اول: کارت شاخص بزرگ */
  .wd-blog-element article.wd-post:first-of-type .wd-post-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
  }
  .wd-blog-element article.wd-post:first-of-type .wd-post-thumb {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }
  .wd-blog-element article.wd-post:first-of-type .wd-post-content {
    padding: 14px 16px 16px !important;
  }
  .wd-blog-element article.wd-post:first-of-type .wd-entities-title {
    font-size: 18px !important;
  }
  .wd-blog-element article.wd-post:first-of-type .wd-post-excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
  }
}



.elementor-element-977fbf0 {
    background-color: var(--offer-bg-dark) !important;
}

/* ---------- Grid: 4 columns, first product big ---------- */
.elementor-element-977fbf0 .wd-products.grid-columns-3 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: auto;
    gap: 16px;
}

.elementor-element-977fbf0 .wd-products.grid-columns-3>.wd-product {
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}

.elementor-element-977fbf0 .wd-products.grid-columns-3>.wd-product:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.elementor-element-977fbf0 .wd-products.grid-columns-3>.wd-product:nth-child(n+2) {
    grid-column: span 1;
    grid-row: span 1;
}

/* ---------- Card ---------- */
.elementor-element-977fbf0 .wd-product-wrapper {
    background: var(--offer-bg-card) !important;
    border: 1px solid var(--offer-line) !important;
    border-radius: 14px !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease;
}

.elementor-element-977fbf0 .wd-product-wrapper>* {
    width: 100%;
    min-width: 0;
}

.elementor-element-977fbf0 .wd-product-wrapper:hover {
    transform: translateY(-4px);
    border-color: var(--offer-accent) !important;
}

/* ---------- Image ---------- */
.elementor-element-977fbf0 .wd-product-thumb {
    flex: none;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.elementor-element-977fbf0 .wd-product-thumb a,
.elementor-element-977fbf0 .wd-product-thumb picture {
    display: block;
    width: 100%;
    height: 100%;
}

.elementor-element-977fbf0 .wd-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* ---------- Text ---------- */
.elementor-element-977fbf0 .wd-entities-title,
.elementor-element-977fbf0 .wd-product-cats {
    white-space: normal !important;
    overflow-wrap: anywhere;
    padding-inline: 8px;
}

.elementor-element-977fbf0 .wd-product:nth-child(1) .wd-entities-title {
    font-size: 1.4rem !important;
}

.elementor-element-977fbf0 .wd-product:nth-child(1) .price {
    font-size: 1.3rem !important;
}

.elementor-element-977fbf0 .wd-entities-title,
.elementor-element-977fbf0 .wd-entities-title a {
    color: var(--offer-cream) !important;
    font-weight: 600 !important;
}

.elementor-element-977fbf0 .wd-product-cats,
.elementor-element-977fbf0 .wd-product-cats a {
    color: var(--offer-cream-dim) !important;
}

.elementor-element-977fbf0 .price,
.elementor-element-977fbf0 .woocommerce-Price-amount {
    color: var(--offer-accent-light) !important;
    font-weight: 700 !important;
}

.elementor-element-977fbf0 .price del,
.elementor-element-977fbf0 .price del .woocommerce-Price-amount {
    color: var(--offer-cream-dim) !important;
    font-weight: 400 !important;
}

.elementor-element-977fbf0 .star-rating {
    color: var(--offer-accent) !important;
}

/* ---------- Button (pinned to bottom) ---------- */
.elementor-element-977fbf0 .wd-add-btn {
    margin-top: auto;
    padding: 10px 8px 14px;
}

.elementor-element-977fbf0 .add_to_cart_button,
.elementor-element-977fbf0 .wd-add-btn .button {
    background: var(--offer-accent) !important;
    color: var(--offer-bg-dark) !important;
    border-color: var(--offer-accent) !important;
}

.elementor-element-977fbf0 .add_to_cart_button:hover {
    background: var(--offer-accent-light) !important;
}

/* ---------- Discount badge (-30%) ---------- */
.elementor-element-977fbf0 .product-label.onsale,
.elementor-element-977fbf0 .product-label.new {
    background: var(--offer-accent) !important;
    color: var(--offer-bg-dark) !important;
}

/* ---------- Tablet & Mobile ---------- */
@media (max-width: 1024px) {
    .elementor-element-977fbf0 .wd-products.grid-columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .elementor-element-977fbf0 .wd-products.grid-columns-3>.wd-product:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .elementor-element-977fbf0 .wd-product:nth-child(1) .wd-product-thumb {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767px) {
    .elementor-element-977fbf0 .wd-product:nth-child(1) .wd-entities-title {
        font-size: 1.15rem !important;
    }

    .elementor-element-977fbf0 .wd-product:nth-child(1) .price {
        font-size: 1.1rem !important;
    }

    .elementor-element-977fbf0 .wd-entities-title {
        font-size: .9rem !important;
        line-height: 1.5;
    }

    .elementor-element-977fbf0 .price del {
        display: block;
    }

    .elementor-element-977fbf0 .add_to_cart_button,
    .elementor-element-977fbf0 .wd-add-btn .button {
        font-size: .8rem !important;
        padding-inline: 10px !important;
    }
}

.pe-card,.pe-card:hover{text-decoration:none;color:inherit}
.pe-card img{transition:transform .5s ease}
.pe-card:hover img{transform:scale(1.04)}
.pe-pill{display:inline-flex;align-items:center;height:48px;padding:0 30px;border-radius:999px;border:1px solid #fff;font-size:15px;color:#fff;transition:background .2s ease,color .2s ease}
.pe-card:hover .pe-pill{background:#fff;color:#141414}
.pe-sub{padding-inline-start:24px;border-inline-start:1px solid #d6d2cb}
@media(max-width:767px){.pe-sub{padding-inline-start:0;border-inline-start:0;width:100%}}
.pe-contain img,.pe-tile img{mix-blend-mode:multiply}
.pe-contain img{width:auto!important;max-width:92%;object-fit:contain}
.pe-h405 img{height:405px!important}.pe-h378 img{height:378px!important}.pe-h343 img{height:343px!important}
@media(max-width:767px){.pe-h405 img,.pe-h378 img,.pe-h343 img{height:300px!important}}
.pe-cover img{width:100%!important;height:440px!important;object-fit:cover}
.pe-aspect{aspect-ratio:5/6}
.pe-tile img{width:100%!important;height:auto!important;object-fit:contain}
.pe-circle img{width:100%!important;height:auto!important;object-fit:contain;mix-blend-mode:multiply}
.pe-circle.pe-circle-cover img{height:100%!important;object-fit:cover;mix-blend-mode:normal}
.pe-invert img{filter:invert(1) brightness(1.6)}
.pe-link a{color:#141414;text-decoration:none}.pe-link a:hover{color:#5b4636}
.pe-flink a{color:#e8e4de;text-decoration:none}.pe-flink a:hover{color:#fff}
/* Woodmart product cards */
.pe-prod .product-element-top,.pe-prod .wd-product .product-image-link{border-radius:14px;overflow:hidden}
.pe-prod .product-element-top{background:#f2f0ec}
.pe-prod .product-element-top img{mix-blend-mode:multiply}
.pe-prod .wd-entities-title,.pe-prod .wd-entities-title a{font-size:18px;font-weight:600;color:#141414}
.pe-prod .price{font-size:16px;color:#141414}
.pe-prod .price del{color:#8a847d;font-size:14px}
.pe-prod .onsale{background:#e2ddd5;color:#5b4636;border-radius:999px;padding:2px 12px;font-weight:600}
/* marquee */
.pe-mq{background:#f2f0ec;overflow:hidden;padding:26px 0;direction:rtl}
.pe-mq-track{display:flex;gap:64px;width:max-content;font-size:38px;white-space:nowrap;color:#141414;animation:peMq 38s linear infinite}
.pe-mq-track b{font-weight:700}
@keyframes peMq{from{transform:translateX(0)}to{transform:translateX(50%)}}
@media(max-width:767px){.pe-mq-track{font-size:26px;gap:40px}}
@media(prefers-reduced-motion:reduce){.pe-mq-track{animation:none}}
/* generic */
.pe-eyebrow{display:flex;align-items:center;gap:10px;font-size:15px;color:#fff}
.pe-eyebrow .st{display:inline-flex;gap:3px;color:#f2c14e}
.pe-stars{display:inline-flex;gap:3px;color:#141414}
.pe-check{display:flex;flex-direction:column;gap:12px;margin-top:10px;font-size:16px;color:#fff}
.pe-check span{display:flex;align-items:center;gap:10px}
.pe-form{background:#fff;color:#141414;border-radius:16px;padding:36px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;box-sizing:border-box}
.pe-form .full{grid-column:1/-1}.pe-form .ft{font-size:20px;font-weight:600}
.pe-form label{display:flex;flex-direction:column;gap:6px;font-size:14px}
.pe-form input{height:48px;border:1px solid #d6d2cb;border-radius:10px;padding:0 14px;font:inherit;font-size:15px;background:#fff;color:#141414}
.pe-form input::placeholder{color:#8a847d}
.pe-form button{height:52px;border:0;border-radius:999px;background:#141414;color:#fff;font:inherit;font-size:16px;cursor:pointer;transition:background .2s}
.pe-form button:hover{background:#3a3633}
@media(max-width:767px){.pe-form{grid-template-columns:1fr;padding:24px}}
.pe-nl{display:flex;align-items:center;border:1px solid #4a4a4a;border-radius:10px;height:48px;padding-inline:14px 4px;gap:8px}
.pe-nl input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:#fff;font:inherit;font-size:14px;outline:none}
.pe-nl input::placeholder{color:#8a847d}
.pe-nl button{width:44px;height:40px;border:0;background:transparent;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.pe-soc{display:flex;gap:6px}.pe-soc a{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:#fff}
.pe-badge{width:64px;height:64px;border:1px dashed #5a5a5a;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:#bdb7b0}
.pe-gf .gform_wrapper input[type=text],.pe-gf .gform_wrapper input[type=tel],.pe-gf .gform_wrapper input[type=email],.pe-gf .gform_wrapper select,.pe-gf .gform_wrapper textarea{height:48px;border:1px solid #d6d2cb !important;border-radius:10px;padding:0 14px;font-size:15px;background:#fff !important;width:100%;box-sizing:border-box}.pe-gf .gform_wrapper textarea{height:auto;padding:12px 14px}.pe-gf .gform_wrapper .gfield_label{font-size:14px;font-weight:400;margin-bottom:6px}.pe-gf .gform_wrapper .gform_footer input[type=submit],.pe-gf .gform_wrapper .gform_footer button,.pe-gf .gform_wrapper .gform_button{width:100%;height:52px;border:0;border-radius:999px;background:#141414;color:#fff;font-size:16px;cursor:pointer;transition:background .2s}.pe-gf .gform_wrapper .gform_footer input[type=submit]:hover,.pe-gf .gform_wrapper .gform_button:hover{background:#3a3633}.pe-gf .gform_wrapper .gform_footer{margin:18px 0 0;padding:0}
div#gfield_instruction_4_24{
	opacity:0;
}
.wd-cat .product-category:nth-child(n+5) {
    display: none;
}
/* ===== اسلایدر پیشنهاد ویژه – نسخه ۴ ===== */
.zh-offer-products .wd-carousel-item { height: auto; }

.zh-offer-products .wd-product {
  height: 100%;
  background: #fff;
  border-radius: 24px;
}

/* چیدمان اصلی */
.zh-offer-products .wd-product .wd-product-wrapper {
  display: grid;
  grid-template-columns: 1fr 44%;
  grid-template-rows: 1fr auto auto auto auto 1fr;
  column-gap: 40px;
  row-gap: 0;
  min-height: 380px;
  padding: 24px 32px !important;
  direction: ltr;
  text-align: right;
  align-items: start;
}

/* ===== تصویر ===== */
.zh-offer-products .wd-product .wd-product-thumb {
  grid-column: 2;
  grid-row: 1 / -1;
  position: relative;
  min-height: 340px;
  margin: 0 !important;
  border-radius: 20px;
  overflow: hidden;
  background: #f7f2ec;
  align-self: stretch;
}
.zh-offer-products .wd-product .wd-product-img-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.zh-offer-products .wd-product .wd-product-thumb img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}
.zh-offer-products .wd-product .wd-product-img-hover { display: none !important; }

/* آیکن‌ها: افقی و پایین تصویر */
.zh-offer-products .wd-product .wd-buttons {
  position: absolute !important;
  top: auto !important;
  bottom: 14px !important;
  inset-inline: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.zh-offer-products .wd-product .wd-buttons .wd-action-btn {
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.zh-offer-products .wd-product .wd-buttons .wd-action-btn > a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(74, 52, 38, .12);
}

/* برچسب تخفیف */
.zh-offer-products .wd-product .product-labels {
  top: 14px !important;
  inset-inline-start: 14px !important;
  z-index: 4;
}

/* ===== ستون اطلاعات ===== */
.zh-offer-products .wd-product .wd-entities-title,
.zh-offer-products .wd-product .wd-product-cats,
.zh-offer-products .wd-product .price,
.zh-offer-products .wd-product .wd-add-btn {
  grid-column: 1;
  width: 100%;
}

/* عنوان (بازنویسی کامل استایل‌های یک‌خطی Woodmart) */
.zh-offer-products .wd-product .wd-entities-title {
  grid-row: 2;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.8 !important;
  color: #3b2a1e;
  white-space: normal !important;
  overflow: visible !important;
}
.zh-offer-products .wd-product .wd-entities-title a {
  display: block !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
}

/* دسته‌بندی‌ها به‌صورت تگ */
.zh-offer-products .wd-product .wd-product-cats {
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px !important;
	justify-content: end;
}
.zh-offer-products .wd-product .wd-product-cats .wd-meta-sep { display: none; }
.zh-offer-products .wd-product .wd-product-cats a {
  padding: 4px 14px;
  border-radius: 20px;
  background: #f5eee6;
  color: #6b5444;
  font-size: 13px;
  line-height: 1.8;
}

/* قیمت */
.zh-offer-products .wd-product .price {
  grid-row: 4;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 0 0 26px !important;
  font-size: 32px;
  font-weight: 800;
  color: #a8843f;
}
.zh-offer-products .wd-product .price ins {
  order: -1;
  text-decoration: none;
  background: none;
}
.zh-offer-products .wd-product .price del {
  font-size: 17px;
  font-weight: 400;
  color: #8a7b70;
  opacity: .8;
}
.zh-offer-products .wd-product .price .woocommerce-Price-currencySymbol {
  font-size: 15px;
  font-weight: 500;
  margin-inline-start: 6px;
}

/* دکمه */
.zh-offer-products .wd-product .wd-add-btn,
.zh-offer-products .wd-product .wd-add-btn-replace {
  grid-row: 5;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  margin: 0 !important;
}
.zh-offer-products .wd-product .wd-add-btn .button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: #4a3426;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
}
.zh-offer-products .wd-product .wd-add-btn .button:hover { background: #2E2520; }
.zh-offer-products .wd-product .wd-add-btn .button:hover { color: #fff !important; }
.zh-offer-products .wd-product .wd-add-btn .wd-action-text {
  display: inline !important;
  writing-mode: horizontal-tb;
}

/* تبلت */
@media (max-width: 1024px) {
  .zh-offer-products .wd-product .wd-product-wrapper {
    grid-template-columns: 1fr 42%;
    column-gap: 24px;
    padding: 20px !important;
  }
  .zh-offer-products .wd-product .wd-entities-title { font-size: 18px !important; }
  .zh-offer-products .wd-product .price { font-size: 26px; }
}

/* موبایل */
@media (max-width: 767px) {
  .zh-offer-products .wd-product .wd-product-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
    padding: 16px !important;
  }
  .zh-offer-products .wd-product .wd-product-thumb {
    grid-column: 1;
    grid-row: auto;
    min-height: 260px;
    margin-bottom: 18px !important;
  }
  .zh-offer-products .wd-product .wd-entities-title,
  .zh-offer-products .wd-product .wd-product-cats,
  .zh-offer-products .wd-product .price,
  .zh-offer-products .wd-product .wd-add-btn {
    grid-column: 1;
    grid-row: auto;
  }
  .zh-offer-products .wd-product .wd-entities-title { font-size: 16px !important;margin-top: 1rem !important;}
  .zh-offer-products .wd-product .price { font-size: 24px; }

	body.rtl .elementor-3669 .elementor-element.elementor-element-68929a6{
    /* left: 0px; */
    /* right: 0 !important; */
    /* width: 100%;
    transform: translate(-15%, 0); */
}

}
/* ===== اصلاحات نسخه ۵ ===== */

/* نوار آیکن‌ها: شناور، بدون پس‌زمینهٔ سفید */
.zh-offer-products .wd-product .wd-product-thumb .wd-buttons {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  inset-inline: 0 !important;
  bottom: 16px !important;
}
.zh-offer-products .wd-product .wd-buttons .wd-action-btn,
.zh-offer-products .wd-product .wd-buttons .wd-action-btn > a {
  background: transparent;
}
.zh-offer-products .wd-product .wd-buttons .wd-action-btn > a {
  background: #fff;
  box-shadow: 0 2px 10px rgba(74, 52, 38, .15);
  transition: transform .2s, background .2s;
}
.zh-offer-products .wd-product .wd-buttons .wd-action-btn > a:hover {
  background: #f5eee6;
  transform: translateY(-2px);
}

/* کادر تصویر: هم‌ارتفاع با کل کارت، بدون لبهٔ اضافه */
.zh-offer-products .wd-product .wd-product-thumb {
  align-self: stretch;
  height: 100%;
  min-height: 360px;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.zh-offer-products .wd-product .wd-product-img-link {
  padding: 28px 28px 64px; /* جا برای آیکن‌های پایین */
}

/* قیمت قبلی */
.zh-offer-products .wd-product .price del {
  font-size: 19px;
  opacity: .7;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.zh-offer-products .wd-product .price del .woocommerce-Price-currencySymbol {
  font-size: 13px;
  margin-inline-start: 0;
}
/* ===== کارت تایمر: آیکن برچسب ===== */
/* .elementor-3669 .elementor-element.elementor-element-68929a6 {
  top: 0 !important;
  inset-inline-end: 50% !important;
  transform: translateX(50%);
  z-index: 1;
	right: 50px !important;
}
.elementor-3669 .elementor-element.elementor-element-68929a6 img {
  width: 90px !important;
  height: auto;
} */
@media (max-width: 767px) {
  .mobile-peek .wd-carousel {
    overflow: visible !important;
  }
  .mobile-peek .wd-carousel-item {
    flex: 0 0 74% !important;
    width: 74% !important;
    max-width: 74% !important;
    transition: transform .4s ease, opacity .4s ease;
    transform: scale(.9);
    opacity: .55;
  }
  .mobile-peek .wd-carousel-item.wd-active {
    transform: scale(1);
    opacity: 1;
  }

.main-footer button#gform_submit_button_1 {
    width: 100% !important;
    margin: 0 !important;
}
}
@media (max-width: 1024px) {
  .whb-header .site-logo .wd-logo img,
  .whb-header .site-logo img {
    width: auto !important;
    max-width: none !important;
    height: 60px !important;
    max-height: 60px !important;
  }
}

.elementor-widget-wd_sidebar .elementor-widget-container{background:#fff;border:1px solid #E7DCC9;border-radius:10px;overflow:hidden;padding:0}
.elementor-widget-wd_sidebar .sidebar-widget{margin:0!important;padding:16px 18px!important;border-bottom:1px solid #E7DCC9!important;background:none!important}
.elementor-widget-wd_sidebar .sidebar-widget:last-child{border-bottom:0!important}
.elementor-widget-wd_sidebar .widget_top_rated_products{display:none!important}
.elementor-widget-wd_sidebar .sidebar-widget .widget-title{color:#2E2620!important;font-size:14px!important;font-weight:700!important;margin:0 0 8px!important;padding:0!important;border:0!important;text-transform:none!important}
.elementor-widget-wd_sidebar .wd-filter-list{margin:0!important;padding:0!important;list-style:none!important}
.elementor-widget-wd_sidebar .wd-filter-list li{display:flex!important;align-items:center;gap:10px;padding:7px 0!important;margin:0!important;font-size:13px;color:#2E2620}
.elementor-widget-wd_sidebar .wd-filter-list li a{display:flex;align-items:center;gap:10px;flex:1;color:#2E2620}
.elementor-widget-wd_sidebar .wd-filter-list li .count,
.elementor-widget-wd_sidebar .wd-filter-list li a .count{margin-inline-start:auto!important;color:#A79A8B!important;font-size:12px!important;background:none!important;border:0!important;padding:0!important;min-width:0!important;height:auto!important}
.elementor-widget-wd_sidebar .wd-filter-list li.chosen a{color:#7C5A34;font-weight:700}
.elementor-widget-wd_sidebar .widget_price_filter + .woodmart-woocommerce-layered-nav .wd-filter-list{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
.elementor-widget-wd_sidebar .widget_price_filter + .woodmart-woocommerce-layered-nav .wd-filter-list li{border:1px solid #E7DCC9;border-radius:8px;padding:9px 10px!important;font-size:12px}
.elementor-widget-wd_sidebar .widget_price_filter + .woodmart-woocommerce-layered-nav .wd-filter-list li.chosen{border-color:#A57C4E;background:#FBF6EC}
.elementor-widget-wd_sidebar .price_slider.ui-slider{height:4px!important;background:#EFE4D1!important;border:0!important;border-radius:4px;margin:22px 4px 14px!important}
.elementor-widget-wd_sidebar .ui-slider-range{background:#A57C4E!important}
.elementor-widget-wd_sidebar .ui-slider-handle{width:16px!important;height:16px!important;background:#fff!important;border:2px solid #A57C4E!important;border-radius:50%!important;top:-6px!important}
.elementor-widget-wd_sidebar .price_slider_amount .button{background:#A57C4E!important;color:#fff!important;border-radius:10px!important}


@media (max-width: 1024px) {
  .wd-side-hidden.wd-col-offcanvas-sm {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 86vh;
    border-radius: 18px 18px 0 0;
    background: #FCFAF6 !important;
    padding: 0 !important;
    transform: translateY(105%) !important;
    transition: transform .3s ease !important;
    box-shadow: 0 -6px 24px rgba(46,38,32,.18);
  }
  .wd-side-hidden.wd-col-offcanvas-sm.wd-opened {
    transform: translateY(0) !important;
  }
  .wd-side-hidden.wd-col-offcanvas-sm::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    background: #D8CDBA;
    border-radius: 4px;
    margin: 8px auto 0;
  }
  .wd-side-hidden.wd-col-offcanvas-sm .wd-heading {
    padding: 10px 16px !important;
    border-bottom: 1px solid #E7DCC9;
    margin: 0 !important;
  }
  .wd-side-hidden.wd-col-offcanvas-sm .elementor-widget-container {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .wd-side-hidden.wd-col-offcanvas-sm .sidebar-widget {
    padding: 14px 16px !important;
  }
  .wd-side-hidden.wd-col-offcanvas-sm .elementor-widget-wd_sidebar {
    padding-bottom: 20px;
  }
}

.wd-page-title .title{
	font-size: 18px !important;
}


.elementor-29259 .elementor-element.elementor-element-2aa60f8 .searchform{
	--wd-form-placeholder-color: #55524d !important;
	
}
.searchform .searchsubmit{
	    --btn-color: #55524d !important;
}