:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(86,115,96);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(86,115,96);
	--btn-accented-bgcolor-hover: rgb(86,115,96);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,248,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,248,246);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,248,246);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,248,246);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,248,246);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,248,246);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,248,246);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


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

/* =========================================
   QASR PAPLI | UNIFIED WOODMART CSS
   ========================================= */

:root {
  --papli-green: #00563B;
  --papli-dark: #003D2A;
  --papli-gold: #E5CB91;
}

/* 1. مخفی‌سازی بخش‌های پیش‌فرض حساب */
/* فقط نشانی و جزئیات حساب مخفی می‌مانند */
body.woocommerce-account :is(
  .woocommerce-MyAccount-navigation-link--edit-address,
  .woocommerce-MyAccount-navigation-link--edit-account,
  li.wd-my-acc-edit-address,
  li.wd-my-acc-edit-account,
  .my-account-box:has(a[href*="/edit-address/"]),
  .my-account-box:has(a[href*="/edit-account/"])
) {
  display: none !important;
}

/* 2. حذف پیام‌های ثبت‌نام اضافی پاپ‌آپ */
:is(
  .woodmart-login-side-element,
  .woodmart-my-account-popup,
  .login-form-side,
  .woodmart-user-panel
) :is(
  .create-account-question,
  .register-question,
  .login-side-footer
),
.woodmart-my-account-popup a[href*="register"] {
  display: none !important;
}

/* 3. حذف متن‌های پیش‌فرض پیشخوان */
body.woocommerce-account.woocommerce-dashboard
.woocommerce-MyAccount-content > p:first-of-type,
body.woocommerce-account.woocommerce-dashboard
.woocommerce-MyAccount-content > p:nth-of-type(2) {
  display: none !important;
}

/* 4. حذف مرتب‌سازی محصولات */
body:is(.post-type-archive-product, .tax-product_cat)
form.woocommerce-ordering {
  display: none !important;
}

/* 5. طراحی اصلی کارت‌های حساب کاربری */
body.woocommerce-account
ul.wd-my-account-links.wd-nav-my-acc > li > a {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  min-height: 180px !important;
  padding: 25px 15px !important;
  border: 1px solid rgba(0,86,59,.10) !important;
  border-radius: 20px !important;
  background: linear-gradient(145deg,#fff,#F0F3E9) !important;
  box-shadow: 0 5px 18px rgba(0,55,35,.07) !important;
  transition: background .3s, transform .3s,
              box-shadow .3s, border-color .3s !important;
  overflow: hidden !important;
}

/* دایره تزئینی طلایی */
body.woocommerce-account
ul.wd-my-account-links.wd-nav-my-acc > li > a::after {
  content: "" !important;
  position: absolute !important;
  width: 100px !important;
  height: 100px !important;
  top: -45px !important;
  left: -35px !important;
  border: 1px solid rgba(185,154,97,.22) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}

/* آیکون کارت‌ها */
body.woocommerce-account
ul.wd-my-account-links.wd-nav-my-acc li > a .wd-nav-icon {
  color: var(--papli-green) !important;
  font-size: 43px !important;
  line-height: 1 !important;
  transition: color .3s !important;
}

/* نوشته کارت‌ها */
body.woocommerce-account
ul.wd-my-account-links.wd-nav-my-acc li > a .nav-link-text {
  color: var(--papli-dark) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  transition: color .3s !important;
}

/* افکت هاور */
@media (hover: hover) {
  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc > li > a:hover {
    background: linear-gradient(145deg,#00563B,#08704C) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 26px rgba(0,86,59,.20) !important;
    border-color: transparent !important;
  }

  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc li > a:hover .wd-nav-icon {
    color: var(--papli-gold) !important;
  }

  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc li > a:hover .nav-link-text {
    color: #fff !important;
  }
}

/* 6. کارت‌های اختصاصی */

/* کیف پول */
body.woocommerce-account
ul.wd-my-account-links.wd-nav-my-acc li.wd-my-acc-wallet-topup > a {
  background: linear-gradient(145deg,#E7F0E8,#fff) !important;
  border-color: rgba(0,86,59,.22) !important;
}

/* پنل فراز */
body.woocommerce-account
ul.wd-my-account-links.wd-nav-my-acc li.wd-my-acc-faraz-panel > a {
  background: linear-gradient(145deg,#F5F0E4,#fff) !important;
  border-color: rgba(185,154,97,.25) !important;
}

/* خروج */
body.woocommerce-account
ul.wd-my-account-links.wd-nav-my-acc li.wd-my-acc-customer-logout > a {
  background: #F8EFEB !important;
  border-color: #EBDAD2 !important;
}

body.woocommerce-account
ul.wd-my-account-links.wd-nav-my-acc
li.wd-my-acc-customer-logout > a :is(.wd-nav-icon,.nav-link-text) {
  color: #90554B !important;
}

/* هاور هماهنگ کارت‌های اختصاصی */
@media (hover: hover) {
  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc
  li:is(.wd-my-acc-wallet-topup,.wd-my-acc-faraz-panel,.wd-my-acc-customer-logout) > a:hover {
    background: linear-gradient(145deg,#00563B,#08704C) !important;
    border-color: transparent !important;
  }

  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc
  li.wd-my-acc-customer-logout > a:hover .wd-nav-icon {
    color: var(--papli-gold) !important;
  }

  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc
  li.wd-my-acc-customer-logout > a:hover .nav-link-text {
    color: #fff !important;
  }
}

/* 7. نسخه موبایل */
@media (max-width: 767px) {
  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc > li > a {
    min-height: 155px !important;
    padding: 19px 10px !important;
    border-radius: 17px !important;
    gap: 12px !important;
  }

  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc li > a .wd-nav-icon {
    font-size: 39px !important;
  }

  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc li > a .nav-link-text {
    font-size: 14px !important;
  }
}

/* 8. کاهش حرکت برای دسترس‌پذیری */
@media (prefers-reduced-motion: reduce) {
  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc > li > a,
  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc > li > a * {
    transition: none !important;
  }

  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc > li > a:hover {
    transform: none !important;
  }
}

/* QASR PAPLI - Logout Card Red Hover */

@media (hover: hover) {
  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc
  li.wd-my-acc-customer-logout > a:hover {
    background: linear-gradient(
      145deg,
      #A83232,
      #C94B4B
    ) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 26px rgba(168, 50, 50, .22) !important;
  }

  /* آیکون و نوشته سفید شوند */
  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc
  li.wd-my-acc-customer-logout > a:hover .wd-nav-icon,
  body.woocommerce-account
  ul.wd-my-account-links.wd-nav-my-acc
  li.wd-my-acc-customer-logout > a:hover .nav-link-text {
    color: #FFFFFF !important;
  }
}

/* ==========================================
   QASR PAPLI | HEADER ACCOUNT DROPDOWN
   Hide unwanted WooCommerce menu items
========================================== */

/* فقط نشانی و جزئیات حساب در منوی هدر مخفی شوند */
.wd-header-my-account :is(
    .woocommerce-MyAccount-navigation-link--edit-address,
    .woocommerce-MyAccount-navigation-link--edit-account,
    .wd-my-acc-edit-address,
    .wd-my-acc-edit-account
) {
    display: none !important;
}

/* پوشش ساختار لینک‌های منوی کشویی وودمارت */
.wd-header-my-account .wd-dropdown-menu
li:has(> a[href*="/edit-address/"]),
.wd-header-my-account .wd-dropdown-menu
li:has(> a[href*="/edit-account/"]) {
    display: none !important;
}

/* QASR PAPLI | Hide Email Verification Notice Only */

.woocommerce-account
.woocommerce-MyAccount-content
.woocommerce-info:has(a[href*="wc_send_verification"]) {
    display: none !important;
}

/* ==========================================
   QASR PAPLI | HIDE BILLING ADDRESS
   ONLY ON ORDER CONFIRMATION PAGE
========================================== */

/* QASR PAPLI | Hide Billing Details
   On Thank You & View Order Pages */

body.woocommerce-order-received
.woocommerce-order
.woocommerce-customer-details,

body.woocommerce-account.woocommerce-view-order
.woocommerce-customer-details {
    display: none !important;
}

/* Qasr Papli - Hide email on thank-you page */
.woocommerce-order-received
.woocommerce-order-overview__email {
    display: none !important;
}

/* Qasr Papli - Hide address and account details in mobile menu */

@media (max-width: 1024px) {

    .mobile-nav .woocommerce-MyAccount-navigation-link--edit-address,
    .mobile-nav .woocommerce-MyAccount-navigation-link--edit-account,

    .mobile-nav a[href*="/my-account/edit-address/"],
    .mobile-nav a[href*="/my-account/edit-account/"],

    .wd-nav-mobile .woocommerce-MyAccount-navigation-link--edit-address,
    .wd-nav-mobile .woocommerce-MyAccount-navigation-link--edit-account,

    .wd-nav-mobile a[href*="/my-account/edit-address/"],
    .wd-nav-mobile a[href*="/my-account/edit-account/"] {
        display: none !important;
    }

}

/* Qasr Papli - Mobile Single Line Prices */

@media (max-width: 767px) {

    .wd-products .price:has(.papli-weight-price),
    .products .price:has(.papli-weight-price) {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    .wd-products .papli-weight-price,
    .products .papli-weight-price {
        display: block !important;
        width: 100% !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: -0.4px !important;
        line-height: 1.8 !important;
        text-align: center !important;
    }

    .wd-products .papli-weight-note,
    .products .papli-weight-note {
        display: block !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        text-align: center !important;
    }

}
/* Qasr Papli - Desktop Price Note */

@media (min-width: 1025px) {

    .wd-products .papli-weight-note,
    .products .papli-weight-note {
        font-size: 15px !important;
        font-weight: 600 !important;
        white-space: normal !important;
    }

}

/* Papli - Product variation selector */

.single-product .variations select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(0, 86, 59, 0.35);
    border-radius: 10px;
    background-color: #fff;
    padding: 10px 14px;
    font-size: 15px;
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

.single-product .variations select:focus {
    border-color: #00563b;
    box-shadow: 0 0 0 3px rgba(0, 86, 59, 0.08);
    outline: none;
}

.single-product .variations label {
    color: #00563b;
    font-weight: 600;
}

/* Papli - Rounded quantity selector */

.single-product form.cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #00563b !important;
    border-radius: 50px !important;
    background: #fff !important;
    overflow: hidden !important;
    gap: 0 !important;
    padding: 0 !important;
}

.single-product form.cart .quantity input,
.single-product form.cart .quantity .plus,
.single-product form.cart .quantity .minus {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #00563b !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-product form.cart .quantity .plus,
.single-product form.cart .quantity .minus {
    width: 38px !important;
    font-size: 18px !important;
    transition: all .2s ease;
}

.single-product form.cart .quantity .qty {
    width: 36px !important;
    text-align: center !important;
}

.single-product form.cart .quantity .plus:hover,
.single-product form.cart .quantity .minus:hover {
    background: #00563b !important;
    color: #fff !important;
}

/* Papli - Compact quantity selector */

.single-product form.cart .quantity input,
.single-product form.cart .quantity .plus,
.single-product form.cart .quantity .minus {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 14px !important;
}

.single-product form.cart .quantity .plus,
.single-product form.cart .quantity .minus,
.single-product form.cart .quantity .qty {
    width: 22px !important;
    min-width: 22px !important;
}

/* Papli - Short product description */

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-product-details__short-description p {
    color: #E20000 !important;
    font-weight: 900 !important;
}

/* Papli - Extra Product Options fields */

.single-product .tm-extra-product-options select,
.single-product .tm-extra-product-options input[type="text"],
.single-product .tm-extra-product-options input.tmcp-date,
.single-product .tm-extra-product-options textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(0, 86, 59, 0.35) !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    padding: 10px 14px;
    font-size: 15px;
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

/* Focus effect */

.single-product .tm-extra-product-options select:focus,
.single-product .tm-extra-product-options input[type="text"]:focus,
.single-product .tm-extra-product-options input.tmcp-date:focus,
.single-product .tm-extra-product-options textarea:focus {
    border-color: #00563b !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 59, 0.08) !important;
    outline: none;
}

/* Papli - Extra Product Options time field */

.single-product input[type="time"].tmcp-time {
    width: 100%;
    min-height: 48px !important;
    border: 1px solid rgba(0, 86, 59, 0.35) !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

.single-product input[type="time"].tmcp-time:focus {
    border-color: #00563b !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 59, 0.08) !important;
    outline: none !important;
}

/* Papli - Mobile time field clock icon */

@media (max-width: 767px) {
    .single-product input[type="time"].tmcp-time {
        -webkit-appearance: none !important;
        appearance: none !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: left 14px center !important;
        background-size: 18px 18px !important;
        padding-left: 36px !important;
    }
}

/* Papli - EPO tooltip icon color */

.single-product .tm-extra-product-options .tm-tooltip {
    color: #E20000 !important;
}

/* Papli - Calendar icon color */

.single-product .ui-tm-datepicker-trigger,
.single-product .ui-tm-datepicker-trigger::before,
.single-product .ui-tm-datepicker-trigger::after {
    color: #00563b !important;
}

/* Papli - Add to cart button radius */

.single-product .single_add_to_cart_button {
    border-radius: 10px !important;
}

/* Papli - Mobile EPO field titles */
@media (max-width: 767px) {
    .single-product .tm-extra-product-options .tc-epo-label {
        font-size: 18px !important;
    }
}

/* Papli - Hide product SKU */
.single-product .product_meta .sku_wrapper {
    display: none !important;
}

/* Papli - EPO radio button color */
.single-product .tm-extra-product-options input[type="radio"].tmcp-radio {
    accent-color: #00563b !important;
}

/* Papli - Product review form */

/* فیلدهای فرم دیدگاه */
.single-product #review_form textarea,
.single-product #review_form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]) {
    background-color: #fff !important;
    border: 1px solid rgba(0, 86, 59, 0.35) !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    transition: border-color .25s ease, box-shadow .25s ease;
}

/* حالت انتخاب فیلد */
.single-product #review_form textarea:focus,
.single-product #review_form input:focus {
    border-color: #00563b !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 59, 0.08) !important;
    outline: none !important;
}

/* ارتفاع کادر دیدگاه */
.single-product #review_form textarea {
    height: 130px !important;
    min-height: 130px !important;
    resize: vertical;
}

/* رنگ عنوان فیلدها */
.single-product #review_form label {
    color: #00563b;
    font-weight: 600;
}

/* رنگ ستاره‌های امتیازدهی */
.single-product #review_form p.stars a:hover,
.single-product #review_form p.stars.selected a.active,
.single-product #review_form p.stars.selected a:not(.active) {
    color: #D4A017;
}

/* دکمه ثبت دیدگاه */
.single-product #review_form input[type="submit"],
.single-product #review_form button[type="submit"] {
    background-color: #00563b !important;
    color: #fff !important;
    border-radius: 10px !important;
}

/* آیکون راهنمای افزودن تصویر */
.single-product #review_form .tm-tooltip {
    color: #E20000 !important;
}

/* Papli - Review rating stars */
.single-product #review_form .comment-form-rating p.stars a {
    color: #D4A017 !important;
}

.single-product #review_form .comment-form-rating p.stars a::before {
    color: #D4A017 !important;
}

/* Papli - Review image upload tooltip */
.single-product #review_form .wd-add-img-btn-wrapper .wd-hint,
.single-product #review_form .wd-add-img-btn-wrapper .wd-hint::before {
    background-color: #E20000 !important;
    color: #fff !important;
    border-radius: 50% !important;
}

/* Papli - Wishlist Button */

/* ظاهر اصلی دکمه */
.single-product .summary-inner .wd-wishlist-btn a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    background: #fff !important;
    color: #00563b !important;
    border: 1px solid rgba(0,86,59,.35) !important;
    border-radius: 50px;
    padding: 12px 22px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0,0,0,.05);
    transition: all .25s ease;
    opacity: 1 !important;
}

/* رنگ متن و آیکون */
.single-product .summary-inner .wd-wishlist-btn a *,
.single-product .summary-inner .wd-wishlist-btn a:before {
    color: inherit !important;
    opacity: 1 !important;
}

/* هاور حالت افزودن - کامپیوتر */
@media (hover: hover) {
    .single-product .summary-inner .wd-wishlist-btn a:not(.added):hover {
        background: #00563b !important;
        color: #fff !important;
        border-color: #00563b !important;
    }
}

/* حالت حذف از علاقه‌مندی */
.single-product .summary-inner .wd-wishlist-btn a.added,
.single-product .summary-inner .wd-wishlist-btn a.added:hover {
    background: #d32f2f !important;
    color: #fff !important;
    border-color: #d32f2f !important;
}

/* حذف محتوای داخلی فقط در حالت حذف */
.single-product .summary-inner .wd-wishlist-btn a.added > * {
    display: none !important;
}

.single-product .summary-inner .wd-wishlist-btn a.added {
    font-size: 0 !important;
}

/* آیکون قلب در حالت حذف */
.single-product .summary-inner .wd-wishlist-btn a.added:before {
    content: "♡" !important;
    display: inline-block !important;
    font-family: Arial, sans-serif !important;
    font-size: 25px !important;
    color: #fff !important;
    line-height: 1 !important;
}

/* متن فارسی فقط یک بار */
.single-product .summary-inner .wd-wishlist-btn a.added:after {
    content: "حذف از علاقه‌مندی" !important;
    display: inline-block !important;
    position: static !important;
    font-family: inherit !important;
    font-size: 14px !important;
    color: #fff !important;
    line-height: 1.5 !important;
    transform: none !important;
    opacity: 1 !important;
    white-space: nowrap;
}

/* تنظیمات موبایل */
@media (max-width: 767px) {
    .single-product .summary-inner .wd-wishlist-btn a {
        padding: 11px 18px;
        font-size: 14px;
    }
}
/* Restore wishlist loading animation */

.single-product .summary-inner .wd-wishlist-btn a.added.loading:before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255,255,255,.35) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: papli-wishlist-loading .6s linear infinite !important;
}

@keyframes papli-wishlist-loading {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Papli - Product Categories
   ======================================== */

/* باکس اصلی دسته‌بندی */
.single-product .summary-inner .product_meta .posted_in {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    padding: 14px;
    margin: 12px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
    line-height: 1.9;
}

/* عنوان دسته */
.single-product .summary-inner .posted_in .meta-label {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    background: rgba(0,86,59,.09);
    color: #00563b !important;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* آیکون لایه‌ها کنار عنوان */
.single-product .summary-inner .posted_in .meta-label::before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 10 6-10 6L2 8l10-6zM2 12l10 6 10-6M2 16l10 6 10-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* حذف ویرگول بین دسته‌ها */
.single-product .summary-inner .posted_in .meta-sep {
    display: none !important;
}

/* ظاهر هر دسته */
.single-product .summary-inner .posted_in > a {
    position: relative;
    display: inline-block;
    isolation: isolate;
    max-width: 100%;
    padding: 2px 7px;
    margin: 0 !important;
    color: #333 !important;
    font-weight: 500;
    text-decoration: none !important;
    transition: color .25s ease;
}

/* هایلایت ماژیکی سبز */
.single-product .summary-inner .posted_in > a::before {
    content: "";
    position: absolute;
    inset: 3px -1px;
    z-index: -1;
    pointer-events: none;
    background: rgba(0,86,59,.12);
    clip-path: polygon(
        2% 12%, 12% 5%, 29% 9%,
        48% 2%, 67% 8%, 84% 3%,
        98% 12%, 96% 30%, 100% 47%,
        97% 65%, 99% 87%, 82% 94%,
        65% 89%, 44% 98%, 24% 92%,
        3% 96%, 5% 74%, 0% 56%,
        3% 35%
    );
    transform: rotate(-.6deg);
    transition: background .25s ease;
}

/* تنوع شکل هایلایت دسته‌ها */
.single-product .summary-inner .posted_in > a:nth-of-type(even)::before {
    transform: rotate(.7deg);
}

/* حالت هاور */
@media (hover: hover) {
    .single-product .summary-inner .posted_in > a:hover {
        color: #00563b !important;
    }

    .single-product .summary-inner .posted_in > a:hover::before {
        background: rgba(0,86,59,.23);
    }
}

/* تنظیمات موبایل */
@media (max-width: 767px) {
    .single-product .summary-inner .product_meta .posted_in {
        padding: 12px;
        gap: 7px;
        font-size: 13px;
    }

    .single-product .summary-inner .posted_in .meta-label {
        padding: 5px 8px;
    }

    .single-product .summary-inner .posted_in .meta-label::before {
        width: 18px;
        height: 18px;
    }
}
/* ========================================
   Papli - Product Social Sharing
   ======================================== */

/* باکس اصلی اشتراک گذاری */
.single-product .summary-inner .product-share.wd-social-icons {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    padding: 14px;
    margin: 12px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

/* عنوان اشتراک گذاری */
.single-product .summary-inner .product-share .share-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #00563b !important;
    font-weight: 700;
    margin: 0 !important;
    white-space: nowrap;
}

/* آیکون کنار عنوان */
.single-product .summary-inner .product-share .share-title::before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.7 10.5 6.6-4M8.7 13.5l6.6 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* باکس اختصاصی هر شبکه اجتماعی */
.single-product .summary-inner .product-share a.wd-social-icon {
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 11px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,.06);
    transition: all .25s ease;
}

/* رنگ اختصاصی فیسبوک */
.single-product .summary-inner .product-share .social-facebook {
    color: #1877f2 !important;
}

/* رنگ اختصاصی X */
.single-product .summary-inner .product-share .social-twitter {
    color: #111 !important;
}

/* رنگ اختصاصی پینترست */
.single-product .summary-inner .product-share .social-pinterest {
    color: #e60023 !important;
}

/* رنگ اختصاصی واتساپ */
.single-product .summary-inner .product-share .social-whatsapp {
    color: #25d366 !important;
}

/* رنگ اختصاصی تلگرام */
.single-product .summary-inner .product-share .social-tg {
    color: #229ed9 !important;
}

/* انتقال رنگ به آیکون داخلی */
.single-product .summary-inner .product-share .wd-icon,
.single-product .summary-inner .product-share .wd-icon::before {
    color: inherit !important;
    font-size: 18px;
    opacity: 1 !important;
}

/* حالت هاور در کامپیوتر */
@media (hover: hover) {
    .single-product .summary-inner .product-share a.wd-social-icon:hover {
        background: #00563b !important;
        border-color: #00563b !important;
        color: #fff !important;
        transform: translateY(-2px);
    }
}

/* تنظیمات موبایل */
@media (max-width: 767px) {

    .single-product .summary-inner .product-share.wd-social-icons {
        padding: 12px;
        gap: 5px;
    }

    .single-product .summary-inner .product-share .share-title {
        font-size: 13px;
        gap: 5px;
    }

    .single-product .summary-inner .product-share .share-title::before {
        width: 18px;
        height: 18px;
    }

    .single-product .summary-inner .product-share a.wd-social-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        border-radius: 9px !important;
    }

    .single-product .summary-inner .product-share .wd-icon,
    .single-product .summary-inner .product-share .wd-icon::before {
        font-size: 16px;
    }
}

/* ==========================================
   PAPLI - PRODUCT REVIEWS
   Final Unified Design
   Desktop & Mobile
   ========================================== */

/* 01 - رنگ های اختصاصی */

.single-product {
    --papli-review-green: #00563b;
    --papli-review-gold: #c49a3c;
    --papli-review-border: rgba(196,154,60,.65);
    --papli-review-gradient: linear-gradient(
        110deg,
        rgba(196,154,60,.12),
        rgba(0,86,59,.09)
    );
    --papli-review-chat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11a9 9 0 0 1-9 9H8l-5 3 1.5-6A9 9 0 1 1 21 11Z'/%3E%3Cpath d='M8 11h.01M12 11h.01M16 11h.01' stroke-width='3'/%3E%3C/svg%3E");
}

/* ==========================================
   02 - عنوان نظرات در کامپیوتر
   ========================================== */

.single-product #tab-title-reviews .wd-nav-link {
    padding: 0 !important;
}

.single-product #tab-title-reviews .wd-tabs-title {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--papli-review-gradient);
    color: var(--papli-review-green) !important;
    border: 1px solid var(--papli-review-border);
    border-radius: 50px;
    padding: 10px 18px;
    font-weight: 700;
}

.single-product #tab-title-reviews .wd-tabs-title::after {
    display: none !important;
}

.single-product #tab-title-reviews .wd-tabs-title::before {
    content: "" !important;
    display: inline-block !important;
    position: static !important;
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    background: var(--papli-review-chat-icon)
                center / contain no-repeat !important;
}

/* ==========================================
   03 - عنوان نظرات در موبایل
   ========================================== */

.single-product #tab-item-title-reviews {
    background: #fff !important;
    border: 1px solid var(--papli-review-border) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    margin-bottom: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.single-product #tab-item-title-reviews
.wd-accordion-title-text {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: var(--papli-review-gradient);
    color: var(--papli-review-green) !important;
    border: 1px solid rgba(196,154,60,.35);
    border-radius: 50px;
    padding: 8px 13px;
    font-weight: 700;
}

.single-product #tab-item-title-reviews
.wd-accordion-title-text span {
    color: var(--papli-review-green) !important;
}

.single-product #tab-item-title-reviews
.wd-accordion-title-text::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: var(--papli-review-chat-icon)
                center / contain no-repeat;
}

/* حفظ فلش اصلی باز و بسته شدن */

.single-product #tab-item-title-reviews
.wd-accordion-opener {
    color: var(--papli-review-green) !important;
}

/* ==========================================
   04 - باکس اصلی نظرات
   ========================================== */

.single-product #reviews {
    background: #fff;
    border: 1px solid var(--papli-review-border) !important;
    border-radius: 18px;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.single-product #reviews .woocommerce-Reviews-title {
    color: var(--papli-review-green);
    font-weight: 700;
    font-size: 17px;
}

/* ==========================================
   05 - حالت بدون دیدگاه
   ========================================== */

.single-product #reviews
#comments:has(.woocommerce-noreviews)
.wd-reviews-heading {
    display: none !important;
}

.single-product #reviews:has(.woocommerce-noreviews) {
    row-gap: 15px !important;
}

.single-product #reviews
#comments:has(.woocommerce-noreviews),

.single-product #reviews
.wd-reviews-content:has(.woocommerce-noreviews) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}

.single-product #reviews .woocommerce-noreviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: #666;
    font-weight: 500;
    line-height: 1.9;
    padding: 10px 0 0 !important;
    margin: 0 !important;
}

/* تصویر گفتگو */

.single-product #reviews .woocommerce-noreviews::before {
    content: "";
    display: block;
    width: 95px;
    height: 85px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 90'%3E%3Cellipse cx='52' cy='49' rx='43' ry='28' fill='%23f6efd9' transform='rotate(-15 52 49)'/%3E%3Cpath d='M80 40c0 17-14 29-31 29h-9L24 80l4-18C8 45 23 14 49 14c17 0 31 10 31 26Z' fill='white' stroke='%2300563b' stroke-width='3' stroke-linejoin='round'/%3E%3Cg fill='%2300563b'%3E%3Ccircle cx='36' cy='40' r='3'/%3E%3Ccircle cx='49' cy='40' r='3'/%3E%3Ccircle cx='62' cy='40' r='3'/%3E%3C/g%3E%3Cpath d='M15 9l7 8M4 23l12 3M4 37h10' stroke='%23c49a3c' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E")
                center / contain no-repeat;
}

/* ==========================================
   06 - فرم ثبت دیدگاه
   ========================================== */

.single-product #reviews #review_form_wrapper {
    margin-top: 15px;
}

.single-product #reviews:has(.woocommerce-noreviews)
#review_form_wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* باکس دعوت به ثبت دیدگاه */

.single-product #reviews #reply-title {
    display: block;
    background: var(--papli-review-gradient);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 22px;
    color: var(--papli-review-green) !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.9;
    text-align: center;
}

/* آیکون لامپ طلایی */

.single-product #reviews #reply-title::before {
    content: "";
    display: inline-block;
    width: 23px;
    height: 23px;
    vertical-align: middle;
    margin-inline-end: 7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c49a3c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M9 15c0-2-4-3-4-7a7 7 0 0 1 14 0c0 4-4 5-4 7v3H9z'/%3E%3C/svg%3E")
                center / contain no-repeat;
}

/* فاصله فیلدها */

.single-product #reviews .comment-form > p,
.single-product #reviews .comment-form-rating,
.single-product #reviews .comment-form-images {
    margin-bottom: 20px;
}

/* عنوان فیلدها */

.single-product #reviews .comment-form label {
    color: var(--papli-review-green) !important;
    font-weight: 600;
}

.single-product #reviews .required {
    color: #d32f2f !important;
}

/* ==========================================
   07 - ستاره های امتیازدهی
   ========================================== */

.single-product #reviews .comment-form-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.single-product #reviews .stars {
    margin: 0 !important;
    color: var(--papli-review-gold);
}

.single-product #reviews .stars > span {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.single-product #reviews .stars a {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    font-size: 0 !important;
    color: var(--papli-review-gold) !important;
}

.single-product #reviews .stars a::before,
.single-product #reviews .stars a::after {
    font-size: 21px !important;
}

/* ==========================================
   08 - فیلدهای ورودی با حاشیه طلایی
   ========================================== */

.single-product #reviews textarea#comment,
.single-product #reviews input[type="text"],
.single-product #reviews input[type="email"],
.single-product #reviews input[type="tel"],
.single-product #reviews #farazsms_comment_mobile {
    width: 100%;
    box-sizing: border-box;
    background: #fff !important;
    border: 1px solid #c49a3c !important;
    border-radius: 12px !important;
    padding: 13px !important;
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

.single-product #reviews textarea#comment {
    min-height: 145px;
    resize: vertical;
}

/* حالت انتخاب فیلد */

.single-product #reviews textarea#comment:focus,
.single-product #reviews input[type="text"]:focus,
.single-product #reviews input[type="email"]:focus,
.single-product #reviews input[type="tel"]:focus,
.single-product #reviews #farazsms_comment_mobile:focus {
    border-color: #b58a28 !important;
    box-shadow: 0 0 0 3px rgba(196,154,60,.12) !important;
    outline: none;
}

/* متن راهنمای فیلدها */

.single-product #reviews input::placeholder,
.single-product #reviews textarea::placeholder {
    color: #999;
    font-size: 13px;
    opacity: 1;
}

/* ==========================================
   09 - باکس افزودن تصاویر
   ========================================== */

.single-product #reviews .wd-add-img-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(196,154,60,.035);
    border: 1px dashed var(--papli-review-border);
    border-radius: 14px;
    padding: 16px 12px;
    transition: background .25s ease,
                border-color .25s ease;
}

.single-product #reviews label[for="wd-add-img-btn"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--papli-review-green) !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer;
    margin: 0 !important;
}

/* آیکون افزودن تصویر */

.single-product #reviews
label[for="wd-add-img-btn"]::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='18' height='18' rx='3'/%3E%3Ccircle cx='8' cy='8' r='2'/%3E%3Cpath d='m3 17 5-5 5 5 3-3'/%3E%3Ccircle cx='19' cy='19' r='4' fill='white'/%3E%3Cpath d='M19 17v4M17 19h4'/%3E%3C/svg%3E")
                center / contain no-repeat;
}

/* ==========================================
   10 - دکمه ثبت دیدگاه
   ========================================== */

.single-product #reviews input#submit {
    background-color: var(--papli-review-green) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z M22 2 11 13'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 21px !important;
    color: #fff !important;
    border: 1px solid var(--papli-review-green) !important;
    border-radius: 14px !important;
    padding: 13px 48px 13px 24px !important;
    font-size: 15px;
    font-weight: 700;
    min-height: 45px;
    box-shadow: 0 3px 8px rgba(0,86,59,.12);
    transition: background-color .25s ease,
                transform .25s ease;
}

.single-product #reviews .form-submit {
    margin-bottom: 0 !important;
}

/* ==========================================
   11 - حالت هاور
   ========================================== */

@media (hover: hover) {

    .single-product #reviews .wd-add-img-btn-wrapper:hover {
        background: rgba(196,154,60,.09);
        border-color: var(--papli-review-gold);
    }

    .single-product #reviews input#submit:hover {
        background-color: #00452f !important;
        color: #fff !important;
        transform: translateY(-1px);
    }
}

/* ==========================================
   12 - دیدگاه های ثبت شده
   ========================================== */

.single-product #reviews .commentlist .comment_container {
    background: #fff;
    border: 1px solid rgba(196,154,60,.3);
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 12px;
}

/* ==========================================
   13 - بهینه سازی نسخه موبایل
   ========================================== */

@media (max-width: 767px) {

    /* فاصله استاندارد باکس از لبه ها */

    .single-product #reviews {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin-inline: auto !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }

    /* حذف فاصله های داخلی اضافی */

    .single-product #reviews #comments,
    .single-product #reviews #review_form_wrapper,
    .single-product #reviews #review_form,
    .single-product #reviews #respond {
        padding-inline: 0 !important;
        box-sizing: border-box;
        min-width: 0;
    }

    /* عنوان نظرات */

    .single-product #tab-item-title-reviews {
        padding: 11px 12px !important;
    }

    .single-product #tab-item-title-reviews
    .wd-accordion-title-text {
        font-size: 14px;
    }

    /* متن دعوت */

    .single-product #reviews #reply-title {
        font-size: 14px;
        padding: 12px;
    }

    .single-product #reviews #reply-title::before {
        width: 20px;
        height: 20px;
    }

    /* امتیازدهی */

    .single-product #reviews .comment-form-rating {
        gap: 8px;
    }

    /* فیلد دیدگاه */

    .single-product #reviews textarea#comment {
        min-height: 135px;
    }

    /* افزودن تصاویر */

    .single-product #reviews
    label[for="wd-add-img-btn"] {
        font-size: 13px;
        gap: 7px;
    }

    .single-product #reviews
    label[for="wd-add-img-btn"]::before {
        width: 22px;
        height: 22px;
    }
}

/* ============ END PAPLI REVIEWS ============ */

/* ==========================================
   PAPLI - Published Reviews Design
   ========================================== */

/* عنوان دیدگاه های ثبت شده */

.single-product #reviews .woocommerce-Reviews-title {
    color: #00563b !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.8;
}

/* کارت دیدگاه مشتری */

.single-product #reviews .commentlist .comment_container {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 10px;
    align-items: start;
    background: #fff !important;
    border: 1px solid rgba(196,154,60,.35) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin-bottom: 0 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.035);
}

/* تصویر پروفایل مشتری */

.single-product #reviews .comment_container > img.avatar {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    padding: 3px;
    background: rgba(0,86,59,.07);
    border: 1px solid rgba(0,86,59,.12);
    box-sizing: border-box;
}

/* آزادسازی عرض متن دیدگاه */

.single-product #reviews .comment_container > .comment-text {
    display: contents !important;
}

/* مشخصات مشتری */

.single-product #reviews .comment_container .meta {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin: 0 !important;
    line-height: 1.7;
}

/* نام مشتری */

.single-product #reviews .woocommerce-review__author {
    color: #00563b !important;
    font-size: 14px !important;
    font-weight: 700;
}

/* حذف خط تیره بین نام و تاریخ */

.single-product #reviews .woocommerce-review__dash {
    display: none !important;
}

/* تاریخ ثبت دیدگاه */

.single-product #reviews .woocommerce-review__published-date {
    color: #999 !important;
    font-size: 11px !important;
    font-style: normal !important;
}

/* ستاره های دیدگاه ثبت شده */

.single-product #reviews .comment_container .star-rating {
    grid-column: 2;
    grid-row: 2;
    float: none !important;
    justify-self: start;
    margin: 0 !important;
    color: #c49a3c !important;
    font-size: 15px !important;
}

.single-product #reviews .comment_container .star-rating span {
    color: #c49a3c !important;
}

/* متن دیدگاه با عرض کامل کارت */

.single-product #reviews .comment_container .description {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(196,154,60,.20);
    padding-top: 12px;
    margin-top: 3px;
    color: #555 !important;
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.single-product #reviews .comment_container .description p {
    margin-bottom: 0 !important;
}

/* کاهش فاصله بین دیدگاه ها و فرم ثبت دیدگاه */

.single-product #reviews:has(.commentlist) {
    row-gap: 20px !important;
}

.single-product #reviews:has(.commentlist) #comments,
.single-product #reviews:has(.commentlist) .wd-reviews-content,
.single-product #reviews .commentlist {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.single-product #reviews:has(.commentlist) #review_form_wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* بهینه سازی موبایل */

@media (max-width: 767px) {

    .single-product #reviews .commentlist .comment_container {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 13px !important;
        column-gap: 10px;
        row-gap: 8px;
    }

    .single-product #reviews .comment_container > img.avatar {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
    }

    .single-product #reviews .woocommerce-Reviews-title {
        font-size: 14px !important;
    }

    .single-product #reviews .comment_container .description {
        font-size: 13px;
    }
}

/* END PAPLI PUBLISHED REVIEWS */

/* ==========================================
   PAPLI - Reviews Final Corrections
   ========================================== */

/* 01 - اصلاح حاشیه کارت دیدگاه */

.single-product #reviews .commentlist .comment_container {
    border: 1px solid rgba(196,154,60,.55) !important;
    border-bottom: 1px solid rgba(196,154,60,.55) !important;
    border-radius: 16px !important;
    box-sizing: border-box;
    overflow: visible !important;
}

.single-product #reviews .commentlist > li.review {
    padding-bottom: 4px !important;
}

.single-product #reviews .wd-reviews-content:has(.commentlist) {
    padding-bottom: 5px !important;
}

/* 02 - کاهش فاصله دیدگاه ها با فرم */

.single-product #reviews:has(.commentlist) {
    row-gap: 12px !important;
}

.single-product #reviews:has(.commentlist) #comments {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.single-product #reviews:has(.commentlist) #review_form_wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.single-product #reviews:has(.commentlist) #review_form,
.single-product #reviews:has(.commentlist) #respond {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 03 - اصلاح فاصله در موبایل */

@media (max-width: 767px) {

    .single-product #reviews:has(.commentlist) {
        row-gap: 12px !important;
    }

    .single-product #reviews:has(.commentlist) #comments {
        min-height: 0 !important;
    }

    .single-product #reviews:has(.commentlist) .wd-reviews-content {
        margin-bottom: 0 !important;
    }
}

/* 04 - تقویت رنگ طلایی در دسکتاپ */

@media (min-width: 1025px) {

    .single-product #reviews,
    .single-product #reviews .commentlist .comment_container,
    .single-product #reviews .wd-add-img-btn-wrapper,
    .single-product #tab-title-reviews .wd-tabs-title {
        border-color: #b58a28 !important;
    }

    .single-product #reviews textarea#comment,
    .single-product #reviews input[type="text"],
    .single-product #reviews input[type="email"],
    .single-product #reviews input[type="tel"],
    .single-product #reviews #farazsms_comment_mobile {
        border-color: #b58a28 !important;
    }

    .single-product #reviews #reply-title,
    .single-product #tab-title-reviews .wd-tabs-title {
        background: linear-gradient(
            110deg,
            rgba(196,154,60,.22),
            rgba(0,86,59,.13)
        ) !important;
    }

    .single-product #reviews .stars a,
    .single-product #reviews .star-rating,
    .single-product #reviews .star-rating span {
        color: #b58a28 !important;
    }

    .single-product #reviews .comment_container .description {
        border-top-color: rgba(181,138,40,.4) !important;
    }
}

/* END PAPLI REVIEWS CORRECTIONS */
/* Papli - Desktop Category Highlight */

@media (min-width: 1025px) {

    .single-product .summary-inner .posted_in > a::before {
        background: rgba(0, 86, 59, .30) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .single-product .summary-inner .posted_in > a:hover::before {
        background: rgba(0, 86, 59, .40) !important;
    }
}

/* ==========================================
   PAPLI - Related Products Title
   ========================================== */

/* عنوان اصلی و خطوط طلایی طرفین */

.single-product .related-products > h2.slider-title {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    color: #00563b !important;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 25px 0 30px !important;
}

/* خطوط تزئینی طلایی */

.single-product .related-products > h2.slider-title::before,
.single-product .related-products > h2.slider-title::after {
    content: "" !important;
    display: block !important;
    position: static !important;
    flex: 1;
    height: 1px;
    background: #c49a3c !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* متن عنوان */

.single-product .related-products > h2.slider-title > span {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    position: relative;
    color: #00563b !important;
    white-space: nowrap;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

/* ==========================================
   PAPLI - Unified Product Design
   ========================================== */

.single-product {
    --papli-marker-green: rgba(0,86,59,.20);
    --papli-marker-red: rgba(220,0,0,.22);
    --papli-marker-shape: polygon(
        2% 12%, 6% 8%, 5% 2%,
        14% 6%, 22% 1%, 31% 5%,
        40% 2%, 49% 7%, 58% 1%,
        67% 5%, 76% 0%, 85% 6%,
        97% 2%, 95% 13%, 99% 19%,
        96% 28%, 100% 39%, 97% 48%,
        99% 58%, 96% 69%, 100% 79%,
        96% 94%, 87% 90%, 78% 98%,
        69% 93%, 60% 100%, 51% 94%,
        42% 98%, 33% 92%, 24% 99%,
        15% 93%, 3% 98%, 5% 85%,
        0% 76%, 4% 65%, 1% 53%,
        5% 42%, 0% 31%, 4% 22%
    );
}

/* ==========================================
   1. Related Products Title
   ========================================== */

.single-product .related-products > h2.slider-title > span::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(0,86,59,.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25px;
    opacity: 1 !important;
    transform: none !important;
}

.single-product .related-products > h2.slider-title > span::after {
    content: "" !important;
    display: block !important;
    position: static !important;
    width: 36px;
    height: 3px;
    border-radius: 10px;
    background: #c49a3c !important;
    opacity: 1 !important;
    transform: none !important;
}

/* ==========================================
   2. Delivery Date Placeholder
   ========================================== */

.single-product .cpf-type-date input.tmcp-date::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
}

/* ==========================================
   3. Product Breadcrumb
   Woodmart & Elementor
   ========================================== */

.single-product :is(
    .single-breadcrumbs-wrapper,
    .elementor-widget-woocommerce-breadcrumb
) nav.wd-breadcrumbs.woocommerce-breadcrumb {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    background: #ffffff;
    border: 1px solid rgba(0,86,59,.25);
    border-radius: 9px;
    padding: 7px 10px;
    margin: 0 !important;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.8;
}

/* Breadcrumb Links */

.single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > a {
    color: #00563b !important;
    font-weight: 600;
    margin: 0 !important;
    transition: color .2s ease;
}

/* Home Icon */

.single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > a:first-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > a:first-child::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-7 9 7v11h-6v-7H9v7H3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Breadcrumb Separators */

.single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > .wd-delimiter {
    color: rgba(0,86,59,.55) !important;
    margin: 0 !important;
}

/* Current Category & Product */

.single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > :is(a.wd-last-link, span.wd-last) {
    position: relative;
    isolation: isolate;
    background: transparent !important;
    box-shadow: none !important;
    color: #00563b !important;
    padding: 2px 6px;
}

/* Remove Duplicate Highlights */

.single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > :is(a.wd-last-link, span.wd-last)::before,
.single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > :is(a.wd-last-link, span.wd-last)::after {
    content: none !important;
    display: none !important;
}

/* ==========================================
   4. Product Title
   ========================================== */

.single-product h1.product_title.entry-title {
    position: relative;
    display: inline-block !important;
    max-width: 100%;
    width: fit-content;
    isolation: isolate;
    color: #00563b !important;
    font-weight: 700;
    line-height: 1.8;
    padding: 3px 5px;
    box-sizing: border-box;
}

.single-product h1.product_title.entry-title::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    inset: 8% -3px !important;
    z-index: -1;
    background: var(--papli-marker-green) !important;
    pointer-events: none;
    transform: rotate(-1deg);
    clip-path: var(--papli-marker-shape);
}

/* ==========================================
   5. Product Navigation
   ========================================== */

.single-product .single-breadcrumbs-wrapper .wd-products-nav {
    background: #ffffff;
    border: 1px solid rgba(0,86,59,.25);
    border-radius: 9px;
    padding: 4px 6px;
    box-sizing: border-box;
}

.single-product .single-breadcrumbs-wrapper .wd-product-nav-btn {
    color: #00563b !important;
    border-radius: 5px;
    transition: background-color .2s ease, color .2s ease;
}

/* Hover Effects */

@media (hover: hover) {

    .single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > a:hover {
        color: #b58a28 !important;
    }

    .single-product .single-breadcrumbs-wrapper .wd-product-nav-btn:hover {
        background-color: #00563b !important;
        color: #ffffff !important;
    }

}

/* ==========================================
   6. Dynamic Short Description
   ========================================== */

.single-product .woocommerce-product-details__short-description :is(ul, ol) {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single-product .woocommerce-product-details__short-description :is(p, li) {
    position: relative;
    isolation: isolate;
    display: table;
    max-width: 100%;
    color: #d00000 !important;
    font-weight: 700 !important;
    padding: 4px 6px !important;
    margin: 0 0 8px !important;
    line-height: 1.9;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.single-product .woocommerce-product-details__short-description :is(p, li)::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;
    inset: 0 !important;
    z-index: -1;
    background: var(--papli-marker-red) !important;
    opacity: 1 !important;
    pointer-events: none;
    transform: rotate(-1deg);
    clip-path: var(--papli-marker-shape);
}

.single-product .woocommerce-product-details__short-description li::marker {
    content: "";
}

.single-product .woocommerce-product-details__short-description li > p {
    display: block;
    padding: 0 !important;
    margin: 0 !important;
}

.single-product .woocommerce-product-details__short-description li > p::before {
    content: none !important;
    display: none !important;
}

/* ==========================================
   7. Mobile & Tablet Breadcrumb Highlight
   ========================================== */

@media (max-width: 1024px) {

    .single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > a.wd-last-link {
        font-weight: 700 !important;
    }

    .single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > a.wd-last-link::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        inset: 8% -3px !important;
        z-index: -1;
        background: var(--papli-marker-green) !important;
        opacity: 1 !important;
        pointer-events: none;
        transform: rotate(-1deg);
        clip-path: var(--papli-marker-shape);
    }

}

/* ==========================================
   8. Mobile Optimization
   ========================================== */

@media (max-width: 767px) {

    .single-product .related-products > h2.slider-title {
        font-size: 18px;
        gap: 12px;
        margin: 20px 0 22px !important;
    }

    .single-product .related-products > h2.slider-title > span {
        gap: 7px;
    }

    .single-product .related-products > h2.slider-title > span::before {
        width: 40px;
        height: 40px;
        background-size: 22px;
    }

    .single-product .related-products > h2.slider-title > span::after {
        width: 30px;
    }

    .single-product :is(
        .single-breadcrumbs-wrapper,
        .elementor-widget-woocommerce-breadcrumb
    ) nav.wd-breadcrumbs.woocommerce-breadcrumb {
        font-size: 12px;
        padding: 6px 9px;
        border-radius: 7px;
    }

    .single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > a:first-child::before {
        width: 13px;
        height: 13px;
    }

    .single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > span.wd-last,
    .single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > .wd-delimiter:has(+ span.wd-last) {
        display: none !important;
    }

    .single-product h1.product_title.entry-title {
        padding: 3px 4px;
    }

    .single-product .single-breadcrumbs-wrapper .wd-products-nav {
        padding: 2px 3px;
        border-radius: 7px;
    }

}

/* ==========================================
   9. Desktop Optimization
   ========================================== */

@media (min-width: 1025px) {

    .single-product {
        --papli-marker-green: rgba(0,86,59,.30);
        --papli-marker-red: rgba(220,0,0,.27);
    }

    .single-product .related-products > h2.slider-title > span::before {
        background-color: rgba(0,86,59,.25);
    }

    .single-product .related-products > h2.slider-title::before,
    .single-product .related-products > h2.slider-title::after,
    .single-product .related-products > h2.slider-title > span::after {
        background-color: #b58a28 !important;
    }

    .single-product :is(
        .single-breadcrumbs-wrapper,
        .elementor-widget-woocommerce-breadcrumb
    ) nav.wd-breadcrumbs.woocommerce-breadcrumb,
    .single-product .single-breadcrumbs-wrapper .wd-products-nav {
        border-color: rgba(0,86,59,.45);
    }

    .single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > span.wd-last {
        display: inline-block !important;
        font-weight: 700 !important;
        padding: 3px 7px !important;
    }

    .single-product nav.wd-breadcrumbs.woocommerce-breadcrumb > span.wd-last::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: -1;
        background: var(--papli-marker-green) !important;
        opacity: 1 !important;
        pointer-events: none;
        transform: rotate(-1deg);
        clip-path: var(--papli-marker-shape);
    }

}

/* END PAPLI UNIFIED PRODUCT DESIGN */

/* ==========================================
   PAPLI - Unified Extra Product Options
   ========================================== */

/* 1. Main Field Boxes */

.single-product .tc-container.cpf-element > .tc-element-inner-wrap {
    background-color: #ffffff !important;
    border: 1px solid rgba(0,86,59,.25);
    border-radius: 12px;
    padding: 9px;
    box-sizing: border-box;
    margin-bottom: 0 !important;
}

.single-product .tc-container.cpf-element {
    margin-bottom: 5px !important;
    padding-bottom: 0 !important;
}

/* 2. Field Titles */

.single-product .cpf-element .tm-epo-element-label {
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 5px !important;
}

/* 3. Radio Option Rows */

.single-product .cpf-type-radio .tmcp-field-wrap-inner {
    background-color: #ffffff !important;
    border: 1px solid rgba(0,86,59,.12);
    border-radius: 8px;
    padding: 5px 8px;
    box-sizing: border-box;
    transition: background-color .2s ease,
                border-color .2s ease;
}

.single-product .cpf-type-radio .tmcp-field-wrap {
    margin-bottom: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 4. Selected Radio Option */

.single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) {
    background-color: rgba(0,86,59,.08) !important;
    border-color: #00563b !important;
}

.single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) .tc-label-text {
    color: #00563b !important;
    font-weight: 600;
}

.single-product .cpf-type-radio input[type="radio"] {
    accent-color: #00563b !important;
}

.single-product .cpf-type-radio .tc-label-text {
    font-size: 14px !important;
}

/* 5. Free Price Badge */

.single-product .cpf-element .papli-free-price {
    width: fit-content !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    background: rgba(0,86,59,.12) !important;
    color: #00563b !important;
    border-radius: 20px !important;
    padding: 2px 9px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    white-space: nowrap !important;
}

/* ==========================================
   6. Mobile Optimization
   ========================================== */

@media (max-width: 767px) {

    .single-product .tc-container.cpf-element > .tc-element-inner-wrap {
        padding: 8px;
        border-radius: 10px;
    }

    .single-product .tc-container.cpf-element {
        margin-bottom: 4px !important;
    }

    .single-product .cpf-element .tm-epo-element-label {
        font-size: 13px !important;
    }

    .single-product .cpf-type-radio .tmcp-field-wrap-inner {
        padding: 4px 7px;
    }

    .single-product .cpf-type-radio .tc-label-text {
        font-size: 13px !important;
    }

    .single-product .cpf-element .papli-free-price {
        font-size: 10px !important;
        padding: 2px 7px !important;
    }

}
/* ==========================================
   7. Desktop Layout & Color Correction
   ========================================== */

@media (min-width: 1025px) {

    /* Main Field Boxes */

    .single-product .tc-container.cpf-element > .tc-element-inner-wrap {
        background: #ffffff !important;
        border-color: #8fb5a5 !important;
    }

    /* Full Width Titles */

    .single-product .cpf-element > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 8px !important;
    }

    /* Full Width Content */

    .single-product .cpf-element > .tc-element-inner-wrap > .tc-row > .tc-element-container {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
    }

    /* Unselected Options */

    .single-product .cpf-type-radio .tmcp-field-wrap-inner {
        background: #ffffff !important;
        border-color: #b3c9bf !important;
    }

    /* Selected Option - Outer Box */

    .single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) {
        background: #c5dfd3 !important;
        border-color: #00563b !important;
    }

    /* Selected Option - Inner Layers */

    .single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) .tc-field-label-wrap,

    .single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) .tm-epo-field-label,

    .single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) .tc-label-wrap,

    .single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) .tc-label,

    .single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) .tc-label-inner {
        background: #c5dfd3 !important;
    }

    /* Selected Option Text */

    .single-product .cpf-type-radio .tmcp-field-wrap-inner:has(input[type="radio"]:checked) .tc-label-text {
        color: #00563b !important;
        font-weight: 700 !important;
    }

    /* Free Price Badge */

    .single-product .cpf-element .papli-free-price {
        background: #b3d4c5 !important;
        color: #00563b !important;
        opacity: 1 !important;
    }

}

/* END PAPLI UNIFIED EXTRA PRODUCT OPTIONS */

/* PAPLI - Category Breadcrumb Design */

body.tax-product_cat .shop-loop-head
nav.wd-breadcrumbs.woocommerce-breadcrumb {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: #ffffff !important;
    border: 1px solid rgba(0,86,59,.30);
    border-radius: 12px;
    padding: 10px 14px;
    box-sizing: border-box;
    line-height: 1.8;
}

/* Breadcrumb Links */

body.tax-product_cat .shop-loop-head
.wd-breadcrumbs > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00563b !important;
    font-weight: 500;
}

/* Home Icon */

body.tax-product_cat .shop-loop-head
.wd-breadcrumbs > a:first-child::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10H3z'/%3E%3Cpath d='M9 20v-7h6v7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Breadcrumb Separator */

body.tax-product_cat .shop-loop-head
.wd-breadcrumbs > .wd-delimiter {
    color: rgba(0,86,59,.45) !important;
    margin: 0 !important;
}

/* Current Category */

body.tax-product_cat .shop-loop-head
.wd-breadcrumbs > .wd-last {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    color: #00563b !important;
    font-weight: 700;
    background: transparent !important;
}

/* Green Marker Highlight */

body.tax-product_cat .shop-loop-head
.wd-breadcrumbs > .wd-last::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: rgba(0,86,59,.20) !important;
    clip-path: polygon(
        2% 12%, 6% 8%, 5% 2%,
        14% 6%, 22% 1%, 31% 5%,
        40% 2%, 49% 7%, 58% 1%,
        67% 5%, 76% 0%, 85% 6%,
        97% 2%, 95% 13%, 99% 19%,
        96% 28%, 100% 39%, 97% 48%,
        99% 58%, 96% 69%, 100% 79%,
        96% 94%, 87% 90%, 78% 98%,
        69% 93%, 60% 100%, 51% 94%,
        42% 98%, 33% 92%, 24% 99%,
        15% 93%, 3% 98%, 5% 85%,
        0% 76%, 4% 65%, 1% 53%,
        5% 42%, 0% 31%, 4% 22%
    );
}

/* Category Icon */

body.tax-product_cat .shop-loop-head
.wd-breadcrumbs > .wd-last::after {
    content: "";
    display: inline-block;
    order: -1;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5zM3 12l9 5 9-5M3 16l9 5 9-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Desktop Color Enhancement */

@media (min-width: 1025px) {

    body.tax-product_cat .shop-loop-head
    nav.wd-breadcrumbs.woocommerce-breadcrumb {
        border-color: rgba(0,86,59,.45);
    }

    body.tax-product_cat .shop-loop-head
    .wd-breadcrumbs > .wd-last::before {
        background: rgba(0,86,59,.30) !important;
    }

}

/* Mobile */

@media (max-width: 767px) {

    body.tax-product_cat .shop-loop-head
    nav.wd-breadcrumbs.woocommerce-breadcrumb {
        width: 100%;
        padding: 8px 10px;
        border-radius: 10px;
        gap: 6px;
        font-size: 13px !important;
    }

}

/* =========================================
   PAPLI - Category Shop Tools Final Design
   Desktop Only
========================================= */

@media (min-width: 1025px) {

    /* Main Boxes */

    body.tax-product_cat .shop-loop-head .wd-products-per-page,
    body.tax-product_cat .shop-loop-head .wd-products-shop-view {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #ffffff !important;
        border: 1px solid #80ab9d !important;
        border-radius: 12px;
        padding: 6px 9px;
        box-sizing: border-box;
    }

    /* Display Title */

    body.tax-product_cat .wd-products-per-page .per-page-title {
        color: #00563b !important;
        font-weight: 600;
        margin-inline-end: 5px;
    }

    /* Number Options */

    body.tax-product_cat .wd-products-per-page .per-page-variation {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 30px;
        height: 30px;
        padding: 0 5px;
        margin: 0 !important;
        border: 1px solid #b3cec3 !important;
        border-radius: 7px;
        background: #ffffff !important;
        color: #00563b !important;
        transition: background-color .2s ease,
                    border-color .2s ease,
                    color .2s ease;
    }

    /* Remove Separators */

    body.tax-product_cat .wd-products-per-page .per-page-border {
        display: none !important;
    }

    /* Grid Icons */

    body.tax-product_cat .wd-products-shop-view .shop-view {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        border: 1px solid #b3cec3 !important;
        border-radius: 8px;
        color: #00563b !important;
        opacity: 1 !important;
        transition: background-color .2s ease,
                    border-color .2s ease,
                    color .2s ease;
    }

    body.tax-product_cat .wd-products-shop-view .shop-view::before,
    body.tax-product_cat .wd-products-shop-view .shop-view::after {
        color: inherit !important;
        opacity: 1 !important;
    }

    /* Active Options */

    body.tax-product_cat .wd-products-per-page .per-page-variation.current-variation,
    body.tax-product_cat .wd-products-shop-view .shop-view.current-variation {
        background: #b8d5c7 !important;
        border-color: #00563b !important;
        color: #00563b !important;
        font-weight: 700;
    }

 /* Hover */

body.tax-product_cat .wd-products-per-page .per-page-variation:hover,
body.tax-product_cat .wd-products-shop-view .shop-view:hover {
    background: rgba(220,0,0,.20) !important;
    border-color: #d32f2f !important;
    color: #b71c1c !important;
}
}

/* =========================================
   PAPLI - Main Shop Page Design
========================================= */

/* Breadcrumb - Desktop & Mobile */

body.post-type-archive-product .shop-loop-head nav.wd-breadcrumbs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    background: #ffffff !important;
    border: 1px solid #b3cec3;
    border-radius: 12px;
    padding: 8px 12px;
    box-sizing: border-box;
}

body.post-type-archive-product .shop-loop-head .wd-breadcrumbs a {
    color: #00563b !important;
}

body.post-type-archive-product .shop-loop-head .wd-breadcrumbs .wd-last {
    position: relative;
    isolation: isolate;
    color: #00563b !important;
    font-weight: 700;
    padding: 3px 8px;
}

body.post-type-archive-product .shop-loop-head .wd-breadcrumbs .wd-last::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0,86,59,.30) !important;
    clip-path: polygon(
        2% 8%,12% 4%,24% 9%,
        38% 2%,51% 7%,65% 3%,
        79% 8%,98% 1%,96% 18%,
        100% 30%,97% 43%,100% 56%,
        96% 70%,100% 88%,85% 94%,
        71% 89%,56% 98%,40% 92%,
        25% 98%,12% 92%,1% 100%,
        4% 81%,0% 68%,3% 54%,
        0% 40%,4% 25%,0% 15%
    );
}

/* Shop Tools - Desktop Only */

@media (min-width: 1025px) {

    body.post-type-archive-product .shop-loop-head .wd-products-per-page,
    body.post-type-archive-product .shop-loop-head .wd-products-shop-view {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #ffffff !important;
        border: 1px solid #80ab9d !important;
        border-radius: 12px;
        padding: 6px 9px;
        box-sizing: border-box;
    }

    body.post-type-archive-product .wd-products-per-page .per-page-title {
        color: #00563b !important;
        font-weight: 600;
        margin-inline-end: 5px;
    }

    body.post-type-archive-product .wd-products-per-page .per-page-variation {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 30px;
        height: 30px;
        padding: 0 5px;
        margin: 0 !important;
        border: 1px solid #b3cec3 !important;
        border-radius: 7px;
        background: #ffffff !important;
        color: #00563b !important;
        transition: all .2s ease;
    }

    body.post-type-archive-product .wd-products-per-page .per-page-border {
        display: none !important;
    }

    body.post-type-archive-product .wd-products-shop-view .shop-view {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        border: 1px solid #b3cec3 !important;
        border-radius: 8px;
        color: #00563b !important;
        opacity: 1 !important;
        transition: all .2s ease;
    }

    body.post-type-archive-product .wd-products-shop-view .shop-view::before,
    body.post-type-archive-product .wd-products-shop-view .shop-view::after {
        color: inherit !important;
        opacity: 1 !important;
    }

    /* Active */

    body.post-type-archive-product .wd-products-per-page .per-page-variation.current-variation,
    body.post-type-archive-product .wd-products-shop-view .shop-view.current-variation {
        background: #b8d5c7 !important;
        border-color: #00563b !important;
        color: #00563b !important;
        font-weight: 700;
    }

    /* Transparent Red Hover */

    body.post-type-archive-product .wd-products-per-page .per-page-variation:hover,
    body.post-type-archive-product .wd-products-shop-view .shop-view:hover {
        background: rgba(220,0,0,.20) !important;
        border-color: #d32f2f !important;
        color: #b71c1c !important;
    }
}

/* =========================================
   PAPLI - Product Dropdown Fields
========================================= */

.single-product .variations select,
.single-product .cpf-type-select select.tmcp-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    min-height: 44px !important;
    background-color: #ffffff !important;
    border: 1px solid #80ab9d !important;
    border-radius: 10px !important;
    color: #00563b !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500;
    padding: 10px 12px 10px 36px !important;
    box-sizing: border-box;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300563b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 12px center !important;
    background-size: 18px !important;
    transition: border-color .2s ease,
                box-shadow .2s ease;
}

/* Focus */

.single-product .variations select:focus,
.single-product .cpf-type-select select.tmcp-select:focus {
    border-color: #00563b !important;
    box-shadow: 0 0 0 3px rgba(0,86,59,.10) !important;
    outline: none !important;
}

/* Mobile */

@media (max-width: 767px) {

    .single-product .variations select,
    .single-product .cpf-type-select select.tmcp-select {
        min-height: 42px !important;
        font-size: 16px !important;
    }
}

/* =========================================
   PAPLI - Custom Dropdown Design
   Desktop & Mobile
========================================= */

/* Original Select */

.single-product select.papli-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    clip-path: inset(50%) !important;
    pointer-events: none !important;
}

/* Main Wrapper */

.single-product .papli-dropdown {
    position: relative;
    width: 100%;
    min-width: 0;
    direction: rtl;
    box-sizing: border-box;
}

.single-product .papli-dropdown.is-open {
    z-index: 30;
}

/* Closed Dropdown */

.single-product .papli-dropdown-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px !important;
    background: #ffffff !important;
    border: 1px solid #80ab9d !important;
    border-radius: 10px !important;
    color: #00563b !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    box-shadow: none !important;
    cursor: pointer;
    transition: border-color .2s,
                box-shadow .2s;
}

/* Placeholder */

.single-product .papli-dropdown.is-placeholder
.papli-dropdown-value {
    color: #888888 !important;
}

/* Arrow */

.single-product .papli-dropdown-arrow {
    display: block;
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    margin: 0 3px 4px;
    border-right: 2px solid #00563b;
    border-bottom: 2px solid #00563b;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.single-product .papli-dropdown.is-open
.papli-dropdown-arrow {
    transform: rotate(225deg);
    margin-bottom: -4px;
}

/* Open & Focus State */

.single-product .papli-dropdown.is-open
.papli-dropdown-trigger,
.single-product .papli-dropdown-trigger:focus-visible {
    border-color: #00563b !important;
    box-shadow: 0 0 0 3px rgba(0,86,59,.10) !important;
}

/* Open Menu */

.single-product .papli-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 260px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
    background: #ffffff !important;
    border: 1px solid #80ab9d;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    box-sizing: border-box;
}

.single-product .papli-dropdown-menu[hidden] {
    display: none !important;
}

/* Options */

.single-product .papli-dropdown-option {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 40px;
    padding: 10px 12px 10px 32px !important;
    background: #ffffff !important;
    color: #00563b !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    line-height: 1.6;
    white-space: normal;
    box-shadow: none !important;
    cursor: pointer;
}

/* Selected Option */

.single-product .papli-dropdown-option.is-selected {
    background: #dcebe5 !important;
    border-color: #80ab9d !important;
    color: #00563b !important;
    font-weight: 700;
}

/* Selected Checkmark */

.single-product .papli-dropdown-option.is-selected::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 7px;
    height: 12px;
    border-right: 2px solid #00563b;
    border-bottom: 2px solid #00563b;
    transform: translateY(-65%) rotate(45deg);
}

/* Desktop Hover */

@media (hover: hover) {

    .single-product .papli-dropdown-option:hover:not(:disabled) {
        background: #edf5f1 !important;
        color: #00563b !important;
    }

}

/* Keyboard Focus */

.single-product .papli-dropdown-option:focus-visible {
    outline: 2px solid #00563b;
    outline-offset: -2px;
}

/* Disabled Options */

.single-product .papli-dropdown-option:disabled,
.single-product .papli-dropdown-trigger:disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
}

/* Mobile */

@media (max-width: 767px) {

    .single-product .papli-dropdown-trigger {
        min-height: 42px;
        font-size: 14px;
    }

    .single-product .papli-dropdown-menu {
        max-height: 240px;
    }

    .single-product .papli-dropdown-option {
        min-height: 42px;
        font-size: 14px;
    }

}

/* PAPLI - Dropdown Desktop Color Fix */

@media (min-width: 1025px) {

    .single-product .papli-dropdown-option.is-selected {
        background: #b8d5c7 !important;
        border-color: #00563b !important;
        color: #00563b !important;
    }

    .single-product .papli-dropdown-option:hover:not(:disabled) {
        background: #b8d5c7 !important;
        color: #00563b !important;
    }

}

/* Papli - Cake text fields */

.single-product .cpf-type-textfield input.tmcp-textfield {
    width: 100%;
    min-height: 48px !important;
    background-color: #fff !important;
    border: 1px solid rgba(0, 86, 59, 0.35) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

.single-product .cpf-type-textfield input.tmcp-textfield:focus {
    border-color: #00563b !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 59, 0.35) !important;
    outline: none !important;
}

/* =========================================
   Papli - Jalali Calendar Style
   ========================================= */

/* سربرگ تقویم */
.single-product .datepicker-plot-area .datepicker-header {
    background: linear-gradient(
        135deg,
        rgba(0, 86, 59, 0.35),
        rgba(0, 86, 59, 0.65)
    ) !important;
    color: #fff !important;
    border-bottom: none !important;
}

/* فلش های تغییر ماه */
.single-product .datepicker-plot-area .next-btn,
.single-product .datepicker-plot-area .prev-btn {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.20) !important;
    transition: background .2s ease;
}

/* هاور فلش ها */
.single-product .datepicker-plot-area .next-btn:hover,
.single-product .datepicker-plot-area .prev-btn:hover {
    background: rgba(255, 255, 255, 0.40) !important;
}

/* عنوان روزهای هفته */
.single-product .datepicker-plot-area .table-days th {
    background: rgba(0, 86, 59, 0.06) !important;
    color: #00563b !important;
}

/* روزهای قابل انتخاب */
.single-product .datepicker-plot-area
.day-cell:not(.papli-date-disabled):not([aria-disabled="true"]) {
    border-radius: 8px !important;
    transition: background .2s ease, color .2s ease;
}

/* هاور روزهای قابل انتخاب */
.single-product .datepicker-plot-area
.day-cell:not(.papli-date-disabled):not([aria-disabled="true"]):hover {
    background: rgba(0, 86, 59, 0.18) !important;
    color: #00563b !important;
}

/* =========================================
   Papli - Universal Dropdown Blur
   ========================================= */

/* انیمیشن نرم باکس ها */
.single-product .tc-container.cpf-element {
    transition: filter .25s ease !important;
}

/* بلر هنگام باز شدن منوی وزن ووکامرس */
.single-product:has(table.variations .papli-dropdown.is-open)
.tc-container.cpf-element {
    filter: blur(3px) !important;
}

/* بلر باکس های پایین منوهای کشویی EPO */
.single-product
.tc-container.cpf-element:has(.papli-dropdown.is-open)
~ .tc-container.cpf-element {
    filter: blur(3px) !important;
}

/* واضح ماندن باکس منوی باز شده */
.single-product
.tc-container.cpf-element:has(.papli-dropdown.is-open) {
    filter: none !important;
}

/* Papli - Hide placeholder checkmark only */

.single-product .variations
.papli-dropdown.is-placeholder
.papli-dropdown-option:first-child::before,
.single-product .variations
.papli-dropdown.is-placeholder
.papli-dropdown-option:first-child::after {
    display: none !important;
}

/* =========================================
   Papli - Product Price Summary
   ========================================= */

/* باکس اصلی مبالغ */
.single-product #tm-epo-totals
.tm-extra-product-options-totals {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 10px;
    direction: rtl;
    background: #fff !important;
    border: 1px solid rgba(0, 86, 59, 0.25);
    border-radius: 12px;
    padding: 16px !important;
    margin: 0 !important;
    width: 100%;
    box-sizing: border-box;
}

/* حذف فاصله های پیش فرض */
.single-product #tm-epo-totals dt,
.single-product #tm-epo-totals dd {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}

/* عنوان مبالغ */
.single-product #tm-epo-totals dt {
    color: #00563b !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: right !important;
}

/* موقعیت مبالغ */
.single-product #tm-epo-totals dd {
    text-align: left !important;
}

/* مبلغ گزینه ها */
.single-product #tm-epo-totals
dd.tm-options-totals .amount {
    color: #52745f !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* خط جداکننده مبلغ نهایی */
.single-product #tm-epo-totals
dt.tm-final-totals,
.single-product #tm-epo-totals
dd.tm-final-totals {
    border-top: 1px solid rgba(0, 86, 59, 0.12);
    padding-top: 14px !important;
}

/* مبلغ نهایی */
.single-product #tm-epo-totals
dd.tm-final-totals .amount {
    color: #00563b !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

/* تنظیمات واکنشگرا موبایل */
@media (max-width: 767px) {

    .single-product #tm-epo-totals
    .tm-extra-product-options-totals {
        padding: 12px !important;
        gap: 12px 8px;
    }

    .single-product #tm-epo-totals dt {
        font-size: 14px !important;
    }

    .single-product #tm-epo-totals
    dd.tm-options-totals .amount {
        font-size: 15px !important;
    }

    .single-product #tm-epo-totals
    dd.tm-final-totals .amount {
        font-size: 20px !important;
    }
}

/* Papli - Price summary desktop fix */

.single-product #tm-epo-totals
dl.tm-extra-product-options-totals {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 86, 59, 0.30) !important;
    border-radius: 12px !important;
    column-gap: 0 !important;
}

.single-product #tm-epo-totals
dl.tm-extra-product-options-totals > dt,
.single-product #tm-epo-totals
dl.tm-extra-product-options-totals > dd {
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
}

.single-product #tm-epo-totals
dl.tm-extra-product-options-totals > dd {
    justify-content: flex-end !important;
}

.single-product #tm-epo-totals
dt.tm-final-totals,
.single-product #tm-epo-totals
dd.tm-final-totals {
    border-top: 1px solid rgba(0, 86, 59, 0.15) !important;
}

@media (min-width: 768px) {

    .single-product #tm-epo-totals dt {
        color: #00563b !important;
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .single-product #tm-epo-totals
    dd.tm-options-totals .amount {
        color: #52745f !important;
        font-size: 17px !important;
    }

    .single-product #tm-epo-totals
    dd.tm-final-totals .amount {
        color: #00563b !important;
        font-size: 25px !important;
        font-weight: 700 !important;
    }
}

/* PAPLI - Compact Radio Options */

/* فضای داخلی باکس اصلی */
.single-product #tm-extra-product-options
.cpf-type-radio > .tc-element-inner-wrap {
    padding-block: 7px !important;
}

/* فاصله عنوان تا گزینه‌ها */
.single-product #tm-extra-product-options
.cpf-type-radio .tm-epo-element-label {
    margin-bottom: 5px !important;
}

/* فاصله بین گزینه‌ها */
.single-product #tm-extra-product-options
.cpf-type-radio .tmcp-field-wrap {
    margin-bottom: 3px !important;
}

/* ارتفاع گزینه‌ها در دسکتاپ */
@media (min-width: 1025px) {
    .single-product #tm-extra-product-options
    .cpf-type-radio .tmcp-field-wrap-inner {
        padding-block: 3px !important;
    }
}

/* PAPLI - Compact Dropdowns */

@media (min-width: 1025px) {
    .single-product .papli-dropdown-trigger {
        min-height: 40px !important;
        height: auto !important;
        padding-block: 8px !important;
    }
}

/* PAPLI - Compact Text Fields */

.single-product .cpf-type-textfield input.tmcp-textfield {
    min-height: 44px !important;
    height: 44px !important;
    padding-block: 6px !important;
    box-sizing: border-box !important;
}

@media (min-width: 1025px) {
    .single-product .cpf-type-textfield input.tmcp-textfield {
        min-height: 40px !important;
        height: 40px !important;
    }
}

/* Papli - Compact Date Field */
.single-product input.tmcp-date {
    height: 40px !important;
    min-height: 40px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    box-sizing: border-box !important;
}

.single-product .ui-tm-datepicker-trigger {
    height: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
}

/* Papli - Compact Space Between Fields */
.single-product #tm-extra-product-options
.tc-section-fields > .tc-row {
    row-gap: 5px !important;
}

/* Papli - Option Title Text Highlight */

.single-product .tc-epo-element-label-text {
    position: relative;
    display: inline-block;
    isolation: isolate;
    padding: 2px 5px;
}

.single-product .tc-epo-element-label-text::before {
    content: "";
    position: absolute;
    inset: 0 -2px;
    background: rgba(0, 86, 59, 0.16);
    z-index: -1;
    pointer-events: none;
    clip-path: polygon(
        2% 8%, 20% 12%, 40% 3%,
        60% 9%, 80% 4%, 100% 8%,
        97% 30%, 100% 50%,
        97% 70%, 100% 94%,
        80% 90%, 60% 98%,
        40% 92%, 20% 97%, 0% 92%,
        3% 70%, 0% 50%, 3% 30%
    );
}
/* Papli - Desktop Label Highlight */
@media (min-width: 1025px) {
    .single-product .tc-epo-element-label-text::before {
        background-color: rgba(0, 86, 59, 0.25) !important;
    }
}

/* Papli - Full Width Add to Cart */

/* Cakes & Sweets */
.single-product .e-atc-qty-button-holder,
.single-product .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Keep cake options full width */
.single-product .woocommerce-variation-add-to-cart > .tm-extra-product-options,
.single-product .woocommerce-variation-add-to-cart > .tc-totals-form {
    flex: 0 0 100% !important;
    width: 100% !important;
}

/* Quantity */
.single-product :is(.e-atc-qty-button-holder, .woocommerce-variation-add-to-cart) > .quantity {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* Add to cart button */
.single-product :is(.e-atc-qty-button-holder, .woocommerce-variation-add-to-cart) > .single_add_to_cart_button {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    margin: 0 !important;
}
/* Desktop weight selector */
@media (min-width: 1025px) {
    .single-product form.variations_form table.variations {
        width: 100% !important;
    }

    .single-product table.variations td.value {
        width: 100% !important;
    }

    .single-product table.variations .papli-dropdown {
        width: 100% !important;
    }
}

/* Papli - Reset Weight & Base Price */

.single-product .wd-reset-var .reset_variations {
    background: rgba(226, 0, 0, .08) !important;
    color: #c62828 !important;
    border: 1px solid rgba(226, 0, 0, .15);
    border-radius: 8px;
    padding: 5px 10px !important;
    font-size: 12px !important;
    transition: background .2s ease;
}

.single-product .wd-reset-var .reset_variations:hover {
    background: rgba(226, 0, 0, .16) !important;
}

.single-product .woocommerce-variation-price {
    margin: 6px 0 10px !important;
}

.single-product .woocommerce-variation-price .amount {
    color: #00563b !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.single-product .woocommerce-variation-price
.price:has(.amount)::before {
    content: "مبلغ پایه: ";
    color: #52745f;
    font-size: 13px;
    font-weight: 500;
}

/* Papli - Stable Base Price & Reset Row */

.single-product .papli-price-aligned .wd-reset-var {
    display: none !important;
}

.single-product .woocommerce-variation-price:has(.papli-reset-copy) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    direction: rtl !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 8px 0 12px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.single-product .papli-reset-copy {
    position: static !important;
    visibility: visible !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    background: rgba(226,0,0,.07) !important;
    border: 1px solid rgba(226,0,0,.18) !important;
    border-radius: 8px !important;
    color: #c62828 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}






/* ==========================================
   PAPLI - Homepage Carousel Title Highlights
   ========================================== */

.home :is(
    .elementor-element-e57d5df,
    .elementor-element-47acea5,
    .elementor-element-53d54c9,
    .elementor-element-aecb809,
    .elementor-element-2780bb1,
    .elementor-element-2e6ffcd,
    .elementor-element-a487b87
) .elementor-heading-title {
    position: relative;
    display: inline-block;
    isolation: isolate;
}

.home :is(
    .elementor-element-e57d5df,
    .elementor-element-47acea5,
    .elementor-element-53d54c9,
    .elementor-element-aecb809,
    .elementor-element-2780bb1,
    .elementor-element-2e6ffcd,
    .elementor-element-a487b87
) .elementor-heading-title::before {
    content: "";
    position: absolute;
    inset: 1px -8px;
    z-index: -1;
    pointer-events: none;
    background: rgba(0,86,59,.20);
    clip-path: polygon(
        2% 12%, 12% 5%, 29% 9%,
        48% 2%, 67% 8%, 84% 3%,
        98% 12%, 96% 30%, 100% 47%,
        97% 65%, 99% 87%, 82% 94%,
        65% 89%, 44% 98%, 24% 92%,
        3% 96%, 5% 74%, 0% 56%,
        3% 35%
    );
    transform: rotate(-.5deg);
}

/* Papli - Mother's Day Golden Highlight */

.papli-mother-free {
    position: relative;
    display: inline-block;
    isolation: isolate;
    color: #A17B2C !important;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 5px;
    line-height: 1.8;
    white-space: nowrap;
}

.papli-mother-free::before {
    content: "";
    position: absolute;
    inset: 3px -1px;
    z-index: -1;
    pointer-events: none;
    background: rgba(201,163,75,.22);
    clip-path: polygon(
        2% 12%, 12% 5%, 29% 9%,
        48% 2%, 67% 8%, 84% 3%,
        98% 12%, 96% 30%, 100% 47%,
        97% 65%, 99% 87%, 82% 94%,
        65% 89%, 44% 98%, 24% 92%,
        3% 96%, 5% 74%, 0% 56%,
        3% 35%
    );
    transform: rotate(-.6deg);
}

/* جلوگیری از شکستن عنوان هزینه ارسال */

tr.fee:has(.papli-mother-free) th {
    white-space: nowrap !important;
}







/* Homepage - View All Brush Highlight */

body.home .elementor-icon-box-title > a:is(
    [href*="/product-category/"],
    [href$="/blog/"]
) {
    position: relative;
    display: inline-block;
    isolation: isolate;
    color: #00563b !important;
}

body.home .elementor-icon-box-title > a:is(
    [href*="/product-category/"],
    [href$="/blog/"]
)::before {
    content: "";
    position: absolute;
    inset: 20% -6px 10%;
    background: rgba(0, 86, 59, 0.15);
    clip-path: polygon(
        2% 8%, 25% 3%, 55% 8%, 98% 0,
        94% 25%, 100% 40%, 95% 60%,
        99% 85%, 65% 95%, 30% 90%,
        0 100%, 5% 70%, 0 45%, 6% 25%
    );
    z-index: -1;
    pointer-events: none;
    transition: background .25s ease;
}

body.home .elementor-icon-box-title > a:is(
    [href*="/product-category/"],
    [href$="/blog/"]
):hover::before {
    background: rgba(0, 86, 59, 0.25);
}



/* Mother's Day - Gold Brush Highlight */

body.home .elementor-element-1dbec32 .elementor-heading-title {
    position: relative;
    display: inline-block;
    isolation: isolate;
}

body.home .elementor-element-1dbec32 .elementor-heading-title::before,
body.home .elementor-element-c4175a4 .elementor-icon-box-title > a::before {
    content: "";
    position: absolute;
    inset: 20% -6px 10%;
    background: rgba(201, 163, 75, .22);
    clip-path: polygon(
        2% 8%, 25% 3%, 55% 8%, 98% 0,
        94% 25%, 100% 40%, 95% 60%,
        99% 85%, 65% 95%, 30% 90%,
        0 100%, 5% 70%, 0 45%, 6% 25%
    );
    z-index: -1;
    pointer-events: none;
    transition: background .25s ease;
}

body.home .elementor-element-c4175a4 .elementor-icon-box-title > a {
    color: #A17B2C !important;
}

body.home .elementor-element-c4175a4 .elementor-icon-box-title > a:hover::before {
    background: rgba(201, 163, 75, .35);
}



/* Checkout Coupon - Qasr Papli */

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 86, 59, 0.04) !important;
    border: 1px solid #00563b !important;
    border-radius: 8px;
    padding: 0 !important;
    margin-bottom: 24px;
    font-size: 0 !important;
    box-shadow: none;
    overflow: hidden;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 30px !important;
    font-size: 0 !important;
    text-decoration: none !important;
    border: none !important;
    color: #00563b !important;
    transition: background 0.2s ease;
}

.woocommerce-checkout .showcoupon::before {
    content: "اگر کد تخفیف دارید، اینجا وارد کنید.";
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
    color: #00563b;
}

.woocommerce-checkout .showcoupon::after {
    content: "";
    position: absolute;
    left: 15px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #00563b;
    border-bottom: 1.5px solid #00563b;
    transform: rotate(45deg);
}

.woocommerce-checkout .showcoupon:hover {
    background: rgba(0, 86, 59, 0.07);
}

.woocommerce-checkout form.checkout_coupon {
    background: #ffffff !important;
    border: 1px solid rgba(0, 86, 59, 0.25) !important;
    border-radius: 8px;
    padding: 16px !important;
}

.woocommerce-checkout form.checkout_coupon input[name="coupon_code"] {
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.woocommerce-checkout form.checkout_coupon input[name="coupon_code"]:focus {
    border-color: #00563b !important;
}

.woocommerce-checkout form.checkout_coupon button {
    background: #00563b !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

@media (max-width: 480px) {
    .woocommerce-checkout .showcoupon::before {
        font-size: 13px;
    }
}

/* Coupon Arrow Animation */

.woocommerce-checkout .showcoupon::after {
    transition: transform 0.25s ease;
}

.woocommerce-checkout:has(form.checkout_coupon:not([style*="display: none"]):not([style*="display:none"])) .showcoupon::after {
    transform: rotate(225deg);
}