.elementor-3584 .elementor-element.elementor-element-bf287a4{--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;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-3584 .elementor-element.elementor-element-f28fad2{--display:flex;}.elementor-3584 .elementor-element.elementor-element-215b96d > .elementor-widget-container{margin:10px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-3584 .elementor-element.elementor-element-215b96d .woocommerce-breadcrumb{color:var( --e-global-color-secondary );font-size:17px;}.elementor-3584 .elementor-element.elementor-element-215b96d .woocommerce-breadcrumb > a{color:var( --e-global-color-text );}.elementor-3584 .elementor-element.elementor-element-e2e40e6{--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;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--border-radius:15px 15px 15px 15px;box-shadow:0px 0px 30px 0px rgba(0, 0, 0, 0.14);}.elementor-3584 .elementor-element.elementor-element-84e9d48{--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;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:37px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-84e9d48.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-3584 .elementor-element.elementor-element-7c6e503{--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;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-7c6e503.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-3584 .elementor-element.elementor-element-4fce5f6{--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;--gap:13px 0px;--row-gap:13px;--column-gap:0px;--padding-top:14px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-4fce5f6.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-3584 .elementor-element.elementor-element-4ab21b0{--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;--gap:13px 0px;--row-gap:13px;--column-gap:0px;}.elementor-3584 .elementor-element.elementor-element-4ab21b0.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-3584 .elementor-element.elementor-element-233fca6{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-3584 .elementor-element.elementor-element-450a0e7{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-widget-woocommerce-product-title .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-3584 .elementor-element.elementor-element-4572924.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-3584 .elementor-element.elementor-element-4572924 .elementor-heading-title{font-size:26px;font-weight:800;color:var( --e-global-color-primary );}.elementor-3584 .elementor-element.elementor-element-2944ce5{--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;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-b502c5b{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;border-style:solid;--border-style:solid;border-width:1px 0px 0px 0px;--border-top-width:1px;--border-right-width:0px;--border-bottom-width:0px;--border-left-width:0px;border-color:#7B7B8454;--border-color:#7B7B8454;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:14px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-b502c5b.e-con{--flex-grow:0;--flex-shrink:0;}.woocommerce .elementor-3584 .elementor-element.elementor-element-00611b3 .woocommerce-product-details__short-description{color:#7B7B84;font-size:14px;font-weight:200;line-height:26px;}.elementor-widget-woocommerce-product-meta .product_meta .detail-container:not(:last-child):after{border-color:var( --e-global-color-text );}.elementor-3584 .elementor-element.elementor-element-d44d98c > .elementor-widget-container{margin:16px 0px 0px 0px;}.elementor-3584 .elementor-element.elementor-element-d44d98c:not(.elementor-woo-meta--view-inline) .product_meta .detail-container:not(:last-child){padding-bottom:calc(0px/2);}.elementor-3584 .elementor-element.elementor-element-d44d98c:not(.elementor-woo-meta--view-inline) .product_meta .detail-container:not(:first-child){margin-top:calc(0px/2);}.elementor-3584 .elementor-element.elementor-element-d44d98c.elementor-woo-meta--view-inline .product_meta .detail-container{margin-right:calc(0px/2);margin-left:calc(0px/2);}.elementor-3584 .elementor-element.elementor-element-d44d98c.elementor-woo-meta--view-inline .product_meta{margin-right:calc(-0px/2);margin-left:calc(-0px/2);}body:not(.rtl) .elementor-3584 .elementor-element.elementor-element-d44d98c.elementor-woo-meta--view-inline .detail-container:after{right:calc( (-0px/2) + (-1px/2) );}body:not.rtl .elementor-3584 .elementor-element.elementor-element-d44d98c.elementor-woo-meta--view-inline .detail-container:after{left:calc( (-0px/2) - (1px/2) );}.elementor-3584 .elementor-element.elementor-element-d44d98c{font-size:14px;font-weight:400;line-height:25px;color:#7B7B84;}.elementor-3584 .elementor-element.elementor-element-d44d98c a{font-weight:500;}.elementor-3584 .elementor-element.elementor-element-8ddc2eb{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-76c8e25{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:flex-start;--gap:0px 0px;--row-gap:0px;--column-gap:0px;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#D3D3D3;--border-color:#D3D3D3;--border-radius:15px 15px 15px 15px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-76c8e25:not(.elementor-motion-effects-element-type-background), .elementor-3584 .elementor-element.elementor-element-76c8e25 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5F5F5;}.elementor-3584 .elementor-element.elementor-element-e38ccc3{width:var( --container-widget-width, 101.108% );max-width:101.108%;--container-widget-width:101.108%;--container-widget-flex-grow:0;}.elementor-3584 .elementor-element.elementor-element-e38ccc3 > .elementor-widget-container{margin:14px 0px 17px 0px;}.elementor-3584 .elementor-element.elementor-element-e38ccc3.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-3584 .elementor-element.elementor-element-410885a > .elementor-widget-container{margin:0px 0px 20px 0px;padding:0px 13px 0px 0px;}.woocommerce .elementor-widget-woocommerce-product-price .price{color:var( --e-global-color-primary );}.elementor-3584 .elementor-element.elementor-element-ea30669.elementor-element{--flex-grow:0;--flex-shrink:0;}.woocommerce .elementor-3584 .elementor-element.elementor-element-ea30669 .price{color:#23A455;}.elementor-3584 .elementor-element.elementor-element-ead2828{width:var( --container-widget-width, 106.906% );max-width:106.906%;--container-widget-width:106.906%;--container-widget-flex-grow:0;}.elementor-3584 .elementor-element.elementor-element-ead2828 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 6px 0px;}.elementor-3584 .elementor-element.elementor-element-ead2828.elementor-element{--align-self:center;--flex-grow:0;--flex-shrink:0;}.elementor-3584 .elementor-element.elementor-element-ead2828 .cart button, .elementor-3584 .elementor-element.elementor-element-ead2828 .cart .button{font-size:16px;border-style:none;border-radius:8px 8px 8px 8px;padding:12px 033px 12px 025px;background-color:#025464;transition:all 0.2s;}.elementor-3584 .elementor-element.elementor-element-ead2828 .cart button:hover, .elementor-3584 .elementor-element.elementor-element-ead2828 .cart .button:hover{background-color:#FB8B24;}.elementor-3584 .elementor-element.elementor-element-ead2828 .quantity .qty{font-weight:800;border-style:none;border-radius:0px 0px 0px 0px;color:var( --e-global-color-secondary );transition:all 0.2s;}.woocommerce .elementor-3584 .elementor-element.elementor-element-ead2828 form.cart .variations{margin-bottom:0px;}.woocommerce .elementor-3584 .elementor-element.elementor-element-ead2828 form.cart table.variations tr th, .woocommerce .elementor-3584 .elementor-element.elementor-element-ead2828 form.cart table.variations tr td{padding-top:calc( 17px/2 );padding-bottom:calc( 17px/2 );}.elementor-3584 .elementor-element.elementor-element-081f681{--display:flex;}@media(max-width:1024px){.elementor-3584 .elementor-element.elementor-element-e38ccc3 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-3584 .elementor-element.elementor-element-ead2828{width:var( --container-widget-width, 256.542px );max-width:256.542px;--container-widget-width:256.542px;--container-widget-flex-grow:0;}}@media(max-width:767px){.elementor-3584 .elementor-element.elementor-element-215b96d .woocommerce-breadcrumb{font-size:11px;line-height:1.7em;}.elementor-3584 .elementor-element.elementor-element-84e9d48{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-4fce5f6{--width:22px;--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;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-4ab21b0{--width:300px;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-4572924{width:var( --container-widget-width, 288.8px );max-width:288.8px;--container-widget-width:288.8px;--container-widget-flex-grow:0;}.elementor-3584 .elementor-element.elementor-element-4572924 .elementor-heading-title{font-size:20px;line-height:1.7em;}.elementor-3584 .elementor-element.elementor-element-76c8e25{--padding-top:16px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3584 .elementor-element.elementor-element-e38ccc3 > .elementor-widget-container{margin:0px 0px 5px 0px;}.elementor-3584 .elementor-element.elementor-element-ea30669{width:var( --container-widget-width, 299.312px );max-width:299.312px;--container-widget-width:299.312px;--container-widget-flex-grow:0;}.elementor-3584 .elementor-element.elementor-element-ea30669 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-3584 .elementor-element.elementor-element-ead2828{width:var( --container-widget-width, 255px );max-width:255px;--container-widget-width:255px;--container-widget-flex-grow:0;--button-spacing:0px;}.elementor-3584 .elementor-element.elementor-element-ead2828 > .elementor-widget-container{padding:14px 0px 16px 0px;}.elementor-3584 .elementor-element.elementor-element-ead2828.elementor-element{--align-self:center;}.elementor-3584 .elementor-element.elementor-element-ead2828 .cart button, .elementor-3584 .elementor-element.elementor-element-ead2828 .cart .button{font-size:18px;}.elementor-3584 .elementor-element.elementor-element-ead2828 .quantity .qty{font-size:18px;}.woocommerce .elementor-3584 .elementor-element.elementor-element-ead2828 form.cart table.variations label{font-size:17px;}}@media(min-width:768px){.elementor-3584 .elementor-element.elementor-element-7c6e503{--width:33.982%;}.elementor-3584 .elementor-element.elementor-element-4fce5f6{--width:12%;}.elementor-3584 .elementor-element.elementor-element-4ab21b0{--width:87.402%;}.elementor-3584 .elementor-element.elementor-element-233fca6{--width:70%;}.elementor-3584 .elementor-element.elementor-element-b502c5b{--width:50.599%;}}/* Start custom CSS for shortcode, class: .elementor-element-87eee56 */.product-page-share-btns {
    padding-top: 40px;       /* فاصله از بالای محصول */
    display: flex;
    flex-direction: column;  /* ستون */
    gap: 15px;               /* فاصله بین آیکن‌ها */
    list-style: none;         /* فهرست برداشته شد */
}

.product-page-share-btns li {
    display: inline-block;   /* نمایش ساده */
}

.product-page-share-btns li a {
    display: inline-block;
    text-decoration: none;
    color: #000;             /* رنگ آیکن سیاه */
    font-size: 24px;         /* سایز آیکن */
    transition: color 0.3s;
}

.product-page-share-btns li a:hover {
    color: #555;             /* رنگ آیکن هنگام هاور */
}/* End custom CSS */
/* Start custom CSS for woocommerce-product-meta, class: .elementor-element-d44d98c *//* مخفی کردن تکرار SKU */
.product_meta .sku_wrapper .sku {
  display: none;
}

/* مخفی کردن دسته‌بندی‌ها (posted_in) و کلمه Categories */
.product_meta .posted_in,
.product_meta .posted_in .detail-label {
  display: none;
}

/* تنظیم وزن فونت 500 برای همه نوشته‌های متا */
.product_meta,
.product_meta .sku_wrapper .detail-label,
.product_meta .woocommerce_product_date_modified span {
  font-weight: 500 !important;
}

/* اختیاری: کاهش فاصله اضافی */
.product_meta {
  margin-bottom: 10px;
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-e38ccc3 */.product-page-rating-box {
    display: flex;
    align-items: center;
    background: none; /* حذف بک‌گراند */
    border: none;     /* حذف بردر */
    border-radius: 0; /* حذف گردی گوشه‌ها */
    padding: 10px 15px;
    gap: 12px;
}

.product-page-rating-box i {
    font-size: 22px;
    color: #415A77; /* رنگ آیکن */
}

.rating-box-title {
    font-size: 15px;
    font-weight: 700; /* سنگین‌تر از bold پیش‌فرض */
    margin: 0 0 4px;
    color: #415A77;
}

.rating-box-description {
    font-size: 13px;
    font-weight: 500; /* کمی سنگین‌تر از معمول */
    margin: 0;
    color: #555;
    line-height: 1.8;
    
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-410885a */.d-flex.align-items-center.product-page-item-box.product-page-availability-box {
    display: flex;
    align-items: center;
    gap: 13px; /* فاصله بین آیکن و متن */
    background: none; /* بدون پس‌زمینه */
    border: none; /* بدون حاشیه */
    padding: 0; /* حذف padding */
}

.product-page-availability-box i {
    font-size: 22px; /* اندازه آیکن - قابل تغییر */
    color: #415A77; /* رنگ آیکن */
}

.availability-box-title {
    font-size: 13px; /* اندازه متن - قابل تغییر */
    font-weight: normal; /* وزن متن سبک */
    margin: 0;
    color: #555; /* رنگ متن */
}/* End custom CSS */
/* Start custom CSS for woocommerce-product-price, class: .elementor-element-ea30669 */.woocommerce .elementor-1058 .elementor-element.elementor-element-a8986bc .price {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 1px; /* فاصله بین عدد و واحد */
    color: var(--e-global-color-1c460bde);
}

.woocommerce .price .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 600;
    color: #23A455;
}

.woocommerce .price .woocommerce-Price-currencySymbol {
    font-size: 14px;
    font-weight: 400;
    color: #23A455;
}/* End custom CSS */
/* Start custom CSS for woocommerce-product-add-to-cart, class: .elementor-element-ead2828 *//* تغییر جهت flex به عمودی و وسط‌چین کردن دکمه + تعداد */
:is(
    .elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
    .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart
) form.cart.variations_form .woocommerce-variation-add-to-cart,
:is(
    .elementor-widget-woocommerce-product-add-to-cart,
    .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,
    .elementor-widget-wc-add-to-cart,
    .woocommerce div.product .elementor-widget-wc-add-to-cart
) form.cart:not(.grouped_form):not(.variations_form) {
    display: flex !important;
    flex-direction: column !important; /* زیر هم قرار بگیرن */
    align-items: center !important;    /* وسط‌چین افقی */
    justify-content: center !important;
    gap: 10px !important;              /* فاصله بین ورودی تعداد و دکمه */
    width: 100% !important;
    max-width: 100% !important;
}

/* وسط‌چین کردن بخش تعداد */
.woocommerce-variation-add-to-cart .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* استایل مخصوص cpo-inline-panel برای جلوگیری از بیرون زدگی */
.woocommerce div.product .cpo-inline-panel {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;       /* اگر محتوا زیاد شد، بره خط بعد */
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* پدر فرم رو هم محدود کنیم */
.woocommerce div.product form.cart {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
}

/* مخفی کردن لینک مشاهده سبد خرید بعد از افزودن محصول */
a.added_to_cart {
    display: none !important;
}

/* مخفی کردن گزینه ریست تغییرات */
.woocommerce div.product form.cart .reset_variations {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}


/* دکمه داخل cpo-inline-panel بدون تغییر رنگ */
.cpo-inline-panel button.button.cpo-open-modal {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    
    width: 150px;       /* کنترل عرض دکمه */
    height: 40px;       /* کنترل ارتفاع دکمه */
    
    font-size: 18px;    /* سایز متن */
    font-weight: 600;   /* ضخامت فونت */
    border-radius: 10px;
    border: none;
    
    cursor: pointer;
    
    margin-right: 5px; /* فاصله از سمت راست کانتینر */
}/* End custom CSS */
/* Start custom CSS for woocommerce-product-data-tabs, class: .elementor-element-6e33331 *//*
  CSS سفارشی برای تب توضیحات محصول ووکامرس
  هدف: استایل‌دهی اختصاصی روی المان با id="tab-description"
  نواحی پوشش‌داده‌شده:
  - سایز و رنگ هدینگ‌ها (H2-H5) و پاراگراف
  - کنترل فاصله‌ی خطوط با متغیرها
  - گردکردن گوشه‌ی تمام عکس‌ها و ویدیوها
  - پنهان‌کردن کپشن/پاورقی تصاویر و زیرنویس ویدیوها
  - جدول‌ها برای دسکتاپ، تبلت و ریسپانسیو موبایل با اسکرول افقی
*/

/* =========================
   پایه + متغیرهای قابل تنظیم دسکتاپ
   ========================= */
#tab-description {
  /* اندازه‌ها (دسکتاپ) */
  --digi-h2-size: 1.75rem; /* 28px */
  --digi-h3-size: 1.375rem; /* 22px */
  --digi-h4-size: 1.125rem; /* 18px */
  --digi-h5-size: 1rem; /* 16px */
  --digi-p-size: 0.9375rem; /* 15px */

  /* فاصله خطوط (line-height) بیشتر شده */
  --digi-headings-line: 1.6;
  --digi-text-line: 2.1;

  /* گردی گوشه‌ی مدیا در دسکتاپ */
  --digi-media-radius: 15px;
}

#tab-description * {
  box-sizing: border-box;
}

/* =========================
   هدینگ‌ها + پاراگراف‌ها
   ========================= */
#tab-description h2,
#tab-description h3,
#tab-description h4,
#tab-description h5 {
  margin: 0 0 0.75em;
  line-height: var(--digi-headings-line);
  font-weight: 700;
}

#tab-description h2 {
  font-size: var(--digi-h2-size);
  color: #1E601;
}

#tab-description h3 {
  font-size: var(--digi-h3-size);
  color: #1E6091;
}

#tab-description h4 { font-size: var(--digi-h4-size); }
#tab-description h5 { font-size: var(--digi-h5-size); }

#tab-description p,
#tab-description li {
  font-size: var(--digi-p-size);
  line-height: var(--digi-text-line);
}

#tab-description p { margin: 0 0 1em; }

/* =========================
   مدیا: تصاویر، ویدیوها، iframeها
   ========================= */
#tab-description img,
#tab-description video,
#tab-description iframe,
#tab-description figure img,
#tab-description .wp-caption img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--digi-media-radius);
  overflow: hidden;
  margin: 0 auto !important; /* وسط‌چین اجباری */
}

#tab-description figure,
#tab-description .wp-caption {
  border-radius: var(--digi-media-radius);
  overflow: hidden;
  margin: 0 auto 1.25em !important; /* وسط‌چین با حاشیه پایین */
  max-width: 100%;
  display: block;
}

#tab-description figcaption,
#tab-description .wp-caption-text { display: none !important; }

#tab-description video::cue { display: none; }
#tab-description ::cue { display: none; }

#tab-description iframe { border: 0; margin: 0 auto !important; /* وسط‌چین iframe هم */ }

#tab-description {
  padding-bottom: 20px;
}

/* ================================
 ✅ جداول در توضیحات محصول
================================= */
.product-page-digi-tabs .woocommerce-Tabs-panel--description table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.product-page-digi-tabs .woocommerce-Tabs-panel--description table th,
.product-page-digi-tabs .woocommerce-Tabs-panel--description table td {
  padding: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  text-align: right;
}

/* حالت موبایل: جداول اسکرولی */
@media (max-width: 768px) {
  .product-page-digi-tabs .woocommerce-Tabs-panel--description h2 {
    font-size: 16px !important; /* کمی کوچکتر از 18px قبلی */
    line-height: 1.7;
  }

  .product-page-digi-tabs .woocommerce-Tabs-panel--description h3 {
    font-size: 14px !important; /* کمی کوچکتر از 16px قبلی */
    line-height: 2.0;
  }

  .product-page-digi-tabs .woocommerce-Tabs-panel--description h4 {
    font-size: 14px !important;
    line-height: 2.0;
  }

  .product-page-digi-tabs .woocommerce-Tabs-panel--description h5 {
    font-size: 13px !important;
    line-height: 1.9;
  }

  .product-page-digi-tabs .woocommerce-Tabs-panel--description p {
    font-size: 13px !important;
    line-height: 2.1 !important; /* افزایش ارتفاع خط (از 1.9 به 2.1) */
  }

  .product-page-digi-tabs .woocommerce-Tabs-panel--description li {
    font-size: 13px !important; /* برابر با پاراگراف‌ها */
    line-height: 2.1 !important; /* افزایش ارتفاع خط مشابه پاراگراف */
  }

  .product-page-digi-tabs .woocommerce-Tabs-panel--description table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-page-digi-tabs .woocommerce-Tabs-panel--description table th,
  .product-page-digi-tabs .woocommerce-Tabs-panel--description table td {
    font-size: 13px !important;
    padding: 8px;
    white-space: nowrap;
  }

  .product-page-digi-tabs .woocommerce-Tabs-panel--description img,
  .product-page-digi-tabs .woocommerce-Tabs-panel--description video {
    border-radius: 10px !important;
  }
}




/* ================================
✅ باکس توضیحات تکمیلی محصول - پایه برای همه دستگاه‌ها
================================= */
#tab-additional_information {
    background-color: #f9f9f9; /* بک‌گراند کلی تب */
    padding: 5px 20px 25px 20px; /* padding بالا 5px، پایین 25px، چپ/راست 20px */
    border-radius: 10px;
    color: #CAD6E4; /* رنگ متن کلی */
    font-style: normal; /* متن عادی، بدون ایتالیک */
    box-sizing: border-box; /* سازگار با المنتور */
    overflow: hidden; /* جلوگیری از بیرون‌زدگی محتوا */
}

/* عنوان بخش (H2) */
#tab-additional_information h2 {
    font-size: 22px;
    color: #b35c00; /* رنگ نارنجی */
    margin-bottom: 20px;
    font-weight: bold;
    font-style: normal; /* متن عادی */
    text-align: right; /* راست‌چین برای فارسی */
}


/* جدول ویژگی‌ها */
#tab-additional_information table.woocommerce-product-attributes {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px 15px;
    table-layout: fixed;
    margin: 0;
    border: none;
}

/* ردیف‌ها */
#tab-additional_information table.woocommerce-product-attributes tr {
    display: table-row;
    background-color: transparent;
}

/* ستون عنوان ویژگی‌ها */
#tab-additional_information th.woocommerce-product-attributes-item__label {
    text-align: right;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    background-color: #025464;
    width: 30%;
    white-space: normal;
    word-wrap: break-word;
    font-style: normal;
    vertical-align: top;
    border: 2px solid #1d6090; /* رنگ بردر متناسب با بک‌گراند */
    border-radius: 8px;
}

/* ستون مقدار ویژگی‌ها */
#tab-additional_information td.woocommerce-product-attributes-item__value {
    color: #ffffff;
    background-color: #8eafc8;
    padding: 12px 15px;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    font-style: normal;
    vertical-align: top;
    text-align: right;
    width: 70%;
    border: 2px solid #8eafc8; /* رنگ بردر متناسب با بک‌گراند */
    border-radius: 8px;
}


/* لینک‌ها داخل مقدار ویژگی */
#tab-additional_information td.woocommerce-product-attributes-item__value a {
    color: #f9f9f9; /* رنگ لینک سفید روشن */
    text-decoration: none;
}

#tab-additional_information td.woocommerce-product-attributes-item__value a:hover {
    color: #ffd966; /* رنگ هاور زرد */
    text-decoration: underline;
}

/* ریسپانسیو برای تبلت (768px تا 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    #tab-additional_information th.woocommerce-product-attributes-item__label {
        width: 35%; /* عرض کمی بیشتر */
        font-size: 14px;
        padding: 10px 12px; /* حداقل 5px */
        border-radius: 8px 0 0 8px; /* گردی 8px */
    }
    
    #tab-additional_information td.woocommerce-product-attributes-item__value {
        width: 65%;
        font-size: 14px;
        padding: 10px 12px;
        border-radius: 0 8px 8px 0; /* گردی 8px */
    }
    
    #tab-additional_information table.woocommerce-product-attributes {
        border-spacing: 2px 12px; /* فاصله افقی 2px، عمودی 12px */
    }
}

/* ریسپانسیو برای موبایل (کمتر از 768px) - بدون تغییر، عالی نگه داشته شد */
@media (max-width: 767px) {
    #tab-additional_information {
        padding: 20px 15px; /* padding کمتر */
    }
    
    #tab-additional_information h2 {
        font-size: 20px; /* اندازه عنوان کوچکتر */
    }
    
    #tab-additional_information table.woocommerce-product-attributes {
        display: block; /* جدول به بلوک */
        border-spacing: 0;
    }
    
    #tab-additional_information table.woocommerce-product-attributes tbody {
        display: block;
    }
    
    #tab-additional_information table.woocommerce-product-attributes tr {
        display: block;
        margin-bottom: 15px; /* فضای بین ردیف‌ها */
        border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
    }
    
    #tab-additional_information table.woocommerce-product-attributes tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    #tab-additional_information th.woocommerce-product-attributes-item__label,
    #tab-additional_information td.woocommerce-product-attributes-item__value {
        display: block; /* عمودی */
        width: 100%; /* فول‌ویدث */
        font-size: 14px;
        padding: 10px 12px;
        border-radius: 8px; /* گردی 8px */
        text-align: right;
    }
    
    #tab-additional_information th.woocommerce-product-attributes-item__label {
        border-radius: 8px 8px 0 0; /* گوشه بالا گرد */
        margin-bottom: -1px; /* چسباندن به مقدار */
        background-color: #1d6090; /* بدون تغییر */
        color: #ffffff;
    }
    
    #tab-additional_information td.woocommerce-product-attributes-item__value {
        border-radius: 0 0 8px 8px; /* گوشه پایین گرد */
        background-color: #8eafc8; /* بدون تغییر */
        color: #ffffff;
    }
    
    /* جلوگیری از تداخل با تب توضیحات */
    #tab-description table,
    #tab-description th,
    #tab-description td {
        /* هیچ تغییری اعمال نمی‌شه */
    }
}

#tab-additional_information {
    margin-top: 2px; /* فاصله خارجی 8px از بالا */
}

.tabs.wc-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 12px 16px;
  text-align: center;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 999;
  border-bottom: 1px solid #ddd;
}

.tabs.wc-tabs .tab-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-decoration: none;
  color: #43454D;
  background-color: #fff;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 14px;
  flex-shrink: 0;
}

.tabs.wc-tabs .tab-title svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.tabs.wc-tabs .tab-title:hover {
  background-color: #f9f9f9;
}

.tabs.wc-tabs .tab-title.active {
  background-color: #eaeaea;
  border-color: #999;
}

/* ✅ فقط در موبایل تغییر سایز */
@media (max-width: 768px) {
  .tabs.wc-tabs {
    overflow-x: hidden;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 8px 10px;
  }

  .tabs.wc-tabs .tab-title {
    padding: 4px 8px;
    font-size: 12px;
    max-width: 90px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 6px;
  }

  .tabs.wc-tabs .tab-title svg {
    width: 16px;
    height: 16px;
  }
}/* End custom CSS */